| View previous topic :: View next topic |
| Author |
Message |
CyberMuz n00b

Joined: 03 Jan 2012 Posts: 12
|
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: 1931 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 short, just ask for an explanation. |
|
| Back to top |
|
 |
CyberMuz n00b

Joined: 03 Jan 2012 Posts: 12
|
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: 1931 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 short, just ask for an explanation. |
|
| Back to top |
|
 |
CyberMuz n00b

Joined: 03 Jan 2012 Posts: 12
|
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 |
|
 |
|