Page 1 of 1

Unable to archive current installation

Posted: Thu Jun 19, 2008 6:20 pm
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?

Posted: Thu Jun 26, 2008 10:12 am
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

Posted: Wed Sep 10, 2008 3:38 pm
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

Posted: Wed Sep 10, 2008 6:20 pm
by maschoff
Please see the install guide which describes how to stop the update process and start the update again.

Posted: Mon Sep 15, 2008 1:50 pm
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.

Posted: Thu Nov 20, 2008 5:04 pm
by mrheat
any chance to see log output of the update script? still on 5.4 ...

Posted: Sat Nov 21, 2009 2:42 pm
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

Posted: Sat Nov 21, 2009 11:49 pm
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.

Posted: Mon Nov 23, 2009 5:57 pm
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????

Posted: Mon Nov 23, 2009 6:00 pm
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.

Posted: Tue Dec 01, 2009 2:24 pm
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!