]> git.immae.eu Git - github/wallabag/wallabag.git/blame - docs/en/user/upgrade.rst
Merge pull request #2262 from wallabag/install-check-db-connection
[github/wallabag/wallabag.git] / docs / en / user / upgrade.rst
CommitLineData
12d3bbcc 1Upgrade wallabag
2================
3
4Upgrade on a dedicated web server
5---------------------------------
6
7The 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):
bba9907d 8
12d3bbcc 9::
10
11 git fetch origin
12 git fetch --tags
13 git checkout 2.0.3
14 SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
15 php bin/console cache:clear --env=prod
12d3bbcc 16
17Upgrade on a shared hosting
18---------------------------
19
bba9907d
NL
20Backup your ``app/config/parameters.yml`` file.
21
22Download the last release of wallabag:
23
24.. code-block:: bash
25
26 wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package
27
28Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours.
12d3bbcc 29
30If you use SQLite, you must also copy your ``data/`` folder inside the new installation.
31
32Empty ``var/cache`` folder.