Hi all, could I ask for some guidance with this error?
Nextcloud version (eg, 29.0.5): Unsure, AIO V9.7.0
Operating system and version (eg, Ubuntu 24.04): Ubuntu 24.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.62
PHP version (eg, 8.3): Unsure
The issue you are facing:
AIO master container starts up and all other containers load but nextcloud-aio-apache is stuck in “Starting state” and fails to start.
nextcloud-aio-apache:
2024-10-27T21:44:49.370291975Z Waiting for Nextcloud to start...
2024-10-27T21:44:54.372647925Z Waiting for Nextcloud to start...
2024-10-27T21:44:59.374711687Z Waiting for Nextcloud to start...
2024-10-27T21:45:04.377295514Z Waiting for Nextcloud to start...
2024-10-27T21:45:09.379854344Z Connection to nextcloud-aio-nextcloud (172.19.0.7) 9000 port [tcp/*] succeeded!
2024-10-27T21:45:10.965139634Z [Sun Oct 27 21:45:10.964380 2024] [mpm_event:notice] [pid 38:tid 38] AH00489: Apache/2.4.62 (Unix) configured -- resuming normal operations
2024-10-27T21:45:10.965160032Z [Sun Oct 27 21:45:10.964651 2024] [core:notice] [pid 38:tid 38] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
2024-10-27T21:45:10.977268701Z {"level":"info","ts":1730065510.9767878,"msg":"using config from file","file":"/tmp/Caddyfile"}
2024-10-27T21:45:10.980621623Z {"level":"info","ts":1730065510.9804087,"msg":"adapted config to JSON","adapter":"caddyfile"}
2024-10-27T21:45:10.988129134Z Error: loading initial config: loading new config: http app module: start: finalizing automatic HTTPS: managing certificates for [cloud.nsaito.co.uk]: automate: manage [cloud.nsaito.co.uk]: cloud.nsaito.co.uk: caching certificate: decoding certificate metadata: unexpected end of JSON input
2024-10-27T21:45:12.041911318Z {"level":"info","ts":1730065512.0415158,"msg":"using config from file","file":"/tmp/Caddyfile"}
2024-10-27T21:45:12.045173409Z {"level":"info","ts":1730065512.0449219,"msg":"adapted config to JSON","adapter":"caddyfile"}
2024-10-27T21:45:12.047573025Z {"level":"error","ts":1730065512.0472765,"logger":"tls","msg":"could not clean default/global storage","error":"unable to acquire storage_clean lock: context canceled"}
2024-10-27T21:45:12.047586159Z Error: loading initial config: loading new config: http app module: start: finalizing automatic HTTPS: managing certificates for [cloud.nsaito.co.uk]: automate: manage [cloud.nsaito.co.uk]: cloud.nsaito.co.uk: caching certificate: decoding certificate metadata: unexpected end of JSON input
2024-10-27T21:45:14.113997932Z {"level":"info","ts":1730065514.11362,"msg":"using config from file","file":"/tmp/Caddyfile"}
2024-10-27T21:45:14.115814590Z {"level":"info","ts":1730065514.1156182,"msg":"adapted config to JSON","adapter":"caddyfile"}
2024-10-27T21:45:14.118869615Z Error: loading initial config: loading new config: http app module: start: finalizing automatic HTTPS: managing certificates for [cloud.nsaito.co.uk]: automate: manage [cloud.nsaito.co.uk]: cloud.nsaito.co.uk: caching certificate: decoding certificate metadata: unexpected end of JSON input
2024-10-27T21:45:17.178218954Z {"level":"info","ts":1730065517.1769934,"msg":"using config from file","file":"/tmp/Caddyfile"}
2024-10-27T21:45:17.179356470Z {"level":"info","ts":1730065517.1791725,"msg":"adapted config to JSON","adapter":"caddyfile"}
2024-10-27T21:45:17.181661436Z Error: loading initial config: loading new config: http app module: start: finalizing automatic HTTPS: managing certificates for [cloud.nsaito.co.uk]: automate: manage [cloud.nsaito.co.uk]: cloud.nsaito.co.uk: caching certificate: decoding certificate metadata: unexpected end of JSON input
I have tried to increase the PHP buffer, and have also tried to nuke the caddy folder. I’m using docker installed on a fairly light-weight install of Ubuntu server 24.04 and am using Dockge as a replacement for Portainer.
I had setup Nextcloud and it was working flawlessly at first. This error began after the server ran out of disk space (thank you ubuntu server installer for a measly 15GB partition). I hadn’t realised until today but now even after extending the partition to the full disk size, it just refuses to start at all. I might have a backup but I’m unsure at this moment as using AIO is new to me.
I would like to avoid re-creating the instance if possible but ultimately, if thats all that can be done, then it’s still early days for me so it wouldn’t be the worst outcome.
Thank you,
N