This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:dokuwiki [2018/11/25 01:32] – external edit 127.0.0.1 | computing:dokuwiki [2022/07/15 04:47] – oemb1905 | ||
---|---|---|---|
Line 6: | Line 6: | ||
------------------------------------------- | ------------------------------------------- | ||
- | + | To upgrade | |
- | # | + | |
- | tar zcpfv dokuwiki-backup.tar.gz / | + | |
- | + | ||
- | #Download dokuwiki, untar it, copy it to primary dokuwiki directory | + | |
- | wget https:// | + | |
- | tar zxvf dokuwiki-c5525093cf2c4f47e2e5d2439fe13964.tgz | + | |
- | ' | + | |
| | ||
- | #Fix permissions on dokuwiki | + | zip -r doku-bu-date.zip / |
- | | + | |
+ | tar zxvf dokuwiki-example-39fe13964.tgz | ||
+ | ' | ||
| | ||
+ | Once that's complete, the permissions will be wrong on the files you copied over since root performed that task. In order to make the instance functional again, you need to re-update the permissions: | ||
+ | |||
+ | sudo chmod g+rwx / | ||
+ | sudo chmod -R 755 / | ||
+ | sudo chown -R www-data: | ||
+ | sudo chown www-data: | ||
+ | sudo chmod -R 775 / | ||
+ | sudo chmod -R 755 / | ||
+ | sudo chmod -R 755 / | ||
+ | cd / | ||
+ | sudo chmod 2775 {attic, | ||
+ | sudo chown www-data: | ||
+ | |||
+ | Dokuwiki details their permission recommendations here: [[https:// | ||
- | --- // | + | yourwiki> |
+ | yourwiki> | ||
+ | everything below the data directory: | ||
+ | yourwiki/data> chmod 2775 {attic, | ||
+ | yourwiki/data> chown www-data: | ||
+ | --- // |