]> git.immae.eu Git - github/wallabag/wallabag.git/blob - docs/en/user/upgrade.rst
upgrade.rst
[github/wallabag/wallabag.git] / docs / en / user / upgrade.rst
1 Upgrade wallabag
2 ================
3
4 Upgrade on a dedicated web server
5 ---------------------------------
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):
8 ::
9
10 git fetch origin
11 git fetch --tags
12 git checkout 2.0.3
13 SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
14 php bin/console cache:clear --env=prod
15
16
17 Upgrade on a shared hosting
18 ---------------------------
19
20 Backup your ``app/config/parameters.yml`` file. Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours.
21
22 If you use SQLite, you must also copy your ``data/`` folder inside the new installation.
23
24 Empty ``var/cache`` folder.