YunoHost 4.0 (Buster) release / Sortie de YunoHost 4.0 (Buster)

Migration terminee sur VM@freebox_Delta aucun probleme.
Applis fonctionnels rien a signaler.

merci pour votre superbe boulot !

Just did the upgrade…

Very smooth! All my apps are working: Nextcloud, calibreweb, writefreely, and pi-hole.

Thanks for all the hard work.

I had no issues except the weird one of SSOwat being a different version. I will try to upgrade now to see what happens.

admin@arkadi:~$ sudo yunohost --version
yunohost:
repo: stable
version: 4.0.3
yunohost-admin:
repo: stable
version: 4.0.3
moulinette:
repo: stable
version: 4.0.3
ssowat:
repo: unstable
version: 4.0.3+202007291517

Tried to update. No updates found.

admin@arkadi:~$ sudo yunohost tools update
Info: Fetching available upgrades for system packages…
Info: Updating application catalog…
Success! The application catalog has been updated!
/usr/lib/moulinette/yunohost/app.py:1888: YAMLLoadWarning: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
settings = yaml.load(f)
Info: Nothing to do. Everything is already up-to-date.
apps:
system:

Yeah sorry about that, the weird name is “expected”, it’s just a bit clumsy during the release but it has no technical implications besides looking a bit awkward and being written “unstable” but it’s exactly the same code as the stable version …

Thanks though about reporting the small warning during tools update about YAMLLoad thingy

1 Like

Ok great. It’s good to know all is well.

Oh I thought that YAMLLoad thing was known. Well I’m glad to be of use to the community :smiley:

Keep up the awesome work everybody…and let’s keep self-hosting!

1 Like

(english below) Merci pour le gros gros boulot, j’ai mis a jour une instance x86 sans aucun soucis.
A-t-on des retours de mises a jour sur les briques internet ? (carte Olimex Lime1)

Thanks for this awesome work, I have upgraded a x86 instance without any issue.
Do you have positive feedback about upgrading “La Brique Internet” (Olimex Lime1 board)

<3

2 Likes

Ok I thought my upgrade to Buster was complete, but now poo has hit the fan with certificates and other things.

then I started looking around I found that my migration to Buster is not finished? or at least the system doesn’t think it is finished?

admin@arkadi:~$ sudo yunohost tools migrations list
migrations: 
  0: 
    description: Upgrade the system to Debian Buster and YunoHost 4.x
    disclaimer: None
    id: 0015_migrate_to_buster
    mode: manual
    name: migrate_to_buster
    number: 15
    state: pending
  1: 
    description: Migrate php7.0-fpm 'pool' conf files to php7.3
    disclaimer: None
    id: 0016_php70_to_php73_pools
    mode: auto
    name: php70_to_php73_pools
    number: 16
    state: pending
  2: 
    description: Migrate databases from PostgreSQL 9.6 to 11
    disclaimer: None
    id: 0017_postgresql_9p6_to_11
    mode: auto
    name: postgresql_9p6_to_11
    number: 17
    state: pending
  3: 
    description: Migrate old network traffic rules to the new nftable system
    disclaimer: None
    id: 0018_xtable_to_nftable
    mode: auto
    name: xtable_to_nftable
    number: 18
    state: pending

I tried to do the migration but get this…

admin@arkadi:~$ sudo yunohost tools migrations migrate
Info: Running migration 0015_migrate_to_buster...
Error: Migration 0015_migrate_to_buster did not complete, aborting. Error: The current Debian distribution is not Stretch!
Info: The operation 'Run migrations' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20200812-054735-tools_migrations_migrate_forward --share' to get help
Error: Run these migrations: '0015_migrate_to_buster', before migration 0016_php70_to_php73_pools.
Error: Run these migrations: '0015_migrate_to_buster', before migration 0017_postgresql_9p6_to_11.
Error: Run these migrations: '0015_migrate_to_buster', before migration 0018_xtable_to_nftable.

@arkadi : yes, if you manually finished the migration, you need to tell yunohost to skip migration 15. The easiest way to do so is with the webadmin (in Tools > Migrations), click Skip in front of migration 15, then start the other ones with the green Run button

1 Like

I release version 4.0.4 which includes some minor fixes for the postgresql migration (and stuff to help debugging in the future)

8 Likes

J’ai fait la migration sur mon serveur, une tour puissante (12 Gio RAM & Intel Core i5 4x3.4GHz), qui héberge les services suivants :

Services migrés
  • PeerTube
  • Nextcloud
  • Roundcube
  • Gitea
  • Etherpad
  • Element
  • Bitwarden
  • PrivateBin
  • Jirafeau
  • LibreQR
  • Plume
  • Pleroma
  • Synapse
  • Searx
  • Matomo
  • Diagrams
  • RSS Bridge
  • OpenSondage
  • serveur mail
  • relai Tor (installé sans YunoHost)

