root / docs / upgrade / upgrade-0.14.8.rst @ 999bf7b6
History | View | Annotate | Download (1.7 kB)
1 |
Upgrade to Synnefo v0.14.8 |
---|---|
2 |
^^^^^^^^^^^^^^^^^^^^^^^^^^ |
3 |
|
4 |
Synnefo v0.14.8 release introduced support for Debian Wheezy (and Django 1.4). |
5 |
To upgrade from Squeeze to Wheezy you should make sure to change the |
6 |
``'ENGINE'`` option in ``/etc/synnefo/10-snf-webproject-databases.conf`` to |
7 |
``'django.db.backends.postgresql_psycopg2``. Replace ``postgresql_psycopg2`` |
8 |
with the DB engine you are using. |
9 |
|
10 |
If you're upgrading to Synnefo v0.14.8 on Squeeze, you should also make sure to |
11 |
have the Squezee backports repository installed, since ``snf-webproject`` |
12 |
depends on ``>=python-django-south-0.7.3``, which on Squeeze is only available |
13 |
from the backports repository. |
14 |
|
15 |
Since v0.14.8, Synnefo also ships an example Gunicorn configuration file, that |
16 |
gets installed automatically at ``/etc/gunicorn.d/synnefo.example``. To use it |
17 |
you need to do two things: |
18 |
|
19 |
1. Disable your old configuration file by removing it. |
20 |
[if you are upgrading from an older version and you had such a file] |
21 |
|
22 |
2. Rename the file to ``/etc/gunicorn.d/synnefo`` to make it valid: |
23 |
|
24 |
.. code-block:: console |
25 |
|
26 |
# mv /etc/gunicorn.d/synnefo.example /etc/gunicorn.d/synnefo |
27 |
|
28 |
Finally, add any other special configuration option needed by your deployment |
29 |
in this file. |
30 |
|
31 |
.. warning:: The logging location for the Synnefo gunicorn project has changed in |
32 |
/etc/gunicorn.d/synnefo.example: The default configuration no longer stores |
33 |
logs under /var/log/gunicorn/synnefo.log, but under |
34 |
/var/log/synnefo/gunicorn.log instead, for two reasons: |
35 |
a) uniformity with the rest of Synnefo, b) the version of gunicorn included in |
36 |
Wheezy now drops privileges to www-data:www-data properly, so it can no longer |
37 |
log under /var/log/gunicorn, which is owned by root. |