View previous topic :: View next topic |
Author |
Message |
NightMonkey Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey2.gif)
Joined: 21 Mar 2003 Posts: 357 Location: Philadelphia, PA
|
Posted: Wed Dec 14, 2005 9:57 am Post subject: webapp-config and gcc upgrade procedure problem [BUG] |
|
|
Hi all. I'm part-way through upgrading my hosts with the new GCC 3.4.4. However, after going through the process - successfully - on the first of my webhosts, I noticed that I had to manually re-install with webapp-config every webapp I had installed. I checked /etc/vhosts/webapp-config to see if there is a setting to prevent this behavior, but found none. How can I prevent "emerge -e world" from removing my installed webapps?
Apologies in advance if this is answered elsewhere in the Forums, but I did search...
Thanks! _________________
![Very Happy :D](images/smiles/icon_biggrin.gif)
Last edited by NightMonkey on Sat Sep 23, 2006 10:39 pm; edited 3 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sethleon Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/20879485694bb86127c31f5.gif)
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
Posted: Wed Dec 14, 2005 10:07 am Post subject: |
|
|
if you want do to an update you usually do:
this only updates and does not remove any applications (except old versions of it after update)
why did you do an
? _________________ Mess with the best, die like the rest. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
brims Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/208652480543d5c6dc71f58.png)
Joined: 19 Apr 2004 Posts: 492 Location: Arizona
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NightMonkey Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey2.gif)
Joined: 21 Mar 2003 Posts: 357 Location: Philadelphia, PA
|
Posted: Wed Dec 14, 2005 7:59 pm Post subject: |
|
|
Hmm... are you talking to me, or replying to the previous post? _________________
![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NightMonkey Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey2.gif)
Joined: 21 Mar 2003 Posts: 357 Location: Philadelphia, PA
|
Posted: Thu Dec 15, 2005 1:28 am Post subject: My fix |
|
|
Found out in #gentoo-apache that this is actually expected behavior with the "vhosts" USE flag set, but the nice dev I chatted with filed a bug to begin coding a fix for the next version of webapp-config.
I performed these steps to remedy it for my setup. Do these steps *directly* after you re-emerged a webapp, and for each webapp and vhost you have installed previously.
Code: | cd /var/www/<vhost>/htdocs/
mv <webapp dir> <webapp dir>.OOPS
webapp-config -I <webapp> -h <vhost> -d <webapp dir> <webapp> <webapp version>
rsync -a <webapp dir>.OOPS/ <webapp dir>/ |
This Worked For Me(tm). So, this thread should alert anyone else getting bit by this, whether re-emerging a webapp individually, or via the GCC 3.4.4 upgrade steps. _________________
![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
brims Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/208652480543d5c6dc71f58.png)
Joined: 19 Apr 2004 Posts: 492 Location: Arizona
|
Posted: Thu Dec 15, 2005 5:12 am Post subject: |
|
|
NightMonkey wrote: |
Hmm... are you talking to me, or replying to the previous post? |
Sorry, was replying to the previous post. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lazyleopard n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Nov 2003 Posts: 58
|
Posted: Wed Sep 20, 2006 4:40 pm Post subject: |
|
|
NightMonkey wrote: | Found out in #gentoo-apache that this is actually expected behavior with the "vhosts" USE flag set, but the nice dev I chatted with filed a bug to begin coding a fix for the next version of webapp-config. |
Hmmm... Any idea whether this bug ever got filed? I've just been bitten by this while doing an "emerge -e world" for the latest gcc et al., with webapp-config-1.50.15 installed... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NightMonkey Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey2.gif)
Joined: 21 Mar 2003 Posts: 357 Location: Philadelphia, PA
|
Posted: Wed Sep 20, 2006 6:46 pm Post subject: |
|
|
lazyleopard wrote: | NightMonkey wrote: | Found out in #gentoo-apache that this is actually expected behavior with the "vhosts" USE flag set, but the nice dev I chatted with filed a bug to begin coding a fix for the next version of webapp-config. |
Hmmm... Any idea whether this bug ever got filed? I've just been bitten by this while doing an "emerge -e world" for the latest gcc et al., with webapp-config-1.50.15 installed... |
Negative. It has been pushed back after each release "to the next release". It is less visible to the public since development for webapp-config is done in a semi-official Trac instance (rather than the main Bugzilla at bugs.gentoo.org). This bug is here: http://www.vhost-tools.org/ticket/32 , and, as you can see, it has been open since I reported it on IRC, over 9 months ago. Once again, on my critical webhosts, with multiple domains and multiple webapps, I am holding back from doing a gcc/glibc update since I don't want to destroy my webapps in the process. ![Sad :(](images/smiles/icon_sad.gif) _________________
![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lazyleopard n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Nov 2003 Posts: 58
|
Posted: Wed Sep 20, 2006 8:45 pm Post subject: |
|
|
Thanks for the pointers.
The obliteration seems to happen whenever you re-emerge the same version, and there's a good chance that local patches get lost when you re-install... Very irritating at the least, and a good reason for not using webapp-config in those situations if possible. ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|