Since we have already upgraded DokuWiki and configured it (see below), we can just do a data refresh by grabbing the up-to-date tar.gz of the dokuwiki data directory on to the new server.
On penguin:
cd /path/to/dokuwiki tar -sphcvzf ~/dokuwiki-data-penguin.tar.gz ./data
On lupin:
scp www.open-ils.org:~/dokuwiki-data-penguin.tar.gz . tar xvfz dokuwiki-penguin.tar.gz rm -rf /root/dokuwiki-xxxx-xx-xx/data cd /root/dokuwiki-xxxx-xx-xx mv ~/data . chown -R www-data.www-data data
The cache will need to be updated.
touch /var/www/open-ils.org/dokuwiki/conf/local.php
How to move DokuWiki from one Server to another? - http://www.dokuwiki.org/faq:servermove
The simplest way to do this is to just copy the whole DokuWiki directory to the new server. Note: Upgrade after transferring the data.
On penguin:
tar -sphcvzf ~/dokuwiki-penguin.tar.gz ./dokuwiki
On lupin:
scp www.open-ils.org:~/dokuwiki-penguin.tar.gz . tar xvfz dokuwiki-penguin.tar.gz mv dokuwiki-penguin /root/dokuwiki-xxxx-xx-xx cd /var/www/open-ils.org/ rm dokuwiki ln -s /root/dokuwiki-xxxx-xx-xx dokuwiki
touch /var/www/open-ils.org/dokuwiki/conf/local.php
Remove the line which references /usr/share/dokuwiki since it is no longer required.
/var/www/open-ils.org/dokuwiki/lib/tpl/evergreen/main.php
chown -R www-data.www-data wordpress
Upgraded to 2010-11-07a “Anteater” [ http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-2010-11-07a.tgz ] using these instructions: http://www.dokuwiki.org/install:upgrade
Will need to set this up for open-ils.org if we decided to use reCaptcha on production.
NOTE: The information below is temporary and should not be public if we set it up for production.
https://www.google.com/recaptcha/admin/site?siteid=314804684
lupin.georgialibraries.org Domain Name: lupin.georgialibraries.org reCAPTCHA will only work on this domain and subdomains. If you have more than one domain (or a staging server), you can create a new set of keys.
Public Key: 6LfMicMSAAAAAIEAtrpJpbqlpfPNMuXWF0FBn9Rk Use this in the JavaScript code that is served to your users
Private Key: 6LfMicMSAAAAAP6y3fmTZ_aScEvUdkZ4MvPZLEHN Use this when communicating between your server and our server. Be sure to keep it a secret.
Resources: reCAPTCHA plugins and libraries reCAPTCHA API Documentation
Now what? If you just signed up for a set of keys, you now need to install reCAPTCHA on your site. This is done in two parts. First, you need to add some HTML that displays the reCAPTCHA widget. Second, you need to configure your form to contact our servers to verify reCAPTCHA solutions. Here are specific instructions for: PHP, WordPress, and MediaWiki. For other environments, visit our resources page.