🚀 YunoHost 12.0 (Bookworm) release / Sortie de YunoHost 12.0 (Bookworm)

FYI The wiki pages do not have the 12.0 ISO image and need to be updated.

webadmin > Domaine > Ton domaine > descendre dans “customization du portail” > Custom logo

Que raconte sudo netstat -tulpn | grep 8891

Il raconte ça :point_down: :

sudo netstat -tulpn | grep 8891
sudo: netstat: command not found

Excellent, je viens de tester, je sens que je vais m’amuser :stuck_out_tongue_winking_eye:

Super, je te remercie beaucoup :smiley:

I am still investigating my case, maybe I sould have mentionned that my first attempt of upgrade has failed (It seems to went well with the 2nd try after rebooting) here is the YunoPaste Log of the failed attempt:

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

1 Like

J’ai rĂ©solu mon problĂšme, c’était un conflit de port.
Le port 8891 Ă©tait occupĂ© pour autre chose, j’ai donc fait le nĂ©cessaire pour rĂ©soudre le problĂšme.

J’en ai profitĂ© pour faire un test avec mail-tester

Maintenant tout fonctionne.
Merci

Update :
tl;dr :
Ca refonctionne plus ou moins en :

  • CrĂ©ant les dossiers /usr/share/nginx/html/yunohost/sso/
  • Copiant les fichiers suivants : /usr/share/yunohost/portal# cp -r * /usr/share/nginx/html/yunohost/sso/

Version longue :

j’ai un peu fouillĂ© les logs, et il ressort qu’il manque un fichier index.html et un bout d’arborescence :

2024/11/12 19:39:28 [error] 186922#186922: *1 "/usr/share/nginx/html/yunohost/sso/index.html" is not found (2: No such file or directory) (suivi de mon IP, nom du serveur, etc
)

Or, si je vais chercher ce bout d’arborescence, il manque la partie yunohost/sso :

# cd /usr/share/nginx/html/
/usr/share/nginx/html# ls
index.html

En crĂ©ant les dossiers, je passe d’une erreur 404 Ă  403.

En revanche, pas de succĂšs en tentant de copier un des index.html prĂ©sents sur le serveur (je passe d’une erreur 403 Ă  un Ă©cran de chargement infini).

→ Apparemment il manque maintenant des fichiers prĂ©sents initialement dans /usr/share/yunohost/portal

→ /usr/share/yunohost/portal# cp -r * /usr/share/nginx/html/yunohost/sso/

La mise en page est cassĂ©e, je n’ai plus l’overlay, mais je peux de nouveau avoir accĂšs Ă  mes applis :slight_smile:

Je continue Ă  investiguer :mag:

Uuuuh wokay, I would try to apt install yunohost-portal --reinstall maybe ?

  • Reinstalled → No change.
  • Removed the folder I created and reinstalled → Error 404

Hello, great release, I wanted to ask why support for Raspberry 2 was dropped in this release. Raspbian still makes images for these boards. Even if they are a little underperformant, they are great for simple applications! I’m rocking a 2b+ and I was sad when I couldn’t upgrade to YunoHost 12. I couldn’t find any post about it online.
Thanks in advance

1 Like

Greatings,
I installed YunoHost 12 one week ago, with Gitea, NextCloud and TinyTinyRSS.

Updating the system packages works fine, but updating the applications is failing. Each application update failes, because the email-validator package that is installed is of version 1.3, but version 2.0 is required.
In Debian Bookworm only 1.3. is available, so no upgrade with apt possible and I’m not sure where the virtual environment for yunohost is located to upgrade from there 

Did I install an odd version or is this a general problem?

Humm, so, is there any antispam integrated with Yunohost, instead of previously pre-installed Rspamd ?
Thx

Excellent !

Migration sans soucis sur VPS OVH. En moins de 30 minutes

Juste pour rĂ©installer la brique rspamd → erreur de dĂ©pendance. Installer la lib manquante libbinutils et ça fonctionne nickel :wink:

(toutes les applications n’apparaissent pas Ă  l’accueil du sso (compte admin , plusieurs webapp, seule une apparaĂźt, mais pas gĂȘnant )

FĂ©licitations Ă  tous les devs :ok_hand: :clap: :clap: :clap:

1 Like

Just install rspamd since application catalog (think to purge previous rspamd package and configuration files / dir)

Unfortunately the symlink gets removed upon upgrades.

I would like to create a hook that sets the symlink. But I’m unsure, which would be the right hook. Can anybody help me?

Faut avouer que c’est plus pratique en effet.

Ce qui aurait Ă©tĂ© bien, c’est une Authentification Ă  deux facteurs avec TOTP sur l’Admin et Portail.

Merci Ă  toute l’équipe pour ce super boulot


1 Like

This is nice!
Could you put in this post the code that you use for your portal as an example for other that would like to do similar modifications ?

For logo:
webadmin > Domain > Your domain > go down to “portal customization” > Custom logo

For Background:

/* Background image of the Yunohost Portal */
body {
  background: url(https://images.unsplash.com/photo-1696347574706-53cb0bcab8ab?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
}

You can also put the image on your server and create a link to the image.

1 Like

Bonjour, avant d’effectuer la migration yunohost 11->12 sur ma machine de production, j’ai souhaitĂ© effectuer des tests dans une machine virtuelle. Pour cela :

  • installation debian 11 “vide”
  • installation yunohost bullseye sans la post-installation
  • restauration des archives tar issues de sauvegardes borg rĂ©centes
  • (instantannĂ© de la VM)

Puis procédure de maj et tentative migration :

# yunohost tools update 
# yunohost tools upgrade system
# yunohost tools upgrade apps

# yunohost tools migrations run
Info: No migrations to run

Curieusement, bien que la machine de production indique la migration bookworm en attente, ce n’est pas le cas dans la VM.

VĂ©rif depuis interface web "Outils → Migrations " (aprĂšs avoir gruickĂ© le /etc/hosts de la machine fixe pour pointer vers la VM) et lĂ  on voit que la migration v12 aurait dĂ©jĂ  Ă©tĂ© faite :

Migrations précédentes
27. Mettre Ă  jour le systĂšme vers Debian Bookworm et YunoHost 12

Cependant, la VM est encore en Debian 11.11 bullseye + yunohost 11.3.0.2 :

root@machine:~# cat /etc/debian_version 
11.11
root@machine:~# yunohost tools versions 
yunohost: 
  repo: stable
  version: 11.3.0.2
yunohost-admin: 
  repo: stable
  version: 11.3.0
moulinette: 
  repo: stable
  version: 11.3.0
ssowat: 
  repo: stable
  version: 11.3.0

J’ai essayĂ© de forcer la migration :

# yunohost tools migrations run 0027_migrate_to_bookworm --force-rerun --accept-disclaimer
Info: Running migration 0027_migrate_to_bookworm

Info: Fetching available upgrades for system packages

Error: Migration 0027_migrate_to_bookworm did not complete, aborting. Error: Your system is not fully up-to-date. Please perform a regular upgrade before running the migration to Bookworm.
Info: The operation 'Run migrations' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20241114-174845-tools_migrations_migrate_forward' to get help

Dans les journaux je ne trouve pas d’explication claire à cette erreur.

Merci Ă  tous les contributeurs yunohost.