install:upgrade
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:upgrade [2015-12-30 17:21] – [Pitfall on suhosin php extension] 119.246.49.224 | install:upgrade [2024-09-13 11:36] (current) – No more relevant. PHP5 not supported anymore 218.255.67.219 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Upgrading DokuWiki ====== | ====== Upgrading DokuWiki ====== | ||
- | Note: if you installed DokuWiki through your Linux Distribution' | + | Note: if you installed DokuWiki through your Linux Distribution' |
- | DokuWiki is very simple to upgrade. Its file layout is organized in a way that avoids overwriting any user content, which means an upgrade generally is just unpacking a new version on top of an old one. You should first try the simple instructions given here, if you encounter problems or the instructions are not detailed enough for you, read the details in the section below. | + | DokuWiki is very simple to upgrade. Its file layout is organized in a way that avoids overwriting any user content, which means an upgrade generally is just unpacking a new version on top of an old one. You should first try the simple instructions given here, if you encounter problems or the instructions are not detailed enough for you, read the details in the section below. Mac users should use Terminal; copying files via Finder will delete all data. |
+ | |||
+ | * **Step 0:** Make sure your server meets the [[: | ||
* **Step 1:** Make a [[: | * **Step 1:** Make a [[: | ||
+ | * Example:\\ <code bash>tar zcpfv dokuwiki-backup.tar.gz / | ||
* **Step 2:** Read the [[: | * **Step 2:** Read the [[: | ||
- | * **Step 3:** Download the newest release from the [[http:// | + | * **Step 3:** Download the newest release from the [[https:// |
+ | * <code bash>cd ~ | ||
+ | wget http:// | ||
* **Step 4:** [[unpacking|Unpack]] the distribution tarball and upload/copy the files over your previous installation. Make sure to **overwrite all files** when prompted. | * **Step 4:** [[unpacking|Unpack]] the distribution tarball and upload/copy the files over your previous installation. Make sure to **overwrite all files** when prompted. | ||
+ | * <code bash>tar zxvf dokuwiki-xxxx-xx-xx.tgz | ||
+ | ' | ||
+ | * Check copied files ownership and permissions (for details see [[install: | ||
* **Step 5:** Delete all [[unused files]] | * **Step 5:** Delete all [[unused files]] | ||
Line 17: | Line 25: | ||
* **Step 6:** Upgrade your [[: | * **Step 6:** Upgrade your [[: | ||
- | * **Step 7:** Wait for a day for update notifications to go away, or speed the process by following the steps in [[: | + | * **Step 7:** Wait a day for the update notifications to go away. Alternatively, you can speed up the process by following the steps in [[: |
Note: Yes, we explicitly recommend overwriting your old installation. If you adhered to the advice of defining config options in *.local files only (the Configuration Manager does this automatically) your previous config settings will **not** be overwritten. The same is true for all your pages and media files. Using the overwrite approach will save you a lot of trouble with keeping page revisions correctly working as these are depending on file modification time-stamps. | Note: Yes, we explicitly recommend overwriting your old installation. If you adhered to the advice of defining config options in *.local files only (the Configuration Manager does this automatically) your previous config settings will **not** be overwritten. The same is true for all your pages and media files. Using the overwrite approach will save you a lot of trouble with keeping page revisions correctly working as these are depending on file modification time-stamps. | ||
- | |||
- | ===== Pitfall on suhosin php extension ===== | ||
- | Dokuwiki version since 2015-08-10 " | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 38: | Line 43: | ||
* '' | * '' | ||
* '' | * '' | ||
- | |||
===== Alternative Ways ===== | ===== Alternative Ways ===== | ||
Line 48: | Line 52: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | + | * [[http:// |
* [[http:// | * [[http:// | ||
+ | * **New!** Use the [[update_helper: | ||
===== Upgrading an Old Distribution ===== | ===== Upgrading an Old Distribution ===== | ||
- | When upgrading from a distribution which is a few or more years old, it is best to upgrade in stages, one year at a time, using the steps described above. | + | When upgrading from a distribution which is a few or more years old, it is best to upgrade in stages, one year at a time, using the steps described above. |
install/upgrade.1451492504.txt.gz · Last modified: 2015-12-30 17:21 by 119.246.49.224