The Basics
- Nextcloud Server version (e.g., 29.x.x):
- 30.0.17
- Operating system and version (e.g., Ubuntu 24.04):
- NextcloudPi v1.56.0
- Web server and version (e.g, Apache 2.4.25):
Apache2
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
after upgrading toNextcloud 31.0.12
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
ncp-config
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
I triggered an upgrade from Nextcloud 30.0.17 to 31.0.12 via ncp-config. The upgrade finished without errors, and I was able to reach the box, but when I rebooted afterwards, I now cannot SSH into it anymore (timeout) and the web UI also is not reachable. However, I can still ping the IP on my local network.
Steps to replicate it (hint: details matter!):
-
Trigger upgrade from Nextcloud version 30.0.17 to 31.0.12
-
Trigger a reboot via web UI
-
See an email notification that fail2ban started successfully, but SSH login and web UI access time out with no apparent way to reach the box
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
Here's the end of the log after the successful upgrade:
- Initialize migration of background images from dashboard to theming app
- Add background job to check for backup codes
- Populating added database structures for workflows
There are no commands defined in the "app_api:daemon" namespace.
Update completed successfully.
Backup stored at /mnt/ncdata/data/ncp-update-backups/nextcloud-bkp_20251211_1765458634-30.0.17.tar.gz
Clean up...
Nextcloud update finished successfully.
Done. Press any key...
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
No console output because the connection to nextcloudpi.local times out. nextcloudpi.local:4443 also times out.
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
Cannot access those logs.