Upgrade 1.1 to 1.3

Bergcube

Member
Mar 8, 2009
31
0
6
58
Norway
When running
Code:
apt-get update
apt-get dist-upgrade
my Proxmox server stays at version 1.1.

Is it impossible to upgrade 1.1 to 1.3?
If I need to edit the /etc/apt/sources.list file, what should I change it to?


Regards,
Bjørn Ingmar Berg
 
Last edited:
Hi,

I believe if you have a look at the URL,

http://pve.proxmox.com/wiki/Downloads

you have a 2-step process to go through, first to go 1.1->1.2, and then to go 1.2->1.3 (in particular the first step, going to 1.2 - is the 'blocker' here for you)

...as copied below (content copied from the wiki page linked above; where the content is a bit more easy to read BTW :-)


--Tim

-------------paste--------------
Update a running Proxmox Virtual Environment 1.1 to 1.2

Proxmox VE 1.2 is the first release based on Debian Lenny. Therefore the update is a major distribution upgrade (about 200 mb) and you should take some basic steps:

make sure you have a working backup of your virtual machines (see Backup - Restore - Live Migration)
its recommended to stop all running virtual machines before executing the update script
Note: If you got a custom installation (e.g. from your hosting provider like OVH) you should contact your provider for update instructions. For OVH, see these additional update instructions.

To perform the update, please log in via ssh or via console AND ISSUE COMMANDS AS FOLLOW (AS ROOT):


wget http://pve.proxmox.com/debian/dists/lenny/pve-upgrade-1.1-to-1.2

chmod +x pve-upgrade-1.1-to-1.2

./pve-upgrade-1.1-to-1.2

The script updates your system in several steps automatically to Proxmox VE 1.2. If you got any errors, correct them and run the script again.

Optional: after the successful upgrade you can purge all unnecessary package. Only do this if you have not installed any additional packages - else they will get removed. This is just to save space on the harddisk.


COMMANDS TO USE:
./pve-upgrade-1.1-to-1.2 --purge

Finally reboot and check if you got the latest Proxmox VE packages.

Kernel version:

COMMAND TO USE:
uname -a

Expected output:
2.6.24-5-pve #1 SMP PREEMPT Tue May 12 09:01:17 CEST 2009 x86_64 GNU/Linux
PVE Manager version:

COMMAND TO USE:
pveversion -v

Expected output:

pve-manager: 1.2-1 (pve-manager/1.2/3982)
qemu-server: 1.0-12
pve-kernel: 2.6.24-6
pve-kvm: 85-1
pve-firmware: 1
vncterm: 0.9-2
vzctl: 3.0.23-1pve3
vzdump: 1.1-1
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
This script is tested and working for the standard Proxmox VE 1.1 installation.



TDC Footnote: once you have made the jump from 1.1 to 1.2 (which is a major change, BTW - going to an entirely new underlying version of Debian, I believe) -- then you can do a system update in the 'normal' fashion to go from 1.2 to 1.3

But I think 1.1 will 'dead end' (as you have observed) until you do the script-assisted upgrade on your system.
 
Brilliant; this was the perfect solution. It actually worked better than expected: the pve-upgrade-1.1-to-1.2 script upgraded my servers "all the way", so after running it I had the very latest update of 1.3. No hang-ups or problems of any kind.
Thanks a lot!


Regards,
Bjørn Ingmar Berg
 
Last edited:
Same here. Ran script yesterday and it took me straight from 1.1 to 1.3 with no issues at all. thanks again to the Proxmox team for an awesome piece of software!
 
I don't know why but I can'd download the script to upg 1.1 to 1.2
this the result

