]> git.immae.eu Git - github/wallabag/wallabag.git/blob - docs/en/user/upgrade.rst
Some fixes about upgrade from 2.0.x -> 2.1.0
[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.1.0`` by the last release number):
8
9 ::
10
11 git fetch origin
12 git fetch --tags
13 git checkout 2.1.0
14 ASSETS=build ./install.sh
15 php bin/console doctrine:migrations:migrate --env=prod
16 php bin/console cache:clear --env=prod
17
18 Upgrade on a shared hosting
19 ---------------------------
20
21 Backup your ``app/config/parameters.yml`` file.
22
23 Download the last release of wallabag:
24
25 .. code-block:: bash
26
27 wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package
28
29 (md5 hash of the package: ``4f84c725d1d6e3345eae0a406115e5ff``)
30
31 Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours.
32
33 If you use SQLite, you must also copy your ``data/`` folder inside the new installation.
34
35 Empty ``var/cache`` folder.