Well, looks like you've mixed it all up...
It doesn't take sudo to run ./configure unless the directories are owned by other user..
I didn't do a single sudo.
The problem about unknown databse is that if you run these commands
mysql -u root -p hercuser_rag < main.sql mysql -u root -p hercuser_log < logs.sqlYou import to hercuser_rag and hercuser_log
But in your server config you try to access database ragnarok ...
You need to configure your server properly.
BTW, Wiki is outdated I think
Thanks, I thought it was something to do with how I configured the database itself. I found sql-connection.conf and changed things around. I think the permission issues came from screwing around with the default pi user before creating the new user. I'll probably rebuild it all once I have a better grasp of how everything is working together.
Got it running properly now! I'll rebuild it tomorrow, test, and document it all.