Server Details
- OS: Artix Linux (Arch-based, rolling release)
- Install Method: Docker/Compose (latest version)
- Reverse Proxy: NGINX, NGINX Proxy Manager (latest versions)
- Database: MariaDB v10.6.20
- Nextcloud: v29.0.11 (Docker – barebones)
- Php: v8.2.27
- Apache: Unable to find version included in Docker image.
- First time encountering this issue.
Background
For the past few years, I’ve been running Nextcloud (with Redis) behind NGINX Proxy Manager (NPM). NPM handled SSL termination in my case. Nextcloud, Redis, and NPM are running as Docker containers. Their volumes are on a high-capacity hard drive. This instance is only reachable locally (not exposed to the Internet), and is sometimes accessed over VPN. Backups run three times a day, and I’ve used these backups before (with no issues).
Note: Other services, like OnlyOffice Docs Server and OSRM also run (as Docker containers) on this server. They were also behind NPM.
A few days ago, I had to replace the high-capacity drive with a spare because it was dying. After restoring from a recent backup, everything appeared to be fine. However, running docker ps
gave a different story. With past restores, everything had come back as they were (from the time of the backup). This time, everything but the container images had been restored – which forced me to re-pull every container. This is where the issues began.
The Issue
At first, I thought it was just an issue with NPM. Any services that I accessed through it now took minutes to load, in opposed to seconds previously. But I could access them (except for Nextcloud) without NPM. I tried switching to NGINX (reverse proxy), but that only gave me easier access to logs. While I was able to restore normal access OnlyOffice Docs, Nextcloud was still taking ages to load most pages. No matter which reverse proxy I used, Nextcloud kept it waiting. The proxy logs are filled with connection timeouts.
The slow/laggy experience was present when attempting to access Nextcloud from all devices I tested – including an Android smartphone and a Mac. I tried opening Nextcloud (in Chrome) in an Incognito window, to make sure it wasn’t browser-related. I was running Nextcloud v29.0.10 when I first encountered this. Upgrading to v29.0.10 didn’t appear to improve the situation either. Due to how long it takes for Nextcloud to load, I ended up accessing most of the logs through the filesystem instead (read-only).
Notice: There are over 50MB of relevant/applicable logs/configs, spanning 2 days (01-20-2025), that I have to condense. Google Drive won’t even let me upload them. This part will take time I’ve linked them here, for now:
Please bear with me, until I can add the information directly to this post.
Nextcloud Logs
Please see above hyperlink, for now.
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.
Coming soon...
Reverse Proxy
NGINX (Access/Error Logs)
Please see above hyperlink, for now.
NGINX Proxy Manager (Access/Error Logs)
Please see above hyperlink, for now.
Nextcloud Configuration
occ config:list system
Output
Please see above hyperlink, for now.
occ app:list
Output
Please see above hyperlink, for now.
If you have any questions, or need more information, please let me know.