dokuwiki:upgrade_dokuwiki
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dokuwiki:upgrade_dokuwiki [2022/06/30 18:12] – 45.89.242.195 | dokuwiki:upgrade_dokuwiki [2025/04/29 13:19] (current) – [Re-enable security settings for Dokuwiki] peter | ||
---|---|---|---|
Line 9: | Line 9: | ||
<WRAP info> | <WRAP info> | ||
**NOTE: | **NOTE: | ||
+ | |||
+ | Alternatively, | ||
+ | cd /var/www | ||
+ | cp -R dokuwiki dokuwiki-20250429 | ||
+ | </ | ||
+ | |||
</ | </ | ||
Line 28: | Line 34: | ||
wget http:// | wget http:// | ||
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** The latest stable version can usually be downloaded. | ||
+ | |||
+ | <code bash> | ||
+ | cd ~ | ||
+ | wget https:// | ||
+ | </ | ||
+ | |||
+ | Sometimes the stable version may be corrupt and does not extract okay. | ||
+ | |||
+ | * In this case try to download a specified version. | ||
+ | * Visit https:// | ||
+ | * And then get the actual version needed: | ||
+ | wget https:// | ||
+ | </ | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
---- | ---- | ||
Line 50: | Line 76: | ||
**NOTE: | **NOTE: | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Set permissions for the updated files ===== | ||
+ | |||
+ | <code bash> | ||
+ | cd /var/www | ||
+ | chown -R www-data: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Re-enable security settings for Dokuwiki ===== | ||
+ | |||
+ | Change directory to the Dokuwiki config directory. | ||
+ | |||
+ | <code bash> | ||
+ | cd / | ||
+ | </ | ||
+ | |||
+ | Edit the Dokuwiki config file, and set the **useacl** option to a 1. | ||
+ | |||
+ | <file bash / | ||
+ | ... | ||
+ | |||
+ | /* Authentication Settings */ | ||
+ | $conf[' | ||
+ | |||
+ | ... | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Restart NginX ===== | ||
+ | |||
+ | <code bash> | ||
+ | systemctl restart nginx.service | ||
+ | </ | ||
dokuwiki/upgrade_dokuwiki.1656612750.txt.gz · Last modified: 2022/06/30 18:12 by 45.89.242.195