View previous topic :: View next topic |
Author |
Message |
CyberMuz n00b
Joined: 03 Jan 2012 Posts: 53
|
Posted: Fri Feb 01, 2013 8:59 am Post subject: Updating Dokuwiki |
|
|
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 3. 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 |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Fri Feb 01, 2013 9:16 am Post subject: |
|
|
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 |
|
|
CyberMuz n00b
Joined: 03 Jan 2012 Posts: 53
|
Posted: Fri Feb 01, 2013 9:55 am Post subject: |
|
|
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 |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Fri Feb 01, 2013 10:00 am Post subject: |
|
|
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 |
|
|
CyberMuz n00b
Joined: 03 Jan 2012 Posts: 53
|
Posted: Fri Feb 01, 2013 10:20 am Post subject: |
|
|
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 |
|
|
lesha_n n00b
Joined: 15 Nov 2007 Posts: 65
|
Posted: Sun Sep 08, 2013 5:12 am Post subject: |
|
|
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 |
|
|
|