If the package is missing, the error appears when starting systemctl start grommunio-admin-api:
Jan 03 15:47:38 grommunio uwsgi[2126]: from openapi_core.schema.schemas.util import dicthash
Jan 03 15:47:38 grommunio uwsgi[2126]: File "/usr/lib/python3/dist-packages/openapi_core/schema/schemas/util.py", line 2, in <module>
Jan 03 15:47:38 grommunio uwsgi[2126]: from distutils.util import strtobool
Jan 03 15:47:38 grommunio uwsgi[2126]: ModuleNotFoundError: No module named 'distutils.util'
Jan 03 15:47:38 grommunio uwsgi[2126]: unable to load app 0 (mountpoint='') (callable not found or import error)
Jan 03 15:47:38 grommunio uwsgi[2126]: *** no app loaded. going in full dynamic mode ***
Jan 03 15:47:38 grommunio uwsgi[2126]: *** uWSGI is running in multiple interpreter mode ***
Jan 03 15:47:38 grommunio uwsgi[2126]: spawned uWSGI master process (pid: 2126)
Jan 03 15:47:38 grommunio systemd[1]: Started grommunio-admin-api.service - grommunio admin api.
Jan 03 15:47:38 grommunio uwsgi[2126]: spawned uWSGI worker 1 (pid: 2128, cores: 4)
And the error when trying to login:
Unexpected token 'I', "Internal S"... is not valid JSON
Installing python3-distutils resolves the problem.
In an earlier installation, the required Python modules were in the libvmime-suse5 package. This does not currently exist in the Debian repository, or I no longer know how it was installed.