Forum archive
DokuWiki migration broken
Good day,
I'm trying to migrate a DokuWiki 11.3 virtual machine to a 12.0 one.
- 12.0 installs and updates fine, links to the hub and everything.
- I have a full backup of the 11.3 machine stored to local filesystem, transferred to the new VM, and restored there.
- TKLBAM says the restore went fine, and I could see our DokuWiki files fly by in the terminal in the process
- TKLBAM suggests I reboot the machine
Here's where the problem begins: Despite the fact that the machine was completely and properly initialized before, the appliance goes into first boot mode, asking me to set root and admin passwords, wanting to initialize TKLBAM, etc., etc. (if I try the latter, it complains that's already been done).
Even if I do go through the motions again, the previously working -if empty- DokuWiki now says
DokuWiki Setup Error
The datadir ('pages') does not exist, isn't accessible or writable. You should check your config and permission settings. Or maybe you want to run the installer?
This is also reproducible. After the first target machine was trashed by this procedure, I deleted it, loaded a new one, and made sure to reboot after each step to check if the machine was still working properly. (A suggestion from the last post of this previous thread, which details a similar issue.) The same procedure trashed the machine again, but this time I had made snapshots during installation/sys-upgrade, so I could jump back to the working machine before the backup.
Did that, did the restore again, lo and behold: It's broken again.
I would really appreciate advice, a patch or anything to get this fixed, especially since the 11.3 one now has its own issue to deal with, so I can't run it much longer. (Closing that one as "Fix Released" without ensuring the migration path worked properly is just bad style.)
Lastly, the machines in question are VMs in a VMWare vSphere, created from the provided OVF files. The 11.3 one has been running fine for months, the 12.0 one start and initializes fine, it's just the restore that kills it.
So I'm ruling out evil influence by the environment, broken installation media or similar issues.
Thank you for your time
Carl Kiendl
The terms can be a little confusing and I guess in some sense the labelling was not strictly 100% true. Although it could be argued that the fix that was 'commited' (meaning the new version doesn't have the bug but it remains in this version) was 'released' (ie this version doesn't have the bug) with the release of v12 (Debian based appliances).
FYI there are at least 3 links to the forum thread (which includes the workaround) posted in the bug report (one of which points directly to the forum post with the workaround spelt out). Also the thread is the first result when searching 'udev' here in the forums (top right) and the second result when searching 'udev error tkl' on google (the first result when searching 'udev error workaround tkl'). A number of different variations of the workaround are within that thread (at least 3 posts by me that have some version of it, including an effort to consolidate the knowledge and repost once it got burried). That's hardly searching "half the sector"...! If you'd taken 2 minutes to quickly scan the bug report posts or 10 minutes to read the thread you would have all that knowledge...
Yeah sure I could of probably done more, but there are a million other things that I could've done around here too... Besides, I just volunteer! I also have a full-time job, a family, a house that needs renovating and beyond that I try to have a life too!! As it is I spend a heap of my time of time here trying to help others out and trying to make things easier. Perhaps I'm being overly touchy, but I must say that it pisses me when someone blows in (who from what I gather has contributed nothing to TKL) and says how it should be done!! Well perhaps it should be done the way you think, so perhaps you should roll up your sleeves and do it!?! [/end counter-counter-rant]
Ok thanks for the info re DocuWiki. So as you say, that obviously rules out DB issues... So my next guess is file permissions. Like I said I'd try hitting install.php and see what happens.
It looks like the devs have made a mistake when updating the DocuWiki changelog. That shouldn't read 'upstream' it should read 'package management' (as it does on the appliance page). When they use the term upstream, they mean that they installed it from upstream source (as you would expect).
It is no great surprise that the version in Debian package management is the same as Ubuntu 10.04. Ubuntu 10.04 is based on a snapshot of Debian 6 (IIRC while it was 'frozen' in testing, or not long before it was frozen) so most of the packes will be the same, it's just that Debian had an additional 4-5 mths of testing and bug fixing prior to stable release. I can only assume that when deciding what to do, the devs felt that the added features to the upstream version weren't enough to offset the security and stability gained by using the Debian repo version. Sometimes the trade off is worth it, but other times not and that is always going to be a somewhat subjective decision.