install:upgrade
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
install:upgrade [2024-05-10 12:43] – removed 2405:201:200f:326e:309f:9b05:b70f:f57f | install:upgrade [2024-05-11 16:46] (current) – old revision restored (2024-02-22 21:33) andi | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Upgrading DokuWiki ====== | ||
+ | |||
+ | 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. 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 [[: | ||
+ | * Example:\\ <code bash>tar zcpfv dokuwiki-backup.tar.gz / | ||
+ | |||
+ | * **Step 2:** Read the [[: | ||
+ | |||
+ | * **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. | ||
+ | * <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 6:** Upgrade your [[: | ||
+ | |||
+ | * **Step 7:** Wait a day for the update notifications to go away. Alternatively, | ||
+ | |||
+ | |||
+ | 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 ===== | ||
+ | |||
+ | The following pages should give you hints on common post-upgrade problems: | ||
+ | |||
+ | * [[: | ||
+ | * [[config: | ||
+ | * [[faq: | ||
+ | * [[faq: | ||
+ | |||
+ | If you get errors about missing/ | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ===== Alternative Ways ===== | ||
+ | |||
+ | Here are a few different upgrade descriptions, | ||
+ | |||
+ | * Use [[plugin: | ||
+ | * [[.: | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ===== 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. | ||
install/upgrade.txt · Last modified: 2024-05-11 16:46 by andi