Forum not working after update – what’s missing?

I updated my forum today, and now it’s broken and cannot be used. What should I do? Is something missing?

1 Like

Or maybe, as long as the forum is running smoothly, it’s better not to upgrade at all?

Or you do rebuilding via terminal, as suggested?

2 Likes

Could you help me look at these two screenshots?

4c77885a4f08ee861d9ad00f89804637

让你运行 ./launcher rebuild app 升级

1 Like

it failed

This is when I started running the upgrade. After upgrading, it prompted me to do pg. Without doing pg, I ran rebuild app again, and then it showed an error.

Did you remove the plugins from app.yml as suggested and tried again?

HINT: The plugin 'discourse-post-voting' is now bundled with Discourse and should not be included in your container configuration. Remove the line 'git clone https://github.com/discourse/discourse-post-voting' from your containers/app.yml file, then try again. For more information, see https://meta.discourse.org/t/373574

HINT: The plugin 'discourse-solved' is now bundled with Discourse and should not be included in your container configuration. Remove the line 'git clone https://github.com/discourse/discourse-solved' from your containers/app.yml file, then try again. For more information, see https://meta.discourse.org/t/373574

2 Likes

We commented out two plugins, compiled, and then the database migration failed

Before to update generate a snapshot at vps manager and yes only update if your version is too old.

Great, almost there — this picture tells us that the migration failed but the actual error is much further above. Can you please share us a bigger chunk of errors?

Another thing when sharing errors, if you are able to do code blocks like this surrounded by backticks that would be good too, otherwise nevermind the photo is fine.

```
FAILED

Pups::ExecError
```

2 Likes

Since I don’t know how to code myself, I usually ask my friend to help and I’m just relaying the message here, so my description might not be very clear. Please look at this screenshot: the first command says it can’t find the file, and then when we rebuilt again, it reported a database migration failure.

After rebuilding again, what’s the error you get?

1 Like

this

If the error says “please scroll up and look for earlier error messages”, please do so, and screenshot those instead of that message.

3 Likes

rebild and this :sob: :sob: :sob: :sob: :sob: :sob: :sob: :sob: :sob: :sob: :sob: :sob: :sob: :sob:

So you tried rebuilding yet another time, you got this message (no matter how many times you rebuild)?

(post deleted by author)

At this point I would consider setting up a new server from scratch and restoring the latest backup and simply moving over.

Your huge screenshot is hardly readable btw.

After trying again, this is the situation now.

Started the installation, then followed the instructions to run the first command, but it showed that the “pg“” command file could not be found.

Then, after skipping those steps and directly running rebuild again, the error shown in this picture occurred.

Currently, the forum has started but cannot be accessed.

The bottom of the logs indicate

To complete the upgrade, rebuild again using: 

./launcher rebuild app

Can you run that please.

1 Like