@boris Here you go. I don’t see any useful error message. The exit code is 1 but that doesn’t say much
root@syncloud:~# systemctl start snap.nextcloud.postgresql
Job for snap.nextcloud.postgresql.service failed because the control process exited with error code.
See "systemctl status snap.nextcloud.postgresql.service" and "journalctl -xe" for details.
root@syncloud:~# systemctl status snap.nextcloud.postgresql.service
● snap.nextcloud.postgresql.service - Service for snap application nextcloud.postgresql
Loaded: loaded (/etc/systemd/system/snap.nextcloud.postgresql.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2025-01-02 10:36:55 UTC; 15s ago
Process: 5490 ExecStart=/usr/bin/snap run nextcloud.postgresql (code=exited, status=1/FAILURE)
Jan 02 10:36:55 syncloud systemd[1]: snap.nextcloud.postgresql.service: Service RestartSec=100ms expired, scheduling restart.
Jan 02 10:36:55 syncloud systemd[1]: snap.nextcloud.postgresql.service: Scheduled restart job, restart counter is at 5.
Jan 02 10:36:55 syncloud systemd[1]: Stopped Service for snap application nextcloud.postgresql.
Jan 02 10:36:55 syncloud systemd[1]: snap.nextcloud.postgresql.service: Start request repeated too quickly.
Jan 02 10:36:55 syncloud systemd[1]: snap.nextcloud.postgresql.service: Failed with result 'exit-code'.
Jan 02 10:36:55 syncloud systemd[1]: Failed to start Service for snap application nextcloud.postgresql
root@syncloud:~# journalctl -xe
-- An ExecStart= process belonging to unit snap.nextcloud.postgresql.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Jan 02 10:36:55 syncloud systemd[1]: snap.nextcloud.postgresql.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit snap.nextcloud.postgresql.service has entered the 'failed' state with result 'exit-code'.
Jan 02 10:36:55 syncloud systemd[1]: Failed to start Service for snap application nextcloud.postgresql.
-- Subject: A start job for unit snap.nextcloud.postgresql.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit snap.nextcloud.postgresql.service has finished with a failure.
--
-- The job identifier is 3045 and the job result is failed.
Jan 02 10:36:55 syncloud systemd[1]: snap.nextcloud.postgresql.service: Service RestartSec=100ms expired, scheduling restart.
Jan 02 10:36:55 syncloud systemd[1]: snap.nextcloud.postgresql.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Automatic restarting of the unit snap.nextcloud.postgresql.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Jan 02 10:36:55 syncloud systemd[1]: Stopped Service for snap application nextcloud.postgresql.
-- Subject: A stop job for unit snap.nextcloud.postgresql.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A stop job for unit snap.nextcloud.postgresql.service has finished.
--
-- The job identifier is 3101 and the job result is done.
Jan 02 10:36:55 syncloud systemd[1]: snap.nextcloud.postgresql.service: Start request repeated too quickly.
Jan 02 10:36:55 syncloud systemd[1]: snap.nextcloud.postgresql.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit snap.nextcloud.postgresql.service has entered the 'failed' state with result 'exit-code'.
Jan 02 10:36:55 syncloud systemd[1]: Failed to start Service for snap application nextcloud.postgresql.
-- Subject: A start job for unit snap.nextcloud.postgresql.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit snap.nextcloud.postgresql.service has finished with a failure.
--
-- The job identifier is 3101 and the job result is failed.
Jan 02 10:37:07 syncloud Nextcloud[29045]: {"reqId":"a9O4dRVG5TRNTU30UsCt","level":3,"time":"2025-01-02T10:37:07+00:00","remoteAddr":"84.57.212.38","user":"--","app":"index","method":"GET","url":"/index.php/204","message":"{\"Exception\":\"Doctrine\\\\DBAL\\\\Exception\",\"Message\":\"Failed to connect to the database: An exception occurred
Jan 02 10:37:07 syncloud Nextcloud[29045]: {"reqId":"a9O4dRVG5TRNTU30UsCt","level":3,"time":"2025-01-02T10:37:07+00:00","remoteAddr":"84.57.212.38","user":"--","app":"core","method":"GET","url":"/index.php/204","message":"{\"Exception\":\"Doctrine\\\\DBAL\\\\Exception\",\"Message\":\"Failed to connect to the database: An exception occurred i
Jan 02 10:37:07 syncloud Nextcloud[29045]: {"reqId":"a9O4dRVG5TRNTU30UsCt","level":3,"time":"2025-01-02T10:37:07+00:00","remoteAddr":"84.57.212.38","user":"--","app":"core","method":"GET","url":"/index.php/204","message":"{\"Exception\":\"Doctrine\\\\DBAL\\\\Exception\",\"Message\":\"Failed to connect to the database: An exception occurred i
Jan 02 10:37:07 syncloud ld-2.31.so[960]: syncloud nginx: 84.57.212.38 - niko [02/Jan/2025:10:37:07 +0000] "GET /index.php/204 HTTP/1.1" 500 301 "-" "Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.22631 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Jan 02 10:37:07 syncloud nginx[6519]: syncloud nginx: 84.57.212.38 - niko [02/Jan/2025:10:37:07 +0000] "GET /index.php/204 HTTP/1.1" 500 301 "-" "Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.22631 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Jan 02 10:37:10 syncloud Nextcloud[3032]: {"reqId":"bSLjhwkg0mLHXY4eYHAR","level":3,"time":"2025-01-02T10:37:10+00:00","remoteAddr":"2a02:2488:1c61:9300:5eea:8d3c:f187:cccd","user":"--","app":"remote","method":"GET","url":"/status.php","message":"{\"Exception\":\"Doctrine\\\\DBAL\\\\Exception\",\"Message\":\"Failed to connect to the database
Jan 02 10:37:10 syncloud ld-2.31.so[960]: syncloud nginx: 2a02:2488:1c61:9300:5eea:8d3c:f187:cccd - fred [02/Jan/2025:10:37:10 +0000] "GET /status.php HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Linux) mirall/2.6.2-1build1 (Nextcloud)"
Jan 02 10:37:10 syncloud nginx[6519]: syncloud nginx: 2a02:2488:1c61:9300:5eea:8d3c:f187:cccd - fred [02/Jan/2025:10:37:10 +0000] "GET /status.php HTTP/2.0" 500 0 "-" "Mozilla/5.0 (Linux) mirall/2.6.2-1build1 (Nextcloud)"
Jan 02 10:37:24 syncloud sh[280]: XMT: Forming Solicit, 655350 ms elapsed.
Jan 02 10:37:24 syncloud sh[280]: XMT: X-- IA_PD dd:97:2b:90
Jan 02 10:37:24 syncloud sh[280]: XMT: | X-- Request renew in +3600
Jan 02 10:37:24 syncloud sh[280]: XMT: | X-- Request rebind in +5400
Jan 02 10:37:24 syncloud sh[280]: XMT: Solicit on eth0, interval 126470ms.
Jan 02 10:37:24 syncloud dhclient[705]: XMT: Solicit on eth0, interval 126470ms.
Jan 02 10:37:24 syncloud dhclient[705]: RCV: Advertise message on eth0 from fe80::1eed:6fff:fe9a:d91f.
Jan 02 10:37:24 syncloud sh[280]: RCV: Advertise message on eth0 from fe80::1eed:6fff:fe9a:d91f.
Jan 02 10:37:24 syncloud sh[280]: RCV: X-- Server ID: 00:03:00:01:1c:ed:6f:9a:d9:1f
Jan 02 10:37:24 syncloud sh[280]: PRC: Lease failed to satisfy.