Code: Select all
10:58:12: ACTION[main]: Server for gameid="minetest" listening on port 30000.
10:58:33: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Couldn't save env meta
In thread b6c87b70:
/build/buildd/minetestc55-201204161538/src/server.cpp:151: virtual void* ServerThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b6c87b70:
#0 virtual void* ServerThread::Thread()
(Leftover data: #1 void Server::AsyncRunStep())
(Leftover data: #2 virtual void ServerMap::save(ModifiedState))
(Leftover data: #3 void ServerMap::saveMapMeta())
DEBUG STACK FOR THREAD b7787950:
#0 int main(int, char**)
#1 Dedicated server branch
#2 void dedicated_server_loop(Server&, bool&)
(Leftover data: #3 void Server::step(float))
Aborted
Just for some background,
I'm running Ubuntu Server 11.10 and have installed minetest using the launchpad.net ppa.
I tried setting .minetest directory recursively to 777, no dice
I tried running it with sudo, same thing
I even tried running it from screen, inside screen, still no luck.
The world data is running from inside /home/(myusername)/.minetest/worlds/world
Could there be some sort of an issue with it running in my user folder?
I found that if I have the world under the root account and run everything as root, it'll stay connected.
I copied my world folder over from /home/(myusername)/.minetest/worlds/world
to /root/.minetest/worlds/world (You'll have to sudo this one).
next, I ran "sudo su" to get logged in as root.
I ran screen from here
inside screen I ran minetestserver
Finally I disconnected from screen and exited out of "su" and the ssh session.
My server instance stayed running.
After thinking more on the issue for a few hours, I went ahead and moved my .minetest/worlds/world folder elsewhere on the server and used the "--world=" option. everything worked fine.
I'm thinking this is/was an issue with the home folder encryption that I enabled when I installed the OS. I'm up and running, but I thought I'd share all this in case it's worth noting for others trying to run a server.