wget http://pve.proxmox.com/debian/dists/lenny/pve-upgrade-1.1-to-1.2
--17:35:48-- http://pve.proxmox.com/debian/dists/lenny/pve-upgrade-1.1-to-1.2
=> `pve-upgrade-1.1-to-1.2'
Resolving pve.proxmox.com... 85.18.95.133
Connecting to pve.proxmox.com|85.18.95.133|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
17:35:48 ERROR 404: Not Found.

I don't understand why?

EDIT

I download manually the script and moved on Proxmox machine

when I launch it....

xxxx:/# ./pve-upgrade-1.1-to-1.2
debconf-set-selections /tmp/debconf.txt
apt-get update
Ign http://download.proxmox.com etch Release.gpg
Ign http://download.proxmox.com etch Release
Ign http://download.proxmox.com etch/pve Packages/DiffIndex
Ign http://download.proxmox.com etch/pve Packages
Err http://download.proxmox.com etch/pve Packages
404 Not Found
Ign http://ftp.it.debian.org etch Release.gpg
Ign http://security.debian.org etch/updates Release.gpg
Ign http://ftp.it.debian.org etch Release
Ign http://security.debian.org etch/updates Release
Ign http://ftp.it.debian.org etch/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://ftp.it.debian.org etch/main Packages
Ign http://security.debian.org etch/updates/main Packages
Err http://ftp.it.debian.org etch/main Packages
404 Not Found
Err http://security.debian.org etch/updates/main Packages
404 Not Found
Failed to fetch http://download.proxmox.com/debian/dists/etch/pve/binary-amd64/Packages.gz 404 Not Found
Failed to fetch http://ftp.it.debian.org/debian/dists/etch/main/binary-amd64/Packages.gz 404 Not Found
Failed to fetch http://security.debian.org/dists/etch/updates/main/binary-amd64/Packages.gz 404 Not Found
Reading package lists...
E: Some index files failed to download, they have been ignored, or old ones used instead.
apt-get -f install
Reading package lists...
Building dependency tree...
0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
apt-get install debian-archive-keyring
Reading package lists...
Building dependency tree...
debian-archive-keyring is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
sed -i -e "s/etch/lenny/" /etc/apt/sources.list
apt-get update
Ign http://security.debian.org lenny/updates Release.gpg
Ign http://download.proxmox.com lenny Release.gpg
Ign http://ftp.it.debian.org lenny Release.gpg
Ign http://ftp.it.debian.org lenny Release
Ign http://ftp.it.debian.org lenny/main Packages
Err http://ftp.it.debian.org lenny/main Packages
404 Not Found
Ign http://download.proxmox.com lenny Release
Ign http://security.debian.org lenny/updates Release
Ign http://download.proxmox.com lenny/pve Packages
Ign http://security.debian.org lenny/updates/main Packages
Err http://download.proxmox.com lenny/pve Packages
404 Not Found
Err http://security.debian.org lenny/updates/main Packages
404 Not Found
Failed to fetch http://ftp.it.debian.org/debian/dists/lenny/main/binary-amd64/Packages.gz 404 Not Found
Failed to fetch http://download.proxmox.com/debian/dists/lenny/pve/binary-amd64/Packages.gz 404 Not Found
Failed to fetch http://security.debian.org/dists/lenny/updates/main/binary-amd64/Packages.gz 404 Not Found
Reading package lists...
W: Couldn't stat source package list http://ftp.it.debian.org lenny/main Packages (/var/lib/apt/lists/ftp.it.debian.org_debian_dists_lenny_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://download.proxmox.com lenny/pve Packages (/var/lib/apt/lists/download.proxmox.com_debian_dists_lenny_pve_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org lenny/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.it.debian.org lenny/main Packages (/var/lib/apt/lists/ftp.it.debian.org_debian_dists_lenny_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://download.proxmox.com lenny/pve Packages (/var/lib/apt/lists/download.proxmox.com_debian_dists_lenny_pve_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org lenny/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
update package list failed

Seems that all link are broken or server down.


Thanks Carlo
 
Last edited:
I don't know why but I can'd download the script to upg 1.1 to 1.2
this the result

wget http://pve.proxmox.com/debian/dists/lenny/pve-upgrade-1.1-to-1.2
--17:35:48-- http://pve.proxmox.com/debian/dists/lenny/pve-upgrade-1.1-to-1.2
=> `pve-upgrade-1.1-to-1.2'
Resolving pve.proxmox.com... 85.18.95.133
Connecting to pve.proxmox.com|85.18.95.133|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
17:35:48 ERROR 404: Not Found.

