I performed the upgrade to 7.x today (using omv-release-upgrade) and now have the issue that I can no longer login at the web interface.
The login page is shown, but when I enter my credentials I get the following error message (after a few seconds of loading time):
When I ssh into my server and run omv-firstaid -- Configure workbench and confirm the current port setting I get the following error:
Code
ERROR: Failed to connect /var/lib/openmediavault/engined.sock: [Errno 2] No such file or directory
From this error message and by searching a bit in this forum I found that this might be related to the openmediavault-engined service, so I checked the status of this service and got the following output:
Code
systemctl status openmediavault-engined
× openmediavault-engined.service - The OpenMediaVault engine daemon that processes the RPC request
Loaded: loaded (/lib/systemd/system/openmediavault-engined.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Fri 2024-04-26 16:35:57 CEST; 5s ago
Duration: 81ms
Process: 3854 ExecStart=/usr/sbin/omv-engined (code=exited, status=0/SUCCESS)
Main PID: 3856 (code=exited, status=255/EXCEPTION)
CPU: 160ms
Apr 26 16:35:57 hpms systemd[1]: openmediavault-engined.service: Can't open PID file /run/omv-engined.pid (yet?) after start: No such file or directory
Apr 26 16:35:57 hpms systemd[1]: openmediavault-engined.service: Supervising process 3856 which is not our child. We'll most likely not notice when it exits.
Apr 26 16:35:57 hpms systemd[1]: Started openmediavault-engined.service - The OpenMediaVault engine daemon that processes the RPC request.
Apr 26 16:35:57 hpms omv-engined[3856]: PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /usr/share/openmediavault/engined/inc/90letsencrypt.inc:15
Apr 26 16:35:57 hpms omv-engined[3856]: Stack trace:
Apr 26 16:35:57 hpms omv-engined[3856]: #0 /usr/sbin/omv-engined(360): require_once()
Apr 26 16:35:57 hpms omv-engined[3856]: #1 {main}
Apr 26 16:35:57 hpms omv-engined[3856]: thrown in /usr/share/openmediavault/engined/inc/90letsencrypt.inc on line 15
Apr 26 16:35:57 hpms systemd[1]: openmediavault-engined.service: Main process exited, code=exited, status=255/EXCEPTION
Apr 26 16:35:57 hpms systemd[1]: openmediavault-engined.service: Failed with result 'exit-code'.
Alles anzeigen
Does anyone here know this kind of error? Is there something messed up with the PHP installation on my system?
Do you need any more information?