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!