# Mastodon update failed, then restore backup failed

**URL:** https://forum.yunohost.org/t/mastodon-update-failed-then-restore-backup-failed/27636
**Category:** Support apps
**Tags:** mastodon, english
**Created:** [December 15, 2023, 5:54pm UTC](https://forum.yunohost.org/t/mastodon-update-failed-then-restore-backup-failed/27636 "2023-12-15T17:54:58Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![dudenas](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dudenas/32/1165_2.png) [@dudenas](https://forum.yunohost.org/u/dudenas)
#### Post date: [December 15, 2023, 5:54pm UTC](https://forum.yunohost.org/t/mastodon-update-failed-then-restore-backup-failed/27636/1 "2023-12-15T17:54:58Z")

</div>

My mastodon update failed, and restoring a backup is also failing. I have no clue why is this happening and how to restore the system.  
Would anyone be so kind and have a look at the logs? Living without my mastodon account for now ☹

Log from restoring:  
[https://paste.yunohost.org/raw/sazofacavu](https://paste.yunohost.org/raw/sazofacavu)

Full log from initial failed install/restore:  
[https://paste.yunohost.org/raw/itiliconoh](https://paste.yunohost.org/raw/itiliconoh)

### My YunoHost server

**Hardware:** Old computer  
**YunoHost version:** 11.2.8.2  
**I have access to my server :** Through SSH

---

<div class="post-metadata">

### Author: ![KaraDanvers](https://forum.yunohost.org/user_avatar/forum.yunohost.org/karadanvers/32/6380_2.png) [@KaraDanvers](https://forum.yunohost.org/u/KaraDanvers)
#### Post date: [December 16, 2023, 4:07am UTC](https://forum.yunohost.org/t/mastodon-update-failed-then-restore-backup-failed/27636/2 "2023-12-16T04:07:22Z")

</div>

all i can say is same thing happen to me, lost everything, backup failed to restore. i then switched to MissKey but oof bad android apps. next time i mastodon, its outside yunohost in its own VM.

---

<div class="post-metadata">

### Author: ![wbk](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/w/e0b2c6/32.png) [@wbk](https://forum.yunohost.org/u/wbk)
#### Post date: [December 16, 2023, 8:13am UTC](https://forum.yunohost.org/t/mastodon-update-failed-then-restore-backup-failed/27636/3 "2023-12-16T08:13:09Z")

</div>

Hi dudenas,

> [@dudenas](#):
>
> Living without my mastodon account for now ☹

☹

Did you try whether Mastodon still be installed at all?

I had matrix-synapse getting broken and unable to restore when upgrading a few times, but in the end and with some help I could get it back to work. I hope your Mastodon can be revived as well!

---

<div class="post-metadata">

### Author: ![dudenas](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dudenas/32/1165_2.png) [@dudenas](https://forum.yunohost.org/u/dudenas)
#### Post date: [December 16, 2023, 11:00am UTC](https://forum.yunohost.org/t/mastodon-update-failed-then-restore-backup-failed/27636/4 "2023-12-16T11:00:42Z")

</div>

Thanks for the idea!  
I tried to install mastodon to a different subdomain (I still have hope to restore my installation with my account). And it failed! Sadly, the log is as mysterious as the previous ones… I can make no sense of it myself…

Mastodon new installation failure log:  
[https://paste.yunohost.org/raw/ebilohuqum](https://paste.yunohost.org/raw/ebilohuqum)

---

<div class="post-metadata">

### Author: ![dudenas](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dudenas/32/1165_2.png) [@dudenas](https://forum.yunohost.org/u/dudenas)
#### Post date: [December 16, 2023, 11:04am UTC](https://forum.yunohost.org/t/mastodon-update-failed-then-restore-backup-failed/27636/5 "2023-12-16T11:04:42Z")

</div>

it would be really sad to realize that YunoHost is a poor choice for Mastodon.  
I’ll try to stay hopeful for a few days.

---

<div class="post-metadata">

### Author: ![wbk](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/w/e0b2c6/32.png) [@wbk](https://forum.yunohost.org/u/wbk)
#### Post date: [December 16, 2023, 11:48am UTC](https://forum.yunohost.org/t/mastodon-update-failed-then-restore-backup-failed/27636/6 "2023-12-16T11:48:07Z")

</div>

> [@dudenas](#):
>
> Sadly, the log is as mysterious as the previous ones… I can make no sense of it myself…

Me neither.

After my previous post, I saw [another thread](https://forum.yunohost.org/t/upgrade-the-mastodon-app-could-not-be-completed/27626) where the upgrade of Mastodon ran awry, and some earlier threads about being unable to install Mastodon.

Sorry not to be of any more help!

---

<div class="post-metadata">

### Author: ![nizarus](https://forum.yunohost.org/user_avatar/forum.yunohost.org/nizarus/32/9083_2.png) [@nizarus](https://forum.yunohost.org/u/nizarus)
#### Post date: [December 18, 2023, 11:25am UTC](https://forum.yunohost.org/t/mastodon-update-failed-then-restore-backup-failed/27636/7 "2023-12-18T11:25:49Z")

</div>

Hi,  
I got a similar issue (see: [[Solved] Upgrade the 'mastodon' app' could not be completed](https://forum.yunohost.org/t/solved-upgrade-the-mastodon-app-could-not-be-completed/27626)) and it was solved by removing the file `/opt/rbenv/shims/.rbenv-shim` who had a wrong owner and launching the update script again.

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [January 2, 2024, 11:26am UTC](https://forum.yunohost.org/t/mastodon-update-failed-then-restore-backup-failed/27636/8 "2024-01-02T11:26:04Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
