diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2018-02-16 01:52:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-16 01:52:38 +0100 |
commit | 2e6b9ed3b9d5c813b0136230f6ac659df9ed46e7 (patch) | |
tree | 4c4201ed20c08f8f85c769e341512c3c7c78f209 /doc/md/Upgrade-and-migration.md | |
parent | 8b48e36594394e367cbb33c7ad1a679ea57c374d (diff) | |
parent | 48679a159ed2e419f207d0be2e03e1a4f0e24f1d (diff) | |
download | Shaarli-2e6b9ed3b9d5c813b0136230f6ac659df9ed46e7.tar.gz Shaarli-2e6b9ed3b9d5c813b0136230f6ac659df9ed46e7.tar.zst Shaarli-2e6b9ed3b9d5c813b0136230f6ac659df9ed46e7.zip |
Merge pull request #1084 from virtualtam/doc/updates
Documentation: cleanup, update references to config(.json)?.php
Diffstat (limited to 'doc/md/Upgrade-and-migration.md')
-rw-r--r-- | doc/md/Upgrade-and-migration.md | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/md/Upgrade-and-migration.md b/doc/md/Upgrade-and-migration.md index 1dc07339..f666be75 100644 --- a/doc/md/Upgrade-and-migration.md +++ b/doc/md/Upgrade-and-migration.md | |||
@@ -2,14 +2,14 @@ | |||
2 | 2 | ||
3 | ### Note your current version | 3 | ### Note your current version |
4 | 4 | ||
5 | If anything goes wrong, it's important for us to know which version you're upgrading from. | 5 | If anything goes wrong, it's important for us to know which version you're upgrading from. |
6 | The current version is present in the `version.php` file. | 6 | The current version is present in the `version.php` file. |
7 | 7 | ||
8 | ### Backup your data | 8 | ### Backup your data |
9 | 9 | ||
10 | Shaarli stores all user data under the `data` directory: | 10 | Shaarli stores all user data under the `data` directory: |
11 | 11 | ||
12 | - `data/config.php` - main configuration file | 12 | - `data/config.json.php` (or `data/config.php` for older Shaarli versions) - main configuration file |
13 | - `data/datastore.php` - bookmarked links | 13 | - `data/datastore.php` - bookmarked links |
14 | - `data/ipbans.php` - banned IP addresses | 14 | - `data/ipbans.php` - banned IP addresses |
15 | - `data/updates.txt` - contains all automatic update to the configuration and datastore files already run | 15 | - `data/updates.txt` - contains all automatic update to the configuration and datastore files already run |
@@ -39,7 +39,7 @@ We recommend that you use the latest release tarball with the `-full` suffix. It | |||
39 | 39 | ||
40 | Once downloaded, extract the archive locally and update your remote installation (e.g. via FTP) -be sure you keep the content of the `data` directory! | 40 | Once downloaded, extract the archive locally and update your remote installation (e.g. via FTP) -be sure you keep the content of the `data` directory! |
41 | 41 | ||
42 | If you use translations in gettext mode - meaning you manually changed the default mode -, | 42 | If you use translations in gettext mode - meaning you manually changed the default mode -, |
43 | reload your web server. | 43 | reload your web server. |
44 | 44 | ||
45 | After upgrading, access your fresh Shaarli installation from a web browser; the configuration and data store will then be automatically updated, and new settings added to `data/config.json.php` (see [Shaarli configuration](Shaarli configuration) for more details). | 45 | After upgrading, access your fresh Shaarli installation from a web browser; the configuration and data store will then be automatically updated, and new settings added to `data/config.json.php` (see [Shaarli configuration](Shaarli configuration) for more details). |
@@ -192,7 +192,10 @@ Total 3317 (delta 2050), reused 3301 (delta 2034)to | |||
192 | 192 | ||
193 | #### Step 3: configuration | 193 | #### Step 3: configuration |
194 | 194 | ||
195 | After migrating, access your fresh Shaarli installation from a web browser; the configuration will then be automatically updated, and new settings added to `data/config.php` (see [Shaarli configuration](Shaarli-configuration) for more details). | 195 | After migrating, access your fresh Shaarli installation from a web browser; the |
196 | configuration will then be automatically updated, and new settings added to | ||
197 | `data/config.json.php` (see [Shaarli configuration](Shaarli-configuration) for more | ||
198 | details). | ||
196 | 199 | ||
197 | ## Troubleshooting | 200 | ## Troubleshooting |
198 | 201 | ||