Connection Refused - Nextcloud stopped

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): AIO 8.1.0
Operating system and version (eg, Ubuntu 20.04): Ubuntu 23.10
Apache or nginx version (eg, Apache 2.4.25): AIO
PHP version (eg, 7.4): AIO

The issue you are facing:
The aio says that “Nextcloud is stopped” but it is running (i think) based on the logs:

[13-Apr-2024 19:14:19] NOTICE: fpm is running, pid 266
[13-Apr-2024 19:14:19] NOTICE: ready to handle connections
[29-Apr-2024 09:29:19] WARNING: [pool www] child 473395 exited on signal 9 (SIGKILL) after 21.809305 seconds from start
[29-Apr-2024 09:29:19] NOTICE: [pool www] child 473396 started
[29-Apr-2024 09:29:31] WARNING: [pool www] child 473396 exited on signal 9 (SIGKILL) after 12.009902 seconds from start
[29-Apr-2024 09:29:31] NOTICE: [pool www] child 473397 started

I have tried restarting all containers manualy but they got to the same state. If i try to reach the NextCloud page i get ERR_Connection refused

Is this the first time you’ve seen this error? (Y/N): Yes

Steps to replicate it:
None, i have got no idea. It was just running about a month without issue and out of nowhere just did this.

The output of your Nextcloud log in Admin > Logging:

Inaccesible

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

Not changed default in AIO

The output of your Apache/nginx/system log in /var/log/____:

nc: getaddrinfo for host "nextcloud-aio-nextcloud" port 9000: Name does not resolve
Waiting for Nextcloud to start...

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE