Unable to archive current installation

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

em4u
Posts: 14
Joined: Wed Jan 16, 2008 12:38 am
Location: UK

Unable to archive current installation

Post by em4u »

I get this during the upgrade process when I try and move to 5.5. Is it a simple permissions issue or should I riip out and start again?
mrheat
Posts: 4
Joined: Thu Jun 19, 2008 8:10 am

Post by mrheat »

same error here

install broken now

edit: after openemm.sh start everythings working but its still 5.4.0 and showing that an upgrade is available
chrgot
Posts: 8
Joined: Wed Sep 10, 2008 2:57 pm

Post by chrgot »

mrheat wrote:same error here

install broken now

edit: after openemm.sh start everythings working but its still 5.4.0 and showing that an upgrade is available
same error here: the upgrade from 5.5.0 to 5.5.1 fails with "Unable to archive current installation". what can i do?

thank you
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Please see the install guide which describes how to stop the update process and start the update again.
OpenEMM Maintainer
chrgot
Posts: 8
Joined: Wed Sep 10, 2008 2:57 pm

Post by chrgot »

ma wrote:Please see the install guide which describes how to stop the update process and start the update again.
Thx for your answer.

it happens again und again.
mrheat
Posts: 4
Joined: Thu Jun 19, 2008 8:10 am

Post by mrheat »

any chance to see log output of the update script? still on 5.4 ...
noaesis
Posts: 1
Joined: Sat Nov 21, 2009 2:39 pm

Post by noaesis »

The same happens to me!

Browsweroutput
----------------------
* Update process starting up
* Trying to determinate current running version
* Found "5.5.1" as current active version
* Looking for new version on remote server (this may take some time)
* Found version 6.0 on server
* Current version is 5.5.1, new version 6.0, starting update now
* Trying to fetch the new version from one of these URLs:
* http://ufpr.dl.sourceforge.net/project/ ... bin.tar.gz
* http://dfn.dl.sourceforge.net/project/o ... bin.tar.gz
* http://superb-east.dl.sourceforge.net/p ... bin.tar.gz
* http://optusnet.dl.sourceforge.net/proj ... bin.tar.gz
* http://surfnet.dl.sourceforge.net/proje ... bin.tar.gz
* http://mesh.dl.sourceforge.net/project/ ... bin.tar.gz
* http://heanet.dl.sourceforge.net/projec ... bin.tar.gz
* http://nchc.dl.sourceforge.net/project/ ... bin.tar.gz
* http://internap.dl.sourceforge.net/proj ... bin.tar.gz
* http://puzzle.dl.sourceforge.net/projec ... bin.tar.gz
* http://switch.dl.sourceforge.net/projec ... bin.tar.gz
* http://garr.dl.sourceforge.net/project/ ... bin.tar.gz
* http://jaist.dl.sourceforge.net/project ... bin.tar.gz
* http://superb-west.dl.sourceforge.net/p ... bin.tar.gz
* http://kent.dl.sourceforge.net/project/ ... bin.tar.gz
* Be patient, this may take several minutes ...
* Trying to download file http://ufpr.dl.sourceforge.net/project/ ... bin.tar.gz
* Downloading 26.119 kByte
* Download of http://ufpr.dl.sourceforge.net/project/ ... bin.tar.gz successful
* Trying to store the new version to /tmp/OpenEMM-6.0-bin.tar.gz
* Stopping running instance
* Stopping httpd
* Stop scripts/slrtscn.py program .. delaying 2 seconds .. done.
* Stop all sendmail processes: -15:21176 -15:21179 -15:21182 done.
* Stop scripts/pickdist program .. delaying 2 seconds .. done.
* Stop scripts/update.py program .. delaying 2 seconds .. done.
* Stop bin/bav program with signal 15 .. done.
* Stop bin/bav program with signal 9 .. done.
* Stop scripts/bavd program with signal 15 .. done.
* Stop scripts/bav-trigger program with signal 15 .. done.
* Stop scripts/bav-update program with signal 15 .. done.
* Renaming current version to keep as archive
* Unable to archive current installation
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

The update process stops because directory /home/openemm could not be renamed to archive name "openemm-<version>". Maybe a former cancelled update process already created this archive. Please delete this archive or check the permissions for OpenEMM in directory /home and try again.
OpenEMM Maintainer
shibadoo
Posts: 19
Joined: Wed Apr 23, 2008 5:34 pm

Post by shibadoo »

Same happens to me (see my other post, sorry fpr double posting).

- There is no archive directory "openemm-<version>" there
- Tried with various rights settings (user=openemm, group=openemm, gave it 755, 775 and 777), no positive effect

Was anybody able to update to 6.0? What were your settings????
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

In this case I recommend to back up the database and use the downloaded tarball in directory /tmp to update manually. See the install guide for details. It is usually done within a few minutes.
OpenEMM Maintainer
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Some more tipps:

Since the updater runs as root:

1. Do you use SELinux? If so, please disable.

2. Check permissions for file updater:

Code: Select all

 ls -l /home/openemm/bin/updater
-rwsr-sr-x  1 root root 20114 May  7  2009 /home/openemm/bin/updater
The s permission is important!
OpenEMM Maintainer
Post Reply