Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Woes: upgrading rouncube 0.9.5 to 1.0.5
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
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 443
Location: Canberra Australia

PostPosted: Fri Jul 24, 2015 11:21 pm    Post subject: Woes: upgrading rouncube 0.9.5 to 1.0.5 Reply with quote

I have upgraded roundcube from 0.9.5 to 1.0.5. Previously the files installed into /var/www/localhost/htdocs/roundcube, but now they only go into /usr/share/webapps/roundcube/1.0.5/htdocs. It looks like the problem may be that my /var is on a separate partition from /usr, and the installer can't create hard links from /var to /usr.

I have managed to temporarily resolve this problem by adding the "vhosts" USE flag and doing the following:
Code:
webapp-config --copy --dir=roundcube --install roundcube 1.0.5

It is all working fine now, except that when I re-emerge roundcube everything from /var/www/localhost/htdocs/roundcube disappears except for temporary files, logs etc.

There seems to be an option to use symlinks in /etc/vhosts/webapp-config, but there doesn't seem to be an option to copy files into /var/www/localhost/htdocs when I run webapp-config (which is the recommended method).

Is there a way that I can get upgrades happening so that this doesn't occur in the future?

PS - I've managed to fix this by putting vhost_link_type="copy" in /etc/vhosts/webapp-config. This must be an undocumented feature. How do I stop the /installer directory from being installed when I reinstall roundcube? This is an enormous security risk.
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