Yeah fail2ban is a bit dump imho and miserably crashes if the log file doesnt exist (you could argue yunohost-portal-api too 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 âŠ
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.
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 <3
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?
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
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.
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).
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.