Crash loop problem minetest

Post Reply
Hobb3s
New member
Posts: 5
Joined: Mon Nov 03, 2014 01:43

Crash loop problem minetest

by Hobb3s » Post

I've had the world up and running smoothly for a few months until last week when we noticed that we couldn't connect anymore. The server appears to be stuck in a loop because it can't write to the map_meta.txt file.
I'm not sure what to do about it and my son has spent countless hours building in this world so I would like to save restore it.

So far I've tried:
1. setting the map_meta.txt file to 777 perms (no joy)
2. removing the file (no joy)
3. replacing with backed up older version (no joy)
4. rebooting, restarting, rebooting.
5. checking folder permissions.
6.checked system available memory and hd space

It's running on ubuntu 16.10 using the minetest 0.4.14 package and a variety of mods.

2016-12-23 17:24:55: ACTION[Main]: .__ __ __
2016-12-23 17:24:55: ACTION[Main]: _____ |__| ____ _____/ |_ ____ _______/ |_
2016-12-23 17:24:55: ACTION[Main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\
2016-12-23 17:24:55: ACTION[Main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | |
2016-12-23 17:24:55: ACTION[Main]: |__|_| /__|___| /\___ >__| \___ >____ > |__|
2016-12-23 17:24:55: ACTION[Main]: \/ \/ \/ \/ \/
2016-12-23 17:24:55: ACTION[Main]: World at [/var/games/minetest-server/.minetest/worlds/leoanddad]
2016-12-23 17:24:55: ACTION[Main]: Server for gameid="minetest" listening on 172.16.1.10:30000.
2016-12-23 17:24:55: WARNING[Server]: Assignment to undeclared global "i" inside a function at .../share/games/minetest/mods/worldedit/worldedit/queue.lua:9.
2016-12-23 17:25:10: ERROR[Server]: ServerMap::saveMapMeta(): could not write /var/games/minetest-server/.minetest/worlds/leoanddad/map_meta.txt
Thanks for any help.

User avatar
TenPlus1
Member
Posts: 3728
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: Crash loop problem minetest

by TenPlus1 » Post

Try disabling worldedit mods and then running world.

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Crash loop problem minetest

by sfan5 » Post

Make sure the /var/games/minetest-server/.minetest folder is owned by the user you are trying to run Minetest from.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

AllanWindmill
New member
Posts: 7
Joined: Thu Jan 07, 2021 19:29
GitHub: chaojian-zhang
IRC: Allan Windmill
In-game: Kernel Killer

Re: Crash loop problem minetest

by AllanWindmill » Post

I used to have the same problem and as hinted by sfan5 I realized that when I copy files from local PC to server using WinSCP, my file permissions are not set correctly. Changing file permissions helped.

I am lazy and used just `chmod -R 777 .`

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 16 guests