dokuwiki-sandstorm/README.md

63 lines
2.0 KiB
Markdown
Raw Normal View History

2020-06-13 21:49:54 +00:00
# DokuWiki Sandstorm
2020-06-13 22:01:32 +00:00
Run [DokuWiki](https://www.dokuwiki.org/dokuwiki) on [Sandstorm](https://sandstorm.io/).
A lightweight wiki for your personal use.
## Details
* Runs in PHP 7 using PHP-FPM and an Nginx reverse proxy
* Uses Sandstorm authentication
2020-06-20 16:56:19 +00:00
### Sandstorm Upgrades
2020-07-18 03:05:18 +00:00
_(last updated 2020-07-17)_
2020-06-20 16:56:19 +00:00
The version in the app store is far behind the current releases of
DokuWiki. In order to minimize the amount of hassle with getting Sandstorm's
DokuWiki up to date with modern DokuWiki, new releases will be rolled out every
two or so weeks, giving existing Sandstorm users enough time to clean up
potentially conflicting plugins and other modifications, which will cause the
most issues when upgrading.
The release plan follows the recommended versions as shown on
the [Download DokuWiki](https://download.dokuwiki.org/) page,
and will be updated as new releases are available in the [App Store](https://apps.sandstorm.io/).
2020-06-26 13:53:09 +00:00
* Previous: 2017-02-19b
* [Currently in App Store](https://apps.sandstorm.io/app/nx3dqcmz2sjjz939vkg4847vvxrzqsatqfjrt3ea50z3jac5kv7h): 2017-02-19g (old stable)
2020-06-20 16:56:19 +00:00
* Next: 2018-04-22c (stable)
* Next: rc-2020-06-09 (recommended version)
2020-06-13 22:01:32 +00:00
## Troubleshooting
2020-06-20 16:56:19 +00:00
### PHP errors in the page, especially after upgrades
You may have a plugin that needs to be upgraded or disabled.
See if the script referenced in the error is in `plugins`.
2020-06-13 22:01:32 +00:00
2020-06-20 16:56:19 +00:00
* Try to disable or remove the plugin from the admin UI.
* If you can't disable/remove the plugin via the admin:
1. Download a backup of the grain
2. Unzip the backup into a new folder
3. Remove the plugin folder from the unzipped backup tree
4. Rezip up the backup tree, preserving the same base folders
5. Restore the grain from backup
2020-06-13 22:01:32 +00:00
2020-06-13 21:49:54 +00:00
## Building a new version
2020-06-13 22:01:32 +00:00
### Requirements
* git
* VirtualBox
* Vagrant
* [vagrant-spk](https://docs.sandstorm.io/en/latest/vagrant-spk/installation/)
### Setup & Commands
2020-06-13 21:49:54 +00:00
```
2020-06-13 22:01:32 +00:00
git submodule init
git submodule update
2020-06-13 21:49:54 +00:00
bin/upgrade_dokuwiki <target git tag from https://github.com/splitbrain/dokuwiki>
2020-06-20 16:56:19 +00:00
# follow the directions echoed from the script
2020-06-13 21:49:54 +00:00
```