I expect this is due to a bug with the webapp-config ebuild, but don't know how to track it down or determine the package at fault. It could also be the gallery package. It may be that I misunderstand how webapp-config is supposed to work. Command run was: emerge --verbose --update --deep apache mod_php gallery Actual packages installed/updated: 1116466508: === (1 of 17) Compiling/Merging (dev-libs/apr-0.9.6-r3::/usr/ portage/dev-libs/apr/apr-0.9.6-r3.ebuild) 1116466604: === (2 of 17) Compiling/Merging (app-misc/mime-types-2::/usr/ portage/app-misc/mime-types/mime-types-2.ebuild) 1116466612: === (3 of 17) Compiling/Merging (sys-process/cronbase-0.3.2::/usr/ portage/sys-process/cronbase/cronbase-0.3.2.ebuild) 1116466625: === (4 of 17) Compiling/Merging (net-www/gentoo-webroot-default-0. 2::/usr/portage/net-www/gentoo-webroot-default/gentoo-webroot-default-0.2. ebuild) 1116466635: === (5 of 17) Compiling/Merging (dev-libs/openssl-0.9.7e-r1::/usr/ portage/dev-libs/openssl/openssl-0.9.7e-r1.ebuild) 1116466861: === (6 of 17) Compiling/Merging (dev-libs/apr-util-0.9.6-r2::/usr/ portage/dev-libs/apr-util/apr-util-0.9.6-r2.ebuild) 1116466906: === (7 of 17) Compiling/Merging (net-www/apache-2.0.54-r5::/usr/ portage/net-www/apache/apache-2.0.54-r5.ebuild) 1116467193: === (8 of 17) Compiling/Merging (net-libs/libwww-5.4.0-r3::/usr/ portage/net-libs/libwww/libwww-5.4.0-r3.ebuild) 1116467470: === (9 of 17) Compiling/Merging (dev-perl/Net-Daemon-0.38::/usr/ portage/dev-perl/Net-Daemon/Net-Daemon-0.38.ebuild) 1116467486: === (10 of 17) Compiling/Merging (dev-perl/Storable-2.13::/usr/ portage/dev-perl/Storable/Storable-2.13.ebuild) 1116467506: === (11 of 17) Compiling/Merging (dev-perl/DBI-1.46::/usr/portage/ dev-perl/DBI/DBI-1.46.ebuild) 1116467533: === (12 of 17) Compiling/Merging (dev-perl/DBD-mysql-2.9003::/usr/ portage/dev-perl/DBD-mysql/DBD-mysql-2.9003.ebuild) 1116467558: === (13 of 17) Compiling/Merging (dev-libs/libxml2-2.6.17::/usr/ portage/dev-libs/libxml2/libxml2-2.6.17.ebuild) 1116467774: === (14 of 17) Compiling/Merging (dev-libs/libgcrypt-1.2.1::/usr/ portage/dev-libs/libgcrypt/libgcrypt-1.2.1.ebuild) 1116467860: === (15 of 17) Compiling/Merging (dev-php/mod_php-4.3.11-r2::/usr/ portage/dev-php/mod_php/mod_php-4.3.11-r2.ebuild) 1116468175: === (16 of 17) Compiling/Merging (net-www/webapp-config-1.10-r14::/ usr/portage/net-www/webapp-config/webapp-config-1.10-r14.ebuild) 1116468196: === (17 of 17) Compiling/Merging (www-apps/gallery-1.5::/usr/ portage/www-apps/gallery/gallery-1.5.ebuild) After this run I found that my installation of gallery was no longer present. The albums directory, and config.php were all that was left. There was an installation in /var/www/localhost of the new version of gallery (1.5). An emerge of 1.5 into the directory brought it back to life. The version of 1.4. 4_p6 had been installed by webapp-config previously. I expect that the upgrade of webapp-config is what caused the problem, since I don't think any of the other ebuilds would know of or mess with the directory. Reproducible: Didn't try Steps to Reproduce: 1. Install gallery-1.4.4_p6 2. Install webapp-config 1.10-r11 3. Install gallery to /var/www/gallery.example.com 4. Upgrade webapp-config Actual Results: The directory /var/www/gallery.example.com/htdocs was emptied, except for the config.php file, and the albums subdirectory. Expected Results: When upgrading webapp-config and/or gallery I don't expect to lose a site. Worst case I would expect it to be upgraded to the new version, but ideally it would be installed in /usr/share/webapps/appname/version for me to update as I can. I have changed my make.conf since the upgrade, adding vhosts to the USE flags. toaster log # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4. 20041102-r1, 2.6.11-hardened-r1 i686) ================================================================= System uname: 2.6.11-hardened-r1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 13 2005, 01:24:39)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.5, 1.6.3, 1.9.5, 1.4_p6, 1.7.9-r1 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 alsa apache2 berkdb bzlib crypt fortran gdbm gif jpeg libg++ libwww mp3 mysql ncurses no-suexec pam perl php png python readline spell ssl tcpd vhosts xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Did you have vhosts in your USE flags when you encountered this problem? Best regards, Stu
I added vhosts after the fact, it was not in USE when I installed. The vhost that the app is configured under is not the main host.
As far as I understand, webapp-config shouldn't have uninstalled gallery, unless you executed emerge -C gallery. Please try with webapp-config-1.11 and gallery-1.5, and reopen the bug if the problem persists.