Summary: | emerge unmerge uninstalled wrong web application | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stephane Bonnell <gentoo.steph> |
Component: | [OLD] Unspecified | Assignee: | Stuart Herbert (RETIRED) <stuart> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | critical | CC: | andreas |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Stephane Bonnell
2005-06-20 01:29:13 UTC
Looks like a webapp-config issue. Stu, any thoughts? Yes this is webapp-config. It got me when upgrading phpBB from 2.0.15 to 2.0.16. At this point I've learned to always make backups before running webapp-config so it was thankfully only a minor inconvenience. Basically the same as the original poster: I upgraded a directory to 2.0.16, then unmerged 2.0.15, and it printed "Removing phpBB-2.0.16 from /var/www/forums.example.com/pub/", deleting the install. I don't know if this makes a difference, but I previously I ran "webapp-config --list-installs phpBB" and it listed the following: /var/www/forums.example.com/pub/ /var/www/forums.example.com/pub I.e. the same install dir twice. Also the .webapp file had data for both the 2.0.15 and 2.0.16 installs, not sure if any of this makes a difference. Maybe I installed with "-d /" once and "-d ." another time. webapp-config should never remove an install without the user asking for it. If I try to unmerge an app that has webapp-config installations, the unmerge should *fail*, don't you think? This just broke my www-apps/gallery installation as well, after upgrade to gallery-1.5_p1 I tried to emerge unmerge gallery-1.4.4_p6, and webapp-config uninstalled my new gallery instance... I observed that the /var/db/webapps/gallery/1.4.4_p6 directory was still existing after the 1.4.4_p6 uninstall Maybe 'webapp-config -U' doesn't do all needed stuff to the /var/db/webapps directories? Another thought: webapp-config --list-installs give this output on my box (without #-comments and with correct <vhost> parts): /var/www/<some-vhost#1>/htdocs/ #my gallery installation /var/www/<some-vhost#2>/htdocs #my mambo installation /var/www/<some-vhost#3>/htdocs/phpmyadmin #my phpmyadmin installation /var/www/<some-vhost#4>/htdocs/ #my squirrelmail installation How is the install into the htdocs dir supposed to be specified when doing the install? I think I used '-d /' for my gallery, but what did I do to make the mambo installation show up without the '/' at end? Can you test webapp-config v1.50, and see if it addresses this problem? Best regards, Stu Marking as test-request. |