Crontab entry lost on update
Closed this issue · 7 comments
Updated from Nextcloud 11.0.1 to 11.0.2 via univention app center and the crontab entry within the docker image got lost.
At least, it doesn't exist YET - I found out by reading the nextcloud message saying that last cron execution was 20 hours ago. Cannot say whether or not it existed before, but crons had been executed.
After creating /etc/conf.d/nextcloud manually, all works fine now.
@hnordmeyer thank you for reporting this! Indeed it is a bug. We configure cron only on install, but since the config is located on a not permanent dir, it will get lost after update.
this seems to still be an issue on 21, tho i have a feeling is related to how the official documentation made us set up cron.
The entry should be created on setup as /etc/cron.d/nextcloud
That seems to exist when we create the cron tab via univention-app shell nextcloud. Those changes appears to get lost when the docker image gets updated tho
I cannot reproduce this, the file exists after several upgrades.
Hmm guess we'll need to take closer look at what is happening, thanks for testing
We looked into it. For now, it appears that updates to a cronjob through crontab are not reflected in the file