[GELÖST] Update auf V6 von V5

mymeyer

New Member
May 4, 2020
8
0
1
55
Hallo zusammen,
leider komme ich nach dem Befehl "apt dist-upgrade" nicht weiter. Bekomme immer die Meldung:

153 upgraded, 264 newly installed, 76 to remove and 0 not upgraded.
Need to get 0 B/347 MB of archives.
After this operation, 796 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook) touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook) - your APT repository settings
W: (pve-apt-hook) - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
root@prox:~#


Das meldet "pve5to6" auch immer:
Code:
root@prox:~# pve5to6
= CHECKING VERSION INFORMATION FOR PVE PACKAGES =

Checking for package updates..
WARN: updates for the following packages are available:
  perl-base, python-six, libcrypt-ssleay-perl, libhttp-message-perl, libencode-perl, libradosstriper1, libkrb5-3, libgssapi-krb5-2, ceph-common, python3-cephfs, python3-prettytable, python3-rados, python3-rbd, libboost-coroutine1.74.0, libboost-program-options1.74.0, libboost-thread1.74.0, libleveldb1d, liboath0, librabbitmq4, glusterfs-client, postfix, libicu67, libnsl2, librrds-perl, libpve-access-control, libpve-cluster-perl, libcups2, iptables, libip4tc2, libip6tc2, python3-distutils, libterm-readline-gnu-perl, libnet-ssleay-perl, ceph-mds, ceph-mgr, python3-bcrypt, python3-cherrypy3, python3-jwt, python3-pecan, python3-werkzeug, libboost-python1.74.0, libpython3.9, ceph-mon, libboost-program-options1.74.0, libleveldb1d, libpve-storage-perl, libpve-cluster-perl, proxmox-backup-client, proxmox-backup-file-restore, libxapian30, libpam-modules, libc6-dev, libcrypt-dev, libnsl-dev, ceph-osd, sudo, libboost-iostreams1.74.0, libboost-program-options1.74.0, libboost-thread1.74.0, libleveldb1d, libwbclient0, libicu67, libsystemd0, grub-common, libpython2-stdlib, libpixman-1-0, libasound2-data, python2.7-minimal, libcrypt-openssl-random-perl, libsqlite3-0, postfix-sqlite, pve-qemu-kvm, libjemalloc2, libspice-server1, libproxmox-backup-qemu0, libcephfs2, bind9-host, bind9-libs, libwrap0, libnsl2, librbd1, dnsutils, bind9-dnsutils, libhttp-date-perl, libpython2.7, libfilesys-df-perl, python2.7, libc6, libnet-dns-perl, libdigest-sha-perl, libencode-perl, libio-socket-ip-perl, libscalar-list-utils-perl, libtest-simple-perl, libuuid-perl, pve-ha-manager, libpve-cluster-perl, zfs-initramfs, liblocale-gettext-perl, openssh-sftp-server, python2, python3, python3.9, libk5crypto3, grub2-common, pve-firewall, libpve-cluster-perl, udev, locales, ceph-base, libleveldb1d, python3-six, pve-container, libpve-cluster-perl, pve-lxc-syscalld, librgw2, libboost-coroutine1.74.0, librabbitmq4, grub-pc, libopus0, libanyevent-perl, pve-cluster, libudev1, rsyslog, librados2-perl, libjson-xs-perl, spiceterm, libspice-server1, libio-socket-ssl-perl, htop, libnl-genl-3-200, libapt-pkg-perl, python3-pycurl, zfsutils-linux, libnvpair3linux, libuutil3linux, libzfs4linux, libzpool4linux, samba-libs, libldb2, libnsl2, libpython3.9, python3-ldb, python3-talloc, grub-pc-bin, sqlite3, libiptc0, libip4tc2, gdisk, libtcmalloc-minimal4, libpve-u2f-server-perl, groff-base, glusterfs-common, libgfapi0, libgfchangelog0, libgfrpc0, libgfxdr0, libglusterd0, libglusterfs0, libtirpc3, python3-prettytable, python3-jwt, python3-minimal, libclone-perl, libapparmor-perl, grub-efi-amd64-bin, libc-bin, libpulse0, pve-manager, libproxmox-acme-perl, libpve-cluster-api-perl, libpve-cluster-perl, zstd, nmap, liblinear4, lua-lpeg, xfsprogs, libicu67, libinih1, ceph, python2-minimal, libkrb5support0, libvorbisenc2, libnet-dbus-perl, libpython3-stdlib, libpython3.9-stdlib, python3-cffi-backend, ssh, libzfs2linux, libpve-guest-common-perl, libpve-cluster-perl, libgssrpc4, samba-common, mawk, librrd8, libpve-common-perl, libproxmox-acme-perl, libyaml-libyaml-perl, ceph-fuse, libpam-systemd, lxc-pve, libsndfile1, python3-lib2to3, libgoogle-perftools4, libcrypt-openssl-rsa-perl, systemd, libip4tc2, systemd-timesyncd, qemu-server, libpve-cluster-perl, libsdl1.2debian, libcrypt-openssl-bignum-perl, dh-python, libtemplate-perl, libauthen-pam-perl, libcommon-sense-perl, libpam-modules-bin, openssh-server, runit-helper, iproute2, libbpf0, libxml-libxml-perl, python-pastedeploy-tpl, libsmbclient, smbclient, openssh-client, libfido2-1, libnss-systemd, libasound2, libxtables12, libsocket6-perl, libzpool2linux, libc-dev-bin, libxml2, libicu67, libflac8, libpython2.7-minimal, grub-efi-ia32-bin, libfreetype6, libbrotli1, perl, perl-modules-5.32, libperl5.32, libpve-http-server-perl, libjs-bootstrap, libxml-parser-perl, liblinux-inotify2-perl, libvorbis0a, libnvpair1linux, libuutil1linux, libcairo2, libpython2.7-stdlib, libnsl2, libtirpc3, pigz, libtext-iconv-perl, nmap-common, rpcbind, libtirpc3, libhtml-parser-perl, python3-chardet, librados2, libboost-iostreams1.74.0, libboost-thread1.74.0, libnspr4, nfs-common, libevent-2.1-7, libtirpc3, libcurl3-gnutls, libbrotli1, python3-apt, distro-info-data, libtokyocabinet9, libxslt1.1, libtext-charwidth-perl, libslang2, libpng16-16

