Hi all,
when loging into the admin backend we get the red notice "The server encountered an error while processing the request" and the browser console shows the 500 Server error:

We are using the docker image with compose:
version: "3.9"
services:
grommunio:
image: grommunio/gromox-core
volumes:
- ./certificates:/home/certificates
- ./gromox-services:/home/gromox-services
- ./plugins:/home/plugins
- ./links:/home/links
- ./nginx:/home/nginx
- ./links/config.json:/etc/grommunio-admin-common/config.json:ro
environment:
- MARIADB_USER=grommunio
- MARIADB_PASSWORD=XXXXXXX
- MARIADB_DATABASE=grommunio
- DB_HOST=172.17.0.1
- ADMIN_PASS=XXXXXXXX
- FQDN=XXXXXXXXX
ports:
- '8443:8443'
- '443:443'
- '25:25'
- '80:80'
- '110:110'
- '993:993'
- '995:995'
- '143:143'
dns:
- '10.242.4.18'
networks:
- grommunio
networks:
grommunio:
driver: bridge
enable_ipv6: true
ipam:
config:
- subnet: 172.19.0.0/16
gateway: 172.19.0.1
- subnet: 2001:3984:3989::/64
gateway: 2001:3984:3989::1
volumes:
cache:
driver: local
The uwsgi is logging this when reloading the dashboard site:
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[ERROR] (flask.app) Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./api/core.py", line 179, in wrapper
return call()
File "./api/core.py", line 144, in call
ret = func(*args, **kwargs)
File "./endpoints/system/misc.py", line 70, in getDashboardServices
units = sysd.getServices(*(service["unit"] for service in known))
File "./services/systemd.py", line 44, in getServices
unit["unit"] = unit["unit"].split(" ")[0]
KeyError: 'unit'
[WARNING] (flask.app) GET /api/v1/system/dashboard/services? from xx.xxx.xxx.xxx -> 500 '{"message":"The server encountered an error while processing the request."}\n'
Im a bit confused about the System has not been booted with systemd as init system (PID 1) message. Seems like a side effect of the s6-overlay Software?
Anyway the API works when requesting the JWT with:
curl -kv https://localhost:8443/api/v1/login -d 'user=admin&pass=freddledgruntbuggly'
We get successfully the JWT
Thanks for any help
Jan von Nievenheim