Problem Replying & Upgrade Problem


(Jeffrey Keefer) #1

I had a user report they were not able to record replies as the box seemed odd on our site, and while looking into it I noticed there was a new version available. We were on v1.5.0.beta4 +46 so I clicked to upgrade and now it seems to be hanging – seems the upgrade is still processing though has been like that for 20 minutes. We still have the lack of reply capability http://forum.networkedlearning.net/

Help!!


(Felix Freiberger) #2

To fix a stuck upgrade, the best approach usually is to run ./launcher rebuild app in the directory where Discourse is installed. This will destroy the old container and set up a new and up-to-date one, keeping all user data.

If we’re lucky, this fixes the reply issue as well.


(Jeffrey Keefer) #3

Odd, it seems to have stopped on its own, with odd error messages:

Compressing: application-cc5694ca50c7ea6e335b9247f8c47bde.js
uglifyjs
’/var/www/discourse/public/assets/_application-cc5694ca50c7ea6e335b9247f8c47bde.js’
-p relative -c -m -o
’/var/www/discourse/public/assets/application-cc5694ca50c7ea6e335b9247f8c47bde.js’
–source-map-root ‘/assets’ --source-map
’/var/www/discourse/public/assets/application-cc5694ca50c7ea6e335b9247f8c47bde.js.map’
–source-map-url
’/assets/application-cc5694ca50c7ea6e335b9247f8c47bde.js.map’
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:1375,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:3593,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:10071,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:10727,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:12974,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:13643,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:14994,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:15029,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:15226,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:15315,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:15327,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:15419,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:15480,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:15531,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:15561,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:15603,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:15692,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:15762,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:23124,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:23393,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:23432,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:23671,4]
WARN: Side effects in initialization of unused variable $
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:25230,4]
WARN: Condition left of || always true
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:89896,20]
WARN: Condition always true
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:89896,20]
WARN: Dropping unused variable self
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:91095,12]
WARN: Side effects in initialization of unused variable
TagsShowController
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:91345,12]
WARN: Side effects in initialization of unused variable get
[_application-cc5694ca50c7ea6e335b9247f8c47bde.js:91511,8]
Killed

However, still is the problem that we cannot reply. If we are logged on and try to reply, we get a small box with no preview and not the side-to-side reply boxes as normal. This issue seems to only have started today. HELP!!


(Felix Freiberger) #4

Even if the update errored out, please try a rebuild.


(Jeffrey Keefer) #5

The update just took after trying it 4 times! The issue with replies also seems to be resolved. Thanks!!


(Jay Pfaffman) #6

Sounds like what I said:

increase your swap to 2GB.


(Jeff Atwood) #7

Your server ran out of memory during the upgrade and terminated the upgrade process.