-
-
Notifications
You must be signed in to change notification settings - Fork 167
Closed
Labels
Description
🤪 Sanity check
1️⃣ Description
Nextcloud recipe does not describe how to correctly setup redis and cron.
2️⃣ Expected Behaviour
Nextcloud should launch with Cron and Redis configured
3️⃣ Actual Behaviour
Redis must be configured by manually editing config.php (and I believe the instructions are incorrect as they just set connection details and do not set Redis as the cache provider)
Cron must be enabled in nextcloud settings (this is not in the recipe), and default cron script does not work.
4️⃣ Steps to Reproduce
Follow recipe instructions to setup Nextcloud
5️⃣ Possible solutions
In the nextcloud.env file add this line to enable redis by default:
REDIS_HOST=redis
To fix Cron:
- Cron service should have the same volumes mounted as nextcloud (it definitely needs the html and config volumes - I assume it needs the others too, as custom_apps can set their own scheduled jobs).
- Add the instruction to the recipe to change the "background jobs" config to cron at:
https:///settings/admin#backgroundjobs
6️⃣ Relevant Information
Running nextcloud:24
docker image.
💬 Your Discord username
No response
💍 Engagement
- Test the changes after a preview deploy and provide feedback
- Solicit community input in Discord
- Submit a PR for a fix myself 🏆
✅ Code of Conduct
- I agree to follow this Geek Cookbook's Code of Conduct