YunoHost 3.6 testing / Call for feedback

Hello,

I’ve done upgrade from 3.6.0 Testing to 3.6.1.1 Testing.
I reproduce the same issue : i had to run dpkg --configure -a in CLI.

Furthermore :

  • the bash completion for yunohost => It Doesn’t Work … Yet :wink:
  • yunohost user delete *** --purge => It Seems To Work but … when i try to create immediately the same user i had

root@:/home/admin# yunohost user create ***
First name: ***
Last name: ***
Email address: @ynh.fr
You are now about to define a new user password. The password should be at least 8 characters - though it is good practice to use longer password (i.e. a passphrase) and/or to use various kind of characters (uppercase, lowercase, digits and special characters).
Password:
Confirm password:
Error: Attribute ‘mail’ already exists with value '
@
.ynh.fr’
root@
:/home/admin#

When i try to create a user with another name and mail i had :

root@:/home/admin# yunohost user create ***
First name: ***
Last name: ***
Email address: @.ynh.fr
You are now about to define a new user password. The password should be at least 8 characters - though it is good practice to use longer password (i.e. a passphrase) and/or to use various kind of characters (uppercase, lowercase, digits and special characters).
Password:
Confirm password:
Info: The operation 'Add '
’ user’ has failed! To get help, please share the full log of this operation using the command ‘yunohost log display 20190605-110732-user_create-*** --share’
Traceback (most recent call last):
File “/usr/bin/yunohost”, line 214, in
timeout=opts.timeout,
File “/usr/lib/python2.7/dist-packages/moulinette/init.py”, line 136, in cli
moulinette.run(args, output_as=output_as, password=password, timeout=timeout)
File “/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py”, line 425, in run
ret = self.actionsmap.process(args, timeout=timeout)
File “/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py”, line 523, in process
return func(**arguments)
File “/usr/lib/moulinette/yunohost/log.py”, line 281, in func_wrapper
result = func(args, kwargs)
File “/usr/lib/moulinette/yunohost/user.py”, line 211, in user_create
memberlist = ldap.search(filter=‘cn=sftpusers’, attrs=[‘memberUid’])[0][‘memberUid’]
IndexError: list index out of range
root@
:/home/admin#

The log --share :

root@:/home/admin# yunohost log display 20190605-110732-user_create-
description: Add '’ user
log_path: /var/log/yunohost/categories/operation/20190605-110732-user_create-
.log
logs:
metadata:
args:
firstname: ***
lastname: ***
mail: @.ynh.fr
mailbox_quota: 0
username: ***
ended_at: 2019-06-05 13:07:32
error: list index out of range
operation: user_create
related_to:
- user
- ***
started_at: 2019-06-05 13:07:32
success: False
metadata_path: /var/log/yunohost/categories/operation/20190605-110732-user_create-.yml
name: 20190605-110732-user_create-

root@***:/home/admin#

ppr

1 Like

Hello,

After update from stable 2.5.?, everything works fine.
But I have the save issue than @Moul : the admin is no longer sudoer.
(So I did not try the two yunohost commands…)

Hi @ppr, thanks for the feedback !

I’m having troubles understanding where that would come from tho :confused:

Are you experiencing this on a production instance or on a fresh test instance ? Are you still able to reproduce the issue ?

Hello,

Une réponse rapide :wink:
Alors ça se passe sur une Raspberry Pi 3B sur laquelle tourne CI Package Check et la version Testing 3.6.1.3 de YunoHost pour avoir le bénéfice de la gestion de l’IP/NomDeDomain car mon IP n’est pas fixe.
Donc j’avais essayé d’ajouter et de supprimer des utilisateurs, et il reste des scories à la suppression qui empêche de recréer un utilisateur avec le même nom.
Sinon, l’auto complétion du bash YunoHost avec la touche tabulation ne fonctionne pas.

ppr

I switched to testing now but I still have troubles updating shaarli and wallabag2 applications and installing nextcloud, always for some error due to fail2ban. Something like:

2019-06-21 12:48:35,811: WARNING - giu 21 12:36:21 noferini.org systemd[1]: Reloading Fail2Ban Service.
2019-06-21 12:48:35,813: WARNING - giu 21 12:36:30 noferini.org fail2ban-client[5542]: ERROR  NOK: (21, 'Is a directory')
2019-06-21 12:48:35,814: WARNING - giu 21 12:36:31 noferini.org systemd[1]: fail2ban.service: Control process exited, code=exited status=255

These are the full logs:

shaarli

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

Wallabag2

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

nextcloud

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

Little more informations: trying to remove and reinstalling shaarli the problem remains the same

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

