So, I've had a wiki for a while and am moving it to a Raspberry Pi running Debian. I've used Linux for years, but am accustomed to Ubuntu, not Debian, and I don't 100% understand some of the technical sides of things.
I installed DokuWiki following the info here, and set up symlinks to point /data and /plugins to my DokuWiki folder that I'd copied over. When I went to the IP Address in my web browser, I got the default Apache screen. I tried a LOT of different things to fix this, but no two tutorials seemed to say quite the same thing, and nothing helped.
I couldn't figure out how to get Apache to point at the Wiki, but eventually I determined that the file Apache was loading was in /var/www/, so I removed that html file (which I think I read somewhere that I needed to do) and symlinked DokuWiki's doku.php into the folder.
This...sort of worked.
I wasn't asked to log in, and it shows me the start page (and any other page I navigate to), but the formatting is all broken (see screenshot). What would cause this? All the images are broken, there's no template, no way to log in... still, it's accessible for some reason. What's missing?
Thanks for helping
I symlinked the DokuWiki folder to /var/www/dokuwiki and pointed Apache at that instead of ./html and there's been an improvement. No login still, but the wiki is showing with the default template and no plugins.
I figured out that the Plugins folder was the default one and not the one I was intending to carry over from my old wiki, so to be sure I completely replaced the DokuWiki folder with the one I was transferring. This (for some reason) broke Apache. After re-installing Apache, I figured out that nginx was still lingering around so I re-purged nginx and everything seems to be working now!