Invalid location error after update

Hi! I just ran the automated update on our Discourse instance a few days ago (it’s in a docker container). Now it’s dead in the water - when you go to the site it shows the “Oops” message.

I used “tail shared/standalone/log/rails/production.log” to get the following log output:

Job exception: can not load translations from /var/www/discourse/config/locales/client.en_US.yml: #<Errno::ENOENT: No such file or directory @ rb_sysopen - /var/www/discourse/config/locales/client.en_US.yml>

Any ideas on how to fix this?

Regards,
Pietro

1 Like

A rebuild is probably what you need.

cd /var/discourse 
./launcher rebuild app

Thanks, Jay. Will the existing forum content / posts remain intact? If so, I’ll give it a try…

Regards, Pietro

That worked - thanks! (after running the command once, it prompted me to run it a second time, and then the forum was online again).

Best wishes,
Pietro

1 Like

This was a complicated upgrade that included a PostgreSQL 13 update. That kind of upgrade usually happens less than once a year. You’ll need to do a command line upgrade about 3 times a year.