šŸš§ YunoHost 12.0 beta (Bookworm)

I donā€™t know why yunohost tools upgrade system holds this package back.
Hereā€™s the output:

Info: Upgrading packagesā€¦
Info: Upgrading system packages
Info: + Reading package lists...
Info: + Building dependency tree...
Info: + Reading state information...
Info: + Calculating upgrade...
Info: + The following packages have been kept back:
Info: +   crystal
Info: + 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Success! System upgraded

I guess letā€™s naively try apt-mark unhold crystal then apt full-upgrade crystal

Iā€™ve forced the upgrade already with sudo apt install crystal. Hope this interferes not too much with yunohost normal standard process.

After that, I did the migration without issues, other than redo my know-host ssh key.
:+1: for the migration

:tada: I successfully migrated to YunoHost 12.0.2!
It seems that everything is running well and smoothly :rocket:

Thanks a lot for all the work you put into this :heart:

3 Likes

I just have one minor warning:

Warning: The configuration file '/etc/apt/sources.list.d/extra_php_version.list' has been manually modified and will not be updated
apt: 
  applied: 
  pending: 
    /etc/apt/sources.list.d/extra_php_version.list: 
      diff: @@ -1 +1 @@
-deb https://packages.sury.org/php/ bookworm main
+deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] https://packages.sury.org/php/ bookworm main
      status: modified

Which one of the two versions should I be using?

deb https://packages.sury.org/php/ bookworm main
or
deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] https://packages.sury.org/php/ bookworm main?

2 Likes

The second, you can regen-conf this file!

3 Likes

Unfortunately now I get this error nowā€¦ it seems to be caused by this changed file.

sudo yunohost tools update --debug
136  DEBUG   acquiring lock...
146  DEBUG   lock has been acquired
152  DEBUG   loading python module yunohost.tools took 0.006s
152  DEBUG   processing action 'yunohost.tools.update'
157  INFO    Fetching available upgrades for system packagesā€¦
301  DEBUG   Err:1 http://asi-fs-d.contabo.net/debian bookworm InRelease
302  DEBUG     403  Forbidden [IP: 213.136.72.159 80]
303  DEBUG   Err:2 http://asi-fs-d.contabo.net/debian bookworm-updates InRelease
304  DEBUG     403  Forbidden [IP: 213.136.72.159 80]
369  DEBUG   Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
369  DEBUG   Hit:4 https://dl.yarnpkg.com/debian stable InRelease
369  DEBUG   Hit:5 http://forge.yunohost.org/debian bookworm InRelease
426  DEBUG   Hit:6 https://packages.sury.org/php bookworm InRelease
2087 DEBUG   Reading package lists...
2103 WARNING E: Failed to fetch http://asi-fs-d.contabo.net/debian/dists/bookworm/InRelease  403  Forbidden [IP: 213.136.72.159 80]
2105 WARNING E: The repository 'http://asi-fs-d.contabo.net/debian bookworm InRelease' is no longer signed.
2105 WARNING E: Failed to fetch http://asi-fs-d.contabo.net/debian/dists/bookworm-updates/InRelease  403  Forbidden [IP: 213.136.72.159 80]
2105 WARNING E: The repository 'http://asi-fs-d.contabo.net/debian bookworm-updates InRelease' is no longer signed.
2207 DEBUG   action executed in 2.054s
2207 DEBUG   lock has been released
2207 ERROR   Unable to update the cache of APT (Debian's package manager). Here is a dump of the sources.list lines, which might help identify problematic lines: 
sources.list:deb http://asi-fs-d.contabo.net/debian bookworm main non-free non-free-firmware contrib
sources.list:deb-src http://asi-fs-d.contabo.net/debian bookworm main non-free non-free-firmware contrib
sources.list:deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
sources.list:deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
sources.list:deb http://asi-fs-d.contabo.net/debian bookworm-updates main contrib non-free non-free-firmware
sources.list:deb-src http://asi-fs-d.contabo.net/debian bookworm-updates main contrib non-free non-free-firmware
sources.list.d/yarn.list:deb [signed-by=/etc/apt/trusted.gpg.d/yarn.gpg] https://dl.yarnpkg.com/debian/ stable main
sources.list.d/extra_php_version.list:deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] https://packages.sury.org/php/ bookworm main
sources.list.d/yunohost.list:deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] http://forge.yunohost.org/debian/ bookworm stable testing

On the other hand, the diagnosis does not show any warning or error about this!

@tommi : thatā€™s probably unrelated ā€¦ I see youā€™re using Contabo and we have people regularly complaining about temporary issues with their debian mirror ā€¦ cf for example Solved - Error 500. "PUT" /yunohost/api/update/all - Repository problems in Contabo?

1 Like

Small bug here since the new version : when i want to access a sub domain and that iā€™m not already authenticated in the browser, i have the login portal and once logged in i arrive on the main portal, iā€™m not redirected on the expected subdomain.
The strange behavior is that itā€™s not always the case. If i see the big yellow warning box to authenticate then the redirection works else not

Thanks for this update. Iā€™ve installed it on a spare laptop i intend to use as my next server, when Yunohost will be ready.

Some feedback, so i installed (or tried to) yunohost using the dedicated yunohost amd64 iso. I went for the graphical interface. This interface is really hard to use, sometimes without a going back button, doing the partitioning is really hard, no way to adjust the sizes, and if you want to manually set anything, itā€™s quite tedious. Iā€™ll try the traditional console interface next time, maybe it will be easier. When the time come to select the packages (web server, GNOME, ssh server, etc), there should be yunohost. Iā€™m not sure whatā€™s the difference between the yunohost iso and a debian iso.

