diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-09-29 11:35:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-29 11:35:47 +0200 |
commit | fb479be3a0af95bba45c13b11e1f85bb9c753d25 (patch) | |
tree | 4570e7d48f58a78b0da54090fe2a4d4996ec5683 /docs/en/user/upgrade-2.0.x-2.0.y.rst | |
parent | 37b63c170d700db5d248a33fcf9aca9d41473ec0 (diff) | |
parent | 2d8af6fc7fe32dd8788cb89f8c3aec9269cbe33c (diff) | |
download | wallabag-fb479be3a0af95bba45c13b11e1f85bb9c753d25.tar.gz wallabag-fb479be3a0af95bba45c13b11e1f85bb9c753d25.tar.zst wallabag-fb479be3a0af95bba45c13b11e1f85bb9c753d25.zip |
Merge pull request #2315 from wallabag/fixes-about-upgrade
Fixes about upgrade
Diffstat (limited to 'docs/en/user/upgrade-2.0.x-2.0.y.rst')
-rw-r--r-- | docs/en/user/upgrade-2.0.x-2.0.y.rst | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/en/user/upgrade-2.0.x-2.0.y.rst b/docs/en/user/upgrade-2.0.x-2.0.y.rst new file mode 100644 index 00000000..6a0818b3 --- /dev/null +++ b/docs/en/user/upgrade-2.0.x-2.0.y.rst | |||
@@ -0,0 +1,34 @@ | |||
1 | Upgrade from 2.0.x to 2.0.y | ||
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.8`` by the last release number): | ||
8 | |||
9 | :: | ||
10 | |||
11 | git fetch origin | ||
12 | git fetch --tags | ||
13 | git checkout 2.0.8 | ||
14 | SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist | ||
15 | php bin/console cache:clear --env=prod | ||
16 | |||
17 | Upgrade on a shared hosting | ||
18 | --------------------------- | ||
19 | |||
20 | Backup your ``app/config/parameters.yml`` file. | ||
21 | |||
22 | Download 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 | |||
28 | (md5 hash of the 2.0.8 package: ``4f84c725d1d6e3345eae0a406115e5ff``) | ||
29 | |||
30 | Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours. | ||
31 | |||
32 | If you use SQLite, you must also copy your ``data/`` folder inside the new installation. | ||
33 | |||
34 | Empty ``var/cache`` folder. | ||