Oops error

I rebuilt my website, and when I opened the browser, I saw the following message:

Oops
The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.

Detailed information about the error was logged, and an automatic notification generated. We'll take a look at it.

No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the site's feedback category.

I remember that before this issue appeared, I clicked on the AI plugin configuration page.

For the containers/app.yml file, I only added the following at the end:

params:
  version: esr

Now I’ve tried rebuilding multiple times, but every time I refresh, I get this error message.

Has anyone encountered this issue?

Remove your changes from your app.yml file

and run ./launcher rebuild app

You likely have a syntax error in your file

Now, I’m not a specialist, so I don’t know if what you did in your app.yml file is correct, but to get your forum running again as quickly as possible, remove your changes and run a rebuild.

Thanks for your answer, but the issue probably isn’t with app.yml, since I’ve successfully built this app.yml many times before.

After running the commands below, the homepage was restored, but clicking “Log In” triggered the Oops error again.

redis-cli flushall

sv restart unicorn

sv reload nginx

Did you downgrade your site from latest to esr? That would explain this kind of error.

Maybe it’s a downgrade issue. I redeployed this server a few weeks ago while testing features for a specific version, but I now believe ESR is the best practice. Then I ran into this Oops.

However, it was running smoothly for several weeks before, and suddenly started throwing errors just now.

How can I resolve this? Is upgrading to the latest version the only option?

Unfortunately downgrading is not supported. So yes, you’ll either need to restore an earlier backup from when you were running ESR, or you’ll need to run latest until the next ESR release (July)

Do you mean the issue is caused by a conflict between the data and the code? Am I limited to reverting to the code version that matches my data?

Yes, exactly. The database schema is changed regularly. So if your database schema has already been updated to latest, it will be incompatible with the older code on ESR.

So, if I install a new server, since the default standard installation is the latest version, attempting to deploy ESR at this point could lead to this issue.

If it’s an older server with a version like 3.5.0, upgrading to ESR should work without problems, correct?

Alternatively, I could delete all the data and then deploy the ESR version—that should work too, right?

Yes, that’s all correct :+1:

1 Like