Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Updating Dokuwiki
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
CyberMuz
n00b
n00b


Joined: 03 Jan 2012
Posts: 53

PostPosted: Fri Feb 01, 2013 8:59 am    Post subject: Updating Dokuwiki Reply with quote

Hi guys!

I have a dokuwiki running in my local machine. When I open it on the top there are messages that my version is outdated (it's version 36 and the latest is 38). I have emerged the latest from portage but the version used is still the same. What is the procedure to have this updated to the latest version?
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Fri Feb 01, 2013 9:16 am    Post subject: Reply with quote

In a nutshell, installing a web app (like dokuwiki) in gentoo, just installs the necessary files, and if it is the first install and vhosts USE-flag is set, it will automatically install an instance into localhost vhost. this automatic installation is done be webapp-config.

for the exact command needed to upgrade, I would need some more information about the installation. the following commands should do the trick:
Code:
 webapp-config --list-installs * *
webapp-config --list-unused-installs * *
webapp-config --list-servers


V.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
CyberMuz
n00b
n00b


Joined: 03 Jan 2012
Posts: 53

PostPosted: Fri Feb 01, 2013 9:55 am    Post subject: Reply with quote

Here is the output of the commands.
Code:

~ # webapp-config --list-installs
/var/www/localhost/htdocs/dokuwiki
~ # webapp-config --list-unused-installs
dokuwiki-20120125
dokuwiki-20121013
~ # webapp-config --list-servers
apache
lighttpd
cherokee
nginx
gatling
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Fri Feb 01, 2013 10:00 am    Post subject: Reply with quote

that should do the trick
Code:
webapp-config -U -d dokuwiki -h localhost dokuwiki 20121013

_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
CyberMuz
n00b
n00b


Joined: 03 Jan 2012
Posts: 53

PostPosted: Fri Feb 01, 2013 10:20 am    Post subject: Reply with quote

Thank you! This updated my dokuwiki without any problems.
After updating there was still an message saying that I should update at the top of the wikipage, but ti fix this i just did touch dokuwiki/doku.php
Back to top
View user's profile Send private message
lesha_n
n00b
n00b


Joined: 15 Nov 2007
Posts: 65

PostPosted: Sun Sep 08, 2013 5:12 am    Post subject: Reply with quote

Hi, I have the same question, except I do not have VHOSTS set (this is my home computer that just serves dokuwiki via apache). What is the upgrade procedure for dokuwiki in this case? Alternatively, would it just be easier to set VHOSTS anyway? Is there documentation on what that would entail (e.g. config files, re-emerging packages, ...)?

Thanks!

Veldrin wrote:
that should do the trick
Code:
webapp-config -U -d dokuwiki -h localhost dokuwiki 20121013
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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