Page 1 of 1

Minetest server broken in 20150328 build

PostPosted: Sun Mar 29, 2015 08:01
by Marshall_maz
Morning all ,

The minetest server is broken on Ubuntu. 20150328 dev build.
As usual I updated today. Then started my server with the usual
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetestserver --worldname Worldname &


This returned the error " minetest-server is not installed. Install it with apt-get "
So I installed mintest-server. ( This has never been necessary before )

Then upon server start I get this:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetestserver --worldname Dreambuilder2 &
[1] 2346
mazal@mazal-server:~$ 09:56:51: ERROR[main]: The following mods could not be found: "minetest-3d_armor"
[Teleport Request] Teleport Request v1.1 Loaded.
09:56:52: ERROR[main]: ========== ERROR FROM LUA ===========
09:56:52: ERROR[main]: Failed to load and run script from
09:56:52: ERROR[main]: /home/mazal/.minetest/games/dreambuilder_game/mods/farming/init.lua:
09:56:52: ERROR[main]: ....minetest/games/dreambuilder_game/mods/farming/nodes.lua:1: attempt to call field 'override_item' (a nil value)
09:56:52: ERROR[main]: stack traceback:
09:56:52: ERROR[main]:  ....minetest/games/dreambuilder_game/mods/farming/nodes.lua:1: in main chunk
09:56:52: ERROR[main]:  [C]: in function 'dofile'
09:56:52: ERROR[main]:  .../.minetest/games/dreambuilder_game/mods/farming/init.lua:7: in main chunk
09:56:52: ERROR[main]: ======= END OF ERROR FROM LUA ========
09:56:52: ERROR[main]: Server: Failed to load and run /home/mazal/.minetest/games/dreambuilder_game/mods/farming/init.lua
09:56:52: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/mazal/.minetest/games/dreambuilder_game/mods/farming/init.lua

In thread 7fdfae0cc7c0:
/build/buildd/minetest-0.4.9+repack/src/main.cpp:1860: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7fdfae0cc7c0:
#0  int main(int, char**)
(Leftover data: #1  Dedicated server branch)


And the server crashes.

Ubuntu 14.04 64bit

Re: Minetest server broken in 20150328 build

PostPosted: Sun Mar 29, 2015 11:29
by Krock
That "override_item" error is caused by an old Minetest version.
Update to the version 0.4.11 or 0.4.12 if possible.

Check your current version with
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetestserver --version

Re: Minetest server broken in 20150328 build

PostPosted: Sun Mar 29, 2015 11:38
by Marshall_maz
Krock wrote:That "override_item" error is caused by an old Minetest version.
Update to the version 0.4.11 or 0.4.12 if possible.

Check your current version with
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetestserver --version


Like said above , latest minetest version then minetestserver doesn't even start up at all.
And prompts you to install that minetest-server package which is old.

The problem is in the latest build which doesn't seem to have the minetestserver included.

Re: Minetest server broken in 20150328 build

PostPosted: Sun Mar 29, 2015 13:04
by rubenwardy
You can run a Minetest server using minetest --server in place of minetestserver. The point of minetestserver is to remove the need for Irrlicht and client specific libraries to be installed, and also results in smaller executable size by not including client stuff.

It is very easy to compile Minetest on Linux systems.

$ cmake . -DBUILD_CLIENT=0 -DBUILD_SERVER=1
$ make -j2
$ sudo make install

Re: Minetest server broken in 20150328 build

PostPosted: Sun Mar 29, 2015 15:52
by Marshall_maz
rubenwardy wrote:You can run a Minetest server using minetest --server in place of minetestserver.


That works thanx. So basically it's the same syntax now as the Windows version.