[Mastodon] A free, open-source social network

and the upgrade fails because mastodon-web service wasn’t started

Maybe it will be better to remove mastodon and reinstall it from scratch

I only tried to upgrade, because ynh admin showed one available. Anyways, I uninstalled and have been trying to reinstall mastodon, but it keeps failing. Here is the latest log:

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

OK, the error come from there is already a mastodon_production database in your postgresl
You need to remove it.
A good way is to use pgadmin_ynh to remove the mastodon_production database

Before I saw your reply, I was attempting install again (from web admin this time). The server lost connection in the middle of install, so I just clicked install again. Somehow it worked this time :stuck_out_tongue:

I don’t understand how any of this works, but maybe it’s my machine? It’s pretty low-specced, 32bit processor. Thanks again for your help :slight_smile:

#Mastodon 2.9.3 for #YunoHost has been released.

#Mastodon is a free, open-source social network.

Lot of adds, changes and fixes : https://github.com/tootsuite/mastodon/releases/tag/v2.9.3

Upgrade using:

$ yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh

@yunohost@mastodon.social
@Mastodon@mastodon.social
#Mastodon for #YunoHost has been upgraded to 3.0.1.

#Mastodon is a free, open-source social network.

Lot of adds, changes and fixes : https://github.com/tootsuite/mastodon/releases/tag/v3.0.1

Upgrade using:

$ yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh

1 Like

je trouve bloqué pour la mise à jour un probléme espace disque sur le vps:
Now creating a backup archive from the files collected…
2019-10-13 17:27:18,642: DEBUG - 2980016 Creating the backup tar archive…
2019-10-13 17:27:18,644: DEBUG - 2980114 Not enough space at /home/yunohost.backup/archives (free: 27817291776 / needed: 61124306850)
2019-10-13 17:27:18,645: DEBUG - 2980706 action [6993.1] executed in 2977.812s
2019-10-13 17:27:18,849: WARNING - 2980810 Not enough free disk space on ‘/home/yunohost.backup/archives’
2019-10-13 17:27:32,446: DEBUG - + ‘[’ 1 -eq 0 ‘]’
2019-10-13 17:27:32,453: DEBUG - + ynh_die ‘–message=Backup failed, the upgrade process was aborted.’
2019-10-13 17:27:32,560: DEBUG - + local legacy_args=mc
2019-10-13 17:27:32,561: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-10-13 17:27:32,562: DEBUG - + declare -Ar args_array
2019-10-13 17:27:32,571: DEBUG - + local message
2019-10-13 17:27:32,572: DEBUG - + local ret_code
2019-10-13 17:27:32,573: DEBUG - + ynh_handle_getopts_args ‘–message=Backup failed, the upgrade process was aborted.’
2019-10-13 17:27:32,751: DEBUG - + set +x
2019-10-13 17:27:32,852: DEBUG - + echo ‘Backup failed, the upgrade process was aborted.’
2019-10-13 17:27:32,853: WARNING - Backup failed, the upgrade process was aborted.
2019-10-13 17:27:32,854: DEBUG - + exit 1
2019-10-13 17:27:34,241: ERROR - Unable to upgrade mastodon
quelqu un aurait il une idée pour contourner ce problème?

Bonjour,
Enlever des archives plus anciennes ?
Ou sélectionner uniquement une partie de tes données à sauvegarder…
https://yunohost.org/#/backup_fr

j ai enlevé toutes archives pour faire de la place ça ne suffit pas pour liberer assez d espace il me reste 32 giga de libre je suis étonné que le backup soit plus gros.

Ben, on dirait qu’il veut une soixantaine de gigas (61124306850).
Qu’est-ce qui a changé depuis tes dernières sauvegardes ?

Bonjour,
j’ai le même souci…
de mon côté j’ai essayé de supprimer les médias mais je n’y arrive pas :confused:

oui j ai vu ton post sans succes aussi de mon coté

Question, peut-on faire la mise à jour sans faire de backup ? :thinking:

j’ai aussi quelques soucis avec le backup lors du lancement de l’update la création du backup a durer extrement longtemps ! Pour me deconnecter de l’interface web (timeout)
EDIT: j’ai relancer en ssh et c’est repartie sa a recup les pouets que je suivant au fur et à mesure. Tout est la en 3.0.1 !

Coté mastodon_ynh rien n’a changé niveau backup, le script de backup n’a pas été modifié depuis 5 mois => https://github.com/YunoHost-Apps/mastodon_ynh/tree/master/scripts

Est ce que tu peux lancer un backup manuel pour voir quelle taille il fait ? yunohost backup create --apps mastodon --debug et également regarder quelle taille fait le dossier /var/www/mastodon

#Mastodon for #YunoHost has been upgraded to 3.1.2.

#Mastodon is a free, open-source social network.

Lot of adds, changes and fixes : https://github.com/tootsuite/mastodon/releases/tag/v3.1.2

Upgrade using:

$ yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh

1 Like

#Mastodon for #YunoHost has been upgraded to support LDAP authentication.

All YunoHost users can authenticate in the Mastodon instance.

Upgrade using:

$ yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh

3 Likes

question, why do you suggest installing this using git, and not through the yunohost commands?

there is a big scary warning when installing things via git.

DANGER! This app is not part of Yunohost’s app catalog. Installing third-party apps may compromise the integrity and security of your system. You should probably NOT install it unless you know what you are doing. NO SUPPORT will be provided if this app doesn’t work or breaks your system… If you are willing to take that risk anyway, type ‘Yes, I understand’:

is it safe to install like this?

$ sudo apt-get install screen
$ screen
$ sudo yunohost app install mastodon