1 Upgrading from 2.1.x to 2.1.y
2 =============================
4 Upgrade on a dedicated web server
5 ---------------------------------
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):
14 git checkout 2.1.2 --force
15 SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
16 php bin/console cache:clear --env=prod
18 Upgrade on a shared hosting
19 ---------------------------
21 Backup your ``app/config/parameters.yml`` file.
23 Download the last release of wallabag:
27 wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package
29 You will find the `md5 hash of the latest package on our website <https://www.wallabag.org/pages/download-wallabag.html>`_.
31 Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours.
33 If you use SQLite, you must also copy your ``data/`` folder inside the new installation.
35 Empty ``var/cache`` folder.