root / docs / upgrade / upgrade-0.14.8.rst @ eb58cf5a
History | View | Annotate | Download (1.1 kB)
1 |
Upgrade to Synnefo v0.14.8 |
---|---|
2 |
^^^^^^^^^^^^^^^^^^^^^^^^^^ |
3 |
|
4 |
Since v0.14.8, Synnefo ships an example Gunicorn configuration file, that gets |
5 |
installed automatically at ``/etc/gunicorn.d/synnefo.example``. |
6 |
To use it you need to do two things: |
7 |
|
8 |
1. Disable your old configuration file by removing it. |
9 |
[if you are upgrading from an older version and you had such a file] |
10 |
|
11 |
2. Rename the file to ``/etc/gunicorn.d/synnefo`` to make it valid: |
12 |
|
13 |
.. code-block:: console |
14 |
|
15 |
# mv /etc/gunicorn.d/synnefo.example /etc/gunicorn.d/synnefo |
16 |
|
17 |
Finally, add any other special configuration option needed by your deployment |
18 |
in this file. |
19 |
|
20 |
.. warning:: The logging location for the Synnefo gunicorn project has changed in |
21 |
/etc/gunicorn.d/synnefo.example: The default configuration no longer stores |
22 |
logs under /var/log/gunicorn/synnefo.log, but under |
23 |
/var/log/synnefo/gunicorn.log instead, for two reasons: |
24 |
a) uniformity with the rest of Synnefo, b) the version of gunicorn included in |
25 |
Wheezy now drops privileges to www-data:www-data properly, so it can no longer |
26 |
log under /var/log/gunicorn, which is owned by root. |