Ad Widget

Collapse

Upgrade from 1.8.11 to 2.0 (pgsql version)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pscs
    Junior Member
    • Feb 2012
    • 8

    #1

    Upgrade from 1.8.11 to 2.0 (pgsql version)

    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)
  • laerciomotta
    Junior Member
    • Nov 2013
    • 2

    #2
    Compile your own:

    Comment

    • pscs
      Junior Member
      • Feb 2012
      • 8

      #3
      So, you're saying that the packages are broken and unusable?

      Should the wiki be updated to remove references to upgrading using the packages?

      Comment

      • laerciomotta
        Junior Member
        • Nov 2013
        • 2

        #4
        No, in my humble opinion I believe to be the best option

        Comment

        • burn1024
          Member
          • Jun 2012
          • 52

          #5
          Please avoid compiling from sources like fire.

          "dpkg -L zabbix-server | grep sql" to see the list of SQL files.

          Comment

          Working...