Daily backup hangs waiting for Apache to become available #5222
-
Steps to reproduce
Expected behaviorBackup completes. Actual behaviorBackup begins then retries indefinitely waiting for Apache, even though the site is available without any issues:
Other informationHost OSUbuntu 22.04 Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
Hi, can you please run Also, can you follow #4989 and check if that helps? |
Beta Was this translation helpful? Give feedback.
-
After running the commands from #4989 , the output is:
So seems promising! Will post the results once the daily backup is triggered. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately the issue persists, daily backups stall with the last two lines repeating roughly every 30 seconds for hours.
However once I log into the AIO config page, a backup begins immediately. It seems to be that the daily backup cannot complete until I am logged in for some reason:
The positive output of the command also persists, so perhaps there is progress towards a solution?
|
Beta Was this translation helpful? Give feedback.
-
How exactly do you do this? (Which commands are involved)? |
Beta Was this translation helpful? Give feedback.
-
I typically do Your question gave me a hint, so I tried switching to
No other container service I run is affected by If this is expected behavior, might be worth documenting (unless it already is and I missed it somewhere?). |
Beta Was this translation helpful? Give feedback.
-
Yes, this is the reason. If you want to keep doing it like that, you need to add the mastercontainer to the However better would probably be to either use https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-stopstartupdate-containers-or-trigger-the-daily-backup-from-a-script-externally or https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-enable-automatic-updates-without-creating-a-backup-beforehand |
Beta Was this translation helpful? Give feedback.
-
Thanks Simon! I will think more about which of these options works best in my situation. Github issues are sort of de facto documentation, so hopefully this issue will help anyone googling this problem. Closing since my auto-backups are working after switching from |
Beta Was this translation helpful? Give feedback.
Yes, this is the reason.
If you want to keep doing it like that, you need to add the mastercontainer to the
nextcloud-aio
network via your docker-compose file.However better would probably be to either use https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-stopstartupdate-containers-or-trigger-the-daily-backup-from-a-script-externally or https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-enable-automatic-updates-without-creating-a-backup-b…