User Tools

Site Tools


dokuwiki:upgrade_dokuwiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dokuwiki:upgrade_dokuwiki [2025/04/29 12:40] peterdokuwiki:upgrade_dokuwiki [2025/04/29 13:19] (current) – [Re-enable security settings for Dokuwiki] peter
Line 34: Line 34:
 wget http://.../dokuwiki-xxxx-xx-xx.tgz wget http://.../dokuwiki-xxxx-xx-xx.tgz
 </code> </code>
 +
 +<WRAP info>
 +**NOTE:** The latest stable version can usually be downloaded.
 +
 +<code bash>
 +cd ~
 +wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
 +</code>
 +
 +Sometimes the stable version may be corrupt and does not extract okay.  
 +
 +  * In this case try to download a specified version.
 +  * Visit https://download.dokuwiki.org/archive
 +  * And then get the actual version needed:  <code bash>
 +wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-2024-02-06b.tgz
 +</code>
 +
 +
 +</WRAP>
 +
  
 ---- ----
Line 56: Line 76:
 **NOTE:**  The quotes on **cp** assure that it will run as is, even if an alias is set. **NOTE:**  The quotes on **cp** assure that it will run as is, even if an alias is set.
 </WRAP> </WRAP>
 +
 +----
 +
 +===== Set permissions for the updated files =====
 +
 +<code bash>
 +cd /var/www
 +chown -R www-data:www-data dokuwiki
 +</code>
 +
 +----
 +
 +===== Re-enable security settings for Dokuwiki =====
 +
 +Change directory to the Dokuwiki config directory.
 +
 +<code bash>
 +cd /var/www/dokuwiki/conf
 +</code>
 +
 +Edit the Dokuwiki config file, and set the **useacl** option to a 1.
 +
 +<file bash /var/www/dokuwiki/conf/dokuwiki.php>
 +...
 +
 +/* Authentication Settings */
 +$conf['useacl'     = 1;                //Use Access Control Lists to restrict access?
 +
 +...
 +</file>
 +
 +----
 +
 +===== Restart NginX =====
 +
 +<code bash>
 +systemctl restart nginx.service
 +</code>
  
  
dokuwiki/upgrade_dokuwiki.1745930426.txt.gz · Last modified: 2025/04/29 12:40 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki