[Raspberry PI] Server

DoyleChris
Member
 
Posts: 227
Joined: Sat Jul 25, 2015 19:54
In-game: DoyleChris

[Raspberry PI] Server

by DoyleChris » Fri Jan 04, 2019 02:14

My son wanted to start playing Minetest, so i created a server on my laptop. But I was not able to run it all the time. But I did have a Raspberry PI 3B and i knew you could run Minetest on it. So I set out to get a server running, but it was a little harder then I thought.

Then I hopped onto the Minetest IRC channel, and NathanS was nice enough to help me. And he was able to compile a Stable 4.17.1 version and a 5.0 Dev version.

So requirements that you need (what I am running):
Raspberry PI 3B
Raspbian (command line if possible)
libhiredis-dev package (sudo apt-get install libhiredis-dev)
Able to share the game folder to install worlds and mods

Download corresponding build you want. Extract it. And run /EXTRACTEDFOLDER/bin/./minetestserver (i had to run sudo ./minetestserver)

Stable http://www.nathansalapat.com/downloads/0.4.17.1.tar.gz
Dev http://www.nathansalapat.com/downloads/5.0.tar.gz

Thank you to NathanS for the help and building the program.
 

User avatar
Nathan.S
Member
 
Posts: 875
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Raspberry PI] Server

by Nathan.S » Sat Jan 05, 2019 16:33

It shouldn't be necessary to run minetestserver with sudo. I never needed to in any of my testing, and I was able to connect to the server from other computers on the home network.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
BBmine
Member
 
Posts: 3475
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins

Re: [Raspberry PI] Server

by BBmine » Mon Jan 07, 2019 03:14

Nathan.S wrote:It shouldn't be necessary to run minetestserver with sudo. I never needed to in any of my testing, and I was able to connect to the server from other computers on the home network.

I believe he had to use sudo because it was throwing an error about not have permission. Run the following command to fix it:
Code: Select all
sudo chmod a+w /var/log/minetest
 

User avatar
Miniontoby
New member
 
Posts: 8
Joined: Fri Mar 01, 2019 19:25
In-game: Miniontoby

Re: [Raspberry PI] Server

by Miniontoby » Mon Apr 08, 2019 13:25

hello,

I have a Raspberry Pi 3B and I try to start a server with this bash script
Code: Select all
cd /home/pi/.minetest/bin
./minetestserver --gameid minetest --worldname bestforall --console
(It stay in /home/pi/Desktop/minetestserver.sh) but I got an Error:

Code: Select all
2019-03-30 11:34:08: WARNING[Main]: NodeDefManager: Ignoring CONTENT_IGNORE redefinition
2019-03-30 11:34:08: ERROR[Main]: ModError: Failed to load and run script from /home/pi/.minetest/games/minetest_game/mods/default/init.lua:
2019-03-30 11:34:08: ERROR[Main]: ....minetest/games/minetest_game/mods/default/functions.lua:134: attempt to index field 'settings' (a nil value)
2019-03-30 11:34:08: ERROR[Main]: stack traceback:
2019-03-30 11:34:08: ERROR[Main]:    ....minetest/games/minetest_game/mods/default/functions.lua:134: in main chunk
2019-03-30 11:34:08: ERROR[Main]:    [C]: in function 'dofile'
2019-03-30 11:34:08: ERROR[Main]:    ...e/pi/.minetest/games/minetest_game/mods/default/init.lua:40: in main chunk


Does anyone have a solution
I am Dutch. So it may be that my English is not that good, so it might not be entirely correct
 

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

Re: [Raspberry PI] Server

by sfan5 » Wed Apr 10, 2019 15:59

It looks like you are trying to run a newer minetest_game version (5.0) on an older Minetest (0.4.17.1). These two are obviously incompatible, so you end up with an error somewhere.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 


Return to Builds



Who is online

Users browsing this forum: No registered users and 1 guest