dokuwiki
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dokuwiki [2025/11/16 01:22] – [Update dokuwiki] jhagstrand | dokuwiki [2025/11/24 02:42] (current) – [Google Doc to dokuwiki] jhagstrand | ||
|---|---|---|---|
| Line 170: | Line 170: | ||
| %s/ | %s/ | ||
| + | %s/ | ||
| + | 2, | ||
| - | =====Update | + | =====Upgrade |
| - | The content resides in the curriculum project, which is in git. | + | Locations: |
| + | * The user content resides in the curriculum project, which is in git. | ||
| + | * The wiki software resides in the samwiki project, which is NOT in git. | ||
| - | The wiki software resides in the samwiki project, which is NOT in git. | + | Therefore, samwiki can be upgraded or reinstalled anytime without affecting the user content. |
| - | samwiki can be updated or reinstalled anytime without affecting the user content. | + | Here is the procedure to upgrade |
| - | + | largely copied from https:// | |
| - | Just to be safe, before updating samwiki, git commit all changes in the curriculum project. | + | |
| - | + | ||
| - | Here is the procedure to update | + | |
| + | # First, just to be safe, git commit all changes in the curriculum project. | ||
| + | | ||
| + | # move to the samwiki folder | ||
| cd < | cd < | ||
| | | ||
| - | # backup the current installation (optional) | + | # backup the current installation (just to be safe) |
| tar zcpfv dokuwiki-backup.tar.gz dokuwiki | tar zcpfv dokuwiki-backup.tar.gz dokuwiki | ||
| | | ||
| Line 193: | Line 197: | ||
| | | ||
| # cp the new release on top of the current installation | # cp the new release on top of the current installation | ||
| - | # this will overwrite | + | # this overwrites |
| cp dokuwiki-2025-05-14b/ | cp dokuwiki-2025-05-14b/ | ||
| - | # https:// | ||
| ===Notes=== | ===Notes=== | ||
| - | in samwiki | + | In the samwiki |
| - | * dokuwiki | + | * the dokuwiki |
| * the other files in samwiki are working files and can be deleted | * the other files in samwiki are working files and can be deleted | ||
| + | Some notes about the cp command. | ||
| + | * After the cp command you may see messages like: "cp: omitting directory ‘dokuwiki-2025-05-14b/ | ||
| + | * Many of the source directories are empty. Like data/pages for instance. | ||
| + | * The source data/ | ||
| + | When to upgrade?\\ | ||
| + | When dokuwiki has issued a new release, you will see a message like this at the top of every page in the wiki. | ||
| + | Hotfix release available: 2025-05-14b " | ||
| - | ===Update | + | A complete list of the dokuwiki releases can be found here: |
| - | * 2025 11 15 install | + | https:// |
| + | |||
| + | Notice that a new release comes out every year, and lately each release has two hotfix releases: a, and b. | ||
| + | |||
| + | ===Upgrade | ||
| + | * 2025 11 15 upgraded to the 2025-05-14b | ||
| =====Reinstall dokuwiki===== | =====Reinstall dokuwiki===== | ||
| Line 283: | Line 298: | ||
| # @ALL none | # @ALL none | ||
| # @user none | # @user none | ||
| - | | + | |
| + | =====todo===== | ||
| + | |||
| + | fold these to files into this page | ||
| + | * markdown_to_dokuwiki_macro.txt | ||
| + | * sample_dokuwiki_syntax.txt | ||
| + | |||
| + | [[sample dokuwiki page]] | ||
dokuwiki.1763274161.txt.gz · Last modified: 2025/11/16 01:22 by jhagstrand