English version
Hello everyone!
We’re happy to announce the release of version 3.8 !
This release includes the following highlights
-
New diagnosis system : The configuration of a server is complex and prone to a lot of small errors, that’s why we have set up a brand new diagnostic system that analyzes different parameters such as: the possibility to access the server from outside, the DNS records, port forwarding, system resources… (Disclaimer: this feature is still experimental and being polished)
-
App categories : As the list of packaged applications for YunoHost is getting wider and wider, a better search and visualization system was needed. Applications are now grouped by area of interest.
-
Support for XMPP file uploads : You can now send files through XMPP using you YunoHost server! Metronome also gets upgraded to version 3.14. (N.B. : for the XMPP upload to work, make sure to add the corresponding DNS record and to force-renew your certificate)
-
Easier PHP version and apt repo management (for app packagers) : We include a new way of managing PHP versions and to simplify version migrations. This should also be useful with regard to the transition towards Buster and next Debian versions. See here for more details.
-
And a lot more as you’ll find out in the changelog!
Thanks so much to all contributors ! A. Furkan Şanlı, advocatux, AerisOne, A. Nordhøy, Alvaro, amirale qt, A. Femat, A. Lutz, A. Trancart, Bram, ButterflyOfFire, C. Wehrli, clecle226, D. Picard, decentral1se, D. Roesli, É. Gavoty, É. Gaspar, F. Bengtsson, frju365, G. Genovino, Gustavo M, H. Shrestha, I. Hernández, J. Franssen, JimboJoe, Josué, Juan, Kayou, ljf, L. Murphy, Maniack Crudelis, M. Cirillo, Mario, M. Döring, M. DeAbreu, M. Chauvel, P. Baeumel, pitchum, ppr, Quentí, Rafi59, R. Pessanha, r. raynaud, Simon, tituspijean, xaloc33, yalh76, Y. Şükrü Tan, Yasss Gurl, Y. Ding, Zeik0s
Notes for advanced users
Click here to show/hide
- YunoHost now explicitly conflicts with apache2 and bind9 to avoid weird situations in case these get installed implicitely or explicitely. If you still need them anyway, you should be able to force-install them anyway using the force-depends option in apt/dpkg…
- New app helpers : there are many new official helpers related to installing dependencies from custom apt repo and to manage php versions. For details, checkout out the helpers documentation and detailed changelog (section App helpers).
-
The
'yunohost app list'
command has been reworked and now displays installed app by default. The-i/--installed
option is now therefore unecessary. Also the-b/--with-backup
has been dropped. If you want to get information about the app catalog, you shoud useyunohost app catalog
. - The app list (or app catalog) management has been reworked for the integration of the app categories. There is no more any API do manage custom app catalogs. If you happen to use custom app catalogs, you must be aware that Yunohost will drop any custom app list and you must re-add it manually in apps_catalog.yml. You also need to make sure that your custom app catalog format matches the new format (c.f. list_builder.py).
Detailed changelog
Click here to show/hide
Major stuff
- [enh] New diagnosis system (YunoHost#534, YunoHost#872, YunoHost#919, YunoHost-admin#209, YunoHost#923, YunoHost#921, YunoHost#940, YunoHost#943, YunoHost#944, YunoHost/b78d722, YunoHost/426d938, YunoHost/822c731, YunoHost-admin/a110e56, YunoHost-admin/ccefdd6, YunoHost/aecbb14a, (YunoHost#985)
- [enh] App categories (YunoHost#778, YunoHost#853, YunoHost-admin#279,Yunohost-admin#300)
- [enh] Support XMPP http upload (YunoHost#831, YunoHost-admin/1592ab4, YunoHost-admin/9694d8a) + Setup all XMPP components for each “parent” domains (YunoHost#916) + Upgrade Metronome to 3.14.x
- [enh] Many small improvements in services management (+related views in webadmin) (YunoHost-admin#274, YunoHost#838, YunoHost/fa5c0e9, YunoHost/dd92a34, YunoHost/c97a839, YunoHost-admin#295, YunoHost/dd09758f, YunoHost/1cd7ffea)
- [i18n] Improve translations for Arabic, Basque, Bengali (Bangladesh), Catalan, Chinese (Simplified), Dutch, Esperanto, French, German, Greek, Hindi, Hungarian, Italian, Nepali, Norwegian Bokmål, Occitan, Polish, Portuguese, Russian, Spanish, Swedish, Turkish
Core
- [bkp] [enh] Warn/fail early about apps already installed when attempting to restore them (YunoHost/f9e4c96c)
- [bkp] [fix] Restoration with custom hooks was broken (YunoHost#927)
- [bkp] [enh] Keep track of yunohost version a backup was made from
- [user] [fix] Don’t miserably crash if doveadm fails to run (YunoHost/c9b22138)
- [tools] [enh] During failed upgrades, only mention packages that couldn’t be upgraded (YunoHost/26fcfed7)
- [logs] [enh] Improve readability (YunoHost/c6f18496, YunoHost/9cbd368d, YunoHost/5850bf61, YunoHost/413778d2, YunoHost/5c8c07b8, YunoHost/f73c34bf, YunoHost/94ea8265)
- [logs] [enh] Add operation logger for config panel (YunoHost#869)
- [ssl] [fix] Prevent firefox to mix CA and server certificate (YunoHost#857)
- [ux] [enh] Improve CLI/API to change maindomain (YunoHost#796, YunoHost-admin#260)
- [sso] [enh] Avoid unnecessarily reloading the config file (SSOwat#159)
- [cli] [enh] Add subcategories management in bash completion (YunoHost#839)
- [mail] [enh] Add a setting to enable POP3 in email stack (YunoHost#791)
- [conf] [enh] Also run dpkg --audit to check if dpkg is in a broken state (YunoHost/09d8500f, YunoHost/97199d19)
(YunoHost/54cc684) - [conf] [fix] Enforce permissions for stuff in /etc/yunohost/ (YunoHost#963)
- [conf] [enh] Improve systemd settings for slapd to prevent it from getting killed / staying dead (YunoHost#933) + try to autorestart it if it’s down (Moulinette#247, YunoHost#975)
- [conf] [enh] Small optimizations to speed up regen-conf and other things (YunoHost#958)
- [conf] [fix] Add the damn short hostname to /etc/hosts automagically (to make rabbitmq-server happy) (YunoHost/e67dc791)
- [conf] [enh] Get rid of domain-specific acme-challenge snippet, use a single snippet included in every conf (YunoHost#917, YunoHost#950)
- [conf] [mod] Use a common security.conf.inc instead of having cipher setting in each nginx’s domain file (YunoHost/1285776, YunoHost/4d99cbe, YunoHost/be8427d, YunoHost/22b9565)
- [conf] [fix] Don’t add weird tmp redirected_urls after postinstall (YunoHost#902)
- [conf] [enh] Update ciphers for nginx, postfix and dovecot according to new Mozilla recommendation (YunoHost#913, YunoHost#914, YunoHost#949))
- [deb] [mod] Add conflict with apache2 and bind9, other minor changes in Depends (YunoHost#909, YunoHost/3bd6a7a, YunoHost/0a482fd)
- [deb] [fix] Don’t do weird stuff with yunohost-firewall during debian’s postinst (YunoHost/978d9d5)
Webadmin
- [fix] Slider effect in webadmin was sometime broken / weird (YunoHost-admin/787204b)
- [enh] Move ‘Share on Yunopaste’ button to make it more obvious to users (YunoHost-admin/dd2570e)
- [enh] Real CSP headers for the webadmin (YunoHost#961)
- [enh] Improve log views (YunoHost-admin#294, YunoHost-admin/4480836, YunoHost#960)
Moulinette
- [fix] Don’t miserably crash when failing to parse locale (Moulinette/f967bed3)
- [fix] moulinette logs were never displayed #lol (YunoHost#758)
- [fix] Report the actual error when ldap fails (Moulinette/628ffc9)
- [fix] Don’t display comment if argument is already set (Moulinette#226)
- [fix] Don’t miserably crash if async running can’t read incoming message (Moulinette/06d8c48)
- [mod] Simplify / rework Moulinette’s auth mechanism (Moulinette#216)
App helpers
- [enh] apt/php: New helpers for extra apt repo, PHP version install, and PHP fpm (YunoHost#881, YunoHost#928, YunoHost#929)
- [enh] php: Add an option in PHP helper to use a dedicated php service (YunoHost#915
- [enh] php: Pave the way to migration to php7.3 and future ones (YunoHost#880, YunoHost#926)
- [enh] Add dynamic variables to systemd helper (YunoHost#937)
- [fix] getopts behaved in weird way when fed empty parameters (YunoHost#948)
- [enh] Persist cookies between multiple ynh_local_curl calls for the same app (YunoHost#884, YunoHost#903)
- [fix] psql: User should be declared as owner of its new db (YunoHost#813)
- [fix] psql: Revoke sessions before dropping tables (YunoHost#895)
- [fix] psql: Rework ynh_psql_test_if_first_run (#993)
- [fix] ports: Use ynh_port_available in ynh_find_port (YunoHost#957)
- [fix] ports: ynh_find_port didn’t detect port already used on UDP (YunoHost#827, YunoHost#907)
Tests, cleaning, refactoring,
- Add core CI, many additional tests, improve/fix existing tests (Moulinette#230, YunoHost#856, YunoHost#863, YunoHost/6eb8efb, YunoHost/c4590ab, YunoHost/711cc35, YunoHost/6c24755, YunoHost#989, YunoHost/108a3ca4, …)
- [i18n] Improve message wording, spelling (YunoHost/8b0c9e5, YunoHost/9fe43b1, YunoHost/f69ab4c, YunoHost/0decb64, YunoHost/986f38f, YunoHost/8d40c73, YunoHost/8fe343a, YunoHost/1d84f17, YunoHost#931))
- [i18n] Unit tests / lint / cleaning of stale strings in translation files (YunoHost#901, YunoHost-admin#288)
- Use Black in Moulinette (Moulinette#220, Moulinette/6f5daa0, Moulinette/54b8cab)
- Misc refactoring (YunoHost#805, YunoHost/101d3be, YunoHost#784, YunoHost#968, YunoHost#979, YunoHost#986)
- Clean app helpers (YunoHost#947)
- Webadmin code refactoring, readability improvements, use buttons instead of links when it’s not about changing page (YunoHost-admin#262, YunoHost-admin/4f544de, YunoHost-admin/44c27a5, YunoHost-admin/6177044)
Removal of legacy/unused features
- Patch usage of old ‘yunohost tools diagnosis’ (YunoHost#954)
- Drop some very-old deprecated app helpers (though still somewhat supporting them through hacky patching) (YunoHost#780, YunoHost#954)
- Drop ‘Security feed’ and ‘Download self-CA auth cert’ features from the Tools section
- Drop glances and the old monitoring system (YunoHost#821, YunoHost-admin#263)
- Drop app_debug (YunoHost#824, YunoHost-admin#271)
- Drop app’s status.json (YunoHost#834)
- Drop ynh_add_skipped/(un)protected_uris helpers (YunoHost#910)
- Drop the appslist system from the webadmin (YunoHost-admin#264)
How to upgrade
From the web admin
- Go to “Update system”
- Then hit the “Update” button in the “System” block.
- After the upgrade completes, you will have to re-log to the webadmin. Ideally, try to force-refresh the cache of your browser (Ctrl+Shift+R on Firefox)
- Make sure that everything went well (green check
) in Tools > Logs
Or from the command line
$ sudo yunohost tools update
$ sudo yunohost tools upgrade --system
What now ?
We are aware many of you are waiting for the support of Buster and this is now the priority of the project for the coming weeks/months. In fact, we’ve already been working on it for quite some time and it’s near completion: we plan to start a beta-testing in the coming weeks. As for the Jessie->Stretch upgrade from almost two years ago, we will provide a migration in the webadmin that should allow you to upgrade to Buster in just a few clicks.
We also have some work ongoing to update are pretty outdated pre-installed images.
Stay tuned!
Version française
Bonjour tout le monde !
Nous sommes heureux d’annoncer la sortie de la version 3.8 !
Voici les points clefs de cette version
-
Nouveau système de diagnostic : La configuration d’un serveur est complexe et sujette à un grand nombre d’erreurs, c’est pourquoi nous avons mis en place un tout nouveau système de diagnostic qui analyse différents paramètres comme par exemple: la possibility d’accéder au serveur depuis l’extérieur, les ** enregistrements DNS**, le transfert de port, les ressources système… (Avertissement : cette fonctionnalité est encore expérimentale et en cours de perfectionnement)
-
Catégories d’applications : Comme la liste des paquets d’applications pour YunoHost devient de plus en plus grande, un meilleur système de recherche et de visualisation était nécessaire. Les applications sont maintenant regroupées par centre d’intérêt.
-
Prise en charge du téléversement de fichier sur XMPP : Vous pouvez maintenant envoyer des fichiers via XMPP en utilisant votre serveur YunoHost ! Metronome est également mis à jour à la version 3.14. (N.B. : pour que la fonctionnalité de téléversement fonctionnement, il vous faut ajouter l’enregistrement DNS correspondant et forcer le renouvellement du certificat)
-
Gestion plus facile des versions de php et que des dépôt apt (pour les packagers d’applications) : Nous incluons une nouvelle façon de gérer les versions de PHP et simplifions les migrations de versions. Cela devrait également être utile en ce qui concerne la transition vers Buster et les prochaines versions de Debian. Voir ici pour plus de détails.
-
Et beaucoup plus comme vous le verrez dans le changelog!
Merci beaucoup à tous les contributeurs ! A. Furkan Şanlı, advocatux, AerisOne, A. Nordhøy, Alvaro, amirale qt, A. Femat, A. Lutz, A. Trancart, Bram, ButterflyOfFire, C. Wehrli, clecle226, D. Picard, decentral1se, D. Roesli, É. Gavoty, É. Gaspar, F. Bengtsson, frju365, G. Genovino, Gustavo M, H. Shrestha, I. Hernández, J. Franssen, JimboJoe, Josué, Juan, Kayou, ljf, L. Murphy, Maniack Crudelis, M. Cirillo, Mario, M. Döring, M. DeAbreu, M. Chauvel, P. Baeumel, pitchum, ppr, Quentí, Rafi59, R. Pessanha, r. raynaud, Simon, tituspijean, xaloc33, yalh76, Y. Şükrü Tan, Yasss Gurl, Y. Ding, Zeik0s
Notes for advanced users
Cliquez ici pour afficher/cacher
- YunoHost est désormais explicitement en conflit avec apache2 et bind9 pour éviter des situations bizarres au cas où ceux-ci seraient installés implicitement ou explicitement. Si vous en avez quand même besoin, vous devriez pouvoir les installer de force en utilisant l’option force-depends dans apt/dpkg…
- Nouvelles aides d’application : il existe de nombreuses nouvelles aides officielles liées à l’installation de dépendances à partir d’un dépôt apt personnalisé et à la gestion des versions php. Pour plus de détails, consultez la documentation des aides et le journal des modifications détaillé (section App helpers).
-
La commande
'yunohost app list'
a été remanié et affiche maintenant les applications installées par défaut. L’option-i/--installed
est donc désormais inutile. De plus l’option-b/--with-backup
a été supprimée. Si vous souhaitez obtenir des informations sur le catalogue d’applications, vous pouvez utiliser la commandeyunohost app catalog
. - La gestion de la liste des applications (ou du catalogue des applications) a été retravaillée afin d’intégrer les catégories d’applications. Il n’y a plus d’API pour gérer les catalogues d’applications personnalisées. Si vous utilisez des catalogues d’applications personnalisées, vous devez savoir que Yunohost supprime toute liste d’applications personnalisées et que vous devez la réajouter manuellement dans apps_catalog.yml. Vous devez également vous assurer que le format de votre catalogue d’applications personnalisé correspond au nouveau format (c.f. list_builder.py).
Details des changements
(voir version anglaise)
Comment mettre à niveau
Depuis la webadmin
- Aller dans “Mettre à jour le système”
- Puis cliquez sur “Mettre à jour” dans le bloc “Système”.
- Une fois la mise à jour terminée, il vous faudra vous reconnecter à la webadmin. Idéallement, forcez un rafraichissement du navigateur (Ctrl+Shift+R sous Firefox)
- Assurez-vous que tout s’est bien passé (petite coche verte
) dans Outils > Journaux
Ou à partir de la ligne de commande
$ sudo yunohost tools update
$ sudo yunohost tools upgrade --system
Et maintenant ?
Nous savons que beaucoup d’entre-vous attendent le support de Buster et c’est maintenant la priorité du projet pour les prochaines semaines/mois. L’équipe travaille en fait déjà dessus depuis un moment et il est proche d’être terminé: nous pensons démarrer une phase de beta-test dans les prochaines semaines. Comme pour l’upgrade de Jessie vers Stretch il y a quasiment deux ans, nous proposeront une migration depuis la webadmin pour vous permettre de passer à Buster en quelques clicks.
Il y a également un travail en cours pour mettre à jour nos images pré-installées qui sont un peu périmées.
Stay tuned!