Thursday, April 30, 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

[00:17:25] <irc> <yalh76[m]> Alaiks: maybe another time ynh_systemd_action didn't catched the first line ^^
[00:17:31] <irc> <Alaiks> ;D
[07:08:47] <irc> <foobar|49638> Bonjour, je viens d'installer Yunohost sur un vieux PC et l'installation s'est bien déroulée. Maintenant j'aimerais connecter ma machine à internet en passant par une clé WiFi. Comment puis je faire ceci ?
[07:26:33] <irc> <jeroen[m]> <foobar|49638 "Bonjour, je viens d'installer Yu"> bonjour. Ca dépend de votre OS... Vous avez installé debian/ubuntu? avec interface graphique?
[09:31:27] <irc> <autra[m]> <foobar|49638 "Bonjour, je viens d'installer Yu"> ma machine = la machine sur laquelle est installé yunohost, je suppose ?
[09:44:29] <irc> <jeroen[m]> <autra[m] "ma machine = la machine sur laqu"> oui, exactement
[09:44:34] <irc> <jeroen[m]> en plus, c'est mieux (si possible) d'utiliser un câble réseau pour la stabilité de la connexion...
[09:45:16] <irc> <autra[m]> bah du coup, l'OS c'est forcément une debian stretch
[09:47:19] <irc> <jeroen[m]> est le stick wifi reconnu par debian? (mettre dans porte USB et fait un "dmesg" qui montrera directement si le stick est bien reconnu
[09:56:01] <irc> <autra[m]> foobar|49638: et après `iw dev`
[09:56:42] <irc> <autra[m]> après c'est toujours un peu la mouise de choisir parmi la myriade d'outil en ligne de commande pour contrôler le wifi :-)
[10:12:28] <irc> <Julien[m]3> Bonjour à tou.te.s. Je suis à la recherche des "systems" à passer en argument pour une commande de backup personalisée yunohost backup create --system **** l'idée est de sauvegarder tout le serveur sauf les mails. J'ai cherché dans les doc sans succès et le -h ne donne pas le détail des arguments
[10:46:04] <irc> <lapineige:matrix.lapineige.fr> Y'a des modos du forum par ici ?
J'aurais besoin de réouvrir ce sujet: https://forum.yunohost.org/t/freshrss-freshrss-api-endpoints-failed/10737/8
Merci :)
[11:51:09] <irc> <Julien[m]3> <Julien[m]3 "Bonjour à tou.te.s. Je suis à la"> La réponse était dans la list hook, c'est ok
[11:59:48] <irc> <Alaiks> lapineige : c'est fait
[12:10:19] <irc> <lapineige:matrix.lapineige.fr> Merci :)
[12:39:32] <irc> <hercut[m]> bonjour à tous, petite question rapide, nexcloud ne prend pas en charge les symlink ?
[17:06:32] <irc> <foobar|21994> Hello! I've changed my user password from the SSOWatt interface and I want to verify that the password been stored succesfully in LDAP so I've tried to replicate password hashing using this function https://github.com/YunoHost/yunohost/blob/f358bdde19ab0a0f9678a1d43bb8fcd49caaa51a/src/yunohost/user.py#L828 but as I already noticed the salt is rando
[17:06:34] <irc> <foobar|21994> m so I'm not having success to replicate the hash. My question is how Yunohost does to check the password against LDAP? I went a bit down the rabbit hole and it seems from SSOWatt library that is calling this function from LuaLDAP https://github.com/lualdap/lualdap/blob/8c05fafe7d7015994cdcd5f55766dde35babfc75/src/lualdap.c#L489
[17:07:10] <irc> <foobar|21994> Thanks for any advice and help!
[17:13:26] <irc> <Alaiks> uuuuugh
[17:13:37] <irc> <Alaiks> there are easiest way to hurt yourself bruh
[17:14:25] <irc> <Alaiks> why not just attempt to re-log on the SSO interface ? @_@
[17:16:40] <irc> <Alaiks> if you really want to test if the hash is right, you also read the hash from the "slapcat" output, then feed the hash and password to crypt.crypt() (last line of user.py)
[17:16:46] <irc> <Alaiks> in a python console
[17:16:46] <irc> <Alaiks> import crypt
[17:16:56] <irc> <Alaiks> crypt.crypt('yourpassword', 'thehash')
[17:18:12] <irc> <foobar|21994> hahahaha I just really want to check the hash is right, I'm going to check if that does the trick :D
[17:24:19] <irc> <foobar|21994> yay, that did it ^_^
[17:25:03] <irc> <foobar|21994> Thanks a lot @Alaiks
[18:24:40] <irc> <Bram> I think the hash is random because of the salt
[18:24:42] <irc> <Bram> iirc
[18:24:52] <irc> <Bram> it's using scrypt which is linux encryption
[18:25:27] <irc> <Bram> and iirc it uses sha512 last time I've changed it
[18:27:07] <irc> <Bram> A Modular Crypt Format method with 16 character salt and 86 character hash based on the SHA-512 hash function.
[18:27:08] <irc> <Bram> yep
[18:27:10] <irc> <Bram> salted
[18:27:17] <irc> <Bram> I would have been very surprised otherwise
[21:27:43] <irc> <wormsunited> I am trying to install a custom app the multi app and i get an error on it, the installation cannot be completed, any idea how to have this working? Thanks in advance
[21:28:58] <irc> <Alaiks> ... as with 90% of user support question ... please provide the logs or at least some error message
[21:30:46] <irc> <Alaiks> maybe at some point we'll end up writing this in a gigantic red blinking popup that you can close only after writing "Yes, I understand" so that we won't have to repeat this ten times per day ...
[21:31:52] <irc> <Alaiks> apparently putting "for the love of God, please provide context (what are you trying to achieve?) and details (log messages, ...)" in the topic ain't enough
[21:32:35] <irc> <Alaiks> maybe people don't like God enough, maybe we should try with "for the love of Kittens" instead
[21:32:58] <irc> <Alaiks> "for the love of Pizza" ...?
[21:33:14] <irc> <wormsunited> hehe sending the log i am sorry my delay
[21:33:43] <irc> <wormsunited> 2020-04-30 21:32:24,801: WARNING - /usr/share/yunohost/helpers.d/logging: line 11: args_array: readonly variable 2020-04-30 21:32:24,802: DEBUG - + ynh_die 2020-04-30 21:32:24,802: DEBUG - + local legacy_args=mc 2020-04-30 21:32:24,802: DEBUG - + args_array=([m]=message= [c]=ret_code=) 2020-04-30 21:32:24,944: ERROR - Could not install multi_webapp
[21:33:43] <irc> <wormsunited> : An error occurred inside the app installation script
[21:34:12] <irc> <Alaiks> the full log. There should be a green button written "Share with yunopaste" at the top
[21:34:17] <irc> <Alaiks> (if you're in the log view page)
[21:34:31] <irc> <wormsunited> 2020-04-30 21:32:24,801: WARNING - /usr/share/yunohost/helpers.d/logging: line 11: args_array: readonly variable 2020-04-30 21:32:24,802: DEBUG - + ynh_die 2020-04-30 21:32:24,802: DEBUG - + local legacy_args=mc 2020-04-30 21:32:24,802: DEBUG - + args_array=([m]=message= [c]=ret_code=) 2020-04-30 21:32:24,944: ERROR - Could not install multi_webapp
[21:34:32] <irc> <wormsunited> : An error occurred inside the app installation script
[21:35:19] <irc> <wormsunited> button is not working properly but i got the full log
[21:35:36] <irc> <Alaiks> ugh .. can you elaborate why the button ain't working ?
[21:36:27] <irc> <wormsunited> Yes it does not copy any action to paste here
[21:36:30] <irc> <wormsunited> https://pastebin.com/h3Xxe6Sb
[21:36:45] <irc> <wormsunited> i have the log on pastebin tho..
[21:37:09] <irc> <Alaiks> no line break but okay ... ctrl+f is my friend ~.~
[21:37:24] <irc> <wormsunited> XD i am so sorry
[21:37:33] <irc> <Alaiks> WARNING - useradd: invalid user name 'webapp_yunotesting.nohost.me_websites'
[21:37:37] <irc> <Alaiks> hm i've seen this before
[21:38:39] <irc> <wormsunited> I have added the user that i created on the yunohost
[21:38:53] <irc> <wormsunited> I am also using the app section to try to install
[21:39:19] <irc> <wormsunited> I need to configure several users on yuno, perhaps i need to add more domains?
[21:40:08] <irc> <Alaiks> there's a fix about the useradd issue here ... https://github.com/YunoHost-Apps/multi_webapp_ynh/pull/26
[21:40:24] <irc> <Alaiks> uh not sure what you mean ... let's take one problem at a time ...
[21:40:39] <irc> <wormsunited> each user has its own domain name on a php website with database maybe i dont need this app in this domain name and i can install the same app on a different domain?
[21:40:44] <irc> <wormsunited> checking that link now
[21:41:48] <irc> <Alaiks> as a workaround, maybe you can have a look at "my_webapp" (also known as custom webapp), unless you specifically need the multi webapp
[21:41:55] <irc> <Alaiks> but they're pretty much equivalent
[21:42:28] <irc> <wormsunited> can i install my_webapp in several other domain names?
[21:42:39] <irc> <Alaiks> i think so
[21:43:00] <irc> <Alaiks> https://github.com/YunoHost-Apps/my_webapp_ynh/blob/testing/manifest.json#L19
[21:43:23] <irc> <Alaiks> which led me to ask what's the difference between the two apps ... https://github.com/YunoHost-Apps/multi_webapp_ynh/issues/25
[21:44:00] <irc> <wormsunited> Yes!! Great then i can skip this topic, by the way... what is the php version of the system? I cant seem to find it out...
[21:44:46] <irc> <Alaiks> php 7.0 by default
[21:45:47] <irc> <wormsunited> Great news thank you so much
[21:45:47] <irc> <wormsunited> Merci pour tout (I think i got that right)
[21:45:56] <irc> <Alaiks> ;P
[21:46:01] <irc> <wormsunited> XD