L’opération a duré 1H20, mais la migration de PostgreSQL a échoué (logs). J’ai pu la relancer sans avoir d’erreur.

Après la migration, PeerTube n’a pas été pleinement fonctionnelle tout de suite, PostgreSQL a d’abord occupé tout le processeur pendant 1 heure et les accès à la base de données de PeerTube n’ont aboutit qu’après cela.

Synapse a refusé de démarrer après la migration (erreurs similaires à ce ticket). Après avoir utilisé yunohost app upgrade synapse -u https://github.com/YunoHost-Apps/synapse_ynh/tree/testing, ça fonctionnait normalement.

Les autres applications ne semblent pas avoir de problème \o/

Je constate que bien que ce ne soit pas le cas par défaut, il est désormais possible d’activer TLS 1.3 en remplacant ssl_protocols TLSv1.2; par ssl_protocols TLSv1.2 TLSv1.3; dans /etc/nginx/conf.d/security.conf.inc. Ce sera fait dans les prochaines versions de YNH ?

1 Like

Oui, il y a déjà un commit dans la branche de dev, ça va arriver en 4.0.5

1 Like

Migration went fine apart from the migration to Postgresql 11. I faced the same issue as here Problème de migration postgresql_9p6_to_11.py and installed postgresql 11 manually as suggested there. It did not work unfortunately, here is the log https://paste.yunohost.org/raw/ojoxikejur

Edit: Running Diagnosis revealed that postgresql was not running. I restarted it, which worked! Then I re-run the migration and it worked as well!

Version française

Migration effectuée sur deux VPS :

Sur les deux j’ai du relancer la migration postgresql qui semblait avoir été en erreur la première fois. Elle s’est bien passée la seconde.

Sur les deux j’ai deux fichiers de conf qui m’ont été indiqués comme modifiés manuellement (alors qu’il me semble n’y avoir jamais touché) : nslcd.conf et nsswitch.conf.
J’ai forcé la mise à jour.

Au niveau des apps :

Un grand merci pour tout votre travail :heart_eyes:

Question subsidiare, un yunohost --version me donne :

yunohost: 
  repo: stable
  version: 4.0.4
yunohost-admin: 
  repo: stable
  version: 4.0.3
moulinette: 
  repo: stable
  version: 4.0.3
ssowat: 
  repo: unstable
  version: 4.0.3+202007291517

C’est normal d’être en unstable pour ssowat ?


English version

Migration performed on two VPS.

On both I had to restart the postgresql migration that seemed to go wrong the first time. It went well the second time.

On both of them I have two conf files that were indicated to me as manually modified (even though I seem to have never touched them): nslcd.conf and nsswitch.conf.
I forced the update.

Regarding the apps:

A big thank you for all your work :heart_eyes:

Subsidiary question, a yunohost --version gives me:

yunohost:
repo: stable
version: 4.0.4
yunohost-admin:
repo: stable
version: 4.0.3
grinder:
repo: stable
version: 4.0.3
ssowat:
repo: unstable
version: 4.0.3+202007291517

Is it normal to be on unstable for ssowat?

3 Likes

It’s complicated but basically yes :stuck_out_tongue_winking_eye: Small cosmetic mistake on my side that has no impact whatsoever on the actual code

Thanks for the detailed feedback !

2 Likes

Hi,

Do you know when the stable buster version for Raspberry Pi 4 will be downloadabled?

Thank you.

@gueulderack : I just released it, feel free to try it

1 Like

Hi I am looking for resources to rebuild armbian image for olimex a20 micro

/
Bonjour je recherche des resources pour reconstruire une image pour l olimex a20 micro ?

Thanks a lot, I just see it. I will try it this week and I will post the result.

17 posts were split to a new topic: Probleme avec rspamd et vpnclient après migration à Buster

J’ai fait la mise à jour sans erreur sur un VPS OVH mais ensuite j’avais un message comme quoi l’API Yunohost ne répondait pas. J’ai fait un apt install yunohost --reinstall et cela semble avoir résolu le problème.
Merci à tous

Salutations,
J’ai tenté la migration 015 to buster
Pour info je suis sur un conteneur lxc dans proxmox 6 (buster)
Le résultat de la mise à jour est ici https://paste.yunohost.org/raw/ejeqofevac
La migration stoppe ici sur ce timecode 2020-08-21 14:06:28,442
Le reste à l’air de ce passer normalement à part des messages warning…
J’ai des fichiers modifiés .bashrc , sshd_config
Je pense avoir un problème avec le resolve.conf car je suis dans le conteneur proxmox.
Ca peut aussi être un problème sur la conf reseau, le conteneur a une configuration spécifique (fichier de conf réseau spécial)
Avez vous une idée les copains ?
Merci d’avance.