OK, I realise I'm a bit behind the game here, but I have a 1.8.11 installation on Ubuntu 12.04 and want to upgrade to 2.0
It seems to be made a bit more complex because I'm using the PostgreSQL version, and most of the other forum posts with issues are using the MySQL version.
My apologies if I'm missing something obvious. I'm not a Linux guru, but I have used it a fair bit, and I'm quite technical otherwise.
I've been using the instructions here:
The 'backing up everything' steps are OK - but then it all goes wrong
The 'Install new server binaries' fails first
If I use the steps for Ubuntu 12.04 here:
it all seems to go OK, but once I've done the 'sudo apt-get update' what do I do next? I assumed that I'd do 'sudo apt-get upgrade' - but that steadfastly refused to upgrade the zabbix-server package. It DOES seem to upgrade the client and frontend - but not the server...
If I try manually "installing" the server using 'sudo apt-get install zabbix-server-pgsql' then that seems to upgrade the server (but I don't know if it's trashed anything else at this point, since it's an 'install' not an 'upgrade')
Assuming it all worked here after installing the zabbix-server, I thought I'd upgrade the database...
So, where are the database upgrade scripts located? The Wiki says "upgrades/dbpatches/2.0/postgresql/patch.sql" which is a relative path. I can't find where this is installed at all. I tried using 'locate' and that can only find old 'patch.sql' files from a source copy of 1.8 I downloaded ages ago. I'd presume that since I can download packages of 2.0 now, that the package would come with everything I'd need.
Any hints?
For now, I've gone back to 1.8 (I run it in a VM, so just restored the snapshot - nice and easy)
It seems to be made a bit more complex because I'm using the PostgreSQL version, and most of the other forum posts with issues are using the MySQL version.
My apologies if I'm missing something obvious. I'm not a Linux guru, but I have used it a fair bit, and I'm quite technical otherwise.
I've been using the instructions here:
The 'backing up everything' steps are OK - but then it all goes wrong
The 'Install new server binaries' fails first
If I use the steps for Ubuntu 12.04 here:
it all seems to go OK, but once I've done the 'sudo apt-get update' what do I do next? I assumed that I'd do 'sudo apt-get upgrade' - but that steadfastly refused to upgrade the zabbix-server package. It DOES seem to upgrade the client and frontend - but not the server...
If I try manually "installing" the server using 'sudo apt-get install zabbix-server-pgsql' then that seems to upgrade the server (but I don't know if it's trashed anything else at this point, since it's an 'install' not an 'upgrade')
Assuming it all worked here after installing the zabbix-server, I thought I'd upgrade the database...
So, where are the database upgrade scripts located? The Wiki says "upgrades/dbpatches/2.0/postgresql/patch.sql" which is a relative path. I can't find where this is installed at all. I tried using 'locate' and that can only find old 'patch.sql' files from a source copy of 1.8 I downloaded ages ago. I'd presume that since I can download packages of 2.0 now, that the package would come with everything I'd need.
Any hints?
For now, I've gone back to 1.8 (I run it in a VM, so just restored the snapshot - nice and easy)
Comment