This technical doc is a memo for Amap developers related to the Amap development and dokuwiki servers management.
fc - 6.11.2014
The Amap development servers are hosted by Cirad DSI (contact: Erwan Collart Dutilleul) on a set of virtual machines.
The virtual servers for AMAP developers:
Cirad DSI people (thanks to them take care of the backup of these servers.
A ssh access was granted on airais to S. Griffon and F. de Coligny to perform management and wiki upgrades.
# login on airais ssh root@airais password (ahaaah) # see the partitions df -h # Dokuwiki sites cd /opt/www/ # Capsis dokuwiki cd fr.cirad.capsis/prod/capsis_root/capsis/ # AMAPstudio dokuwiki cd fr.cirad.amapstudio/prod/
If you need to make a dokuwiki upgrade, here is how to make a complete backup before and how it may be restored in case of problem.
# Make a backup of the comlete web site (before an upgrade) cp -a fr.cirad.capsis/ capsis-backup-6nov2014 # Restore a backup in case of trouble (not tested 6.11.2014) rm -Rf fr.cirad.capsis/ mv capsis-backup-6nov2014 fr.cirad.capsis
Samuel 'Silver fingers' Dufour Kowalski set a single login system for the AMAPstudio and Capsis users.
This was made by tuning several files in the conf/ directory for both wikis.
# conf directory cd conf/ # authentication vi local.php # Single login trick: check logins in the Redmine mysql login database $conf['authtype'] = 'authmysql'; # Single login trick: link to Redmine database on blayais # Samuel inserted here the config / sql statements to link Dokuwiki authentication to Redmine less mysql.conf.php # The Redmine project name for login is written in the acl file # here: @AMAPstudio 8 less acl.auth.php
This is compatible with the Capsis and AMAPstudio dokuwikis.
# Grant recursively write access to the www group cd fr.cirad.amapstudio/prod/ (or cd fr.cirad.capsis/prod/capsis_root/capsis/) chmod -R g+w .
…then try again Wiki Upgrade
An upgrade was successfully run this way on 6.11.2014 for Capsis and AMAPstudio dokuwikis.