Souci de federation Mastodon?

Bonjour à toutes et à tous :slight_smile:

Nous utilisons l’excellent package YH pour faire tourner Mastodon à la MailTape ici https://masto.mtcrew.org mais aujourd’hui je me suis rendu compte d’un comportement très étrange.

Je m’explique :slight_smile: J’ai un compte “imacrea” qui est sur l’instance mamot.fr et par curiosité j’ai regardé comment s’affichait les infos de ce compte depuis l’instance masto.mtcrew.org (hebergée via YH) et là très étonnant… non seulement je ne vois pas tous les toots mais je ne vois pas la même description de profil !

le profil officiel vue depuis mamot.fr :

le même profil consulté depuis l’instance masto.mtcrew.org:

Autant dire… rien à voir (!)

C’est comme s’il y’avait une sorte de cache ou je ne sais quoi qui avait figé la fiche. Mais pourtant certains récents toots sont visibles… En fait uniquement les retoots de imacrea@mamot.fr concernant les toots émis de crew@masto.mtcrew.org :

Et pire encore, si j’essaie de suivre le compte imacrea depuis l’instance masto.mtcrew.org ça me met un message “demande de suivi” envoyée comme si du côté de mamot j’avais décidé de n’accepter des followers que sur acceptation. Or, s’il est vrai que c’est un mode que j’avais activé à une époque, ce n’est plus du tout le cas. Et du coup, depuis masto.mtcrew.org, je suis dans l’impossibilité de suivre le compte.

Ceci pourrait peut-être expliquer pourquoi je ne vois pas d’autres toots du profil, puisque masto.mtcrew.org semble traiter imacrea@mamot.fr comme un compte privé… C’est cohérent.

J’ai du mal à comprendre où inspecter pour étudier le problème et tenter de le résoudre. Je me doute que cela a avoir avec la fédération et je m’inquiète que ce phénomène soit répandu sur d’autres instance YH avec mastodon. Ca rend tout a fait inutilisable l’outil j’en ai bien peur et si je n’avais pas deux comptes sur deux instances, je ne m’en serais jamais rendu compte :confused:

Et pour info, j’ai migré cette instance il y a quelques mois. Est-ce que ça pourrait être du à ça ? Peut-être une manip à faire qqe part pour réactiver/relancer/mettre à jour un composant de Masto ?

Je vous serais très reconnaissant pour votre aide les ami·es :slight_smile:

Bon, du coup je viens de fouiller dans le serveur pour exécuter directement le client tootctl et ça commence bien :

admin@mtcrew:/var/www/mastodon/live/bin$ ./tootctl --version
Traceback (most recent call last):
	53: from ./tootctl:5:in `<main>'
	52: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:49:in `require_relative'
	51: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	50: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	49: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	48: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	47: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	46: from /var/www/mastodon/live/lib/cli.rb:4:in `<top (required)>'
	45: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:49:in `require_relative'
	44: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	43: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	42: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	41: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	40: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	39: from /var/www/mastodon/live/lib/mastodon/media_cli.rb:4:in `<top (required)>'
	38: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:49:in `require_relative'
	37: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	36: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	35: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	34: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	33: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	32: from /var/www/mastodon/live/config/environment.rb:5:in `<top (required)>'
	31: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/application.rb:361:in `initialize!'
	30: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:60:in `run_initializers'
	29: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
	28: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
	27: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
	26: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:347:in `call'
	25: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:347:in `each'
	24: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
	23: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
	22: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:415:in `call'
	21: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:50:in `tsort_each_child'
	20: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:50:in `each'
	19: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
	18: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
	17: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
	16: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
	15: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
	14: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:61:in `block in run_initializers'
	13: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:32:in `run'
	12: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:32:in `instance_exec'
	11: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/engine.rb:607:in `block in <class:Engine>'
	10: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/engine.rb:607:in `each'
	 9: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/engine.rb:608:in `block (2 levels) in <class:Engine>'
	 8: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	 7: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	 6: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	 5: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	 4: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	 3: from /var/www/mastodon/live/config/environments/development.rb:90:in `<top (required)>'
	 2: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:60:in `load_missing_constant'
	 1: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:17:in `allow_bootsnap_retry'
/var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:61:in `block in load_missing_constant': uninitialized constant ActiveRecordQueryTrace (NameError)
	54: from ./tootctl:5:in `<main>'
	53: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:49:in `require_relative'
	52: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	51: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	50: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	49: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	48: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	47: from /var/www/mastodon/live/lib/cli.rb:4:in `<top (required)>'
	46: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:49:in `require_relative'
	45: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	44: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	43: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	42: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	41: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	40: from /var/www/mastodon/live/lib/mastodon/media_cli.rb:4:in `<top (required)>'
	39: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:49:in `require_relative'
	38: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	37: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	36: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	35: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	34: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	33: from /var/www/mastodon/live/config/environment.rb:5:in `<top (required)>'
	32: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/application.rb:361:in `initialize!'
	31: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:60:in `run_initializers'
	30: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
	29: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
	28: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
	27: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:347:in `call'
	26: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:347:in `each'
	25: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
	24: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
	23: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:415:in `call'
	22: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:50:in `tsort_each_child'
	21: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:50:in `each'
	20: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
	19: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
	18: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
	17: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
	16: from /opt/rbenv/versions/2.6.6/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
	15: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:61:in `block in run_initializers'
	14: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:32:in `run'
	13: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/initializable.rb:32:in `instance_exec'
	12: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/engine.rb:607:in `block in <class:Engine>'
	11: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/engine.rb:607:in `each'
	10: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.3/lib/rails/engine.rb:608:in `block (2 levels) in <class:Engine>'
	 9: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	 8: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	 7: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	 6: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	 5: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	 4: from /var/www/mastodon/live/config/environments/development.rb:90:in `<top (required)>'
	 3: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:59:in `load_missing_constant'
	 2: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:80:in `rescue in load_missing_constant'
	 1: from /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:9:in `without_bootsnap_cache'
