Migrating Dokuwiki to NS8?

Yes, see also faq:servermove [DokuWiki]

On NS8 the files are in the Dokuwiki container in /bitnami/dokuwiki.

I recommend to copy the dokuwiki data from the dokuwiki user environment so you don’t need to care about permissions:

Enter the dokuwiki environment (in this example “dokuwiki1” is used, please replace it with the instance name of your dokuwiki installation):

runagent -m dokuwiki1

To upload the untarred dokuwiki folder to the container:

podman cp dokuwiki dokuwiki:/bitnami/

Another way is to copy files and folders under dokuwiki as root to /home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/ and set right owner/permissions afterwards.

Alternatively you could move the pages (not media) by using the Advanced plugin that provides an import/export utility.

EDIT:

I didn’t test the migration, maybe there’s an issue regarding the configuration files but saving the DokuWiki app settings in the cluster-admin should hopefully reconfigure everything and make it work again.

4 Likes