Tuesday, April 21, 2020
yunohost@conference.lightwitch.org
April
Mon Tue Wed Thu Fri Sat Sun
    1
2 3 4
5
6 7
8
9
10
11
12
13
14
15
16 17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
             
YunoHost support room | Don't ask to ask, just ask ! | Be patient and stay polite with everybody (this is a free software project ran by volunteers) | No answer? Post on the forum: https://forum.yunohost.org | This room is mirrored via Echo1 | Donate: https://liberapay.com/YunoHost

[04:57:59] <irc> <Pierre0412> Salut 😀
[06:55:16] <julien> Bonjour, http://im.yunohost.org/paste/41e46562-471e-41a4-a399-86d63eba9697
[07:01:44] <irc> <tituspijean:pijean.ovh> @Julien, bonjour: https://forum.yunohost.org/t/choix-forum-en-fonction-des-capacites-dun-vps/9676
[07:04:37] <irc> <tituspijean:pijean.ovh> Quant à ton bug d'installation, c'est avec Discourse ou Flarum ? (je gère l'app Flarum, donc ça m'intéresse)
[07:11:54] <julien> Désolé C'etait un mauvais copier coller. j'ai essayé d'installer dicourse mais apparement sur un pi3 avec 1g Ram ça passe pas...ou mal.
Concernant Flarum, j'ai testé également un install et ça n'a pas fonctionné ... sûrement trop léger en ram 😃 j'ai vu que l'ont pouvait créer ou augmenter le swap mais j'ai peur de faire une connerie et je ne sais pas si ça tournera bien sur pi3...
[07:13:23] <irc> <tituspijean:pijean.ovh> Là où Discourse demande 10Go de rab, Flarum ne consomme que ce dont il a besoin.
J'avais ajouté le tuto pour le swap justement pour un RPi. Si tu as un doute, n'hésite pas à voir les tutos plus officiels des RPi ;)
[07:13:55] <irc> <tituspijean:pijean.ovh> Et comme toujours, je suis preneur d'un log si "ça n'a pas fonctionné"
[07:13:56] <irc> <tituspijean:pijean.ovh> :p
[07:19:39] <julien> Comme disait Josiane dans les bronzés...j'y vais mais j'ai peur 😃
Je vais test la creation du swap pour flarum et je te dirais 😃
Merci
[07:20:57] <irc> <tituspijean:pijean.ovh> Alors pense tout de même que ça usera ta carte SD un peu plus vite, donc ne stocke rien d'important directement dessus ^^
[07:21:17] <irc> <tituspijean:pijean.ovh> Ou alors si tu as un disque dur branché sur ton RPi, utilise-le plutôt (pareil, il y a des tutos sur les internets)
[07:28:02] <julien> http://im.yunohost.org/paste/c6eb5524-8583-4d08-ae96-7e68295a07c6
[07:40:57] <julien> dsl pour les copier coller qui se font tout seul 😃
[09:29:35] <irc> <jln_69[m]> Salut, comment liste-t-on les keys d'une app ? `yunohost app setting --help` ne les donne pas et je ne les trouve pas sur [cette page](https://yunohost.org/#/apps_overview) de la doc'. Merci 🙂
[09:32:17] <irc> <nqb> jln_69[m]: par "keys" tu veux parler de quoi exactement ?
[09:39:48] <irc> <jln_69[m]> les paramètres qu'on peut visualiser ou changer (comme le nom de l'app) via la commande `yunohost app setting app key`
[09:40:56] <irc> <nqb> peut-être: sudo yunohost app map -r
[09:42:34] <irc> <jln_69[m]> ah oui effectivement, ça permet de voir que c'est `label` (et non pas `title` ou `name`, par exemple) qui permet de gérer le nom d'une app installée
[09:42:53] <irc> <nqb> oui, j'ai également découvert ça l'autre jour
[09:43:10] <irc> <nqb> # pour afficher la version d'une application
[09:43:10] <irc> <nqb> sudo yunohost app info APP_ID
[09:45:19] <irc> <jln_69[m]> apparemment y'a d'autres paramètres. Par exemple [ic](https://forum.yunohost.org/t/dokuwiki-de-prive-a-public/7113/2) Alexs mentionne la clef `is_public`. Or, on ne la retrouve pas avec la commande `map`
[09:45:52] <irc> <jln_69[m]> <nqb "sudo yunohost app info APP_ID"> D'ailleurs c'est confusant, là c'est `name` qui est employé, pas `label`
[09:46:06] <irc> <jln_69[m]> * apparemment y'a d'autres paramètres. Par exemple [ici](https://forum.yunohost.org/t/dokuwiki-de-prive-a-public/7113/2) Alexs mentionne la clef `is_public`. Or, on ne la retrouve pas avec la commande `map`
[10:56:53] <irc> <florent[m]> sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/OVXSvAasAqcRcWQsRKlZgDaq >
[10:57:26] <irc> <florent[m]> Enfin, surtout, ma question est de savoir si c'est compressible ou s'il vaut mieux que je fasse encore plus le tri dans ce que je sauvegarde
[12:25:49] <irc> <Crinoffe> je suis novice sur Yunohost et notamment en ligne de commande. Mon souci est lorsque que je démarre ou redémarre mon serveur Yunohost, les services php7.3-fpm et php7.0-fpm ont un statut failes, donc ils ne démarrent pas. J'arrive à les démarrer en passant par l'interface graphique de la console d'administration mais je souhaiterais savoir si je po
[12:25:50] <irc> <Crinoffe> uvais le faire via une ligne de commande. Cela m'intéresserait de le faire de mon smartphone sous JuiceSSH. Merci par avance.
[12:26:23] <irc> <Crinoffe> Hello I am new to Yunohost and especially in command line. My concern is when I start or restart my Yunohost server, the php7.3-fpm and php7.0-fpm services have a failed status, so they do not start. I manage to start them through the graphical interface of the administrative console but I would like to know if I could do it via a command line. I w
[12:26:23] <irc> <Crinoffe> ould be interested in doing it from my smartphone using JuiceSSH. Thanks in advance.
[12:40:03] <irc> <Crinoffe> crinoffe.ynh.fr
[12:40:03] <irc> <oufmilo:matrix.travelpandas.eu> > <@yunohost:matrix.org> [irc] Crinoffe: uvais le faire via une ligne de commande. Cela m'intéresserait de le faire de mon smartphone sous JuiceSSH. Merci par avance.

systemctl restart php7.4-fpm.service
[12:41:28] <irc> <Crinoffe> ok merci je tente cela dans 5 min et je te tiens au courant
[12:47:38] <irc> <Crinoffe> ca me répond : Faildes to restart php7.4 -fpm.service not found
[12:49:20] <irc> <Crinoffe> ca fonctionne
[12:50:14] <irc> <Crinoffe> Ca fonction avec ceci : j'ai mis systemctl restart php7.0-fpm.service
[12:50:29] <irc> <Crinoffe> et systemctl restart php7.3-fpm.service
[12:50:36] <irc> <Crinoffe> en sudo
[12:50:47] <irc> <Crinoffe> merci beaucoup
[14:21:09] <irc> <oufmilo:matrix.travelpandas.eu> > <@yunohost:matrix.org> [irc] Crinoffe: et systemctl restart php7.3-fpm.service

Oui après faut adapter au service que tu souhaites redémarrer
[14:26:59] <irc> <MadPanda[m]> Hey fellow Hosters. When i check the services tab in the management page, it shows php7.0fpm and php7.3fpm as failed
[14:27:18] <irc> <MadPanda[m]> sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/kHqZLonjIqLECnYRJpzbWlHU >
[14:27:53] <irc> <MadPanda[m]> here is the log for php7.3fpm
[14:28:05] <irc> <MadPanda[m]> could someone help me with this please?
[14:29:04] <irc> <Alaiks> so like if your restart it it doesn't help ?
[14:30:16] <irc> <MadPanda[m]> i just restarted
[14:30:25] <irc> <MadPanda[m]> it runs now, but any page depending on it throws error
[14:30:28] <irc> <MadPanda[m]> for example, pixelfed, when i log in, says "oops, something went wrong"
[14:30:32] <irc> <Alaiks> hmokay
[14:30:35] <irc> <Alaiks> and how did you get the log you pasted ?
[14:31:35] <irc> <MadPanda[m]> from admin page -> services -> php7fpm -> log
[14:32:05] <irc> <Alaiks> you are in 3.7 right ?
[14:32:19] <irc> <MadPanda[m]> 3.7.1.1
[14:32:22] <irc> <MadPanda[m]> latest version
[14:32:45] <irc> <Alaiks> alrighty
[14:32:56] <irc> <Alaiks> iiii
[14:32:59] <irc> <MadPanda[m]> https://paste.yunohost.org/iyuhanusov
[14:33:35] <irc> <Alaiks> 20 apps ? xD
[14:34:13] <irc> <Alaiks> i'll never understand how everything does not fall apart after the 10th app xD
[14:35:35] <irc> <Alaiks> well it says "php7.0-fpm" running here
[14:35:39] <irc> <Alaiks> same for php7.3
[14:35:40] <irc> <Alaiks> so uh
[14:36:06] <irc> <MadPanda[m]> yes, after i manually restarted them :)
[14:36:23] <irc> <Alaiks> yea
[14:36:40] <irc> <Alaiks> well let's hunt for pixelfed logs then i guess, if it's still broken
[14:36:42] <irc> <MadPanda[m]> wellm, to be honest, a server which cant handle 20 apps is more a toy than a server in my world..
[14:37:48] <irc> <MadPanda[m]> how can i find them? when i do the same as for php fpm, i get an empty window
[14:39:23] <irc> <Alaiks> gotta go in ssh
[14:39:32] <irc> <Alaiks> ls -l /var/log/pixelfed/*.log
[14:39:40] <irc> <Alaiks> should show a bunch of file, not sure how many
[14:40:32] <irc> <MadPanda[m]> access denied, no such file or directory
[14:41:23] <irc> <MadPanda[m]> manually switched to /var/log
[14:41:28] <irc> <MadPanda[m]> indeed, no pixelfed
[14:41:54] <irc> <Alaiks> wtf
[14:43:26] <irc> <MadPanda[m]> yep
[14:43:54] <irc> <Alaiks> well let's forget about this ... does running "journalctl -u pixelfed-horizon -n 100 --no-pager" shows anything that looks like an error message ?
[14:45:18] <irc> <MadPanda[m]> regular start / stop messages from server restarts
[14:45:26] <irc> <MadPanda[m]> nothing more
[14:45:54] <irc> <Alaiks> @_@
[14:46:15] <irc> <Alaiks> what about other PHP apps ? are they running smoothly ?
[14:46:17] <irc> <MadPanda[m]> sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/eHGwOpvzbkpyjIASAplakwLC >
[14:46:56] <irc> <MadPanda[m]> i.e. nextcloud?
[14:46:58] <irc> <Alaiks> yea
[14:47:27] <irc> <MadPanda[m]> yep
[14:49:02] <irc> <Alaiks> anythning improves if you restart pixelfed-horizon with "systemctl restart pixelfed-horizon" ?
[14:50:06] <irc> <MadPanda[m]> again, something went wrong xD
[14:52:56] <irc> <Alaiks> @_@
[14:53:34] <irc> <Alaiks> any file called "something-error.log" if you do "ls -thor /var/log/nginx | tail -n 10" ?
[14:53:40] <irc> <MadPanda[m]> i get to the login screen of Pixelfed
[14:53:46] <irc> <MadPanda[m]> and when i click on login, i get this message (We cannot process your request at this time, please try again later. Go back to Pixelfed.)
[14:54:52] <irc> <MadPanda[m]> sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/dOlyxSTBHGRtYsGELhWoASJh >
[14:56:07] <irc> <autra[m]> <MadPanda[m] "access denied, no such file or d"> I'm forcing open doors maybe, but you were root when you tried to access /var/log/pixelfed right ?
[14:56:18] <irc> <MadPanda[m]> yes
[14:56:21] <irc> <MadPanda[m]> autra:
[14:56:35] <irc> <MadPanda[m]> do i need to su pixelfed?
[14:57:15] <irc> <Alaiks> meh :/ bit out of ideas ... maybe yalh has some ideas about this but maybe he's busy ...
[14:58:40] <irc> <MadPanda[m]> maybe i should do a clean reinstall
[14:58:43] <irc> <MadPanda[m]> of YNH
[14:59:23] <irc> <Alaiks> that doesn't sound like the most efficient solution
[14:59:48] <irc> <MadPanda[m]> motivation to do so is a bit meh... reinstalling every 6 months is not really what i expected :D
[14:59:49] <irc> <Alaiks> "just" gotta find the right piece of log that points to the actual error...
[14:59:56] <irc> <yalh76[m]> humm. I'm teleworking.. doing windows server stuff...
[15:00:12] <irc> <Alaiks> yalh76[m]: it's okay dun' worry :D
[15:01:39] <irc> <MadPanda[m]> i have to get my train now, have meeting in 30mins... i get back after the meeting if this is okay? sorry, dont want to be an ass
[15:01:40] <irc> <yalh76[m]> pixelfed-horizon is just worker to do background stufff...
[15:02:20] <irc> <Alaiks> MadPanda[m]: sure don't worry
[15:02:31] <irc> <yalh76[m]> and for now, it's logging nothing... will be there in +2 version
[15:02:46] <irc> <MadPanda[m]> so the actual pixelfed is running as ...?
[15:03:00] <irc> <MadPanda[m]> hence the empty log!
[15:03:25] <irc> <yalh76[m]> for except pixelfed-horizon... it's just a normal php7.3-fpm package
[15:06:13] <irc> <MadPanda[m]> Hmm
[15:06:23] <irc> <MadPanda[m]> So there is no more logging than in the fpm package?
[15:08:15] <irc> <yalh76[m]> As far, as I know, no :/
[15:08:39] <irc> <yalh76[m]> what hapenns before php-fpm started to failed ?
[15:10:19] <irc> <MadPanda[m]> sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/tIDLOGutNtdBHeaBdZOSkUAD >
[15:12:04] <irc> <MadPanda[m]> Thats all i got from the log
[15:16:11] <irc> <Alaiks> maybe we should look into /var/log/php*.log ...
[15:17:02] <irc> <Alaiks> a day may come when we'll spend less time looking for the right log than actually fixing the error...
[15:20:10] <irc> <yalh76[m]> I think, by default php-fpm... doesn't log so much things...
[15:20:41] <irc> <Alaiks> looking at prices of flamethrower right now