I tried manually installing all packages from the Debian 12 and also from the Debian 11 repo, no difference.
Can anyone confirm that works on Debian 12 and post his exact versions of the openapi packages?
I tried manually installing all packages from the Debian 12 and also from the Debian 11 repo, no difference.
Can anyone confirm that works on Debian 12 and post his exact versions of the openapi packages?
Is there any news here?
Hi Guys,
I installed fresh grommunio on Debian12 today and discovered I cannot create new domain. I used patch descripted above:
"openapi": {
"validateRequest": False,
"validateResponse": False
},
which I use at one of old server, but after that I cannot log in as admin any more. Even if I remove the patch file from /etc/grommunio-admin-api/conf.d/
exist some solution for this problem? Thank you for any advice.
this is in journal:
feb 22 18:41:55 hostname uwsgi[1441]: [ERROR] (grommunio Admin API) Traceback (most recent call last):
feb 22 18:41:55 hostname uwsgi[1441]: File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in full_dispatch_request
feb 22 18:41:55 hostname uwsgi[1441]: rv = self.dispatch_request()
feb 22 18:41:55 hostname uwsgi[1441]: ^^^^^^^^^^^^^^^^^^^^^^^
feb 22 18:41:55 hostname uwsgi[1441]: File "/usr/lib/python3/dist-packages/flask/app.py", line 1796, in dispatch_request
feb 22 18:41:55 hostname uwsgi[1441]: return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
feb 22 18:41:55 hostname uwsgi[1441]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feb 22 18:41:55 hostname uwsgi[1441]: File "/usr/share/grommunio-admin-api/api/core.py", line 179, in wrapper
feb 22 18:41:55 hostname uwsgi[1441]: return call()
feb 22 18:41:55 hostname uwsgi[1441]: ^^^^^^
feb 22 18:41:55 hostname uwsgi[1441]: File "/usr/share/grommunio-admin-api/api/core.py", line 144, in call
feb 22 18:41:55 hostname uwsgi[1441]: ret = func(*args, **kwargs)
feb 22 18:41:55 hostname uwsgi[1441]: ^^^^^^^^^^^^^^^^^^^^^
feb 22 18:41:55 hostname uwsgi[1441]: File "/usr/share/grommunio-admin-api/endpoints/misc.py", line 43, in login
feb 22 18:41:55 hostname uwsgi[1441]: success, val = loginUser(request.form["user"], request.form["pass"])
feb 22 18:41:55 hostname uwsgi[1441]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feb 22 18:41:55 hostname uwsgi[1441]: File "/usr/share/grommunio-admin-api/api/security.py", line 208, in loginUser
feb 22 18:41:55 hostname uwsgi[1441]: user: Users = Users.query.join(Altnames, isouter=True)\
feb 22 18:41:55 hostname uwsgi[1441]: ^^^^^^^^^^^
feb 22 18:41:55 hostname uwsgi[1441]: File "/usr/share/grommunio-admin-api/orm/init.py", line 32, in get
feb 22 18:41:55 hostname uwsgi[1441]: mapper = class_mapper(type)
feb 22 18:41:55 hostname uwsgi[1441]: ^^^^^^^^^^^^^^^^^^
feb 22 18:41:55 hostname uwsgi[1441]: File "/usr/lib/python3/dist-packages/sqlalchemy/orm/base.py", line 448, in class_mapper
feb 22 18:41:55 hostname uwsgi[1441]: mapper = inspect_mapped_class(class, configure=configure)
feb 22 18:41:55 hostname uwsgi[1441]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feb 22 18:41:55 hostname uwsgi[1441]: File "/usr/lib/python3/dist-packages/sqlalchemy/orm/base.py", line 427, in inspect_mapped_class
feb 22 18:41:55 hostname uwsgi[1441]: mapper.check_configure()
feb 22 18:41:55 hostname uwsgi[1441]: File "/usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py", line 1941, in _check_configure
feb 22 18:41:55 hostname uwsgi[1441]: _configure_registries({self.registry}, cascade=True)
feb 22 18:41:55 hostname uwsgi[1441]: File "/usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py", line 3527, in _configure_registries
feb 22 18:41:55 hostname uwsgi[1441]: _do_configure_registries(registries, cascade)
feb 22 18:41:55 hostname uwsgi[1441]: File "/usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py", line 3562, in _do_configure_registries
feb 22 18:41:55 hostname uwsgi[1441]: raise e
feb 22 18:41:55 hostname uwsgi[1441]: sqlalchemy.exc.InvalidRequestError: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Triggering mapper: 'mapped class MLists->>
feb 22 18:41:55 hostname uwsgi[1441]: [WARNING] (grommunio Admin API) POST /api/v1/login? from 192.168.1.1 -> 500 '{"message":"The server encountered an error while processing the request."}\n'
Hi,
I am having the same problem on a fresh installed Debian 12. Any solution ideas? Thanks.
© 2020-2024 grommunio GmbH. All rights reserved. | https://grommunio.com | Data Protection | Legal notice