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 to 4.3.2~ynh1 is failing #480

Open
nizarus opened this issue Jan 6, 2025 · 3 comments
Open

upgrade to 4.3.2~ynh1 is failing #480

nizarus opened this issue Jan 6, 2025 · 3 comments

Comments

@nizarus
Copy link

nizarus commented Jan 6, 2025

Describe the bug

Trying to upgrade Mastodon (mastodon) from 4.2.13-ynh1 to 4.3.2-ynh1 via the webadmin interface

Context

  • Hardware: VPS bought online
  • YunoHost version: 12.0.9.2 (stable)
  • I have access to my server: Through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: 4.3.2~ynh1
  • If upgrading, current package version: 4.2.13~ynh1

Steps to reproduce

yunohost app upgrade mastodon

Logs

https://paste.yunohost.org/raw/uyabeqifow

@tio-trom
Copy link

tio-trom commented Jan 9, 2025

Worked all fine for me. Yours is an issue with this

2025-01-06 13:29:21,696: DEBUG - 
2025-01-06 13:29:21,696: DEBUG - ERROR: Unable to decrypt OTP secret for user 92.
2025-01-06 13:29:21,696: DEBUG - 
2025-01-06 13:29:21,696: DEBUG - This is most likely because you have changed the value of `OTP_SECRET` at some point in
2025-01-06 13:29:21,696: DEBUG - time after the user configured 2FA.
2025-01-06 13:29:21,696: DEBUG - 
2025-01-06 13:29:21,697: DEBUG - In this case, their OTP secret had already been lost with the change to `OTP_SECRET`, and
2025-01-06 13:29:21,697: DEBUG - proceeding with this migration will not make the situation worse.
2025-01-06 13:29:21,697: DEBUG - 
2025-01-06 13:29:21,697: DEBUG - Please double-check that you have not accidentally changed `OTP_SECRET` just for this
2025-01-06 13:29:21,697: DEBUG - migration, and re-run the migration with `MIGRATION_IGNORE_INVALID_OTP_SECRET=true

@nizarus
Copy link
Author

nizarus commented Jan 9, 2025

@tio-trom, On your instance, do you have users with 2FA enabled ?
Not sure, but perhaps the issue is related to this "‼️ Requires new encryption secrets environment variables" on mastodon v4.3.0 https://github.com/mastodon/mastodon/releases/tag/v4.3.0

@tio-trom
Copy link

tio-trom commented Jan 9, 2025

@tio-trom, On your instance, do you have users with 2FA enabled ? Not sure, but perhaps the issue is related to this "‼️ Requires new encryption secrets environment variables" on mastodon v4.3.0 https://github.com/mastodon/mastodon/releases/tag/v4.3.0

I do not know if there are any users with 2FA enabled...

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