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