更新到 2.6 后无法发布或编辑

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.

1 个赞

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
1 个赞

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!

2 个赞

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.

1 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.