After migrating Discourse to a new phy host and restoring the site from backup, I’m still getting the same error message in the staff category with the performance report option enabled—
Report is only available in latest image, please run:
cd /var/discourse
./launcher rebuild app
I went back and tried to re-do some of the troubleshooting @sam suggested in this eariler thread, but there doesn’t appear to be a /var/www/discourse/script/nginx_analyze.rb
anymore, so I’m not sure exactly where to start.
I can trigger Jobs::DailyPerformanceReport
from the sidekiq scheduler and it runs without errors, though it completes in 3ms and creates no topics. Triggering the report from the rails console also results in no output:
# rails c
[1] pry(main)> Jobs:: DailyPerformanceReport.new.execute(nil)
=> nil
No errors are logged in logster for either.
@downey or anyone else on the team, do you have any suggestions? Happy to do whatever it takes to get this resolved. Can also try to arrange a time to grant login access to the web host if you’d like to poke further.