I don't understand why?

Thanks Carlo

the IP 85.18.95.133 is NOT our server so your DNS is wrong.

pve.proxmox.com: 92.51.129.73
 
I'm having difficultly in downloading that file.

fenix:~/download# wget http://pve.proxmox.com/debian/dists/lenny/pve-upgrade-1.1-to-1.2
--10:10:16-- http://pve.proxmox.com/debian/dists/lenny/pve-upgrade-1.1-to-1.2
=> `pve-upgrade-1.1-to-1.2'
Resolving pve.proxmox.com... 92.51.129.73
Connecting to pve.proxmox.com|92.51.129.73|:80... failed: Connection timed out.
Retrying.

--10:13:27-- http://pve.proxmox.com/debian/dists/lenny/pve-upgrade-1.1-to-1.2
(try: 2) => `pve-upgrade-1.1-to-1.2'
Connecting to pve.proxmox.com|92.51.129.73|:80... failed: Connection timed out.
Retrying.

--10:16:38-- http://pve.proxmox.com/debian/dists/lenny/pve-upgrade-1.1-to-1.2
(try: 3) => `pve-upgrade-1.1-to-1.2'
Connecting to pve.proxmox.com|92.51.129.73|:80...
 
I'm having difficultly in downloading that file.

works here (Austria). server is in Germany. can you try again? where are you located?
 
Any mirror servers? I downloaded the script, but now so much of it is depending on your server that I can't get it.

not yet. its on our todo list.
 
TOM - and all

I would be interested in hosting a North American Mirror.
In fact - we host the only North American Mirror for the Typo3 Community as well.

If we can be of assistance - please let me know PM or hit me offlist via email.

With the large number of VPE we have it would be great to do this for ourselves - and the community here in North America.:cool:
 
Yesterday we tried to upgrade a few systems - both in the Philadelphia Datacenter and our Ohio DC. Both were unable to reach the proxmox servers to download updates for a good hour plus.

This is a bit distressing to us folks across the pond -
Our network in Philadelphia is multihoned with Internap, XO, and Level 3 - so I doubt it was an issue with network -

same with Ohio.

Any suggestions?
 
did that when it was happening (guess i should have posted)

10 ffm-bb2-pos6-0-0.telia.net (213.248.65.118) 108.651 ms ffm-bb1-link.telia.net (80.91.249.44) 114.336 ms ffm-bb2-link.telia.net (80.91.248.62) 108.893 ms
11 ffm-b7-link.telia.net (80.91.251.234) 108.561 ms ffm-b7-link.telia.net (80.91.254.93) 108.586 ms ffm-b7-link.telia.net (80.91.249.105) 114.595 ms
12 hosteurope-ic-125510-ffm-b7.c.telia.net (213.248.104.54) 121.950 ms 127.856 ms 121.862 ms
13 xe-0-1-0.cr-altair.cgn2.hosteurope.de (80.237.129.86) 128.781 ms 198.919 ms 135.053 ms

died after that ...

seems like both network points get to the same result.
Anyhow - figured it would help you guys to know about it.

no worries - seems like it works fine now -
will have to test a bit again later (since we have more upgrades to do)

Again - if you want a North Coast mirror - let me know
 
After my upgrade from 1.1 to 1.3, it has been quite buggy. It responds to pings, but not to much else. I can open SSH, it asks for my username, but then just hangs.

When I'm at the physical console, I can login, but nothing ever completes successfully. I tell it to restart networking and it hangs. I tell it to shut down and it hangs. Well, hang isn't the proper word. With the networking, I can ctrl-c out back to the command prompt, though I can't do that with init as, well, it's left the shell.

What do I need to do to troubleshoot this? Post a tail of /var/log/messages?
 

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!