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 failing #481

Open
BishopGreer opened this issue Jan 11, 2025 · 9 comments
Open

Upgrade to 4.3.2 failing #481

BishopGreer opened this issue Jan 11, 2025 · 9 comments

Comments

@BishopGreer
Copy link

How to post a meaningful bug report

  1. Read this whole template first.
  2. Determine if you are on the right place:
    • If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!
    • Otherwise, the issue may be due to the app itself. Refer to its documentation or repository for help.
    • When in doubt, post here and we will figure it out together.
  3. Delete the italic comments as you write over them below, and remove this guide.

Describe the bug

Start upgrade using screen in command line and it fails on backup.

Context

  • Hardware: Dedicated Server
  • YunoHost version: 12.0.10
  • I have access to my server: Through SSH
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
    • If yes, please explain:
  • Using, or trying to install package version/branch: 4.3.2

Steps to reproduce

sudo yunohost app upgrade mastodon

Expected behavior

It should backup and complete the upgrade I would think.

Logs

(https://paste.yunohost.org/raw/cicefusaco)

@blindi0815
Copy link

Have you tried cleaning the media cache as per Mastodon documentation? https://docs.joinmastodon.org/admin/tootctl/#media The backup seems to be very large. I guess you have enough HD space?

The prompt for deleting unwanted media files in Mastodon for yunohost looks like this:
root@server:~# (cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl media remove --days 0)

@BishopGreer
Copy link
Author

So I did that and it completed successfully. However, the upgrade still failed.

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

@yalh76
Copy link
Member

yalh76 commented Jan 12, 2025

So I did that and it completed successfully. However, the upgrade still failed.

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

You should try to do a simple backup of your mastodon instance to check if it's able to backup it

@BishopGreer
Copy link
Author

How would I do that?

@yalh76
Copy link
Member

yalh76 commented Jan 13, 2025

from the command line yunohost backup create --apps mastodon

@BishopGreer
Copy link
Author

The simple backup worked.

@yalh76
Copy link
Member

yalh76 commented Jan 14, 2025

The simple backup worked.

in that case, retry to upgrade, to see if it stops at the same point

@BishopGreer
Copy link
Author

Still failed.

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

@BishopGreer
Copy link
Author

Managed to finally get it to update, but required clearing the cache and immediately starting the upgrade. There needs to be no activity between the two or it will fail again with the above issues.

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

3 participants