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

Yeah fail2ban is a bit dump imho and miserably crashes if the log file doesnt exist (you could argue yunohost-portal-api too :wink: but yunohost’s regenconf will recreate it and we can try to improve the situation at some point)

Anyway naively just touch /var/log/fail2ban.log should do the trick, but if you savagely deleted everything in /var/log/ I would expect other similar issues to pop up 


1 Like
root@ldl-ynh ~ # ls -al /var/lib/postgresql/15/main/pg_upgrade_output.d/20241106T102820.262/
ls: cannot access '/var/lib/postgresql/15/main/pg_upgrade_output.d/20241106T102820.262/': No such file or directory

The folder is disappearing after the end of the failed migration.
I did reboot since the log I shared because running the migration leaves forgejo in a broken state. And a reboot makes it ok again.
So I thought maybe the reboot is deleting this /var/lib/postgresql/15/main/pg_upgrade_output.d/* folder. But I tried re-running the migration just now and even right after it fails the folder indicated in the log does not exists.
Actually it is the whole /var/lib/postgresql/15 directory that is disappearing at the end of the failed migration.

Hello Aleks,

Migration is OK now.
Thanks a lot :slight_smile:

Updating pending moulinette, ssowat, yunohost-admin and yunohost from 11 to 12 won’t be done.
So i’ve backed up wireguard, deleted it and restart Migration 27.
It also made ‘at the same time’ Migration 28 and Migration 29
I had to do manually Migration 30 then Migration 31.
I restore wireguard without any problem.

On my arm64 board with a SSD and 1 Go RAM using for testing 
 but not only 
 were installed 2FAuth, Baïkal, FreshRSS, Galette, Galùne, Roundcube, SearXNG, Simplex, Unattended-upgrades, Wireguard, ZwiiCMS, ownCloud and phpMyAdmin.

No need to force any reinstallation
Had to sudo yunohost app upgrade searxng -F and all the stuff survive after a reboot.

Big thanks to the Team for all the big work done :tada: <3

ppr

3 Likes

I ended up creating the file again before your message and have it the right permission, and it was all good, thanks!
I love the new UI btw, but the menu loads sometimes a bit slow in some options (services for instance) VS YH11, is it expected?

Found the solution. I ran this :

root@ldl-ynh ~ # dpkg -l | grep postgres
ii  postgresql                            15+248                                           all          object-relational SQL database (supported version)
ii  postgresql-13                         13.16-0+deb11u1                                  amd64        The World's Most Advanced Open Source Relational Database
ii  postgresql-13-postgis-3               3.1.1+dfsg-1+deb11u2                             amd64        Geographic objects support for PostgreSQL 13
ii  postgresql-13-postgis-3-scripts       3.1.1+dfsg-1+deb11u2                             all          Geographic objects support for PostgreSQL 13 -- SQL scripts
ii  postgresql-15                         15.8-0+deb12u1                                   amd64        The World's Most Advanced Open Source Relational Database
ii  postgresql-client-13                  13.16-0+deb11u1                                  amd64        front-end programs for PostgreSQL 13
ii  postgresql-client-15                  15.8-0+deb12u1                                   amd64        front-end programs for PostgreSQL 15
ii  postgresql-client-common              248                                              all          manager for multiple PostgreSQL client versions
ii  postgresql-common                     248                                              all          PostgreSQL database-cluster manager
ii  postgresql-contrib                    15+248                                           all          additional facilities for PostgreSQL (supported version)
root@ldl-ynh ~ # apt install postgresql-15-postgis-3 postgresql-15-postgis-3-scripts 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  postgresql-15-postgis-3 postgresql-15-postgis-3-scripts
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 4,918 kB of archives.
After this operation, 50.7 MB of additional disk space will be used.
Get:1 https://deb.debian.org/debian bookworm/main amd64 postgresql-15-postgis-3-scripts all 3.3.2+dfsg-1 [1,313 kB]
Get:2 https://deb.debian.org/debian bookworm/main amd64 postgresql-15-postgis-3 amd64 3.3.2+dfsg-1+b1 [3,604 kB]
Fetched 4,918 kB in 0s (21.7 MB/s)             
Selecting previously unselected package postgresql-15-postgis-3-scripts.
(Reading database ... 89785 files and directories currently installed.)
Preparing to unpack .../postgresql-15-postgis-3-scripts_3.3.2+dfsg-1_all.deb ...
Unpacking postgresql-15-postgis-3-scripts (3.3.2+dfsg-1) ...
Selecting previously unselected package postgresql-15-postgis-3.
Preparing to unpack .../postgresql-15-postgis-3_3.3.2+dfsg-1+b1_amd64.deb ...
Unpacking postgresql-15-postgis-3 (3.3.2+dfsg-1+b1) ...
Setting up postgresql-15-postgis-3-scripts (3.3.2+dfsg-1) ...
update-alternatives: using /usr/share/postgresql/15/extension/postgis-3.control to provide /usr/share/postgresql/15/extension/postgis.control (postgresql-15-postgis.control) in auto mode
Setting up postgresql-15-postgis-3 (3.3.2+dfsg-1+b1) ...
Processing triggers for postgresql-common (248) ...
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:

After that I started the migration again and it was successfull

4 Likes

As everything works as expected in the meantime. I wrote up the complete setup with yunohost on the subdomain which works for me.

1 Like

Hey there, I got exactly the same issue (migration failed, same error, same “not in sudoers group” message).
How did you uninstall php7.3-fpm ? apt remove and aptitude remove did not work for me.

Hello,

What error message do you get when you use these commands?

Bonjour et merci Ă  vous tous pour cette nouvelle version !!!

Je viens de faire la migration.Tout semble ok hormis un “lĂ©ger” bug au niveau de l’admin web. Certains “boutons” ne fonctionnent pas : par exemple, dans le menu de mise Ă  jour, les boutons de mise Ă  jours des applications ou du systĂšme ne rĂ©agissent pas aux clics.

1 Like

Bonjour,

Merci pour tout ce que vous faites est génial :partying_face: !

Migration sans difficultĂ© pour moi :nerd_face: . J’ai juste du supprimer un package “crystal” qui ne voulait pas se mettre a jour depuis quelques mois (oui j’aurais pu m’en soucier plus tĂŽt) et empĂȘchait le dĂ©marrage de la migration (tous les packages doivent ĂȘtre Ă  jour pour pouvoir la lancer).
Évidemment une solution Ă©tait proposĂ©e dans le forum :blush:

Merci encore vous, la communautĂ© yunohost, ĂȘtes d’une aide vraiment prĂ©cieuses pour ceux qui veulent se passer des GAFAM !

2 Likes

12 posts were split to a new topic: Can’t migrate to bookworm / issue with libc-dev

Hello,

x86 distant server, access with SSH.

Thank you for all this work.

Migration ran fine, but nginx is broken : error 404 on the sso page (admin page load, but can’t connect ; direct access to nextcloud works perfectly).

Restarted nginx (and even the server itself).

=> redirection issue with the sso page ?

Thank you for writing down your solution, helps in understanding and solving other cases.

With it, now the following is my current translation of the release note info, maybe yunohost devs could still use/add to it.

Maybe it could help devs to improve the release notes



by providing simple and usage-focused, explaining sentences?:

  • In Yunohost 12 every configured second-level domain now defaults to having its own user login and application portal page.
  • And all (app) subdomains now default to redirecting all yunohost-login requiring paths (e.g. /yunohost/sso) to the corresponding second-level parent domain login address.
  • For manual configuration of a login and portal page on a subdomain, see: Yunohost on Subdomain, Mail on main domain - #4 by samuel-ynh

Are there still more assumptions not covered by orig. notes? What about setting the portal as default app on subdomains?

1 Like

Python 3.11.2

Bonjour, pour ma part la migration et mise à jour se sont bien passées.

Je remarque deux problĂšmes:

  • Domaine->DNS / ‘Automatic DNS feature’: lorsque je fais ‘Envoyer les enregistrements DNS dans le registrar’, ça ne fonctionne plus. Si ma mĂ©moire est bonne il y avait avant en plus une boite Ă  cocher pour confirmer qu’on veut Ă©craser les donnĂ©es; elle n’est plus lĂ 

  • Comptes->GĂ©rer les groupes et les autorisations: lorsque j’ajoute une permission (par exemple une appli pour les ‘visteurs’ ou autre), le petit tag de l’appli apparaĂźt mais il n’y a pas de bouton ‘Sauver’ ou ‘Sauvegarder’. Lorsque je sors du menu et y retourne, l’appli n’y est plus.

Quelqu’un d’autre a ça ou juste moi? merci

L’instance mastodon est cassĂ©e aprĂšs la mise Ă  jour.
L’exĂ©cution de la commande

yunohost app upgrade -F mastodon

se termine par une erreur (log).

Faire tourner cette commande ne fait que tester si la condition est vrai ou fausse, ça ne veut pas dire que le code fait un downgrade de l’app

Merci. J’ai modifier mon message.

Hello,

I’ve upgrade my VPS without any problem :

  • 3 domains and 2 sub-domains,
  • My Webapp, Nextcloud, Roundcube, RustDesk Server, Unattended-upgrades and phpMyAdmin.

I just had to do :

sudo systemctl restart nginx
sudo yunohost app upgrade -F phpmyadmin
sudo yunohost app install rspamd

Great job Team and big thanks <3

ppr

2 Likes

Hi,

I’ve a problem after trying to upgrade to version 12.

I launched the migration this afternoon, and it stopped, I guess due to network error.

It ended with an error on some download step after something like 3 hours and half, the same as this one : 🚀 YunoHost 12.0 (Bookworm) release / Sortie de YunoHost 12.0 (Bookworm) - #18 by JimboJoe

As it said in the post, I ran the command

aptitude full-upgrade --show-why -o Dpkg::Options::='--force-confold'

Which seems to work.

But after that, it seems I’m not in the sudoers anymore. I can’t run any command that needs sudo and don’t know what to do.

I have physical and ssh access to the server, but no web access, nginx seems not to be working.

Is there anything doable to get sudo access back, without sudo access? I can’t even share log as yunohost logs command needs sudo.

Any help would be very much appreciated.