Minetest server broken in 20150328 build

Marshall_maz
Member
 
Posts: 240
Joined: Mon Jul 14, 2014 17:13
In-game: Mazal

Minetest server broken in 20150328 build

by Marshall_maz » Sun Mar 29, 2015 08:01

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
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Minetest server broken in 20150328 build

by Krock » Sun Mar 29, 2015 11:29

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
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

Marshall_maz
Member
 
Posts: 240
Joined: Mon Jul 14, 2014 17:13
In-game: Mazal

Re: Minetest server broken in 20150328 build

by Marshall_maz » Sun Mar 29, 2015 11:38

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.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Minetest server broken in 20150328 build

by rubenwardy » Sun Mar 29, 2015 13:04

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
 

Marshall_maz
Member
 
Posts: 240
Joined: Mon Jul 14, 2014 17:13
In-game: Mazal

Re: Minetest server broken in 20150328 build

by Marshall_maz » Sun Mar 29, 2015 15:52

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.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 10 guests

cron