]> git.immae.eu Git - github/wallabag/wallabag.git/blob - docs/en/Administrator/sessions.rst
add docs
[github/wallabag/wallabag.git] / docs / en / Administrator / sessions.rst
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).*