Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 115289

Summary: Horde 3.0.8 upgrade failed (but continued)
Product: Gentoo Linux Reporter: Stephen Summerfield <stephen>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stephen Summerfield 2005-12-12 04:04:26 UTC
Previously had Horde 3.0.7 installed, did update to 3.0.8 and got this: 

-------------------
Please read /usr/share/doc/horde-3.0.8/INSTALL.gz
 * Before this package will work, you have to setup
 * the configuration files.  Please review the
 * config/ subdirectory of horde in the webroot.

 * vhosts USE flag not set - auto-installing using webapp-config
 * This is an upgrade
 * horde-3.0.7 is already installed - upgrading
 * Running //usr/sbin/webapp-config -U -h localhost -u root -d /horde horde 3.0.8
 * Upgrading horde-3.0.7 to horde-3.0.8
 *   Installed by root on 2005-11-23 13:59:31
 *   Config files owned by root:root

 *   Creating required directories
 *   Linking in required files
 *     This can take several minutes for larger apps
chmod: cannot access
`/var/www/localhost/htdocs/horde/lib/Horde/Cipher/BlockMode.php': No such file
or directory
chown: cannot access
`/var/www/localhost/htdocs/horde/lib/Horde/Cipher/BlockMode.php': No such file
or directory

Fatal error: Fatal error - exiting
Fatal error(s) - aborting
 * Removing old version horde-3.0.7
--------------------------

As you can see errors occurred but it carried on removing version 3.0.7, however
it doesn't seem to have fully installed 3.0.8 so Horde no longer works at all. I
tried emerge =horde-3.0.7 to revert to the previous version, but that also fails:

---------------
>>> original instance of package unmerged safely.
 * Please read /usr/share/doc/horde-3.0.7/INSTALL.gz
 * Before this package will work, you have to setup
 * the configuration files.  Please review the
 * config/ subdirectory of horde in the webroot.

 * vhosts USE flag not set - auto-installing using webapp-config
 * This is a re-installation
 * horde-3.0.7 is already installed - replacing
 * Running //usr/sbin/webapp-config -I -h localhost -u root -d /horde horde 3.0.7
 * Package horde-3.0.7 is already installed here
 * Use webapp-config -C to uninstall it first

Fatal error: Install directory already contains a web application
Fatal error(s) - aborting
------------------------


Reproducible: Didn't try
Steps to Reproduce:
1. emerge -u horde
2.
3.

Actual Results:  
The ebuild failed whilst trying to upgrade the default webapp, but then
continued to remove the previous version.

Expected Results:  
To have correctly upgraded Horde from 3.0.7 to 3.0.8 and upgraded the
corresponding webapp.
Comment 1 SpanKY gentoo-dev 2005-12-12 06:02:07 UTC
bug in the webapp stuff
Comment 2 Renat Lumpau (RETIRED) gentoo-dev 2005-12-12 06:35:13 UTC
which version of webapp-config?
Comment 3 Stephen Summerfield 2005-12-12 06:41:40 UTC
(In reply to comment #2)
> which version of webapp-config?

zebedee ~ # webapp-config -v
1.11
Comment 4 Renat Lumpau (RETIRED) gentoo-dev 2005-12-12 15:55:29 UTC
please try to reproduce with webapp-config-1.50.3, and reopen if needed.