Error upgrading with docker


(Pad Pors) #1

during the past week, when I tried to update discourse or plugins using docker, I’ve got this error:

this happened three times, in two of which I was trying to update discourse, and one was for updating a plugin (layouts).

upper logs were the upgrade is aborted in all three trials, has pointed to a Persian string:

Bundled gems are installed into ./vendor/bundle. 
$ bundle exec rake multisite:migrate 
rake aborted! 
NoMethodError: undefined method `deep_symbolize_keys' for "تنظیمات":String

p.s.: after this error if I go back to docker panel, it’s like this (and it seems that the update has happened!):


(Pad Pors) #2

the site has became like this after the not completed update:

I’d re-upgraded via the console, and removed all the non-official plugins, but it’s still like this.

I’d appreciate any help, as it seems to happen because of the incomplete update.

p.s.: safe mode is also like this.


(Sam Saffron) #3

Yeah, you need a new base image ASAP

cd /var/discourse
git pull
./launcher rebuild app