Retort plugin is breaking my Discourse


(Timothy Vail) #1

I recently have had my forum go blank, with only the database speed thing on the left show, as in the picture:

Looking at the server load, it looks like I have too many unicorn workers, I looked up via htop and here are my results. I tried to terminate the workers, but they automatically pop right back up. I don’t know if that is what is causing the white screen, but I need this fixed soon. Any ideas?


(Régis Hanol) #2

Did you update your forum before it turned white? If so, try safe mode and/or disabling non-official plugins.


(Timothy Vail) #3

I haven’t updated in about a month or so, so that wouldn’t explain it. How do I enable safe mode?


(cpradio) #4

(Timothy Vail) #5

I went through safe mode and deactivated all my plugins, but still end up with a white screen. Any other ideas?


(Neil Lalonde) #6

Do you see any errors in the javascript console of your browser? Other browsers and devices see the same thing?


(Timothy Vail) #7

Here is what I got in the debug screen

Uncaught Error: Could not find module `discourse/lib/emoji/toolbar` imported from `discourse/plugins/retort/discourse/initializers/retort-init`
at o (ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19)
at i (ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19)
at n.state (ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19)
at e (ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19)
at require (ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19)
at application-ce14731d81e558157b011667c95d4ca59f77c91dbd0f82cbc3a4f8b240d8e30d.js:1
at Array.forEach (<anonymous>)
at start (application-ce14731d81e558157b011667c95d4ca59f77c91dbd0f82cbc3a4f8b240d8e30d.js:1)
at forum.halsuga.com/:291
at forum.halsuga.com/:295
2ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:11 Error: Could not find module `discourse/lib/emoji/toolbar` imported from `discourse/plugins/babble/discourse/widgets/babble-composer`
at o (ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19)
at i (ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19)
at n.state (ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19)
at e (ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19)
at require (ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19)
at application-ce14731d81e558157b011667c95d4ca59f77c91dbd0f82cbc3a4f8b240d8e30d.js:49
at Array.forEach (<anonymous>)
at Object.n (application-ce14731d81e558157b011667c95d4ca59f77c91dbd0f82cbc3a4f8b240d8e30d.js:49)
at Object.n.initialize (application-ce14731d81e558157b011667c95d4ca59f77c91dbd0f82cbc3a4f8b240d8e30d.js:1)
at ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:8
u @ ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:11
(index):1 Access to Font at 'http://www.halsuga.com/nanum/NanumSquareR.woff2' from origin 'http://forum.halsuga.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://forum.halsuga.com' is therefore not allowed access.
(index):1 Access to Font at 'http://www.halsuga.com/nanum/NanumSquareR.woff' from origin 'http://forum.halsuga.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://forum.halsuga.com' is therefore not allowed access.
(index):1 Access to Font at 'http://www.halsuga.com/nanum/NanumSquareR.ttf' from origin 'http://forum.halsuga.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://forum.halsuga.com' is therefore not allowed access.

(Neil Lalonde) #8

Looks like it’s the retort plugin that’s broken. The lib/emoji/toolbar file is indeed gone. If safe mode didn’t avoid the error, then you should try uninstalling it until it’s updated.


(Timothy Vail) #9

Yes, I uninstalled the retort plugin via app.yml and now it works fine, but now there is a category with all the data from the chat bar channel.

Is the retort plugin going to be updated soon? My community sure uses it a lot.