Mod Problem, Server won't start.
-
- Member
- Posts: 11
- Joined: Thu Feb 11, 2016 21:16
Mod Problem, Server won't start.
Running:
yukaputz@media-1:~$ minetestserver --config /home/yukaputz/.minetest/minetestserver.conf
Automatically selecting world at [/home/yukaputz/.minetest/worlds/world]
16:19:36: ERROR[main]: ========== ERROR FROM LUA ===========
16:19:36: ERROR[main]: Failed to load and run script from
16:19:36: ERROR[main]: /home/yukaputz/.minetest/mods/animals_modpack-2.5.0/factions/init.lua:
16:19:36: ERROR[main]: ...z/.minetest/mods/animals_modpack-2.5.0/factions/init.lua:17: attempt to index global 'core' (a nil value)
16:19:36: ERROR[main]: stack traceback:
16:19:36: ERROR[main]: ...z/.minetest/mods/animals_modpack-2.5.0/factions/init.lua:17: in main chunk
16:19:36: ERROR[main]: ======= END OF ERROR FROM LUA ========
16:19:36: ERROR[main]: Server: Failed to load and run /home/yukaputz/.minetest/mods/animals_modpack-2.5.0/factions/init.lua
16:19:36: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/yukaputz/.minetest/mods/animals_modpack-2.5.0/factions/init.lua
Here is my animals modpack listing
yukaputz@media-1:~/.minetest/mods/animals_modpack-2.5.0$ ls
adv_spawning animal_cow animal_fish_blue_white animal_resources barn mob_archer mobf_settings mob_npc mob_slime trap
animal_big_red animal_creeper animal_gull animal_sheep cooking mob_bear mob_ghost mob_oerkki mob_warthog
animal_chicken animal_deer animalmaterials animal_vombie description.txt mob_environments mob_guard mob_ostrich modpack.txt
animal_clownfish animal_dm animal_rat animal_wolf factions mobf mob_miner mob_shark README
Not sure what to do next to trouble shoot.
yukaputz@media-1:~$ minetestserver --config /home/yukaputz/.minetest/minetestserver.conf
Automatically selecting world at [/home/yukaputz/.minetest/worlds/world]
16:19:36: ERROR[main]: ========== ERROR FROM LUA ===========
16:19:36: ERROR[main]: Failed to load and run script from
16:19:36: ERROR[main]: /home/yukaputz/.minetest/mods/animals_modpack-2.5.0/factions/init.lua:
16:19:36: ERROR[main]: ...z/.minetest/mods/animals_modpack-2.5.0/factions/init.lua:17: attempt to index global 'core' (a nil value)
16:19:36: ERROR[main]: stack traceback:
16:19:36: ERROR[main]: ...z/.minetest/mods/animals_modpack-2.5.0/factions/init.lua:17: in main chunk
16:19:36: ERROR[main]: ======= END OF ERROR FROM LUA ========
16:19:36: ERROR[main]: Server: Failed to load and run /home/yukaputz/.minetest/mods/animals_modpack-2.5.0/factions/init.lua
16:19:36: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/yukaputz/.minetest/mods/animals_modpack-2.5.0/factions/init.lua
Here is my animals modpack listing
yukaputz@media-1:~/.minetest/mods/animals_modpack-2.5.0$ ls
adv_spawning animal_cow animal_fish_blue_white animal_resources barn mob_archer mobf_settings mob_npc mob_slime trap
animal_big_red animal_creeper animal_gull animal_sheep cooking mob_bear mob_ghost mob_oerkki mob_warthog
animal_chicken animal_deer animalmaterials animal_vombie description.txt mob_environments mob_guard mob_ostrich modpack.txt
animal_clownfish animal_dm animal_rat animal_wolf factions mobf mob_miner mob_shark README
Not sure what to do next to trouble shoot.
- rubenwardy
- Moderator
- Posts: 7028
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: London, United Kingdom
- Contact:
Re: Mod Problem, Server won't start.
what is your Minetest version? Where did you get it from?
-
- Member
- Posts: 11
- Joined: Thu Feb 11, 2016 21:16
Re: Mod Problem, Server won't start.
I used sudo apt-get install minetestserver..... Whatever the ubuntu repositories offered up. How do I upgrade to the latest because trying to following the bits and pieces I found on the web really got me screwed up.
-
- Member
- Posts: 11
- Joined: Thu Feb 11, 2016 21:16
Re: Mod Problem, Server won't start.
/build/buildd/minetest-0.4.9+repack/src/main.cpp:1860:
- kaadmy
- Member
- Posts: 706
- Joined: Thu Aug 27, 2015 23:07
- GitHub: kaadmy
- IRC: KaadmY
- In-game: KaadmY kaadmy NeD
Re: Mod Problem, Server won't start.
@mike-yukaputz: Try this: viewtopic.php?f=42&t=3837
The Ubuntu/Debian packages are a really old version afaik, 0.4.13 is the latest.
The Ubuntu/Debian packages are a really old version afaik, 0.4.13 is the latest.
-
- Member
- Posts: 11
- Joined: Thu Feb 11, 2016 21:16
Re: Mod Problem, Server won't start.
@kaadmy,
Will that script work for my scenario? it's a dedicated headless ubuntu server?
Will that script work for my scenario? it's a dedicated headless ubuntu server?
- rubenwardy
- Moderator
- Posts: 7028
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: London, United Kingdom
- Contact:
Re: Mod Problem, Server won't start.
It won't work correctly. Do this instead:
Code: Select all
sudo apt-get install -y git build-essential libirrlicht-dev libgettextpo0 libfreetype6-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-openssl-dev libluajit-5.1-dev liblua5.1-0-dev libleveldb-dev; cd; git clone https://github.com/minetest/minetest.git; cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DBUILD_CLIENT=0 -DBUILD_SERVER=1; make -j$(nproc); sudo make install; mkdir ~/.minetest; mkdir ~/.minetest/games; cd ~/.minetest/games/; git clone https://github.com/minetest/minetest_game.git; echo -e "\n\n\e[1;33mYou can run Minetest again by typing \"minetest\" in a terminal\nYou can install mods in ~/.minetest/mods, too.\e[0m"
-
- Member
- Posts: 11
- Joined: Thu Feb 11, 2016 21:16
Re: Mod Problem, Server won't start.
@Rubenwardy
Same question, will that script work for a headless ubuntu minetest server install?
Same question, will that script work for a headless ubuntu minetest server install?
- rubenwardy
- Moderator
- Posts: 7028
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: London, United Kingdom
- Contact:
Re: Mod Problem, Server won't start.
Yes, it makes a headless ubuntu minetestserver.
-
- Member
- Posts: 11
- Joined: Thu Feb 11, 2016 21:16
Re: Mod Problem, Server won't start.
So I did
sudo apt-get remove minetestc55
Then ran the script above.
Still getting the following?
yukaputz@media-1:~/.minetest$ minetestserver --config /home/yukaputz/.minetest/minetestserver.conf
Automatically selecting world at [/home/yukaputz/.minetest/worlds/world]
19:34:44: ERROR[main]: ========== ERROR FROM LUA ===========
19:34:44: ERROR[main]: Failed to load and run script from
19:34:44: ERROR[main]: /home/yukaputz/.minetest/mods/animals_modpack-2.5.0/factions/init.lua:
19:34:44: ERROR[main]: ...z/.minetest/mods/animals_modpack-2.5.0/factions/init.lua:17: attempt to index global 'core' (a nil value)
19:34:44: ERROR[main]: stack traceback:
19:34:44: ERROR[main]: ...z/.minetest/mods/animals_modpack-2.5.0/factions/init.lua:17: in main chunk
19:34:44: ERROR[main]: ======= END OF ERROR FROM LUA ========
19:34:44: ERROR[main]: Server: Failed to load and run /home/yukaputz/.minetest/mods/animals_modpack-2.5.0/factions/init.lua
19:34:44: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/yukaputz/.minetest/mods/animals_modpack-2.5.0/factions/init.lua
In thread 7f4d7d6a67c0:
/build/buildd/minetest-0.4.9+repack/src/main.cpp:1860: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f4d7d6a67c0:
#0 int main(int, char**)
(Leftover data: #1 Dedicated server branch)
Aborted (core dumped)
Thanks in advance for all your help. I've been pulling my hair out on this for 2 days. 5 kids want to play a minecraft style game and I'm not spending the cash for all five ya know?
sudo apt-get remove minetestc55
Then ran the script above.
Still getting the following?
yukaputz@media-1:~/.minetest$ minetestserver --config /home/yukaputz/.minetest/minetestserver.conf
Automatically selecting world at [/home/yukaputz/.minetest/worlds/world]
19:34:44: ERROR[main]: ========== ERROR FROM LUA ===========
19:34:44: ERROR[main]: Failed to load and run script from
19:34:44: ERROR[main]: /home/yukaputz/.minetest/mods/animals_modpack-2.5.0/factions/init.lua:
19:34:44: ERROR[main]: ...z/.minetest/mods/animals_modpack-2.5.0/factions/init.lua:17: attempt to index global 'core' (a nil value)
19:34:44: ERROR[main]: stack traceback:
19:34:44: ERROR[main]: ...z/.minetest/mods/animals_modpack-2.5.0/factions/init.lua:17: in main chunk
19:34:44: ERROR[main]: ======= END OF ERROR FROM LUA ========
19:34:44: ERROR[main]: Server: Failed to load and run /home/yukaputz/.minetest/mods/animals_modpack-2.5.0/factions/init.lua
19:34:44: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/yukaputz/.minetest/mods/animals_modpack-2.5.0/factions/init.lua
In thread 7f4d7d6a67c0:
/build/buildd/minetest-0.4.9+repack/src/main.cpp:1860: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f4d7d6a67c0:
#0 int main(int, char**)
(Leftover data: #1 Dedicated server branch)
Aborted (core dumped)
Thanks in advance for all your help. I've been pulling my hair out on this for 2 days. 5 kids want to play a minecraft style game and I'm not spending the cash for all five ya know?
- rubenwardy
- Moderator
- Posts: 7028
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: London, United Kingdom
- Contact:
Re: Mod Problem, Server won't start.
That didn't work correctly - you still have 0.4.9. It seems that you didn't remove the old version right. Try sudo apt-get remove minetest then sudo apt-get remove minetestserver and check that you can't run minetestserver
Also, there is a ppa to get the latest stable Minetest if you're using an old version of Ubuntu/debian (such as 14.04)
If you're using 15.x, you should be able to do sudo apt-get install minetestserver to get the latest.
Also, there is a ppa to get the latest stable Minetest if you're using an old version of Ubuntu/debian (such as 14.04)
If you're using 15.x, you should be able to do sudo apt-get install minetestserver to get the latest.
-
- Member
- Posts: 11
- Joined: Thu Feb 11, 2016 21:16
Re: Mod Problem, Server won't start.
ok, I was able to get rid of everything... ran the script. How do I start the server now? my original "minetestserver" command doesn't work and minetest --server isn't working either.
yukaputz@media-1:~$ yukaputz@media-1:~$ minetest --server
yukaputz@media-1:~$: command not found
yukaputz@media-1:~$ The program 'minetest' is currently not installed. You can install it by typing:
No command 'The' found, did you mean:
Command 'the' from package 'the' (universe)
The: command not found
yukaputz@media-1:~$
yukaputz@media-1:~$ yukaputz@media-1:~$ minetest --server
yukaputz@media-1:~$: command not found
yukaputz@media-1:~$ The program 'minetest' is currently not installed. You can install it by typing:
No command 'The' found, did you mean:
Command 'the' from package 'the' (universe)
The: command not found
yukaputz@media-1:~$
- rubenwardy
- Moderator
- Posts: 7028
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: London, United Kingdom
- Contact:
Re: Mod Problem, Server won't start.
Did the script give any errors?
-
- Member
- Posts: 11
- Joined: Thu Feb 11, 2016 21:16
Re: Mod Problem, Server won't start.
Sorry for the late reply, needed to take a break and then valentines day and all. So yes, I did, What do I about
CMake Error: The source directory "/home/yukaputz" does not appear to contain CMakeLists.txt.
CMake Error: The source directory "/home/yukaputz" does not appear to contain CMakeLists.txt.
-
- Member
- Posts: 11
- Joined: Thu Feb 11, 2016 21:16
Re: Mod Problem, Server won't start.
mike-yukaputz wrote:Sorry for the late reply, needed to take a break and then valentines day and all. So yes, I did, What do I about
CMake Error: The source directory "/home/yukaputz" does not appear to contain CMakeLists.txt.
Bump?
Re: Mod Problem, Server won't start.
The scripts lacks a "cd" command and as such, minetest was not even built.
It should be (except error on my side):
It should be (except error on my side):
Code: Select all
sudo apt-get install -y git build-essential libirrlicht-dev libgettextpo0 libfreetype6-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-openssl-dev libluajit-5.1-dev liblua5.1-0-dev libleveldb-dev; cd; git clone https://github.com/minetest/minetest.git; cd minetest; cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DBUILD_CLIENT=0 -DBUILD_SERVER=1; make -j$(nproc); sudo make install; mkdir ~/.minetest; mkdir ~/.minetest/games; cd ~/.minetest/games/; git clone https://github.com/minetest/minetest_game.git; echo -e "\n\n\e[1;33mYou can run Minetest again by typing \"minetest\" in a terminal\nYou can install mods in ~/.minetest/mods, too.\e[0m"
-
- Member
- Posts: 11
- Joined: Thu Feb 11, 2016 21:16
Re: Mod Problem, Server won't start.
hang on...
-
- Member
- Posts: 11
- Joined: Thu Feb 11, 2016 21:16
Re: Mod Problem, Server won't start.
Thankyou OLE. Here is my output.mike-yukaputz wrote:hang on...
yukaputz@media-1:~/.minetest/games$ minetestserver
2016-02-16 13:00:58: ERROR[Main]: Couldn't find a locale directory!
2016-02-16 13:00:58: WARNING[Main]: BanManager: creating /home/yukaputz/.minetest/worlds/world/ipban.txt
2016-02-16 13:00:58: WARNING[Main]: NodeDefManager: Ignoring CONTENT_IGNORE redefinition
2016-02-16 13:00:59: ACTION[Main]: .__ __ __
2016-02-16 13:00:59: ACTION[Main]: _____ |__| ____ _____/ |_ ____ _______/ |_
2016-02-16 13:00:59: ACTION[Main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\
2016-02-16 13:00:59: ACTION[Main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | |
2016-02-16 13:00:59: ACTION[Main]: |__|_| /__|___| /\___ >__| \___ >____ > |__|
2016-02-16 13:00:59: ACTION[Main]: \/ \/ \/ \/ \/
2016-02-16 13:00:59: ACTION[Main]: World at [/home/yukaputz/.minetest/worlds/world]
2016-02-16 13:00:59: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:30000.