Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
webapp-config and gcc upgrade procedure problem [BUG]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 357
Location: Philadelphia, PA

PostPosted: Wed Dec 14, 2005 9:57 am    Post subject: webapp-config and gcc upgrade procedure problem [BUG] Reply with quote

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!
_________________
:D


Last edited by NightMonkey on Sat Sep 23, 2006 10:39 pm; edited 3 times in total
Back to top
View user's profile Send private message
sethleon
Guru
Guru


Joined: 14 Dec 2003
Posts: 398
Location: Germany

PostPosted: Wed Dec 14, 2005 10:07 am    Post subject: Reply with quote

if you want do to an update you usually do:
Code:
emerge -uD world


this only updates and does not remove any applications (except old versions of it after update)
why did you do an
Code:
emerge -e world

?
_________________
Mess with the best, die like the rest.
Back to top
View user's profile Send private message
brims
Guru
Guru


Joined: 19 Apr 2004
Posts: 492
Location: Arizona

PostPosted: Wed Dec 14, 2005 10:09 am    Post subject: Reply with quote

It's in the instructions to upgrading to GCC 3.4 http://www.gentoo.org/doc/en/gcc-upgrading.xml
Back to top
View user's profile Send private message
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 357
Location: Philadelphia, PA

PostPosted: Wed Dec 14, 2005 7:59 pm    Post subject: Reply with quote

brims wrote:
It's in the instructions to upgrading to GCC 3.4 http://www.gentoo.org/doc/en/gcc-upgrading.xml


Hmm... are you talking to me, or replying to the previous post?
_________________
:D
Back to top
View user's profile Send private message
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 357
Location: Philadelphia, PA

PostPosted: Thu Dec 15, 2005 1:28 am    Post subject: My fix Reply with quote

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.
_________________
:D
Back to top
View user's profile Send private message
brims
Guru
Guru


Joined: 19 Apr 2004
Posts: 492
Location: Arizona

PostPosted: Thu Dec 15, 2005 5:12 am    Post subject: Reply with quote

NightMonkey wrote:
brims wrote:
It's in the instructions to upgrading to GCC 3.4 http://www.gentoo.org/doc/en/gcc-upgrading.xml


Hmm... are you talking to me, or replying to the previous post?


Sorry, was replying to the previous post.
Back to top
View user's profile Send private message
lazyleopard
n00b
n00b


Joined: 06 Nov 2003
Posts: 58

PostPosted: Wed Sep 20, 2006 4:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 357
Location: Philadelphia, PA

PostPosted: Wed Sep 20, 2006 6:46 pm    Post subject: Reply with quote

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. :(
_________________
:D
Back to top
View user's profile Send private message
lazyleopard
n00b
n00b


Joined: 06 Nov 2003
Posts: 58

PostPosted: Wed Sep 20, 2006 8:45 pm    Post subject: Reply with quote

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. :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum