[TOOL]mtmediasrv[mtmediasrv] - Minetest Remote Media Server

sofar
Developer
 
Posts: 1631
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [TOOL]mtmediasrv[mtmediasrv] - Minetest Remote Media Ser

by sofar » Wed Dec 06, 2017 23:04

viewtopic.php?f=10&t=18951

I've deployed a Public Remote Media Server for use for everyone! It uses mtmediasrv, and is available to all minetest servers for use. Please go to the linked thread and see how you can enable and use this remote media server.
 

sofar
Developer
 
Posts: 1631
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [TOOL]mtmediasrv[mtmediasrv] - Minetest Remote Media Ser

by sofar » Mon Jan 01, 2018 06:41

I've released v2. A small permission problem was found in the socket permissions. I'll stop making 32bit releases too, since those are obsolete.
 

Gundul
Member
 
Posts: 323
Joined: Thu Aug 27, 2015 10:55
Location: Europe/Asia
GitHub: berengma
IRC: Gundul

Re: [TOOL]mtmediasrv[mtmediasrv] - Minetest Remote Media Ser

by Gundul » Sun Jan 28, 2018 13:47

This seems to be a very promising project. Unfortunately I encounter similar problems
like Lejo said on github. You said maybe Lejo's systemd is outdated. I was using ubuntu 16.04.
Is that also outdated there ?

A little bit more of information of which version of systemd is needed or better on which linux distro it should run
would be helpful. Maybe you know a link to some wiki or something about nginx and systemd, also ?

Your public media server might be a nice idea, but not everyone thinks it is good idea that not involved people
know about who is connecting to which server when.

Is it really that complicated to set up nginx together with your mtmediasrv ? That would be a pity because it sounds like it could take some load from the game server.
But it sounds like I need some extra studies in server administration :)
 

sofar
Developer
 
Posts: 1631
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [TOOL]mtmediasrv[mtmediasrv] - Minetest Remote Media Ser

by sofar » Sun Jan 28, 2018 19:32

Setting up nginx and an fcgi daemon like this isn't trivial, and the bug I posted about earlier on Dec 31 indeed made things more difficult. However, with the fix it's hopefully one steap easier.

One of the problems is that even though I have a nice systemd unit file, it may just not work for people who have a different linux distribution, since e.g. the `www` user is named differently on different Linux versions. Some distributions use `http` or `http-data` or even `nobody`. These are just implementation details that I can't solve because I'm not making this project to work with *every* linux distribution, as that would be too much work. So, I provide a template unit and people should read up on how to install daemons and how their OS does nginx... All those topics are covered extensively by documentation already, and if you run a public internet facing server, you should really read them. Google is your friend.

The systemd version shouldn't matter too much, but with older versions you may have to modify the unit further to make it work.

As for privacy concerns with the PRMS, I understand them, and nobody is forced to use it, so .. shrug. It's something nice to help server owners?
 

Gundul
Member
 
Posts: 323
Joined: Thu Aug 27, 2015 10:55
Location: Europe/Asia
GitHub: berengma
IRC: Gundul

Re: [TOOL]mtmediasrv[mtmediasrv] - Minetest Remote Media Ser

by Gundul » Mon Jan 29, 2018 16:38

sofar wrote:One of the problems is that even though I have a nice systemd unit file, it may just not work for people who have a different linux distribution, since e.g. the `www` user is named differently on different Linux versions. Some distributions use `http` or `http-data` or even `nobody`. These are just implementation details that I can't solve because I'm not making this project to work with *every* linux distribution, as that would be too much work.

That I understand very much. So it would be good to know on which distribution you are it running. If that is not too secret :)
For example, I plan to rent another Vps just for the media server to run on, so I am free in my choice which linux distribution I will use there. If I use the same than you do, there should be no confusion with different "www" users, right ?


sofar wrote:As for privacy concerns with the PRMS, I understand them, and nobody is forced to use it, so .. shrug. It's something nice to help server owners?

This is also totaly right. I am a bit paranoid concerning privacy things. :)
The less data which is send to somewhere where it does not belong to,is the better. At least that is my
rule :)
 

sofar
Developer
 
Posts: 1631
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [TOOL]mtmediasrv[mtmediasrv] - Minetest Remote Media Ser

by sofar » Mon Jan 29, 2018 21:23

Gundul wrote:That I understand very much. So it would be good to know on which distribution you are it running. If that is not too secret


I host using clearlinux for several reasons, but even in clearlinux the `www` user does not exist. The unit file is really a template for the most common case (www seems to be the most common username for it) but it won't always exist, even on the distro I use. In clearlinux, it's "httpd" btw.
 

sofar
Developer
 
Posts: 1631
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [TOOL]mtmediasrv[mtmediasrv] - Minetest Remote Media Ser

by sofar » Fri Feb 02, 2018 07:37

Quick note: MT versions 0.4.13 and older are not supported by the mtmediasrv daemon. These clients do not properly undestand the API and will fail to work with any remote media server. Tell your users to upgrade, and make sure that your server rejects these very old game clients.
 

sofar
Developer
 
Posts: 1631
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [TOOL]mtmediasrv[mtmediasrv] - Minetest Remote Media Ser

by sofar » Wed Feb 07, 2018 17:30

Version 3 was just posted. I've simplified installation and left more information with the `make install` rule in the provided makefile, but it's still mostly targeted for expert Linux admins.

Fixed a crash on a wrong http method as well, which will improve response rate to clients. Until now, it would restart, but we don't want to restart all the time.
 

sofar
Developer
 
Posts: 1631
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [TOOL]mtmediasrv[mtmediasrv] - Minetest Remote Media Ser

by sofar » Thu Jun 14, 2018 00:26

v4 release fixes a potential data-saving issue. It turns out that the MT clients can ask multiple times for the same checksum, and we can return a list with duplicates filtered out. This may potentially save a lot of data.
 

Previous

Return to Minetest-related projects



Who is online

Users browsing this forum: No registered users and 1 guest