@lnoferin : uh wokay … I doubt that this is really related to 3.6 :confused:

Released another small iteration (3.6.2) ! Thanks to Bram, kay0u, locness3, Maniack, Quentí, and xaloc33 ! Original post got updated as well

YunoHost core changes

  • [fix] Use systemd-run for more robust self-upgrade mechanism (158aa08)
  • [enh] Add a do_not_backup_data app setting to avoid backing up data (#731)
  • [enh] support config_panel in TOML format (#732)
  • [fix] ynh_print_OFF when set -x is used in other helpers (#733)
  • [enh] Add current and new version for apps in tools_update output (#735)
  • [fix] Backup delete should delete symlink target (#738)
  • [i18n] Improve translation for Occitan, French

Webadmin changes

  • [mod] Move applist management to Tools section (#248)
  • [enh] Display from/to version on upgrade screen (#252)
  • [i18n] Improve translations for Catalan, Occitan
2 Likes

So I’d like to aim for a release during next week so that we can move forward with other things … Please consider testing and providing feedback if you can, that really makes a difference to avoid non-tech users having to encounter issues that could have been spotted upstream !

1 Like

With Yunohost 3.5.2.2, completion works out of the box with the example yunohost u[Tab]. I’m using “Shell in a box” if it matters

1 Like

Upgrade made to 3.6.2

  1. upgrade went smootly ( I upgraded from a tmux shell because as I use “Shell in a box”, I knew that I will be disconnected at the end of the process
  2. I was able to installed a new app, use it a little and delete it.
    1. On the app list in “private mode” with Firefox, I cannot use the keyboard page_down. I can press it once to go down and if I press it again, the screen goes back to the beginning of the page.
    2. This behaviour does not appear if using Firefox in “normal mode”
  3. I added a new user, delete it then create it again.
    1. No password asked for creating the user.
    2. All went fine except some complains about wallabag2 that should be updated I guess.
  4. yunohost tools regen-conf shows no errors
  5. bash_completion is broken.
    1. File content /etc/bach_completion.d/yunohost has been replaced by the python script
  6. There was no update to do so wait and see

Thanks for the hard work :slight_smile:

1 Like

Hi there,

Everything is working great so far. Apps installation/upgrade. Also, admin is able to run sudo command again…
Moreover, everything seems a little bit faster :slight_smile:

Thank for your work !

1 Like

I have one server in 3.6.2 (and it was in 3.6.1 since the beggining of the testing).

Autocompletion works (really usefull) :slight_smile:
I had added domain and install cachet, it works
No password required for yunohost user create

Maybe a bug:

  • internetcube list json is still here (community has been removed)

Eh yeah that’s a bug ? Can you try to see if it would be (or rather why it’s not ?) caught by the migration here :

I fixed it:

1 Like

Another last minute iteration in 3.6.3 before release to stable to happen this week :

Important stuff:

  • [fix] Add mechanism to automatically detect and redact passwords from operation logs (#742)
  • [enh] Add manpage for Yunohost ! (#682)

Related to apps actions and config panel (still experimental for now):

  • [enh] Config panel : use manifest.json/actions.json args format for config_panel.toml (#734)
  • [enh] Allow to describe actions through toml file instead of json (#744)
  • [mod] Proper return interface for app config panel (#739)

Misc:

  • [fix] Less logging madness due ynh_script_progression building progress bar (#741)
  • [fix] Update acme-tiny to 4.0.4 (#740)
  • [fix] Missing old internet cube list in migration to unified apps.json (#745)

Thanks to all contributors <3 ! (Aleks, Bram, ljf, toitoinebzh)

3 Likes

Bonsoir,

Le retour du panel d’administration web lors de la MAJ Testing de la v3.6.2 vers la v3.6.3 :
https://paste.yunohost.org/exaxavoqam.rb
Je refais un tour d’ici 10 minutes sur le Raspberry Pi 3B pour voir.

Edit : La v3.6.3 est bien installée.

Il n’y a rien à faire ! Tout est déjà à jour !
La liste d’applications yunohost a été récupérée
Récupération des mises à jour des applications disponibles…
Récupération des mises à jour disponibles pour les paquets du système …
Connecté

ppr

1 Like

Good catch, thanks ! C’est fixé via Be more robust against empty metadata file · YunoHost/yunohost@f0ad944 · GitHub :stuck_out_tongue_winking_eye: (c’est pas encore release par contre, un peu la flemme de refaire un build juste pour ça avant la stable :sweat_smile:)

Mise à jour de la v3.6.2 vers v3.6.3 sans problème. Merci !

1 Like