Migrating from 4.4.x to 11.x, version 4.4 package repository not found

I have searched the forum for similar issues

on

This category is for general issues regarding YunoHost, NOT apps.

on

This form is written in English :uk: but feel free to write in French :fr: if you’re more comfortable!

on

What type of hardware are you using

Old laptop or computer

What YunoHost version are you running

4.4.2.10

How are you able to access your server

The webadmin
SSH

Are you in a special context or did you perform specific tweaking on your YunoHost instance ?

No

Describe your issue

In the process of migrating Yunohost from v4.4 to 11, the system requires first to update ssowat (from 4.4.1 to 4.4.2) and yunohost (from 4.4.2 to 4.4.3). Unfortunately the repository is missing and returns error 404 as illustrated in the log below.
Furthermore, if I try to force the migration, it fails, requiring first to upgrade the components.
Is there an alternative server with old yunohost packages ?

Share relevant logs or error messages

apt-get upgrade

Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages will be upgraded:
ssowat yunohost
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,769 kB of archives.
After this operation, 1,024 B disk space will be freed.
Do you want to continue? [Y/n] y
Err:1 Index of /debian/ buster/stable amd64 ssowat all 4.4.2
404 Not Found [IP: 80.67.164.12 443]
Err:2 Index of /debian/ buster/stable amd64 yunohost all 4.4.3
404 Not Found [IP: 80.67.164.12 443]
E: Failed to fetch https://forge.yunohost.org/debian/pool/stable/s/ssowat/ssowat_4.4.2_all.deb 404 Not Found [IP: 80.67.164.12 443]
E: Failed to fetch https://forge.yunohost.org/debian/pool/stable/y/yunohost/yunohost_4.4.3_all.deb 404 Not Found [IP: 80.67.164.12 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

yunohost tools migrations migrate --accept-disclaimer

Warning: ‘yunohost tools migrations migrate’ is deprecated and will be removed in the future, use ‘yunohost tools migrations run’ instead
Warning: ‘yunohost tools migrations migrate’ is deprecated and will be removed in the future, use ‘yunohost tools migrations run’ instead
Info: Running migration 0021_migrate_to_bullseye…
Info: Fetching available upgrades for system packages…
Error: Migration 0021_migrate_to_bullseye did not complete, aborting. Error: Your system is not fully up-to-date. Please perform a regular upgrade before running the migration to Bullseye.
Info: The operation ‘Run migrations’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20241024-073957-tools_migrations_migrate_forward’ to get help

Hello
Yunohost V4.X is too old
See this post

1 Like

Thanks for your reply.
Just to let you know, I have modified some tools script, to skip the system upgrade and successfully upgraded to 11.

1 Like

Hi!
Well done, could you post your solution here so that other users in the same situation can benefit from it?
I had the same issue 2 days ago and I would have liked to have it before I resetted my server ^^

Hi adalanerd, unfortuantely the modified script has disappeared with the upgrade. As far as I remember, I searched for the cause of the error message. It was “migration_0021_system_not_fully_up_to_date”. This is located in the file /usr/lib/moulinette/yunohost/data_migrations/0021_migrate_to_bullseye.py. I added the two failing components (ssowat and yunohost) to the lime2_hold_packages list and that’s it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.