]>
Commit | Line | Data |
---|---|---|
7c1ce283 NL |
1 | Upgrading from 2.1.x to 2.1.y |
2 | ============================= | |
12d3bbcc | 3 | |
4 | Upgrade on a dedicated web server | |
5 | --------------------------------- | |
6 | ||
7c1ce283 | 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.1.2`` by the last release number): |
bba9907d | 8 | |
12d3bbcc | 9 | :: |
10 | ||
88d8125a | 11 | rm -rf var/cache/* |
12d3bbcc | 12 | git fetch origin |
13 | git fetch --tags | |
7c1ce283 | 14 | git checkout 2.1.2 --force |
eef8aeec | 15 | SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist |
084fb0d3 | 16 | php bin/console cache:clear --env=prod |
12d3bbcc | 17 | |
94d1dae4 | 18 | Upgrade on a shared hosting |
12d3bbcc | 19 | --------------------------- |
20 | ||
bba9907d NL |
21 | Backup your ``app/config/parameters.yml`` file. |
22 | ||
94d1dae4 | 23 | Download the last release of wallabag: |
bba9907d NL |
24 | |
25 | .. code-block:: bash | |
26 | ||
27 | wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package | |
28 | ||
7c1ce283 | 29 | (md5 hash of the 2.1.1 package: ``9584a3b60a2b2a4de87f536548caac93``) |
94d1dae4 | 30 | |
bba9907d | 31 | Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours. |
12d3bbcc | 32 | |
33 | If you use SQLite, you must also copy your ``data/`` folder inside the new installation. | |
34 | ||
35 | Empty ``var/cache`` folder. |