/var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:80:in `block in load_missing_constant': uninitialized constant ActiveRecordQueryTrace (NameError)

Ca sent la mise à jour… pourtant dans l’interface web de YH, on m’indique que tout est à jour :thinking:

Bon j’ai fait un backup de masto mais pour la suite à vrai dire je ne sais pas trop quoi faire de peur de tout péter :confused:

J’ai bien tester quelques trucs mais ça ne change rien donc…

Déjà si tootctl pouvait tourner, je pourrais tenter ensuite des commandes vue sur admin-cli pour tenter de rafraichir le cache ou ce genre de choses :slight_smile:

Ébéééé peut-être que depuis la CLI on peut tenter une mise à jour depuis la même version et que ça peut peut-être remettre d’équerre certains trucs ? Avec yunohost app upgrade mastodon ?

Merci Aleks, alors avant de faire ça je me demande si ça ne résoudrait pas avec tootctl donc déjà j’ai compris comment s’en servir grâce à cette issue

Et je me demande si tootctl accounts refresh --all ne pourrait pas aider (cf doc masto) mais il semblerait que j’ai un souci d’autorisation lorsque je lance la commande :

admin@x:/var/www/mastodon/live$ . /etc/profile.d/rbenv.sh && cd /var/www/mastodon/live && RAILS_ENV=production bin/tootctl accounts refresh --all
Error processing 5: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/005/original/6fdb46ad715c19b0.png                                       
Error processing 7: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/007/original/2a5be60a24e0dc07.jpeg                                      
Error processing 9: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/009/original/aff8915cd0137c22.jpeg                                      
Error processing 10: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/010/original/e26d1128785e05d6.jpeg                                     
Error processing 8: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/008/original/4a1b93669e26e745.png                                       
Error processing 17: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/017/original/88a74c412c0a0c89.jpeg                                     
Error processing 11: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/011/original/6c7186a8ada04170.png                                      
Error processing 14: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/014/original/c2a01d1babb553f7.png                                      
Error processing 24: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/024/original/29fe4f6fdd999691.png                                      
Error processing 19: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/019/original/9e97d34b10e656b6.jpeg                                     
Error processing 20: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/020/original/067ae19ed190333b.png                                      
Error processing 28: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/028/original/4855b700b4f75655.jpeg                                     
Error processing 31: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/031/original/5fa3793380c62b8c.jpeg                                     
Error processing 25: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/025/original/edbb76021cb1bcb7.png                                      
Error processing 35: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/headers/000/000/035/original/b4f3c0a3585775b9.png                                      
Error processing 41: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/041/original/48cae7dcf351d05f.jpeg                                     
Error processing 39: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/039/original/7f1b2e57276b922d.gif                                      
Error processing 42: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/headers/000/000/042/original/6bdd5c517361ab42.jpeg                                     
Error processing 46: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/headers/000/000/046/original/3b41d0044cf2c303.jpeg                                     
Error processing 47: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/047/original/18d39f5f7ad837b7.jpeg                                     
Error processing 44: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/044/original/1116758c8a3d7b7c.png                                      
Error processing 48: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/048/original/67348f23fae0ae4d.png                                      
Error processing 50: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/050/original/f46b8b811fd8735b.jpeg                                     
Error processing 27: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/027/original/1c21f7e3c3c8fb3d.jpeg                                     
Error processing 53: Permission denied @ apply2files - /var/www/mastodon/live/public/system/accounts/avatars/000/000/053/original/f8de2ef0378421b8.jpeg

J’ai donc ensuite changé temporairement le propriétaire du dossier public
admin@x:/var/www/mastodon/live$ sudo chown -R admin public/

Et là je retente la commande et ça passe… presque. Autre souci :

admin@x:/var/www/mastodon/live$ . /etc/profile.d/rbenv.sh && cd /var/www/mastodon/live && RAILS_ENV=production bin/tootctl accounts refresh --all
Error processing 1640: Too many open files @ rb_sysopen - /tmp/fb50c2c0129e6f165d7c765f6d1f530c20201221-16749-14afxon.png                                                                   
Error processing 1642: Too many open files                                                                                                                                                  
Error processing 1645: Too many open files                                                                                                                                                  
Error processing 1644: Too many open files                                                                                                                                                  
Error processing 1647: Too many open files                                                                                                                                                  
Error processing 1646: Too many open files                                                                                                                                                  
Error processing 1649: Too many open files @ rb_sysopen - /tmp/87c2bc2ed97ed8debf1464b8e495049320201221-16749-140qsob.jpg                                                                   
Error processing 1648: Too many open files                                                                                                                                                  
Error processing 1653: Too many open files @ rb_sysopen - /tmp/8a07bf9007758115dc5920073cc389bf20201221-16749-1i6ll8h.jpg                                                                   
Error processing 1655: Too many open files @ rb_sysopen - /tmp/707501202ced49c21dc853128852f13620201221-16749-12sm3bn.jpg                                                                   
Error processing 1664: Too many open files @ rb_sysopen - /tmp/ea98588da1f1749dadec85e7e4b70d5220201221-16749-1x0bm92.png                                                                   
Error processing 1668: Too many open files @ rb_sysopen - /tmp/ae08a82b67e06511b9d68c93d56cc43d20201221-16749-10hxvlp.jpg                                                                   
Error processing 1674: Too many open files @ rb_sysopen - /tmp/f1f4d39bc1aa3e4dbbacb77757ef036620201221-16749-9l4m73.jpg                                                                    
Error processing 1679: Too many open files @ rb_sysopen - /tmp/aee5434c3a3bca986f777b43a229ac3720201221-16749-1lwcrzo.jpg                                                                   
Error processing 1691: Too many open files @ rb_sysopen - /tmp/a1310eb0f566e6f1b26e93371e8155ea20201221-16749-x0bngx.png                                                                    
Error processing 1692: Too many open files @ rb_sysopen - /tmp/0f86fbed342967cccb1037f1db5af62120201221-16749-53hm9q.jpg                                                                    
Error processing 1697: Too many open files @ rb_sysopen - /tmp/351525f4b9eb26a41ae9730b1f933ac820201221-16749-1a38lcp.png                                                                   
Error processing 1700: Too many open files @ rb_sysopen - /tmp/bf33cca6b85c8941f8842cf1ba0df22020201221-16749-uhvrrt.jpeg                                                                   
Error processing 1708: Too many open files @ rb_sysopen - /tmp/fe419ce3509c788131714452b45978d120201221-16749-g2dbbs.jpeg                                                                   
Error processing 1707: Too many open files @ rb_sysopen - /tmp/1415444b2f013b70ce3958877de39bf820201221-16749-1bk4cx5.png                                                                   
Error processing 1716: Too many open files @ rb_sysopen - /tmp/554fc90908b3e95762ccc2349b2e268d20201221-16749-17hapen.jpg

Ca semble être trop lui demander :confused: ?

Mais… toujours rien. Je reviens sur le profil en question sur l’instance, je fais un hard refresh et rien… Le souci semble plus compliqué.

Je vais tenter ta proposition de l’upgrade.

Mais en fait ça semble rien faire puisque on est déjà à jour:

admin@x:/var/www/mastodon/live$ sudo yunohost app upgrade mastodon
Info: Now upgrading mastodon...
Success! mastodon is already up-to-date
Success! Upgrade complete

Du coup ça résout pas le problème :confused:

Et en faisant -help sur la commande je ne vois pas de moyen de forcer la chose

Arf en effet … on a une option en 4.1, mais pas en 4.0

Cependant tu devrait pouvoir gruger avec:

sudo yunohost app upgrade mastodon -u https://github.com/alexAubin/mastodon_ynh/tree/master

tu veux dire sur https://github.com/YunoHost-Apps/mastodon_ynh j’imagine ? :slight_smile:
ok je vais tenter ça, merci !

Je viens de forcer la mise à jour et ça n’a rien changé. Même résultat.

Ca semble interne au fonctionnement de Masto… hmm je vais attendre encore un peu si qqn·e a une autre idée par ici et sinon je vais poster sur le github de mastodon directement je pense.

Merci Aleks pour ta précieuse aide

up

Pas d’idée ? Si vous n’avez pas la solution mais des pistes à investiguer je suis preneur ! :slight_smile:

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