diff options
Diffstat (limited to 'docs/en/user/upgrade.rst')
-rw-r--r-- | docs/en/user/upgrade.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/en/user/upgrade.rst b/docs/en/user/upgrade.rst index 7782dc8a..141b1511 100644 --- a/docs/en/user/upgrade.rst +++ b/docs/en/user/upgrade.rst | |||
@@ -4,27 +4,29 @@ Upgrade wallabag | |||
4 | Upgrade on a dedicated web server | 4 | Upgrade on a dedicated web server |
5 | --------------------------------- | 5 | --------------------------------- |
6 | 6 | ||
7 | The last release is published on https://www.wallabag.org/pages/download-wallabag.html. In order to upgrade your wallabag installation and get the last version, run the following commands in you wallabag folder (replace ``2.0.3`` by the last release number): | 7 | The last release is published on https://www.wallabag.org/pages/download-wallabag.html. In order to upgrade your wallabag installation and get the last version, run the following commands in you wallabag folder (replace ``2.0.7`` by the last release number): |
8 | 8 | ||
9 | :: | 9 | :: |
10 | 10 | ||
11 | git fetch origin | 11 | git fetch origin |
12 | git fetch --tags | 12 | git fetch --tags |
13 | git checkout 2.0.3 | 13 | git checkout 2.0.7 |
14 | SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist | 14 | SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist |
15 | php bin/console cache:clear --env=prod | 15 | php bin/console cache:clear --env=prod |
16 | 16 | ||
17 | Upgrade on a shared hosting | 17 | Upgrade on a shared hosting |
18 | --------------------------- | 18 | --------------------------- |
19 | 19 | ||
20 | Backup your ``app/config/parameters.yml`` file. | 20 | Backup your ``app/config/parameters.yml`` file. |
21 | 21 | ||
22 | Download the last release of wallabag: | 22 | Download the last release of wallabag: |
23 | 23 | ||
24 | .. code-block:: bash | 24 | .. code-block:: bash |
25 | 25 | ||
26 | wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package | 26 | wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package |
27 | 27 | ||
28 | (md5 hash of the package: ``18aadd1003a08eb11f5341b9755029f8``) | ||
29 | |||
28 | Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours. | 30 | Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours. |
29 | 31 | ||
30 | If you use SQLite, you must also copy your ``data/`` folder inside the new installation. | 32 | If you use SQLite, you must also copy your ``data/`` folder inside the new installation. |