Jump to content

Ubuntu


Luke

Recommended Posts

fantaxp7

That edit you wanted in the start script was addressed unless it crept back in. 

I updated again today and still issues with mono stopping sonarr.

 

Is there something else I might have an older version of, I think mono is updated.

Link to comment
Share on other sites

hurricanehrndz

The problem is trying to track down the pid of the process, sometimes when starting a process the pid is reported incorrectly so when the script goes to stop the service if it can't stop it using the pid reported by the start stop daemon than it kills anything with mono. I will try and find another way this is a very common issue with process that fork.

  • Like 1
Link to comment
Share on other sites

wolfbuddy

Hi,

 

I've installed as per the instructions, on my server running 14.04.1, and the service is reported as running but I can't access the browser based configurator. I just get web page is not available.

 

Any help is greatly appreciated.

 

Edit; I'm also having to run the service start command with sudo and then getting the 'Removing stale /var/run/mediabrowser/mediabrowser.pid' message.I tried the SQLite3 and libsqlite3-dev update fix but without luck.

Edited by wolfbuddy
Link to comment
Share on other sites

hurricanehrndz

Web page is accessed via ip[emoji14]ort/mediabrowser please ensure /mediabrowser is in the address. The service start command should work, perhaps you have another instance of the service running. I'm currently on reducing the start up script. I will try and test on the package on a new install and run it through various test. I hope to have an update out by Monday. Sorry for any trouble and for making anyone wait. Moving the packaging to launchpad and automated builds has introduce issue I never anticipated.

Link to comment
Share on other sites

 Sorry for any trouble and for making anyone wait. Moving the packaging to launchpad and automated builds has introduce issue I never anticipated.

 

I'm sure we're all just grateful for the work you're doing, you don't owe us anything man  :)

Link to comment
Share on other sites

hurricanehrndz

Updates are up. Service script should be fixed. PS sudo is required to run services its perfectly normal. Otherwise I can't kill the process if all else fails to stop the service. Libwebp issue should be fixed as well.

Edited by hurricanehernandez
Link to comment
Share on other sites

Libwebp is indeed fixed, but unfortunately that doesn't seem to have been what was causing my timeout issues.

2014-12-15 16:43:08.9278 Debug - HttpServer: HTTP Response 200 to 192.168.1.1. Response time: 3.373 ms.
	Url: http://192.168.1.2:8096/mediabrowser/Items/2d3dd206725507539aa45e98892ad44a/ThemeMedia?InheritFromParent=False&UserId=e4fafe12771947c5e7923375b97685f4&format=Json
2014-12-15 16:43:48.8025 Debug - HttpServer: Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: d2f84a3efdff46a7a2c0a7eb0d500c8a
2014-12-15 16:43:48.8597 Debug - HttpServer: HTTP GET http://192.168.1.2:8096/mediabrowser/Items/e614314e1115399ed1601d83803b8a1b/Images/Backdrop/2?maxWidth=1280&Quality=90&tag=dc0f29ace12fdd8c4ece30a87654291d

That's all the server log shows when it happens.

2014-12-15 16:43:05.8570,Info,,Sending Http Get to http://192.168.1.2:8096/mediabrowser/Items/2d3dd206725507539aa45e98892ad44a/ThemeMedia?InheritFromParent=False&UserId=e4fafe12771947c5e7923375b97685f4&format=Json,201,Worker thread for Detail Load
2014-12-15 16:43:45.7373,Error,,Error getting response from http://192.168.1.2:8096/mediabrowser/Localization/ParentalRatings?format=Json ( Exception.  Type=System.Net.WebException Msg=The operation has timed out Src=System Method=GetResponse Line=0 Col=0 [n] StackTrace= [n]    at System.Net.HttpWebRequest.GetResponse() [n]    at MediaBrowser.ApiInteraction.MbHttpClient.Get(String url) ),1,Application
2014-12-15 16:43:45.7373,Error,,Error retrieving ratings from server ( Exception.  Type=System.NullReferenceException Msg=Object reference not set to an instance of an object. Src=MediaBrowser Method=Initialize Line=0 Col=0 [n] StackTrace= [n]    at MediaBrowser.Library.Ratings.Initialize(Boolean blockUnrated) ),1,Application
2014-12-15 16:43:45.7923,Debug,,Fetching image: http://192.168.1.2:8096/mediabrowser/Items/e614314e1115399ed1601d83803b8a1b/Images/Backdrop/1?maxWidth=1280&Quality=90&tag=e6e615bf23f6c6e1c70e32fb7f838c5e,33,Net Image loader-Worker

And that's the client.

 

Would I be better off making a separate post in the general Linux sub-forum?  I don't seem to have any of the big timeouts in the web client, though it is kind of slow loading images in general.

Link to comment
Share on other sites

thefirstofthe300

Getting an error with checking for updates on the newest version, something about authenticating with the update server.  

 

Error log

 

This is the exact same issue mentioned in this thread.

Link to comment
Share on other sites

lklassen

Hi,

 

Not sure if this is the right thread to post this in but....I think it may be Linux/Ubuntu related...?

I am running Media Browser classic on a Windows 7 HTPC and I also have Media Browser server running on the same machine. The actual media is located on my Ubuntu file server, connected via wired GB Ethernet. So the Media Browser front end and the server are both running on the same box - but all the media is being pulled from my file server. This works quite well and have been running like this for a while now. I get the bitstreaming digital audio passed over to my A/V Receiver and all is well...I had installed Shark007 Codec pack on my front end HTPC to enable the digital audio bitstreaming.....

 

However, I am now experimenting with running the Media Browser server on my actual Ubuntu file server (14.04 LTS)....I believe I am at the latest version of Media Browser server on my Ubuntu server as well...

 

Here is what is happening and it's relating to the audio....when running Media Browser classic and Media Browser server, both from my front end Windows 7 HTPC, the audio bitstreams perfectly to my receiver (the actual media files are being pulled from my file server). However, when switching to Media browser server running on my actual Ubuntu file server......the audio does NOT bitstream to my receiver....I only get 'PCM' audio showing up on my receiver.....Even through they are the exact same files (all BluRay rips to MKV container). The only thing that is changing here is switching the media browser server between the HTPC and the Ubuntu file server....

 

What I am doing wrong here? Is there something else I need to installed on my Ubuntu server/Media browser server to enable the digital audio to get passed up to my Win7 box and then to my receiver???

 

Also...I had played around with Media Browser Theatre on the HTPC front end. And I also had a  lot of trouble passing digital audio to my receiver with it as well. And it did not matter which Media Browser server I used, the front end box server or my actual Ubuntu file server...I did install MPC (Media Player Classic) and tried to configure that in Media Browser Theatre and as external player etc...but it made no difference....

 

So again, not sure if this might be related to my Ubuntu back end in terms of the digital audio not working? but it works fine when running the Media browser server from the front end HTPC....still pulling all media files from the Ubuntu server....it makes no sense! Any help or guidance would be appreciated and sorry if I maybe posted this in the wrong thread!

 

Thanks

Link to comment
Share on other sites

lklassen

Yes! Success. I put in the path substitutions and now the audio is bitstreaming correctly to my receiver! This is great, because the whole point of running Media browser server is to run it from my actual file server! (and not from the front end HTPC).

 

However....and again, this may not be the right forum for this, but all my files are playing back perfectly smooth from the server now and with correct digital audio being passed to my receiver.....except for tradional DVD rips structure (Video TS ...etc..)....these DVD rips are playing, and Digital audio is being passed through, but there is horrible stuttering going on....all other formats playback buttery smooth (.MKV, MP4, .M4V)...it's just the standard DVD format rips that are stuttering now, and these used to playback just fine when my media browser server was running off my front end HTPC...

 

I am slowly converting everything over to HD BluRay MKV rips and I could do the same with the DVD rips I guess, but otherwise any ideas?

 

Thanks again! You guys have been very helpful.

Link to comment
Share on other sites

Before I post this, I want to say, Sorry about my linux ignorance and than you all for the awesome work with media browser, It works like a charm on my Win7 computer. Its the Ubuntu 10.04 box that i'm having problems installing the script. here is the log, hopes it helps someone understand what Im doing wrong.

 

me@me:~$ sudo add-apt-repository ppa:apps-z/mediabrowser
[sudo] password for me:
gpg: keyring `/tmp/tmpl9cEbm/secring.gpg' created
gpg: keyring `/tmp/tmpl9cEbm/pubring.gpg' created
gpg: requesting key 637D1286 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpl9cEbm/trustdb.gpg: trustdb created
gpg: key 637D1286: public key "Launchpad PPA for Media Browser" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
me@me:~$ sudo apt-get update
Get:1 http://security.ubuntu.com lucid-security Release.gpg [198B]
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US   
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com lucid Release.gpg                             
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US          
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US    
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US      
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US    
Get:2 http://us.archive.ubuntu.com lucid-updates Release.gpg [198B]            
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US  
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
Hit http://linux.dropbox.com lucid Release.gpg                                 
Ign http://linux.dropbox.com/ubuntu/ lucid/main Translation-en_US              
Get:3 http://security.ubuntu.com lucid-security Release [57.3kB]               
Hit http://archive.canonical.com lucid Release.gpg                             
Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_US       
Hit http://archive.canonical.com lucid Release.gpg                             
Ign http://archive.canonical.com/ lucid/partner Translation-en_US              
Hit http://us.archive.ubuntu.com lucid Release                                 
Hit http://linux.dropbox.com lucid Release                                     
Ign http://ppa.launchpad.net lucid Release.gpg                                 
Ign http://ppa.launchpad.net/apps-z/mediabrowser/ubuntu/ lucid/main Translation-en_US
Get:4 http://us.archive.ubuntu.com lucid-updates Release [184kB]               
Hit http://ppa.launchpad.net lucid Release.gpg                                 
Hit http://archive.canonical.com lucid Release                                 
Hit http://archive.canonical.com lucid Release                             
Ign http://ppa.launchpad.net/bit-team/stable/ubuntu/ lucid/main Translation-en_US
Hit http://ppa.launchpad.net lucid Release.gpg                                 
Ign http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/ lucid/main Translation-en_US
Hit http://ppa.launchpad.net lucid Release.gpg                                 
Ign http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ lucid/main Translation-en_US
Hit http://ppa.launchpad.net lucid Release.gpg                                 
Ign http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/ lucid/main Translation-en_US
Hit http://linux.dropbox.com lucid/main Packages                               
Get:5 http://security.ubuntu.com lucid-security/main Packages [606kB]          
Ign http://ppa.launchpad.net lucid Release                                     
Hit http://archive.canonical.com lucid/partner Packages                        
Hit http://ppa.launchpad.net lucid Release                                     
Hit http://ppa.launchpad.net lucid Release                                     
Hit http://ppa.launchpad.net lucid Release                                   
Hit http://ppa.launchpad.net lucid Release                                   
Hit http://archive.canonical.com lucid/partner Packages                        
Hit http://us.archive.ubuntu.com lucid/main Packages                           
Hit http://us.archive.ubuntu.com lucid/restricted Packages                  
Hit http://us.archive.ubuntu.com lucid/main Sources   
Hit http://us.archive.ubuntu.com lucid/restricted Sources
Hit http://us.archive.ubuntu.com lucid/universe Packages
Hit http://us.archive.ubuntu.com lucid/universe Sources
Hit http://us.archive.ubuntu.com lucid/multiverse Packages
Hit http://us.archive.ubuntu.com lucid/multiverse Sources
Ign http://ppa.launchpad.net lucid/main Packages                         
Get:6 http://us.archive.ubuntu.com lucid-updates/main Packages [797kB]   
Hit http://ppa.launchpad.net lucid/main Packages                               
Hit http://ppa.launchpad.net lucid/main Packages                               
Hit http://ppa.launchpad.net lucid/main Packages                               
Hit http://ppa.launchpad.net lucid/main Packages                               
Ign http://ppa.launchpad.net lucid/main Packages                               
Err http://ppa.launchpad.net lucid/main Packages                               
  404  Not Found
Get:7 http://us.archive.ubuntu.com lucid-updates/restricted Packages [4,630B]  
Get:8 http://us.archive.ubuntu.com lucid-updates/main Sources [338kB]
Get:9 http://us.archive.ubuntu.com lucid-updates/restricted Sources [2,196B]   
Get:10 http://us.archive.ubuntu.com lucid-updates/universe Packages [297kB]    
Get:11 http://security.ubuntu.com lucid-security/restricted Packages [2,867B]  
Get:12 http://security.ubuntu.com lucid-security/main Sources [246kB]          
Get:13 http://us.archive.ubuntu.com lucid-updates/universe Sources [110kB]     
Get:14 http://us.archive.ubuntu.com lucid-updates/multiverse Packages [11.5kB]
Get:15 http://us.archive.ubuntu.com lucid-updates/multiverse Sources [5,817B]  
Get:16 http://security.ubuntu.com lucid-security/restricted Sources [1,267B]   
Get:17 http://security.ubuntu.com lucid-security/universe Packages [151kB]     
Get:18 http://security.ubuntu.com lucid-security/universe Sources [46.7kB]     
Get:19 http://security.ubuntu.com lucid-security/multiverse Packages [5,360B]  
Get:20 http://security.ubuntu.com lucid-security/multiverse Sources [2,347B]   
Fetched 2,871kB in 7s (388kB/s)                                                
W: Failed to fetch http://ppa.launchpad.net/apps-z/mediabrowser/ubuntu/dists/lucid/main/binary-i386/Packages.gz  404  Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
me@me:~$ sudo apt-get install mediabrowser
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package mediabrowser

Link to comment
Share on other sites

thefirstofthe300

It looks like you are running 10.04 or 10.10 (I can't remember which one lucid is).

 

Anyway, you will need to refer to the instructions on the download page, as anything older than 14.04 doesn't have the required mono version in the standard repos for MB Server to work properly.  Just click on linux on the above page and navigate to the Ubuntu tab.

Link to comment
Share on other sites

The above log, come from following the first set of instructions on that page:

 

- sudo add-apt-repository ppa:apps-z/mediabrowser
- sudo apt-get update
- sudo apt-get install mediabrowser
- service mediabrowser start
- visit http://localhost:8096/mediabrowser

 

Im new to Linux so the second set of instructions I have no idea how "add to my sources list" what ever it needs to be added. Sorry

Other:
- download package
- add to your sources list: deb http://badgerports.org precise main
- dpkg -i *.deb
- apt-get -f install
- service mediabrowser start
- visit http://localhost:8096/mediabrowser
 
I have subsonic running on my ubuntu 10.04 and I have not upgrade to Ubuntu 12xx or 14xx cos I HATE the interface of. I really love this muchhhhhh better than subsonic and i wish I can get it to work. Thx for your quick response.
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...