-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New server went haywire on first reboot. .ocdata disappeared, various server errors, 100% CPU usage #245
Comments
Post/check the webserver logs in /config/logs |
php log
nginx log
|
Regarding the error in nginx.log Someone else had a similar issue in 2019 (he specifically mentioned using LSIO), and apparently an update removed his /tmp/mysql.sock file on a freebsd jail. I don't have that file and I can't imagine I've had any updates installed. But thinking along those lines.. maybe a similar issue? I did fire up a 2nd mariadb container (with a different container name, and under a different UID/config path) for a different docker project yesterday. Could that have interfered with the mariadb container in my nextcloud stack? |
I cant tell if the second instance would have interfered, its possible, but you almost have to try to manage it. There is definitely a connection issue with the databse, so thats where i would start to look. |
Yeah, I've been digging into it. I see all the database connection errors, but the weird part is that if I refresh my nextcloud a bunch of times, at least one out of 20 refreshes will load the Nextcloud UI and I can see my files, and sometimes even navigate a couple folders. Then I refresh again and get more errors. So it seems like occasionally the db connection works, unless what I'm seeing is coming from a cache of some sort. Luckily this is a new installation so it's not a big loss if I have to start over. I'm just a little iffy on whether I can trust Nextcloud with my files after this. Might move my stuff to pydio-cells. The only thing I'm really going to miss is the cookbook plugin 😟 |
I've got the exact same issue, watchtower updated the container automatically and now it can't connect to the dB anymore. Running postgres. So it's not just new installs. This has been running for months, update completely borked it. |
If you're going to use auto updaters to blindly update your containers, you're asking for trouble. Provide details about your setup and we can investigate. I don't believe your 2 issues are related. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue is locked due to inactivity |
Expected Behavior
Current Behavior
New server, rebooted after 1 day of uptime. Vultr VPS with block storage mounted/attached. Upon startup, the .ocdata file missing from data directory (I
touch .ocdata
to get it back). Eventually got an nginx error and checked htop, and php-fpm was consuming 100% CPUEvery time I refresh the page I get different errors. Every once in a blue moon, my files actually show up. And then I refresh again and I get more errors.
Example:
Refresh # 1:
Refresh # 2:
Refresh # 3:
Refresh # 4 (duplicated intentionally for demonstration):
Refresh # 5:
Eventually this happens:
And this happens:
I can't get my server back up and functioning at this point. CPU continually gets pegged at 100% and the server poops out.
Steps to Reproduce
Environment
OS: Ubuntu 22.04
CPU architecture: x86_64
How docker service was installed:
docker-compose from the LSIO documentation
NOTE: I do have file encryption enabled on the Nextcloud server.
Command used to create docker container (run/create/compose/screenshot)
Docker logs
The text was updated successfully, but these errors were encountered: