From ab46a256f4e0161936d1d87a095ffcf378a85d40 Mon Sep 17 00:00:00 2001 From: Olivier Demah Date: Sat, 7 May 2016 22:55:19 +0200 Subject: [PATCH] new details in the doc about the rgihts access again;) --- docs/en/user/installation.rst | 22 ++++++++++++++++++++++ docs/fr/user/installation.rst | 23 +++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/docs/en/user/installation.rst b/docs/en/user/installation.rst index 8d1859cb..484e66cb 100644 --- a/docs/en/user/installation.rst +++ b/docs/en/user/installation.rst @@ -252,3 +252,25 @@ This is due to the fact that we will need to grant the same rights access on the .. code-block:: bash chown -R www-data:www-data /var/www/wallabag/var + +It has to be the same for the following folders + +* /var/www/wallabag/bin/ +* /var/www/wallabag/app/config/ +* /var/www/wallabag/vendor/ + +by entering + +.. code-block:: bash + + chown -R www-data:www-data /var/www/wallabag/bin + chown -R www-data:www-data /var/www/wallabag/app/config + chown -R www-data:www-data /var/www/wallabag/vendor + +otherwise, sooner or later you will meet this error messages + +.. code-block:: bash + + Unable to write to the "bin" directory. + file_put_contents(app/config/parameters.yml): failed to open stream: Permission denied + file_put_contents(/.../wallabag/vendor/autoload.php): failed to open stream: Permission denied diff --git a/docs/fr/user/installation.rst b/docs/fr/user/installation.rst index 6f1a4591..8f9a7932 100644 --- a/docs/fr/user/installation.rst +++ b/docs/fr/user/installation.rst @@ -249,3 +249,26 @@ Cela est dû au fait qu'il faut aussi octroyer les mêmes droits d'accès au dos .. code-block:: bash chown -R www-data:www-data /var/www/wallabag/var + +Il en est de même pour les dossiers suivants : + +* /var/www/wallabag/bin/ +* /var/www/wallabag/app/config/ +* /var/www/wallabag/vendor/ + +en tapant + +.. code-block:: bash + + chown -R www-data:www-data /var/www/wallabag/bin + chown -R www-data:www-data /var/www/wallabag/app/config + chown -R www-data:www-data /var/www/wallabag/vendor + +sinon lors de la mise à jour vous finirez par rencontrer les erreurs suivantes : + + +.. code-block:: bash + + Unable to write to the "bin" directory. + file_put_contents(app/config/parameters.yml): failed to open stream: Permission denied + file_put_contents(/.../wallabag/vendor/autoload.php): failed to open stream: Permission denied -- 2.41.0