diff options
Diffstat (limited to 'docs/en/Administrator/sessions.rst')
-rw-r--r-- | docs/en/Administrator/sessions.rst | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/en/Administrator/sessions.rst b/docs/en/Administrator/sessions.rst new file mode 100644 index 00000000..7dbae257 --- /dev/null +++ b/docs/en/Administrator/sessions.rst | |||
@@ -0,0 +1,26 @@ | |||
1 | Session issues | ||
2 | ============== | ||
3 | |||
4 | If you end up disconnected even while checking the *Stay signed in | ||
5 | checkbox*, please run the following commands as root (or with sudo) : | ||
6 | |||
7 | :: | ||
8 | |||
9 | mkdir /var/lib/wallabag-sessions | ||
10 | chown www-data:www-data /var/lib/wallabag-sessions | ||
11 | |||
12 | *NOTE : The www-data user and group may not exist, you may use | ||
13 | ``chown http:http /var/lib/wallabag-sessions`` instead* | ||
14 | |||
15 | Then, using apache add: | ||
16 | ``php_admin_value session.save_path /var/lib/wallabag-sessions`` to your | ||
17 | apache vhost, for instance ``wallabag-apache.conf`` Finally, restart | ||
18 | apache, for instance like this : ``/etc/init.d/apache2 restart`` | ||
19 | |||
20 | If you’re using nginx, add | ||
21 | ``php_admin_value[session.save_path] = /var/lib/wallabag-sessions`` in | ||
22 | your nginx configuration file. Then, restart nginx : | ||
23 | ``/etc/init.d/nginx restart`` | ||
24 | |||
25 | *NOTE : If you’re using systemd, you should do | ||
26 | ``systemctl restart apache2`` (or nginx).* | ||