Pixelfed erreur installation et fédération

Mon serveur YunoHost

Matériel: Freebox Delta carte ARM 64 (VM Debian 10)
Version de YunoHost: 4.1.8
J’ai accès à mon serveur : En SSH | Par la webadmin | En direct avec un clavier/écran |
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

Bonjour, j’ai installé Pixelfed.
J’ai accès, je peux me logger, me mettre en admin, mettre des photos, suivre sur Mastodon.
Par contre aucun accès à la Fédération, je peux rien découvrir, et sur Mastodon je ne vois pas les photos sur mon Pixelfed.

J’ai un warning lors de mon installation

Historique de l"installation

Installer l’application ‘Pixelfed’ 25
Installation de pixelfed…
/usr/share/yunohost/helpers.d/php: line 561: YNH_DEFAULT_COMPOSER_VERSION: readonly variable
Validating installation parameters…
Storing installation settings…
Installing dependencies…
Configuring system user…
Creating a PostgreSQL database…
Setting up source files…
Configuring NGINX web server…
Configuring PHP-FPM…
Installing composer dependencies…
Creating log file…
Adding a config file…
Configuring a supervisor service…
Deploying…
fatal: not a git repository (or any of the parent directories): .git
0/128769 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%
9000/128769 [▓░░░░░░░░░░░░░░░░░░░░░░░░░░░] 6%
13000/128769 [▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░] 10%
22000/128769 [▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░] 17%
26000/128769 [▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░] 20%
34000/128769 [▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░] 26%
39000/128769 [▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░] 30%
48000/128769 [▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░] 37%
52000/128769 [▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░] 40%
61000/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░] 47%
65000/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░] 50%
74000/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░] 57%
78000/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░] 60%
87000/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░] 67%
91000/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░] 70%
99000/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░] 76%
104000/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░] 80%
112000/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░] 86%
116000/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░] 90%
124000/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░] 96%
Installing the cron file…
Configuring log rotation…
Integrating service in YunoHost…
Starting a supervisor service…
128769/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%Please wait, the service pixelfed-horizon is reload-or-restarting…
The service pixelfed-horizon didn’t fully executed the action reload-or-restart before the timeout.
Please find here an extract of the end of the log of the service pixelfed-horizon:
Configuring permissions…
Reloading NGINX web server…
Installation of pixelfed completed
Installation terminée

après mettre mis en admin mon user, j’ai fais un :

root@oas:/home/oliviertilly# php7.3 artisan config:cache
Could not open input file: artisan

Voilà, si quelqu’un à une idée.

Merci

Il faut exécuter cette commande dans /var/www/pixelfed, là tu es dans le dossier personnel de l’utilisateur.

Que donne service pixelfed-horizon restart ?

Merci, c’est bon pour ça

root@oas:/var/www/pixelfed# php7.3 artisan config:cache
Configuration cache cleared!
Configuration cached successfully!

là ça coince

root@oas:/var/www/pixelfed# service pixelfed-horizon restart
bash: service: command not found

Et avec sudo ?

Le boulet… désolé

root@oas:/var/www/pixelfed# sudo service pixelfed-horizon restart
Failed to restart pixelfed-horizon.service: Unit pixelfed-horizon.service not found.

Y’a pas de problème, on oublie tous :wink:

Ah ouais c’est problématique ça, si le service n’existe pas…

As-tu le journal complet de l’installation ? (l’interface d’admin ou la ligne de commande te propose l’historique des journaux d’installation)

Ca ne conviens pas ?.
Il y a un lien sur le warning.

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

Je l’avais raté :sweat_smile:

L’installation à l’air correcte… j’ai envie de te proposer soit de la refaire soit de mettre à jour sur la version qui vient de sortir (disponible sur la branche testing, très bientôt dans la mise à jour classique) voir si ça corrige un truc.

Merci, ce n’était pas très clair non plus.
J’ai déja essaye une nouvelle installation, mais rien de neuf.
J’ai essayé d’installer la mise à jour :

root@oas:/# sudo yunohost app upgrade pixelfed -u GitHub - YunoHost-Apps/pixelfed_ynh at testing --debug
259 DEBUG initializing base actions map parser for cli
262 DEBUG loading actions map namespace ‘yunohost’
267 DEBUG building parser…
302 DEBUG building parser took 0.034s
304 DEBUG acquiring lock…
332 DEBUG lock has been acquired
357 DEBUG loading python module yunohost.app took 0.025s
357 DEBUG processing action [16421.1]: yunohost.app.upgrade with args={‘app’: [‘pixelfed’], ‘url’: ‘GitHub - YunoHost-Apps/pixelfed_ynh at testing’, ‘file’: None, ‘force’: False}
364 INFO Now upgrading pixelfed…
491 DEBUG initialize authenticator ‘as-root’ with: uri=‘ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth’
591 DEBUG Downloading…
1381 DEBUG Done
1740 SUCCESS pixelfed is already up-to-date
2144 DEBUG The permission database has been resynchronized
2617 DEBUG SSOwat configuration regenerated
2633 SUCCESS Upgrade complete
2634 DEBUG action [16421.1] executed in 2.276s
2635 DEBUG lock has been released

Je suis à la version : 0.10.10~ynh3
Je suis pas sur d’avoir changé de version.
Et j’ai toujours le même problème

root@oas:/var/www/pixelfed# sudo service pixelfed-horizon restart
Failed to restart pixelfed-horizon.service: Unit pixelfed-horizon.service not found.

Ok, alors je n’ai pas d’autre idée… @yalh76 peut-être ?

Merci pour le temps passé,
Ça n"expliquerait pas le soucis ?

On va reprendre depuis le début…

Pour la commande php7.3 artisan config:cache il faut être dans le dossier de pixelfed pour pouvoir l’exécuter.

Concernant ton probléme de ne pas voir depuis mastodon les photos de pixelfed, il faudrait savoir:

  • Est ce que ça concerne tous les pixelfed ou seulement ceux déployés sur YunoHost (grosso modo est ce que la fonctionalité a été implmenté ou pas dans pixelfed
  • Est ce que ça n’est que ton installation ou tous les pixelfeds sous YunoHost qui ont ce probléme (grosso modo est ce que le probléme est que sur ton instance ou toutes celles innstallées via YunoHost)

Mon Pixelfed sur Yunohost est bien visible depuis mastodon (une fois les étapes de synchro côté fédération passées, il m’a fallut forcer en cherchant l’URL du compte Pixelfed dans mastodon).
Donc soit c’est un problème sur cette instance en particulier, soit un problème dans le paquet qui est plus récent que mon installation :thinking:

Je te remercie.
Je viens de refaire une installation, j’ai accès aux photos de mon pixelfed sur Mastodon.
Je peux aussi découvrir d’autres pixelfed sur mastodon ou pixelfed.
Par contre j"ai toujours cette erreur, mais je ne vois pas les conséquences.

root@oas:/var/www/pixelfed# sudo service pixelfed-horizon restart
Failed to restart pixelfed-horizon.service: Unit pixelfed-horizon.service not found.

Super que ça soit réglé :smiley:

je vous remercie !

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