Checking proxmox-ve package version..
PASS: already upgraded to Proxmox VE 6

Checking running kernel version..
PASS: expected running kernel '5.4.143-1-pve'.

Checking for installed stock Debian Kernel..
PASS: Stock Debian kernel package not installed.

= CHECKING CLUSTER HEALTH/SETTINGS =

SKIP: standalone node.

= CHECKING HYPER-CONVERGED CEPH STATUS =

INFO: hyper-converged ceph setup detected!
INFO: getting Ceph status/health information..
WARN: Ceph health reported as 'HEALTH_WARN'.
      Use the PVE dashboard or 'ceph -s' to determine the specific issues and try to resolve them.
INFO: getting Ceph OSD flags..
PASS: all PGs have been scrubbed at least once while running Ceph Luminous.
INFO: getting Ceph daemon versions..
PASS: single running version detected for daemon type monitor.
PASS: single running version detected for daemon type manager.
SKIP: no running instances detected for daemon type MDS.
SKIP: no running instances detected for daemon type OSD.
PASS: single running overall version detected for all Ceph daemon types.
PASS: 'noout' flag set to prevent rebalancing during cluster-wide upgrades.
INFO: checking Ceph config..
WARN: No 'mon_host' entry found in ceph config.
  It's recommended to add mon_host with all monitor addresses (without ports) to the global section.
PASS: 'ms_bind_ipv6' not enabled
WARN: [global] config section contains 'keyring' option, which will prevent services from starting with Nautilus.
 Move 'keyring' option to [client] section instead.

= CHECKING CONFIGURED STORAGES =

PASS: storage 'local' enabled and active.
PASS: storage 'local-lvm' enabled and active.
PASS: storage 'Backup' enabled and active.

= MISCELLANEOUS CHECKS =

INFO: Checking common daemon services..
FAIL: systemd unit 'pveproxy.service' is in state 'failed'
FAIL: systemd unit 'pvedaemon.service' is in state 'failed'
PASS: systemd unit 'pvestatd.service' is in state 'active'
INFO: Checking for running guests..
PASS: no running guest detected.
INFO: Checking if the local node's hostname 'prox' is resolvable..
INFO: Checking if resolved IP is configured on local node..
PASS: Resolved node IP '192.168.1.5' configured and active on single interface.
INFO: Check node certificate's RSA key size
PASS: Certificate 'pve-root-ca.pem' passed Debian Busters security level for TLS connections (4096 >= 2048)
PASS: Certificate 'pve-ssl.pem' passed Debian Busters security level for TLS connections (2048 >= 2048)
INFO: Checking KVM nesting support, which breaks live migration for VMs using it..
PASS: KVM nested parameter not set.
INFO: Checking VMs with OVMF enabled and bad efidisk sizes...
PASS: No VMs with OVMF and problematic efidisk found.

= SUMMARY =

TOTAL:    28
PASSED:   19
SKIPPED:  3
WARNINGS: 4
FAILURES: 2

ATTENTION: Please check the output for detailed information!
Try to solve the problems one at a time and then run this checklist tool again.
root@prox:~#

Wie bekomme ich das Problem in den Griff ?

Gruß
MyMeyer
 
In dem du erst mal die Ceph-Fegler korriegierst.

pve5to6 darf kein warn bringen.

https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0

Danach die korrekten Sourcen für pve6 in die Sources.list eintragen und updaten/ upgraden. Das sollte der Fehler sein, so dass pve entfernt werden will.

Danach erst Ceph aktualisieren:

https://pve.proxmox.com/wiki/Ceph_Luminous_to_Nautilus
Sorry deine Antwort bringt mich nicht weiter. Soweit ich das sehe liegt es am :
INFO: Checking common daemon services..
FAIL: systemd unit 'pveproxy.service' is in state 'failed'
FAIL: systemd unit 'pvedaemon.service' is in state 'failed'
PASS: systemd unit 'pvestatd.service' is in state 'active'

pveproxy und da ist das Problem. Wie soll ich das beseitigen, weil es steht NICHT in der Update Anleitung !
 
Wie sehen denn deine sources.list Einträge aus?
Und wie die der sources.list.d/pve.list?
 
pve
Wie sehen denn deine sources.list Einträge aus?
Und wie die der sources.list.d/pve.list?
soures.list.d:
root@prox:/etc/apt/sources.list.d# more *
::::::::::::::
ceph.list
::::::::::::::
::::::::::::::
corosync3.list
::::::::::::::
deb http://download.proxmox.com/debian/corosync-3/ buster main
::::::::::::::
pve-enterprise.list
::::::::::::::
::::::::::::::
pve-install-repo.list
::::::::::::::
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
::::::::::::::
pve-no-subscription.list
::::::::::::::
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
root@prox:/etc/apt/sources.list.d#

Und soures.list:

root@prox:/etc/apt# more sources.list
deb http://ftp.de.debian.org/debian buster main contrib

deb http://ftp.de.debian.org/debian buster-updates main contrib

# security updates
deb http://security.debian.org buster-security main contrib
root@prox:/etc/apt#
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!