please have a look at the log… migration does not work… what can I do… Thanks for help
root@admin-tools:~# sudo yunohost tools migrations migrate --accept-discla
Info: Running migration 0015_migrate_to_buster...
Info: Starting migration to Buster
Info: Patching the sources.lists...
Info: Fetching available upgrades for system packages...
Warning: W: Failed to fetch http://mirror.ip-projects.de/debian/dists/buster/InRelease Tempor
ary failure resolving 'mirror.ip-projects.de'
Warning: W: Failed to fetch http://mirror.ip-projects.de/debian/dists/buster-updates/InRelease
Temporary failure resolving 'mirror.ip-projects.de'
Warning: W: Failed to fetch http://mirror.ip-projects.de/debian-security/dists/buster/updates/
InRelease Temporary failure resolving 'mirror.ip-projects.de'
Warning: W: Failed to fetch https://packages.sury.org/php/dists/buster/InRelease Temporary fa
ilure resolving 'packages.sury.org'
Warning: W: Failed to fetch http://forge.yunohost.org/debian/dists/buster/InRelease Temporary
failure resolving 'forge.yunohost.org'
Warning: W: Some index files failed to download. They have been ignored, or old ones used inst
ead.
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/
apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/ap
t/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple times in /et
c/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1
Warning: W: Target Translations (main/i18n/Translation-de) is configured multiple times in /et
c/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1
Warning: W: Target Translations (main/i18n/Translation-de_DE) is configured multiple times in
/etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1
Error: Something went wrong while updating the cache of APT (Debian's package manager). Here i
s a dump of the sources.list lines, which might help identify problematic lines:
sources.list:deb http://mirror.ip-projects.de/debian buster main non-free contrib
sources.list:deb-src http://mirror.ip-projects.de/debian buster main non-free contrib
sources.list:deb http://mirror.ip-projects.de/debian buster-updates main non-free contrib
sources.list:deb-src http://mirror.ip-projects.de/debian buster-updates main non-free contrib
sources.list:deb http://mirror.ip-projects.de/debian-security buster/updates main non-free con
trib
sources.list:deb-src http://mirror.ip-projects.de/debian-security buster/updates main non-free
contrib
sources.list.d/sury.list:deb https://packages.sury.org/php/ buster main
sources.list.d/yunohost.list:deb http://forge.yunohost.org/debian/ buster stable
sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ buster main
Info: Starting upgrade of system packages that needs to be upgrade independently...
Info: Starting main upgrade...
opensondage-ynh-deps was already set on hold.
phpmyadmin-ynh-deps was already set on hold.
rss-bridge-ynh-deps was already set on hold.
searx-ynh-deps was already set on hold.
synapse-ynh-deps was already set on hold.
ttrss-ynh-deps was already set on hold.
wordpress-ynh-deps was already set on hold.
Info: Upgrading packages...
Success! System upgraded
Info: Cleaning up cache and packages not useful anymore...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Info: Downgrading openssl version from 1.1.1g-1+0~20200421.17+debian9~1.gbpf6902f
to 1.1.1d-0+deb10u3 ...
Info: + Reading package lists...
Warning:
Warning: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Warning:
Info: + Building dependency tree...
Info: + Reading state information...
Info: + The following packages will be DOWNGRADED:
Warning: E: Failed to fetch http://mirror.ip-projects.de/debian-security/pool/updates/main/o/o
penssl/openssl_1.1.1d-0+deb10u3_amd64.deb Temporary failure resolving 'mirror.ip-projects.de'
Info: + openssl
Warning: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Info: + 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 4 not upgraded.
Info: + Need to get 844 kB of archives.
Info: + After this operation, 112 kB of additional disk space will be used.
Info: + Ign:1 http://mirror.ip-projects.de/debian buster/main amd64 openssl amd64 1.1.1d-0+deb
10u3
Info: + Err:1 http://mirror.ip-projects.de/debian buster/main amd64 openssl amd64 1.1.1d-0+deb
10u3
Info: + Temporary failure resolving 'mirror.ip-projects.de'
Error: Migration 0015_migrate_to_buster did not complete, aborting. Error: Openssl version is
from sury's repository and needs to be downgraded to a version from the official debian's repo
sitories.
Info: The operation 'Run migrations' could not be completed. Please share the full log of this
operation using the command 'yunohost log display 20201107-093926-tools_migrations_migrate_fo
rward --share' to get help
root@admin-tools:~# yunohost log display 20201107-093926-tools_migrations_migrate_forward --sh
are
Error: Something wrong happened while trying to paste data on paste.yunohost.org : HTTPSConnec
tionPool(host='paste.yunohost.org', port=443): Max retries exceeded with url: /documents (Caus
ed by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fda2a200210
>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
root@admin-tools:~#
It seems that you couldn’t reach mirror.ip-projects.de during this upgrade, either it was a DNS problem or it was down at the time. Can you try again ? If you have access via SSH, what does ping mirror.ip-projects.de say ?
~# yunohost service log dnsmasq
journalctl:
- – Logs begin at Sun 2020-11-08 06:11:52 CET, end at Sun 2020-11-08 07:31:54 CET. –
- Nov 08 07:19:06 systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server…
- – Subject: A start job for unit dnsmasq.service has begun execution
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- –
- – A start job for unit dnsmasq.service has begun execution.
- –
- – The job identifier is 1343266.
- Nov 08 07:19:06 dnsmasq[7299]: dnsmasq: Syntaxprüfung OK.
- Nov 08 07:19:06 dnsmasq[7300]: dnsmasq: Konnte Empfangs-Socket für port 53: Die Adresse wird bereits verwendet nicht erzeugen
- Nov 08 07:19:06 systemd[1]: dnsmasq.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
- – Subject: Unit process exited
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- –
- – An ExecStart= process belonging to unit dnsmasq.service has exited.
- –
- – The process’ exit code is ‘exited’ and its exit status is 2.
- Nov 08 07:19:06 dnsmasq[7300]: Konnte Empfangs-Socket für port 53: Die Adresse wird bereits verwendet nicht erzeugen
- Nov 08 07:19:06 systemd[1]: dnsmasq.service: Failed with result ‘exit-code’.
- – Subject: Unit failed
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- –
- – The unit dnsmasq.service has entered the ‘failed’ state with result ‘exit-code’.
- Nov 08 07:19:06 dnsmasq[7300]: Start fehlgeschlagen
- Nov 08 07:19:06 systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
- – Subject: A start job for unit dnsmasq.service has failed
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- –
- – A start job for unit dnsmasq.service has finished with a failure.
- –
- – The job identifier is 1343266 and the job result is failed.
- Nov 08 07:30:31 systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server…
- – Subject: A start job for unit dnsmasq.service has begun execution
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- –
- – A start job for unit dnsmasq.service has begun execution.
- –
- – The job identifier is 1354770.
- Nov 08 07:30:31 dnsmasq[7713]: dnsmasq: Syntaxprüfung OK.
- Nov 08 07:30:31 dnsmasq[7714]: dnsmasq: Konnte Empfangs-Socket für port 53: Die Adresse wird bereits verwendet nicht erzeugen
- Nov 08 07:30:31 dnsmasq[7714]: Konnte Empfangs-Socket für port 53: Die Adresse wird bereits verwendet nicht erzeugen
- Nov 08 07:30:31 dnsmasq[7714]: Start fehlgeschlagen
- Nov 08 07:30:31 systemd[1]: dnsmasq.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
- – Subject: Unit process exited
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- –
- – An ExecStart= process belonging to unit dnsmasq.service has exited.
- –
- – The process’ exit code is ‘exited’ and its exit status is 2.
- Nov 08 07:30:31 systemd[1]: dnsmasq.service: Failed with result ‘exit-code’.
- – Subject: Unit failed
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- –
- – The unit dnsmasq.service has entered the ‘failed’ state with result ‘exit-code’.
- Nov 08 07:30:31 systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
- – Subject: A start job for unit dnsmasq.service has failed
- – Defined-By: systemd
- – Support: https://www.debian.org/support
- –
- – A start job for unit dnsmasq.service has finished with a failure.
- –
- – The job identifier is 1354770 and the job result is failed.
Service dnsmasq is failed :(
* You can try to [restart the service](https://admin-tools.domain.tld/yunohost/admin/#/services/dnsmasq), and if it doesn't work, have a look at [the service logs in the webadmin](https://admin-tools.domain.tld/yunohost/admin/#/services/dnsmasq) (from the command line, you can do this with `yunohost service restart dnsmasq` and `yunohost service log dnsmasq` ).
Something wrong happened while trying to paste data on paste.yunohost.org : HTTPSConnectionPool(host='paste.yunohost.org', port=443): Max retries exceeded with url: /documents (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
root@admin-tools:~# systemctl stop systemd-resolve
Failed to stop systemd-resolve.service: Unit systemd-resolve.service not loaded.
root@admin-tools:~# systemctl start dnsmasq
Job for dnsmasq.service failed because the control process exited with error code.
See "systemctl status dnsmasq.service" and "journalctl -xe" for details.
root@admin-tools:~# kill -9 447
-bash: kill: (447) - No such process
root@admin-tools:~# systemctl start dnsmasq
Job for dnsmasq.service failed because the control process exited with error code.
See "systemctl status dnsmasq.service" and "journalctl -xe" for details.
root@admin-tools:~#
root@admin-tools:~# ps -ef | grep systemd-resolve
systemd+ 465 1 0 22:32 ? 00:00:00 /lib/systemd/systemd-resolved
root 30899 4178 0 23:16 pts/0 00:00:00 grep systemd-resolve
root@admin-tools:~# systemctl start dnsmasq
Job for dnsmasq.service failed because the control process exited with error code.
See "systemctl status dnsmasq.service" and "journalctl -xe" for details.
root@admin-tools:~