1.8.2 -- 1.9.2 upgrade
  • Hi,

    just upgraded 1.8.2 to 1.9.2 by the guide:
    1. backed up the database;
    2. installed dependencies;
    3. ran ./airtime-install from install_minimal
    4. cleaned browser cache.

    Questions:
    1. do I have to restore the db from backup?
    2. there's a PHP Notice:
    Notice: Undefined index: base_files_dir in /var/lib/airtime/application/configs/conf.php on line 69 Notice: Undefined index: base_files_dir in /var/lib/airtime/application/configs/conf.php on line 71
    -- do I have to worry?

    Kind regards,
    Sergei S.
  • 9 Comments sorted by
  • So far I still see v.1.8.2 in "About" :-/
  • My previous messages apply to ->1.9.0 upgrade as the links from http://www.sourcefabric.org/en/airtime/download/ refer to 1.9.0, not 1.9.2;
    Now I downloaded 1.9.2.tag.gz and both minimal and full installs lead me to the error message:
    Debian package of Airtime detected. Please use the debian package to upgrade.


    System is Ubuntu 10.10

    uname -a gives:
    Linux cs4610 2.6.35-30-generic #56-Ubuntu SMP Mon Jul 11 20:01:08 UTC 2011 x86_64 GNU/Linux


    What should I do? Radio silence for several hours already : (
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
  • If the 1.9.2->1.9.3 upgrade doesn't work, try installing 1.8.2 and restoring your database.

    Then apply 1.9.3 upgrade (1.9.1 and 1.9.2 had some trouble when upgrading from 1.8.2).

    Martin
    Airtime Pro Hosting: http://airtime.pro
  • I commented out the if..fi block in the beginning of the install script, that caused that Debian check, and the installation of 1.9.2 went just fine.

    I'll leave it like that for some time now.. : )
    Thanks for the responses!
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    You are not supposed to install the tarball if you have installed with a
    Debian package. That's why we put those lines in there. You will run into
    more trouble in the future when we actually release the debian package and
    your system tries to upgrade you again.

  • Hi Paul, thanks for the reply,

    I think I tried the package install by an accident some time ago, which didn't way through anyway - as the system is Ubuntu.

    How can I 'undo' that package install attempt?
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    You would have to:
    sudo apt-get remove airtime

    and then reinstall manually.

    Note that the first command will remove your database, so you will need to
    back that up first.

  • Thanks for the reply Paul!

    Ouhh..that's a tough way to go - on a production env.