-
Expection is that apache status is "Running" |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments
-
Same here, it seems to function just fine otherwise than that this state of course blocks me from stopping containers for backups or future updates. I just use the default nextcloud-aio setup and I updated once to get into this state. Apache container logs, just seem to indicate something about failed attempts to increase "receive buffer size", I don't feel that this could be related. Not sure how aio determines the container/service states since according to docker its up and running. |
Beta Was this translation helpful? Give feedback.
-
I found a solution here: Trying to find out how to gracefully shut down the containers the "aio way", I found that nc -z nextcloud-aio-apache 443 doesnt succeed from the mastercontainer but it does succeed running from the apache or the nextcloud container. 443 ist my $APACHE_PORT. In fact the mastercontainer wasn't able to ping the apache container at all. I commented out following lines from the daily-backup.sh script in the mastercontainer so I was able to "gracefully" stop the containers the aio way: # Wait for apache to start
while docker ps --format "{{.Names}}" | grep -q "^nextcloud-aio-apache$" && ! nc -z nextcloud-aio-apache "$APACHE_PORT"; do
echo "Waiting for apache to become available"
sleep 30
done then ran docker exec -it -e STOP_CONTAINERS=1 nextcloud-aio-mastercontainer /daily-backup.sh After that I switched to beta channel, which resolved the issue. I'm now on v11.4.0 |
Beta Was this translation helpful? Give feedback.
-
I had this issue since the update to AIO v11.3.0. Apache container remained yellow in the AIO interface (without any negative impact on functionality or anything) but this had me a bit worried for days. Today I updated SO as usual and I said to myself "Whatever today is sunday" so I send reboot to the OS, went on checking the containers and all of them are green now. Nice. Weird but now is Ok I guess. (I underline that no impact whatsoever on users, v11.3.0 has worked very good so far) |
Beta Was this translation helpful? Give feedback.
-
@jancwe about the error in the logs in the "receive buffer size", you are correct (probably not related) but, however, you may solve it. If you are running AIO, since Apache is running in a container it doesn't have permissions to change the input and output buffers "net.core.wmem_max" and "net.core.rmem_max" (Write and read buffers). The following is what I did for Ubuntu (you may change it accordingly to your OS)
Both should give you a beautiful 7500000 |
Beta Was this translation helpful? Give feedback.
-
To apply the changes (see above #3) use: sudo sysctl -p |
Beta Was this translation helpful? Give feedback.
-
Hi, I just released AIO v11.4.0 stable. Can you please check if the problem still happens with that one? |
Beta Was this translation helpful? Give feedback.
-
@szaimen Thanks! Did the update, status unchanged. Apache Container still remains in "Starting". These are the latest log lines: 2025-07-17T11:44:28.185134492Z Waiting for Nextcloud to start... |
Beta Was this translation helpful? Give feedback.
-
Hm... can you please post the output of Also, is your server currently under heavy load? Also do you have fail2ban running? |
Beta Was this translation helpful? Give feedback.
-
Just for the others with the same issue: I could make a master-container update via the nextcloud-aio interface after stopping the nextcloud-aio-apache container. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answers. Can you try to follow #4989 and check if that helps? |
Beta Was this translation helpful? Give feedback.
-
Done according to #4989. Solved the problem on my end. Apache is now in the status "Running" on the Nextcloud-aio configuration page! Thank you @szaimen ! It is worth to mention that the containers could not be stopped via the mastercontainer. I had to stop some manually. |
Beta Was this translation helpful? Give feedback.
-
Ok great! For anyone else running into this, please follow #4989 |
Beta Was this translation helpful? Give feedback.
Ok great!
For anyone else running into this, please follow #4989