Translations of this page?:

DokuWiki on Sourceforge?

:?: I'm trying to get DokuWiki running on sourceforge.net but whatever I try it doesn't work.

:!: Sourceforge changed its webserver configuration to mount project directories readonly. This means the webserver can't write to the project directories regardless of the set permissions. Unfortunately this makes it nearly impossible to run DokuWiki on sourceforge's webservers. I recommend to set up your wiki on a different host and link your sourceforge project website to this other host. The following free hosters provide similar services to sourceforge's and should be able to run DokuWiki without problems: developer.berlios.de, dotsrc.org.

However, Johannes Schaback managed to install DokuWiki on SF although it is not recommended because one have to place all data files in public space where everyone can tamper with it! This is a big security issue. Basically, one move all folders that require write access to /tmp/persistent/YourProjectName which will be mountend with write access by the webserver. A more detailed description what you got to do follows. It is assumed that your project is called FengGUI (unix name fenggui). You need to replace FengGUI with your own project name.

  1. log on SF via SSH
  2. change to the htdocs directory in your project directory
    $>cd /home/groups/f/fe/fenggui/htdocs
  3. extract the DokuWiki tar in /home/groups/f/fe/fenggui/htdocs
    $>tar -xzvf dokuwiki-rc2006-09-28.tgz
  4. rename the directory dokuwiki-rc2006-09-28 to dokuwiki
    $>mv dokuwiki-rc2006-09-28 ./htdocs/dokuwiki
  5. move the directory /home/groups/f/fe/fenggui/htdocs/dokuwiki/data to /tmp/persistent/fenggui/
    $>mv /home/groups/f/fe/fenggui/htdocs/dokuwiki/data /tmp/persistent/fenggui/
  6. move the directory /home/groups/f/fe/fenggui/htdocs/dokuwiki/conf to /tmp/persistent/fenggui/
    $>mv /home/groups/f/fe/fenggui/htdocs/dokuwiki/conf /tmp/persistent/fenggui/
  7. create symbolic links to the two moved folders such that DokuWiki can access the folders without noticing that they are located in a completely different branch in the file system. Change back to the dokuwiki directory
    $>cd /home/groups/f/fe/fenggui/htdocs/dokuwiki

    . Then create symbolic links to the data and the conf directory

    ln -s /tmp/persistent/fenggui/conf''

    and

    ln -s /tmp/persistent/fenggui/data
  8. make the moved stuff world-writable
    $>chmod -R 777 /tmp/persistent/fenggui

This should do the trick. You may want to execute install.php that comes with the nice feature to check the permissions of all necessary folders. Don't forget to backup the data and conf directory constantly.

:!: note however, that this means every user on sf.net can write/delete all your wiki data, including config and acl.

maybe you also could just mirror the dokuwiki pages from another machine?

 
wiki/faq/sourceforge.txt · Last modified: 2008/01/07 23:45 by 80.134.210.115
 
Imprint Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsTranslate