Jump to content

Linux Setup


Luke

Recommended Posts

techywarrior

Good timing, the new unraid release uses docker now too making this a much simpler install for unraid.

Very cool!

 

I actually just setup my first unRAID server a few weeks ago and would love an idiots guide to installing MBS on unRAID (if someone can make one in the FAQ/Guides section).

 

Is that unRAID 6 that is using docker? (that version is still in beta right?)

Link to comment
Share on other sites

Very cool!

 

I actually just setup my first unRAID server a few weeks ago and would love an idiots guide to installing MBS on unRAID (if someone can make one in the FAQ/Guides section).

 

Is that unRAID 6 that is using docker? (that version is still in beta right?)

 

Why don't you try his docker instructions? that's exactly what docker is intended to do, is make it dead simple...

 

https://registry.hub.docker.com/u/hurricane/docker-mbserver/

Link to comment
Share on other sites

techywarrior

Why don't you try his docker instructions? that's exactly what docker is intended to do, is make it dead simple...

 

https://registry.hub.docker.com/u/hurricane/docker-mbserver/

Well, it's more complicated then just that.

 

First it appears that docker is only part of unRAID 6 beta 6 (so I can't do it yet). Second, they talked about creating a host OS image and some other things not covered in the guide.

Link to comment
Share on other sites

PhAzE

Yea I'll be looking at docker tomorrow as I only just heard about out today. Since I want mb3 on unraid, I'll likely help out in getting it setup. I'll likely have to convert most of my other plugins to docker too at some point so might as well start with mb3. :)

Link to comment
Share on other sites

The docker container works fine (setup, etc), but it hangs at the library scan too (about ~500go of media) on my end.

 

Cool initiative anyway, docker really seem to fit MB3 deployment on linux.

  • Like 1
Link to comment
Share on other sites

The docker container works fine (setup, etc), but it hangs at the library scan too (about ~500go of media) on my end.

 

Cool initiative anyway, docker really seem to fit MB3 deployment on linux.

 

How much work was it?

Link to comment
Share on other sites

hurricanehrndz

The docker container works fine (setup, etc), but it hangs at the library scan too (about ~500go of media) on my end.

 

Cool initiative anyway, docker really seem to fit MB3 deployment on linux.

Yeah I experience this as well on both the unRAID releases. This is exactly why built the docker container. I have been trying to debug the stall, but have yet to find an answer. Unfortunately I'm getting busier than I had initially anticipated. So any help I can provide will be slow coming.

Link to comment
Share on other sites

The docker container works fine (setup, etc), but it hangs at the library scan too (about ~500go of media) on my end.

 

Cool initiative anyway, docker really seem to fit MB3 deployment on linux.

 

can you post the server log?

Link to comment
Share on other sites

How much work was it?

 

Almost none, you just have to install Docker (you need to have a recent enough kernel), then you just have to enter a couple of commands to install hurricane's container, wait a few minutes (for everything to download, install, etc) and you're up.

I can do a small tutorial if you want.

 

 

can you post the server log?

 

 

Sure, here we go, nothing stand out I guess ...

2014-06-19 17:24:02.1961 Info - Main: Media Browser Server started
2014-06-19 17:24:02.2583 Info - Main: Command line: /MediaBrowser.Mono.docker/MediaBrowser.Server.Mono.exe
2014-06-19 17:24:02.2595 Info - Main: Server: ks3359751
2014-06-19 17:24:02.2617 Info - Main: Operating system: Unix 3.14.8.6
2014-06-19 17:24:03.7626 Info - App: Application Configuration:
2014-06-19 17:24:03.7783 Info - App: Loading MediaBrowser.Api, Version=3.0.5282.12556, Culture=neutral, PublicKeyToken=null
2014-06-19 17:24:03.7783 Info - App: Loading MediaBrowser.WebDashboard, Version=3.0.5282.12554, Culture=neutral, PublicKeyToken=null
2014-06-19 17:24:03.7793 Info - App: Loading MediaBrowser.Model, Version=3.0.5282.12535, Culture=neutral, PublicKeyToken=null
2014-06-19 17:24:03.7793 Info - App: Loading MediaBrowser.Common, Version=3.0.5282.12537, Culture=neutral, PublicKeyToken=null
2014-06-19 17:24:03.7803 Info - App: Loading MediaBrowser.Controller, Version=3.0.5282.12541, Culture=neutral, PublicKeyToken=null
2014-06-19 17:24:03.7803 Info - App: Loading MediaBrowser.Providers, Version=3.0.5282.12546, Culture=neutral, PublicKeyToken=null
2014-06-19 17:24:03.7813 Info - App: Loading MediaBrowser.Common.Implementations, Version=3.0.5282.12539, Culture=neutral, PublicKeyToken=null
2014-06-19 17:24:03.7813 Info - App: Loading MediaBrowser.Server.Implementations, Version=3.0.5282.12550, Culture=neutral, PublicKeyToken=null
2014-06-19 17:24:03.7813 Info - App: Loading MediaBrowser.MediaEncoding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2014-06-19 17:24:03.7825 Info - App: Loading MediaBrowser.Dlna, Version=3.0.5282.12559, Culture=neutral, PublicKeyToken=null
2014-06-19 17:24:03.7825 Info - App: Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null
2014-06-19 17:24:03.7834 Info - App: Loading MediaBrowser.Server.Mono, Version=3.0.5282.12563, Culture=neutral, PublicKeyToken=null
2014-06-19 17:24:03.8383 Info - App: Version 3.0.5282.12563 initializing
2014-06-19 17:24:04.7142 Info - SqliteUserRepository: Opening /MediaBrowser.Mono.docker/ProgramData-Server/data/users.db
2014-06-19 17:24:04.9118 Info - SqliteItemRepository: Opening /MediaBrowser.Mono.docker/ProgramData-Server/data/chapters.db
2014-06-19 17:24:04.9245 Info - SqliteItemRepository: Opening /MediaBrowser.Mono.docker/ProgramData-Server/data/mediainfo.db
2014-06-19 17:24:04.9583 Info - SqliteFileOrganizationRepository: Opening /MediaBrowser.Mono.docker/ProgramData-Server/data/fileorganization.db
2014-06-19 17:24:05.3787 Info - SqliteDisplayPreferencesRepository: Opening /MediaBrowser.Mono.docker/ProgramData-Server/data/displaypreferences.db
2014-06-19 17:24:05.3890 Info - SqliteNotificationsRepository: Opening /MediaBrowser.Mono.docker/ProgramData-Server/data/notifications.db
2014-06-19 17:24:05.3999 Info - SqliteItemRepository: Opening /MediaBrowser.Mono.docker/ProgramData-Server/data/library.db
2014-06-19 17:24:05.4105 Info - SqliteUserDataRepository: Opening /MediaBrowser.Mono.docker/ProgramData-Server/data/userdata_v2.db
2014-06-19 17:24:05.4376 Info - SqliteProviderInfoRepository: Opening /MediaBrowser.Mono.docker/ProgramData-Server/data/refreshinfo.db
2014-06-19 17:24:06.2172 Info - HttpServer: Calling ServiceStack AppHost.Init
2014-06-19 17:24:08.7132 Info - ServiceStackHost: Initializing Application took 3676.844ms
2014-06-19 17:24:08.7627 Info - ServerManager: Loading Http Server
2014-06-19 17:24:08.7780 Info - HttpServer: Adding HttpListener prefix http://+:8096/mediabrowser/
2014-06-19 17:24:08.7806 Info - HttpServer: Starting HttpListner
2014-06-19 17:24:08.8415 Info - App: Starting Alchemy web socket server on port 8945
2014-06-19 17:24:08.8462 Info - App: Alchemy Web Socket Server started
2014-06-19 17:24:11.5491 Info - App: Core startup complete
2014-06-19 17:24:11.7708 Info - Dlna: SSDP service started
2014-06-19 17:24:12.3665 Info - App: HttpClientManager GET: http://mediabrowser3.com/community/index.php?/blog/rss/1-media-browser-developers-blog
2014-06-19 17:24:12.5175 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3ServerNotifications.json
2014-06-19 17:24:14.5429 Info - App: StartupTrigger fired for task: Refresh Guide
2014-06-19 17:24:14.5517 Info - App: Executing Refresh Guide
2014-06-19 17:24:14.5946 Info - App: Refresh Guide Completed after 0 minute(s) and 0 seconds
2014-06-19 17:24:14.7234 Info - App: StartupTrigger fired for task: Scan media library
2014-06-19 17:24:14.7234 Info - App: Executing Scan media library
2014-06-19 17:24:14.7433 Info - App: Validating media library
2014-06-19 17:24:14.8121 Info - App: StartupTrigger fired for task: Cache file cleanup
2014-06-19 17:24:14.8125 Info - App: Executing Cache file cleanup
2014-06-19 17:24:15.3652 Info - App: StartupTrigger fired for task: Log file cleanup
2014-06-19 17:24:15.3656 Info - App: Executing Log file cleanup
2014-06-19 17:24:15.3699 Info - App: Log file cleanup Completed after 0 minute(s) and 0 seconds
2014-06-19 17:24:15.4664 Info - App: StartupTrigger fired for task: Check for plugin updates
2014-06-19 17:24:15.4664 Info - App: Executing Check for plugin updates
2014-06-19 17:24:15.4928 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json
2014-06-19 17:24:15.5050 Info - App: StartupTrigger fired for task: Check for application updates
2014-06-19 17:24:15.5053 Info - App: Executing Check for application updates
2014-06-19 17:24:15.5205 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json
2014-06-19 17:24:15.5297 Info - App: StartupTrigger fired for task: Refresh Channels
2014-06-19 17:24:15.5297 Info - App: Executing Refresh Channels
2014-06-19 17:24:15.5495 Info - App: Refresh Channels Completed after 0 minute(s) and 0 seconds
2014-06-19 17:24:16.1876 Info - App: Cache file cleanup Completed after 0 minute(s) and 1 seconds
2014-06-19 17:24:16.4514 Info - App: Check for plugin updates Completed after 0 minute(s) and 0 seconds
2014-06-19 17:24:16.5708 Info - App: Check for application updates Completed after 0 minute(s) and 1 seconds
2014-06-19 17:24:16.9293 Info - App: HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/ping
2014-06-19 17:24:32.9670 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4694142.jpg
2014-06-19 17:24:32.9670 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4727033.jpg
2014-06-19 17:24:33.2675 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4749761.jpg
2014-06-19 17:24:33.5587 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4749751.jpg
2014-06-19 17:24:33.5701 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4749758.jpg
2014-06-19 17:24:33.6479 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4643749.jpg
2014-06-19 17:24:33.8855 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4749762.jpg
2014-06-19 17:24:33.9133 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4749755.jpg
2014-06-19 17:24:34.0753 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4643748.jpg
2014-06-19 17:24:34.2849 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4568065.jpg
2014-06-19 17:24:34.3276 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4749760.jpg
2014-06-19 17:24:34.4348 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4749757.jpg
2014-06-19 17:24:34.6912 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4705176.jpg
2014-06-19 17:24:34.7011 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4663454.jpg
2014-06-19 17:24:34.8530 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4680805.jpg
2014-06-19 17:24:35.0789 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4715834.jpg
2014-06-19 17:24:35.0912 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4692629.jpg
2014-06-19 17:24:35.2744 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4749763.jpg
2014-06-19 17:24:35.4619 Info - App: HttpClientManager GET: http://www.thetvdb.com/banners/episodes/269586/4699356.jpg
2014-06-19 17:24:35.5139 Info - App: HttpClientManager GET: http://www.thetvdb.com/api/GetSeries.php?seriesname=Suits
2014-06-19 17:24:35.8461 Info - App: HttpClientManager GET: http://www.thetvdb.com/api/B89CE93890E9419B/series/247808/all/en.zip
2014-06-19 17:24:36.5835 Info - App: HttpClientManager GET: http://www.omdbapi.com/?i=tt1632701&tomatoes=true
2014-06-19 17:24:36.8890 Info - App: HttpClientManager GET: http://api.themoviedb.org/3/tv/find/tt1632701?api_key=f6bd687ffa63cd282b6ff2c6877f2669&external_source=imdb_id
2014-06-19 17:25:11.7409 Info - App: HttpClientManager GET: http://bot.whatismyipaddress.com/
2014-06-19 17:26:04.3285 Info - App: Client connected from CLIENT_IP:64712
2014-06-19 17:26:04.3555 Info - App: HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/validate
2014-06-19 17:26:10.9509 Info - App: LogFileWebSocketListener Begin transmitting over websocket to CLIENT_IP:64712
2014-06-19 17:26:26.9140 Info - App: Client connected from CLIENT_IP:64721
2014-06-19 17:26:27.4545 Info - App: SessionInfoWebSocketListener Begin transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:26:27.4937 Info - App: ScheduledTasksWebSocketListener Begin transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:27:25.1129 Info - App: SessionInfoWebSocketListener stop transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:27:25.1136 Info - App: ScheduledTasksWebSocketListener stop transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:27:25.1282 Info - App: ScheduledTasksWebSocketListener Begin transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:27:25.6682 Info - App: ScheduledTasksWebSocketListener stop transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:27:27.2351 Info - App: LogFileWebSocketListener Begin transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:28:14.0219 Info - App: SessionInfoWebSocketListener Begin transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:28:14.0246 Info - App: ScheduledTasksWebSocketListener Begin transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:28:14.0797 Info - App: LogFileWebSocketListener stop transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:28:16.8540 Info - App: SessionInfoWebSocketListener stop transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:28:16.8560 Info - App: ScheduledTasksWebSocketListener stop transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:28:16.8736 Info - App: ScheduledTasksWebSocketListener Begin transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:28:17.2398 Info - App: ScheduledTasksWebSocketListener stop transmitting over websocket to CLIENT_IP:64721
2014-06-19 17:28:18.2159 Info - App: LogFileWebSocketListener Begin transmitting over websocket to CLIENT_IP:64721

Link to comment
Share on other sites

that's the whole log? how do you know it was stuck?

Well, it's just stuck at 61.5% now, and doesn't move for hours (i tried to let it work the whole night, without any success).

If I restart it, it will gain a few percent, but it will get stuck again a few seconds later, really strange.

Gonna try to have a look tonight if I find the time

Link to comment
Share on other sites

elParaguayo

Very excited about giving this a try, but am finding this very hard to install.

 

Trying to test on a laptop running Linux Mint Petra (3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux)

 

Tried option 1, but couldn't build Mono - got an error saying "The compiler 'gmcs' doesn't appear to be usable."

 

Also tried the bundled 64 bit version (Linux x86_64 version with Mono embedded) from the link in the first post but I just get the 404 error about ffmpeg that other people have mentioned in earlier posts.

 

I guess I'm being really dumb but any pointers greatly appreciated.

 

Thanks.

 
Link to comment
Share on other sites

elParaguayo

Thanks Luke.

 

I think I may have to wait until this is more stable.

 

I'm not familiar with Docker, but I'm guessing I've gone wrong somewhere with this too. The build command seemed to run ok, but trying the run command just starts more downloads (surely I don't have to download more stuff after building?).

 

Also, I've no idea what I should be putting in for the "your_config_location" part of the run command.

 

As I said, I think I'll wait until this is more stable because at the moment, the process is far too complicated for me.

Link to comment
Share on other sites

deaerator

I have mbserver dockerized, and its working.

 

Thumbs up, and thanx to the hard working developers to get this working in linux and dockerized. 

 

 

http://lime-technology.com/forum/index.php?topic=33805.0 <---this can give you a basic start on docker files.

 

 

 

I am getting the occasional error

 

http://pastebin.com/NmTChkp2 <-----paste bin log

Edited by deaerator
Link to comment
Share on other sites

I have mbserver dockerized, and its working.

 

Thumbs up, and thanx to the hard working developers to get this working in linux and dockerized. 

 

 

 

 

http://lime-technology.com/forum/index.php?topic=33805.0 

 

 

I am getting the occasional error

 

http://pastebin.com/NmTChkp2

 

Did you make changes, and if so, can you share them? Our goal is to get this into the easiest possible format so that we can put it up on the website.  I think we're almost there but just need a little help.

Link to comment
Share on other sites

deaerator

I didn't make any changes to mbserver

 

I just followed hurricane's instructions on his docker site. 

 

 

I add a nobody user to the directory where mbserver has the config files or programdata. 

  • Like 1
Link to comment
Share on other sites

Excellent, well done. Looks like the docker script is a very good start. Really what we need are x86 and x64 versions of it, and then we need instructions for dummies (e.g. those who have never heard of docker).

 

So to anyone who can lend a hand with that, it would be highly appreciated.

Link to comment
Share on other sites

deaerator

I never heard of docker until I upgraded to unraid 6b6 friday night.  

 

I am extremely new to linux.

 

it was all trial and error, but i get jist of it...just make sure you have a good stable base image and proper permissions.

I was plagued with permissions until i discovered user nobody. 

Link to comment
Share on other sites

wmauer

Looks like the download link on the first page may be pointing to an old version (MediaBrowser.Mono.mkbundlex.X86_64.3.0.5138.32388.tar.gz). When I unpack it, it says it is from January 25th. Also, it's going to copy.com instead of Dropbox like the URL says. Any chance this can get updated, or am I the only one having this problem? I'm getting the ffmpeg 404 error running Ubuntu 12.04 x64 as it can't find ffmpeg.static.64bit.2014-01-18.tar.gz.

Link to comment
Share on other sites

Use the link above it, without mono embedded. for now we don't have the embedded one.

Link to comment
Share on other sites

elParaguayo

Really what we need are x86 and x64 versions of it, and then we need instructions for dummies (e.g. those who have never heard of docker).

 

Luke,

 

While I take no offence whatsoever from this comment, I do want to make a point. I may never have heard of docker, but I would not consider myself to be a linux dummy. I've been using linux on my htpc for about 6 years and have been constantly tweaking it to work as I want it (rather than just running an out of the box system).

 

The point is that, whenever I've needed to do something, there have always been far clearer instructions than are currently available here. This is in no way a criticism as I'm very conscious that this is just a beta. As such, it may be best left to those people who are more fully versed in docker etc.

 

All I would ask is that, once a stable linux server is available, you provide far clearer instructions than are currently available so that we know what commands need to be run to install the program (including how to install docker as there is already a separate programme called docker which can create additional confusion) plus what sort of output we should expect to see (as the docker "run" command seemed to provide very similar output to "build").

 

I am still greatly looking forward to being able to try this, I'm just sorry I won't be able to help you at the beta stage.

Link to comment
Share on other sites

Luke,

 

While I take no offence whatsoever from this comment, I do want to make a point. I may never have heard of docker, but I would not consider myself to be a linux dummy. I've been using linux on my htpc for about 6 years and have been constantly tweaking it to work as I want it (rather than just running an out of the box system).

 

The point is that, whenever I've needed to do something, there have always been far clearer instructions than are currently available here. This is in no way a criticism as I'm very conscious that this is just a beta. As such, it may be best left to those people who are more fully versed in docker etc.

 

All I would ask is that, once a stable linux server is available, you provide far clearer instructions than are currently available so that we know what commands need to be run to install the program (including how to install docker as there is already a separate programme called docker which can create additional confusion) plus what sort of output we should expect to see (as the docker "run" command seemed to provide very similar output to "build").

 

I am still greatly looking forward to being able to try this, I'm just sorry I won't be able to help you at the beta stage.

 

This thread is very up front about requiring work to get it installed. The term dummies is in reference to all the "product X for dummies" books out there, that make it easy to learn. it wasn't meant literally

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...