So Debian was installed. As there was no yunohost installed, i used the curl script. It worked more or less untill the create first admin user. This step complains about my user already existing.

I understand more or less the issue, and i could fix it, but my point is to get the installation process fixed :slight_smile: not having my new server setted up.

Uuugh wokay so that sounds like thereā€™s an issue with the image ā€¦ Itā€™s not supposed to ask for partionning (at least in the default mode, - the expert mode allows to configure partioning tho) and yunohost should definitely be installed at the end otherwise thereā€™s no point ā€¦

Did you remember if you had a ā€œsplashscreenā€ at the very beginning with the YunoHost logo and 4 choices (console, graphical, console expert, graphical expert) ?

Yes, the yunohost logo was present all along the installation (donā€™t hesitate to tell whenever there are some updates done on the yunohost ISO, Iā€™ll do some testings then. My setup is a 5 year-old Tuxedo laptop, intel/32Gio ram/one sdd drive)

I have this error

W: GPG error: https://packages.sury.org/php bookworm InRelease: Splitting up /var/lib/apt/lists/packages.sury.org_php_dists_bookworm_InRelease into data and signature failed

E: The repository 'https://packages.sury.org/php bookworm InRelease' is not signed.

E: Failed to download some files

W: Failed to fetch https://packages.sury.org/php/dists/bookworm/InRelease: Splitting up /var/lib/apt/lists/packages.sury.org_php_dists_bookworm_InRelease into data and signature failed

E: Some index files failed to download. They have been ignored, or old ones used instead.

La migration 0027_migrate_to_bookworm a ƩchouƩ, abandon. Erreur : Failed to run command 'aptitude update'

Yes, bad timing, Iā€™m having the same issue while developing on the CI ā€¦ It sounds like a temporary issue on Suryā€™s side ā€¦

Yes I see that, the link https://packages.sury.org/php/dists/bookworm/InRelease seems brokenā€¦ Well I will wait tomorrow to launch the migrationā€¦

It is strange, this link seems working https://packages.sury.org/php/dists//bookworm/InRelease

(Sounds like it might be fixed)

well letā€™s goā€¦

I have something at the beginning like

chattr: OpƩration non supportƩe while reading flags on /etc/resolv.conf

I use a vpn with vpn_client on this serverā€¦

wellā€¦ I have a 500 Internal Server Error

I try this:

yunohost tools regen-conf -n -d
Attention : Le fichier de configuration '/etc/systemd/system/ntp.service.d/ynh-override.conf' a ƩtƩ modifiƩ manuellement et ne sera pas mis Ơ jour
Attention : Le fichier de configuration '/etc/apt/sources.list.d/extra_php_version.list' a ƩtƩ modifiƩ manuellement et ne sera pas mis Ơ jour
Attention : Le fichier de configuration '/etc/resolv.dnsmasq.conf' a ƩtƩ modifiƩ manuellement et ne sera pas mis Ơ jour
apt: 
  applied: 
  pending: 
    /etc/apt/sources.list.d/extra_php_version.list: 
      diff: @@ -1 +1 @@
-deb https://packages.sury.org/php/ bookworm main
+deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] https://packages.sury.org/php/ bookworm main
      status: modified
dnsmasq: 
  applied: 
  pending: 
    /etc/resolv.dnsmasq.conf: 
      diff: @@ -1,2 +1,20 @@
+nameserver 2001:910:800::12
+nameserver 2001:910:800::40
+nameserver 2001:67c:28a4::
+nameserver 80.67.169.12
+nameserver 80.67.169.40
 nameserver 2a00:5881:8100:1000::3
+nameserver 185.233.100.101
+nameserver 194.150.168.168
+nameserver 84.200.70.40
+nameserver 91.239.100.100
+nameserver 195.160.173.53
+nameserver 2a0c:e300::100
 nameserver 89.234.141.66
+nameserver 89.233.43.71
+nameserver 2a0c:e300::101
+nameserver 2a01:3a0:53:53::
+nameserver 84.200.69.80
+nameserver 185.233.100.100
+nameserver 2001:1608:10:25::1c04:b12f
+nameserver 2001:1608:10:25::9249:d69b
      status: modified
yunohost: 
  applied: 
  pending: 
    /etc/systemd/system/ntp.service.d/ynh-override.conf: 
      diff: @@ -1,3 +0,0 @@
-[Unit]
-ConditionCapability=CAP_SYS_TIME
-ConditionVirtualization=!container
      status: modified

So, I think is the vpn_client which broke the connexion ??

Well it was just needed to restart nginx,
after a yunohost service restart nginx it comes back !

Nice, is working ! Just the icon sso have disappearā€¦ Perhaps this is related ?

2024/08/14 09:38:02 [error] 1636#1636: *707 lua entry thread aborted: runtime error: /usr/share/ssowat/helpers.lua:428: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
coroutine 0:
  [C]: in function 'pairs'
  /usr/share/ssowat/helpers.lua:428: in function 'clear_headers'
  /usr/share/ssowat/access.lua:359: in function </usr/share/ssowat/access.lua:1>, client: xxxx:xxxx:xxx:xxxx:xxxx:xxxx:xxxx:xxxx, server: domain.tld, request: "GET /yunohost/admin/ HTTP/2.0", host: "domain.tld"

Thanks a lot, all seems working, with these app

yunohost app list | grep id
    id: anarchism
    id: borgserver
    id: collabora
    id: nextcloud
    id: roundcube
    id: torrelay
    id: uptime-kuma
    id: vpnclient
    id: wordpress
    id: zerobin 

A test with mail-tester give me a 10/10 and the key DKIM is well accepted .