Skip to content

fix: set restart: unless-stopped for Nextcloud Redis & cron - #3

Open
stoXmod wants to merge 1 commit into
masterfrom
fix/nextcloud-redis-restart-policy
Open

fix: set restart: unless-stopped for Nextcloud Redis & cron#3
stoXmod wants to merge 1 commit into
masterfrom
fix/nextcloud-redis-restart-policy

Conversation

@stoXmod

@stoXmod stoXmod commented Mar 5, 2026

Copy link
Copy Markdown
Owner

Problem

Nextcloud keeps going down with 500 Internal Server Error.

Root cause: big-bear-nextcloud-smb-redis had restart: on-failure — it silently exits and does not recover, which takes down all of Nextcloud since sessions/caching depend on Redis.

Fix

  • big-bear-nextcloud-smb-redis: on-failureunless-stopped
  • big-bear-nextcloud-smb-cron: on-failureunless-stopped
  • Added nextcloud/docker-compose.yml to repo for tracking

Notes

Also applied docker update --restart unless-stopped big-bear-nextcloud-smb-redis live on the Pi to prevent recurrence until compose is redeployed.

Redis was set to 'restart: on-failure' which caused it to silently
exit without recovering, taking down Nextcloud with 500 errors.

Changes:
- big-bear-nextcloud-smb-redis: on-failure -> unless-stopped
- big-bear-nextcloud-smb-cron: on-failure -> unless-stopped
- Added nextcloud compose to repo for tracking

Fixes recurring Nextcloud Internal Server Error caused by Redis going down.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant