Upgrading to 1.8.1
  • I was under the impression that if I installed Airtime using the package method described here:

    http://en.flossmanuals.net/airtime/ch004_automated-installat ion/

    that I would be able to update Airtime simply by updating via Synaptic. This doesn't seem to be the case and using the method on the wiki doesn't seem to have an impact either (the "About" rollover in Airtime still says 1.8.0)

    Should I scrap the system and do a fresh (manual) install?

    - Chris

    Post Script - Just checked Synaptic and the latest version in the repo is 1.8.0 hence that method failing.
  • 10 Comments sorted by
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    There is currently a couple days to a week of delay between the release of the source and the release of an updated debian/ubuntu package.

    On May 6, 2011, at 9:45 AM, Chris Weaver <airtime-support@lists.sourcefabric.org> wrote:

    >
    > I was under the impression that if I installed Airtime using the package method described here:
    >
    > http://en.flossmanuals.net/airtime/ch004_automated-installat ion/
    >
    > that I would be able to update Airtime simply by updating via Synaptic. This doesn't seem to be the case and using the method on the wiki doesn't seem to have an impact either (the "About" rollover in Airtime still says 1.8.0)
    >
    > Should I scrap the system and do a fresh (manual) install?
    >
    > - Chris
    >
    > Post Script - Just checked Synaptic and the latest version in the repo is 1.8.0 hence that method failing.
    >

  • Good to know. So the normal synaptic update method will work.

    cheers,

    Chris



    On 6 May 2011 11:08, Paul Baranowski <airtime-support@lists.sourcefabric.org
    > wrote:

    > There is currently a couple days to a week of delay between the release
    > of the source and the release of an updated debian/ubuntu package.
    >
    > On May 6, 2011, at 9:45 AM, Chris Weaver <
    > airtime-support@lists.sourcefabric.org> wrote:
    >
    > >
    > > I was under the impression that if I installed Airtime using the package
    > method described here:
    > >
    > > http://en.flossmanuals.net/airtime/ch004_automated-installat ion/
    > >
    > > that I would be able to update Airtime simply by updating via Synaptic.
    > This doesn't seem to be the case and using the method on the wiki doesn't
    > seem to have an impact either (the "About" rollover in Airtime still says
    > 1.8.0)
    > >
    > > Should I scrap the system and do a fresh (manual) install?
    > >
    > > - Chris
    > >
    > > Post Script - Just checked Synaptic and the latest version in the repo is
    > 1.8.0 hence that method failing.
    > >
    >
    >
    >



    --
    Chris Weaver
    Production Manager
    Resonance104.4FM
    resonancefm.com
    +44 (0)207 407 1210

  • Hello,

    I upgraded through the repository but everything was deleted (the users I had created, the music that was uploaded and all the scheduled music) basically airtime reset itself.

    Please need urgent advice whether the data can be recovered.

    Regards,
  • Can anyone please let me know if there is a way to restore the music that is in the /stor directory. That music has already been uploaded to airtime but due to the upgrade as mentioned above the database was overwritten.

    Also I do not understand why the upgrade did reset the db. Will this happen every time I upgrade from the PPA?

    Thanks
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    The files in the /srv/airtime/stor/ directory should still be there. I would suggest copying that directory to another location as a backup, deleting the original directory contents, then running:

    $ sudo airtime-import -c /path/to/backup-copy

    The upgrade resetting the database should not have happened, we'll test the same upgrade here and find the cause.

    Cheers!

    Daniel
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    We found the cause, it's a bug in the 1.8.1 package which affects people upgrading from 1.8.0 only. It will be fixed shortly. In the meantime, please do not upgrade a running 1.8.0 system.

    Cheers!

    Daniel
  • Unfortunately I didn't have a recent backup which is why I was distraught.

    Now, regarding the import, I followed the instructions however only some files kept their metatags intact, the majority had a random name.

    What is the best procedure to backup/restore the DB?

    Thanks
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    We're sorry to hear about your data loss Sad

    Here's what I've been using for database backup/restore on my Lucid system:

    $ sudo -u postgres pg_dumpall | gzip -c > airtime-backup.gz

    Reinstall airtime, postgres etc... then to restore:

    $ sudo -u postgres dropdb airtime

    (this drop is necessary to avoid 'already exists' errors when
    overwriting the airtime skeleton database that you get with a clean install)

    $ gunzip airtime-backup.gz
    $ sudo -u postgres psql -f airtime-backup postgres
  • Thanks Daniel,

    I will set up a daily backup script.

    Regards,
  • Vote Up0Vote Down Micz FlorMicz Flor
    Posts: 184Administrator
    hi daniel,

    in general: would this be a good one page chapter in the online documentation? backup and restore? independent from the bug, i mean.