Hosting a server on Synology NAS server

Post Reply
User avatar
durtective6
Member
Posts: 186
Joined: Sun Aug 12, 2012 14:19
In-game: derplez or BlockFrog
Location: a shed in the desert

Hosting a server on Synology NAS server

by durtective6 » Post

Hopefully this belongs here,
My friend recently got a Synology NAS server (1511+ model, running DSM Linux (apparently, couldn't find the distro exactly), Intel atom D525). We've managed to ssh into it using Putty and set up remote file access. However, we'd like to host a small Minetest server on it as it seems to be a suitable format as it's always going to be on etc. We've tried a few solutions but none have worked. If it helps, it has a package manager (Synology package manager). Other knowledge is sort of limited at this point as he's only had it for a day. Would somebody be able to help us?
Thanks.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Hosting a server on Synology NAS server

by texmex » Post

Hi! By adding the Docker addon package to your system you should be able to able to run a Minetest Docker image such as Linuxserver's.

User avatar
durtective6
Member
Posts: 186
Joined: Sun Aug 12, 2012 14:19
In-game: derplez or BlockFrog
Location: a shed in the desert

Re: Hosting a server on Synology NAS server

by durtective6 » Post

Thanks for the help texmex, we've just tried to run through this-but the instructions are unclear. We've made the required paths (e.g. /config/.minetest/main-config) but the rest of it seems confusing. The world files (map_meta.txt and world.mt) are stored in /config/.minetest as said in the instructions. Would you be able to help? Thanks.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Hosting a server on Synology NAS server

by texmex » Post

State your problem more clearly, then perhaps I can be of assistance. ”Confusing” is too vague.

User avatar
durtective6
Member
Posts: 186
Joined: Sun Aug 12, 2012 14:19
In-game: derplez or BlockFrog
Location: a shed in the desert

Re: Hosting a server on Synology NAS server

by durtective6 » Post

Sorry about that, we tried to use the "latest" build when installing linuxserver/minetest from the docker registry, we then created the paths /config/.minetest/main-config, placed the map files in /config/.minetest/worlds/world, added the games subfolder to /config/.minetest/ and ran the commands under the "usage" section of the documentation. We port fowarded port 30000 and tried to connect to it using a 0.4.17 client. We're currently trying a 0.4.16 client to see if there is any change. In general we're sort of lost on how to set it up. Thanks.

Edit: on 0.4.16/17 it tries to connect and then times out after a few seconds.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Hosting a server on Synology NAS server

by texmex » Post

Are you sure that the Docker container boots?

The /config directory is for use inside the docker and should not necessarily be mirrored outside of it in your data storage path. So it sounds weird that you've created a top directory called /config. Owned by what user? Instead I'd recommend using the home directory of the user owning the data, such as /home/durtective6 or some general data storage path of Synology convention.

Regardless it's important that the user with write permissions to this space is the same as specified in PUID and PGID (See "User / Group Identifiers" in the Docker image readme).

Also, :latest refers to the master branch of MT development and it's probably not what you want. Instead use the latest _stable_ release, linuxserver/minetest:0.4.17.1 and connect to it only with 0.4.17.1 clients. (mismatching client and server can't talk)

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests