I updated to version 2.6 (on a Digital Ocean instance), and I can no longer post.
“Error 500” when posting.
Logs show:
I tried restarting the server, no change.
safe-mode has no affect, the problem remains.
Help?
After updating to Discourse 2.6, peternlewis encountered an Error 500 when posting. Logs indicated a plugin issue. pfaffman suggested checking for non-standard plugins, noting that safe mode may not disable them. peternlewis shared a screenshot showing the plugin discourse-mark without a green checkmark. pfaffman advised removing or commenting out the plugin from app.yml. peternlewis asked about rebaking posts and whether markup would be lost; pfaffman clarified that existing posts remain unchanged unless rebaked. peternlewis asked if disabling via settings would suffice, but pfaffman reiterated that editing app.yml is necessary. peternlewis confirmed removing the plugin line and asked for the correct restart command. pfaffman instructed to comment the line with # and run ./launcher rebuild app. peternlewis attempted the fix, and peternlewis confirmed the issue was resolved after rebuilding, though the plugin’s functionality is now lost. pfaffman recommended contacting the plugin author for a fix or forking it if abandoned.
I updated to version 2.6 (on a Digital Ocean instance), and I can no longer post.
“Error 500” when posting.
Logs show:
I tried restarting the server, no change.
safe-mode has no affect, the problem remains.
Help?
Do you have any non-standard plugins installed? Safe mode often cannot disable them.
So, remove discourse-mark that doesn’t have the green check next to it. You’ll need to remove or comment it out of your app.yml.
That says “you must rebake all posts with: “rake posts:rebake”.”, what is the exact process for doing that.
Does that mean I will lose all my markup?
Can I disable it with the settings, or is that insufficient?
I don’t really know what the plugin does, so I can’t tell you.
But if you don’t rebake, then the existing posts will stay as they are.
So if I remove:
- git clone https://github.com/sirideain/discourse-mark.git
from the yml, then what command is used to restart it without the plugin?
Thanks!
Put a # in front of the -. Save, and then
./launcher rebuild app
OK, trying that. Thanks.
Yes, removing that (or maybe the rebuilding process) resolved the problem.
No sure how I will replace that plugin, but that is another problem.
Thanks!
Notify the plugin author and they will likely fix it. If they have stopped work in it then you can fork it and did it yourself or hire someone to.