Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade problems when upgrading from YNH 11>12 and Debian Bookworm #469

Open
TILvids opened this issue Jan 12, 2025 · 7 comments
Open

Upgrade problems when upgrading from YNH 11>12 and Debian Bookworm #469

TILvids opened this issue Jan 12, 2025 · 7 comments

Comments

@TILvids
Copy link

TILvids commented Jan 12, 2025

I recently attempted to upgrade my system from YNH 11.2 to 11.3, and Peertube 6.x to 7.0. That operation succeeded without any trouble, however YNH then also alerted to a pending migration from YNH 11>12 and Debian Bookworm. Before upgrading, YNH gave the following warning:

  1. Upgrade the system to Debian Bookworm and YunoHost 12

N.B.: This migration has been tested by the community over the last few months but has only been declared stable recently. If your server hosts critical services and if you are not too confident with debugging possible issues, we recommend you to wait a little bit more while we gather more feedback and polish things up. If on the other hand you are relatively confident with debugging small issues that may arise, you are encouraged to run this migration 😉!

You can read the full release note, remaining known issues and feedback from the community here: https://forum.yunohost.org/t/31673. In particular, we encourage you to pay attention to the fact that:

  • Packages metronome (xmpp server) and rspamd (mail antispam) are now independent applications available in the catalog. Make sure to explicitly install these applications after the migration if you care about those!
  • The user portal / SSO system was totally reworked. You may lose custom theming if you have any. However, the new system also has plenty of customization capabilities (more details in the release note).

Finally, please note that this migration is a delicate operation. The YunoHost team did its best to review and test it, but the migration might still break parts of the system or its apps.

Therefore, it is recommended to:

  • Perform backups of any critical data or app. More info on https://yunohost.org/backup;
  • Be patient after launching the migration: depending on your Internet connection and hardware, it might take up to an hour for everything to upgrade properly;
  • Reach the community on the forum if you need help troubleshooting issues.

Please note that the following files were found to be manually modified and might be overwritten following the upgrade:

  • /etc/nslcd.conf
  • /etc/nsswitch.conf

After running the migration, the base site still loads, but then just about everything else gives 500 errors in the background (favicon, plugins, videos loading, etc). Basically, nothing on the site works. I rolled back the upgrade with a snapshot, and have everything working, but need to figure out what is causing this upgrade to give these 500 errors. Initial thought is that Metronome (xmpp) might be part of the issue, but would appreciate other thoughts.

@yalh76
Copy link
Member

yalh76 commented Jan 12, 2025

You should try to upgrade peertube after the upgrade from YNH11 to 12

@TILvids
Copy link
Author

TILvids commented Jan 12, 2025

Hmm, too late for that now. 😞 Already upgraded Peertube to v7. Anything else to try?

@yalh76
Copy link
Member

yalh76 commented Jan 12, 2025

Hmm, too late for that now. 😞 Already upgraded Peertube to v7. Anything else to try?

You can do an upgrade of peertube to the same version after moving to YNH12

@TILvids
Copy link
Author

TILvids commented Jan 12, 2025

Right, but I can't (easily?) revert to v6 of Peertube, now that I already upgraded to v7.

@yalh76
Copy link
Member

yalh76 commented Jan 12, 2025

you still have 500 errors ?
or you still are at YNH11 ?

@TILvids
Copy link
Author

TILvids commented Jan 13, 2025

I did the following:

  1. YNH 11.2 > 11.3
  2. PT 6 > 7
  3. Created rollback point.
  4. YNH 11.3 > 12
  5. PT 500 errors
  6. Rolled back to step 3.

So I don't have a way back to PT 6 unfortunately. No 500 errors (I rolled back to YNH 11, which fixed it), but I'm going to be stuck at YNH 11.3 until I figure out how to resolve it. To be fair, the notes DO say that it might not be stable yet, so perhaps I should just wait on the upgrade for a while?

@yalh76
Copy link
Member

yalh76 commented Jan 13, 2025

I think you should try:
Upgrade YNH 11.2 > 11.3
if you have some 500 errors: Upgrade Peertube on the actual version: yunohost app upgrade peertube -u https://github.com/YunoHost-Apps/peertube_ynh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants