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 [2025/04/29 12:42] – [Download the new version] peter | dokuwiki:upgrade_dokuwiki [2025/04/29 13:19] (current) – [Re-enable security settings for Dokuwiki] peter | ||
---|---|---|---|
Line 42: | Line 42: | ||
wget https:// | 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 67: | 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.1745930530.txt.gz · Last modified: 2025/04/29 12:42 by peter