Skip to content
totakke edited this page Dec 14, 2012 · 4 revisions

How to Update

v1.1.0 to v1.1.1

$ cd /home/davdav/davdav
$ sudo -u davdav git pull
$ sudo service apache2 restart

v1.0.* to v1.1.1

Rename a configuration file to avoid update.

$ cd /home/davdav/davdav
$ sudo -u davdav mv config/davdav.ini config/davdav.ini_

Update davdav.

$ sudo -u davdav git pull

Create a new configuration file and import content from davdav.ini_ manually.

$ sudo -u davdav cp config/davdav.ini.example config/davdav.ini

Add WSGIPassAuthorization On to apache2 configuration.

<VirtualHost *:80>
    ServerName davdav.example.com

    WSGIScriptAlias / /home/davdav/davdav/app/davdav.wsgi
    WSGIDaemonProcess davdav user=www-data group=www-data processes=5 threads=10 home=/home/davdav/davdav/app python-path=/home/davdav/davdav/app
    WSGIProcessGroup davdav
    WSGIPassAuthorization On

    Alias /thumbnail /home/davdav/thumbnail
</VirtualHost>

Restart server.

$ sudo service apache2 restart
Clone this wiki locally