We just released a new testing version for YunoHost! This version includes some important changes, and we would be more than happy to receive feedback before releasing it as a stable version!
A big chunk of the work included in this release is supported by NLnet foundation and we are much grateful to them !
We are still planning more changes in that version, in particular for the app catalog / install process, and for our dyndns mechanism, but so far the highlights are:
Replace the âadminâ user with a new âadminsâ group. On the long-term, this should remove some confusion about the role of the admin user and allow to define several admin users! Note that this impacts the login screen, as youâll now have to enter the username in addition to the password! Right after upgrading to 11.1, the old âadminâ user will still exist as a regular YunoHost user, member of the admins group. The very first user you created in YunoHost will also be automatically added to the âadminsâ group and will be able to connect to the webadmin using the same credentials as on the user portal. We recommend to get rid of the legacy âadminâ user once you validate that this is okay for you! (To do so, just go to the webadmin > Users > admin > Delete)
Introduce a new âv2â app packaging format. This is in particular a major change for app packagers as it should simplify the app packaging and maintenance, but will also bring many UI/UX improvements for the app install process. On the long term, this is only an intermediate step towards an even-better âv3â format later
Rework the app catalog and app info views, now with logos, screenshots, better descriptions, links to upstream website/doc/demo.
Rework the domain list and domain info view. Domains are now displayed as a tree, and the various panels have been merged into a single one, which should be easier to browse and understand. Behind the scene, weâve also extended the possibilities of the new configuration panel format introduced in 4.3!
Domain settings to disable mail or XMPP are now effectively reflected in the system configuration instead of just affecting the recommended DNS configuration
Refactor the âglobalâ settings and make them available in the webadmin. So far, these were only available from the command line but they can now be found in the âToolsâ section of the webadmin. In particular, those settings allow to harden the security of the server, to configure email relay, and other technical aspects of the server.
A dark theme for the webadmin, much spook! You can enable it in the webadmin settings in the âToolsâ section of the webadmin.
And as always, a bunch of minor fixes and improvements for daily life!
How to participate to the beta-testing
DO NOT do this on a critical production server!
From the command line, you can launch the following command to switch to testing:
(If you are familiar with bash scripting, you might want to read what this script does before blindly running the command)
You should then be running YunoHost 11.1.x.
What to test?
Here are some specific items which are important to check to validate the current work:
Validate that youâre indeed able to login to the webadmin following the new âadminsâ group change. Possibly delete the old âadminâ user once you confirm that youâre able to connect with your main user (the very first user that was created on the server).
Test the dark theme !
Test the new domain views and tell us if you find it better than the previous one, and/or if some specific items could be improved.
Test to install / upgrade various apps, especially following the work on packaging v2, we want to make sure that everything stays backward-compatible with v1 apps.
On my side, i had configured a user receiving email from root@ & co onto a separated account dedicated to that we can call here A. So this user A was automatically added to admins group.
However, this configuration doesnât feet my needs, cause i want to synchronize via IMAP those system emails AND for security reasons, i donât want an admin password to be configured in an email client.
So the solution i find was to remove this user A from admins group (all member of admins group receive root@ email now) AND i made an email forward from my admin B to my non admin user A.
To do that, i had to check admins group was now configured into LDAP to receive root@ & co. Itâs not written in âManage permissions & groups viewâ.
Dark theme
Nice job, i will be able to upgrade system in the night
About multi admin, i donât know if itâs wanted, i got
$ sudo su
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for ADMIN_USER:
It depends, in yunohost the admin user was added in sudoers file in a way that doesnât require password at each use. But for the first message you are probably right.
I donât know if this change is a design or just an accident.
It seems that the update rewrite ssh configuration. My ssh port was XXXX and after update, it come back to 22 but the firewall didnât open port. I wasnât able to connect through ssh before opening port 22 on firewall and connect through 22 port.
I also get an error with migrations on the webadmin :
update tell me that there is waiting migration
going to tools->migration give me a 500 error :
Impossible de charger la migration 0025_global_settings_to_configpanel : cannot import name 'translate_legacy_settings_to_configpanel_settings' from 'yunohost.utils.legacy' (/usr/lib/python3/dist-packages/yunohost/utils/legacy.py)
running yunohost tools migration state through the cli give me the following result :
Migration done (a little randomly as I thought I was back in stable).
Everything is working as intended, with just a little graphical problem with the pacman with itâs rough white border.
Everything else is so much BETTER than before (and before was already awesome )
The access to the configuration parameters from the web interface will make things easier and accessible for those who do not read the documentation. Now everything is available and explained, this is awesome !
Thanks a lot to the YunoHost team and NLnet foundation
Yeah thatâs nothing unusual, as far as I know this is the default behavior of sudo on any debian system and this is only displayed the first time an user uses sudo
Yeah these are now handled by the admins group behind the scene ⊠though so far thereâs no way to explicitly see them from the webadmin ⊠but onedayâą weâll implement mail-alias management for groups, which should also solve a bunch of use case and have a minimalist mailing-list mechanism (eg behind able to define contact@).
Sounds like itâs related to the global settings migration that miserably crashed âŠ
I donât quite understand how this can happen x_x
Can you inspect /usr/lib/python3/dist-packages/yunohost/utils/legacy.py and double-check that there really is no function named translate_legacy_settings_to_configpanel_settings ?
Hmyeah I think yunohost-api wasnât properly restarted hence it fails to run the migration because itâs still using some old code
Nevertheless the migrations should have been triggered after the upgrade and should have been used the proper code version, but maybe another issue prevented it from running
We can check this in the logs in Tools > Logs
And/or try re-running it using sudo yunohost tools migrations run