Following yet another reboot, I am noticing a rather strange behaviour.
doing a systemctl status grommunio-admin-api
I get the following output which is wrong-dated
`grommunio-admin-api.service - grommunio admin api
Loaded: loaded (/usr/lib/systemd/system/grommunio-admin-api.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2021-04-29 15:00:20 EEST; 8 months 18 days ago
TriggeredBy: grommunio-admin-api.socket
Main PID: 493 (uwsgi)
Status: "uWSGI is ready"
Tasks: 7 (limit: 4495)
CGroup: /system.slice/grommunio-admin-api.service
├─ 493 /usr/sbin/uwsgi --ini /usr/share/grommunio-admin-api/api-config.ini
└─1195 /usr/sbin/uwsgi --ini /usr/share/grommunio-admin-api/api-config.ini
Apr 29 15:00:08 grommunio uwsgi[493]: *** Operational MODE: threaded ***
Apr 29 15:00:13 grommunio uwsgi[493]: Failed to detect schema version, assuming up-to-date schema
Apr 29 15:00:13 grommunio uwsgi[493]: Database connection failed with error 2002: Can't connect to local MySQL server through socket '/run/mysql/mysql.sock' (2)
Apr 29 15:00:19 grommunio uwsgi[493]: Could not load license: No such file or directory
Apr 29 15:00:20 grommunio uwsgi[493]: WSGI app 0 (mountpoint='') ready in 12 seconds on interpreter 0xaaaade3e95b0 pid: 493 (default app)
Apr 29 15:00:20 grommunio uwsgi[493]: *** uWSGI is running in multiple interpreter mode ***
Apr 29 15:00:20 grommunio uwsgi[493]: spawned uWSGI master process (pid: 493)
Apr 29 15:00:20 grommunio systemd[1]: Started grommunio admin api.
Apr 29 15:00:20 grommunio uwsgi[493]: spawned uWSGI worker 1 (pid: 1195, cores: 4)
Apr 29 15:00:20 grommunio uwsgi[1195]: [WARNING] (tasq) Database schema version too old (n102 required) - falling back to offline mode.`
Plus the last line throws a database schema too old msg?
If I then restart the service I get the following output:
systemctl status grommunio-admin-api
● grommunio-admin-api.service - grommunio admin api
Loaded: loaded (/usr/lib/systemd/system/grommunio-admin-api.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2022-01-16 18:35:38 EET; 1s ago
TriggeredBy: ● grommunio-admin-api.socket
Main PID: 14062 (uwsgi)
Status: "uWSGI is ready"
Tasks: 7 (limit: 4495)
CGroup: /system.slice/grommunio-admin-api.service
├─14062 /usr/sbin/uwsgi --ini /usr/share/grommunio-admin-api/api-config.ini
└─14066 /usr/sbin/uwsgi --ini /usr/share/grommunio-admin-api/api-config.ini
Jan 16 18:35:27 grommunio uwsgi[14062]: your server socket listen backlog is limited to 100 connections
Jan 16 18:35:27 grommunio uwsgi[14062]: your mercy for graceful operations on workers is 60 seconds
Jan 16 18:35:27 grommunio uwsgi[14062]: mapped 208576 bytes (203 KB) for 4 cores
Jan 16 18:35:27 grommunio uwsgi[14062]: *** Operational MODE: threaded ***
Jan 16 18:35:37 grommunio uwsgi[14062]: Could not load license: No such file or directory
Jan 16 18:35:38 grommunio uwsgi[14062]: WSGI app 0 (mountpoint='') ready in 11 seconds on interpreter 0xaaaae2d975b0 pid: 14062 (default app)
Jan 16 18:35:38 grommunio uwsgi[14062]: *** uWSGI is running in multiple interpreter mode ***
Jan 16 18:35:38 grommunio uwsgi[14062]: spawned uWSGI master process (pid: 14062)
Jan 16 18:35:38 grommunio systemd[1]: Started grommunio admin api.
Jan 16 18:35:38 grommunio uwsgi[14062]: spawned uWSGI worker 1 (pid: 14066, cores: 4)
Also, zypper search -s grommunio-admin-api
Loading repository data...
Warning: Repository 'Update Repository (Non-Oss)' appears to be outdated. Consider using a different mirror or server.
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+-------------------------------------+---------+--------------------------+--------+-----------
i+ | grommunio-admin-api | package | 1.5.8.48063f5-lp153.82.1 | noarch | grommunio