Users are experiencing issues where the Daily performance reports feature fails to generate reports, instead prompting them to rebuild the container. The thread begins with downey reporting the error and attempting standard update procedures. 2 Falco suggests running a git pull before rebuilding, though downey notes this did not resolve the issue. Stefan identifies a potential cause where the Docker repository is ahead of the origin, and suggests using git reset --hard origin/master followed by a rebuild, which successfully triggered a report for him. Stephen provides a manual trigger method via /sidekiq/scheduler. Sam identifies a configuration error in downey’s app.yml file regarding volume mappings for logs, which was causing permission and storage issues. Another user, dax, reports a missing Staff category, prompting riking to suggest manually setting the hidden staff_category_id site setting. Ultimately, downey confirms that a rebuild after a permission fix by Sam resolved the problem.
Don’t know exactly when the change happened but I thought I’d updated
fairly recently. After doing the first rebuild I could have sworn I saw a
git pull but I didn’t watch carefully enough. As soon as I can take a
little more downtime (probably tonight) will try again.
I definitely did a full git pull and then ./launcher rebuild app last night … but still getting the same bug every day instead of a performance report.
Can anyone reproduce? Is anyone able to successfully get the performance report?
I’m having the same issue. My guess is that because ./launcher rebuild says “Your version of Discourse Docker is ahead of origin” when git tries to get the latest version, so the latest version is never pulled?
Actually what I did was git reset --hard origin/master to have the repository in sync again and then another ./launcher rebuild (that didn’t trigger the “ahead of origin” message). Now I’l wait to see if I get the reports. Is there any way to trigger those reports manually so that I don’t have to wait?
In my case the sysadmin deleted Staff category when we installed discourse (3 years ago).
Now I have create another Staff category (only admins and staff can create/reply/see it).
This category was created before the last upgrade to Discourse Docker Image 1.3.3 (so we have git pull and rebuild all and the upgrade was a success).
By the way in logs I have this error when I trigger Jobs::DailyPerformanceReport in sidekiq: