Upgrade da Proxmox 5 a 6: Difference between revisions
Jump to navigation
Jump to search
Created page with "* Leggere [https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0#Known_upgrade_issues Upgrade from 5.x to 6.0 - Proxmox VE] * Leggere Upgrade da Debian Stretch a Buster *..." |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 15: | Line 15: | ||
<pre> | <pre> | ||
cat /etc/apt/sources.list <<EOFile | cat /etc/apt/sources.list <<EOFile | ||
deb http://ftp.it.debian.org/debian/ buster | deb http://ftp.it.debian.org/debian/ buster main contrib non-free | ||
deb http://security.debian.org/ buster/updates main contrib non-free | deb http://security.debian.org/ buster/updates main contrib non-free | ||
deb http://ftp.it.debian.org/debian buster-updates main contrib non-free | deb http://ftp.it.debian.org/debian buster-updates main contrib non-free | ||
| Line 25: | Line 25: | ||
rm /etc/apt/sources.list.d/pve-enterprise.list* | rm /etc/apt/sources.list.d/pve-enterprise.list* | ||
echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list | echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list | ||
* Attenzione, se era presente un repository per ceph: | |||
if [ -f /etc/apt/sources.list.d/ceph.list ] ; then echo "deb http://download.proxmox.com/debian/ceph-luminous buster main" > /etc/apt/sources.list.d/ceph.list; fi | |||
* Aggiornare | |||
apt update | apt update | ||
| Line 30: | Line 36: | ||
* Lanciare upgrade | * Lanciare upgrade | ||
apt dist-upgrade | apt dist-upgrade | ||
* Reboot | |||
* Se c'è ZFS: | |||
zpool upgrade -a | |||
Latest revision as of 13:16, 28 February 2020
- Aggiornare all'ultima release del 5
- Lanciare:
pve5to6
- Se ci sono problemi coi certificati SSL rigenerali, con key size 2048 bit e digest SHA256 e reinstallarli (vedi articoli Proxmox ssl e ngix ssl)
- Se ci sono problemi con chiavi SSH, rimuovere .ssh/config o sistemare
- Sistemare apt source:
cat /etc/apt/sources.list <<EOFile deb http://ftp.it.debian.org/debian/ buster main contrib non-free deb http://security.debian.org/ buster/updates main contrib non-free deb http://ftp.it.debian.org/debian buster-updates main contrib non-free EOFile
sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/*
rm /etc/apt/sources.list.d/pve-enterprise.list* echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
- Attenzione, se era presente un repository per ceph:
if [ -f /etc/apt/sources.list.d/ceph.list ] ; then echo "deb http://download.proxmox.com/debian/ceph-luminous buster main" > /etc/apt/sources.list.d/ceph.list; fi
- Aggiornare
apt update
- Lanciare upgrade
apt dist-upgrade
- Reboot
- Se c'è ZFS:
zpool upgrade -a