The user itsbhanusharma reports inconsistent automatic backups on their Discourse forum, where the backup job is triggered but no backup is created. Despite having sufficient resources (8GB RAM, 512GB SSD), the issue persists, though manual backups work fine. They check logs and Sidekiq but find no clear errors, aside from unrelated plugin warnings. JagWaugh suggests possible memory issues or Sidekiq restarts, citing similar behavior where backups are skipped. However, itsbhanusharma resolves the issue by resetting backup settings to default, then reconfiguring them, after which backups start working again. The problem appears resolved, and the topic is closed with gratitude.
We’ve configured backup to run every 3 days (however, that sometimes happens and other times not) Sidekiq had completed the ScheduleBackup task 5 Hours ago but no backup was created.
Reading earlier topic, I found out people having this issue if they’re low on storage or memory however, our forum is relatively happy in terms of specs (8GB RAM and 512GB Solid Storage with Quad Core)
Manually creating backup works without an error however, automatic backup sometime works and sometimes Job is triggered but no backup is created.
Is there anything specific that I should be looking for?
I was searching the logs for last few days with “backup” as the search keyword and Production.log only had entries for the manual backups I triggered or the times when I visited backup page:
e.g. Started GET "/admin/backups/status.json?_=1529382308307" for xxx.xxx.xx.xxx at 2018-06-19 05:31:30 +0000
I don’t think that tells much about the situation.
in the logs web UI, there are a lot of these: TypeError: Discourse._registerPluginCode is not a function at https://discourse.orng.co/u/activate-account/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:46:21
but those are from a 11th June (backup ran successfully on 14th though!
They are either happening successfully or not happening at all. However, sidekiq seems like triggering the job at right times but somehow something in between is not happy.
I’m still trying to understand what may be the potential culprit because in the last 15 days, it ran successfully only 2 times (non-consecutively).
Also, Check for updates is working fine and I’m able to update from docker manager as well as through SSH.
in /logs, Only some register plugin code related warnings (which predate the issue)
And in /sidekiq, everything seems happy (27 failed jobs which predate the issue and are related to a telegram notification plugin which was since removed)