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 13:11] – [Download the new version] peterdokuwiki:upgrade_dokuwiki [2025/04/29 13:19] (current) – [Re-enable security settings for Dokuwiki] peter
Line 49: Line 49:
   * And then get the actual version needed:  <code bash>   * And then get the actual version needed:  <code bash>
 wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-2024-02-06b.tgz wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-2024-02-06b.tgz
-</code+</code>
  
  
Line 76: 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.1745932276.txt.gz · Last modified: 2025/04/29 13:11 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki