Jump to content

Media scan stopping at 29.8%


HyDeNow
Go to solution Solved by HyDeNow,

Recommended Posts

HyDeNow

I recently built a headless Ubuntu trusty server. Being new to Linux it has taken a while to get used to sorting out the permissions and mount points but after lots of searching I have got it up and running with my media in a shared folder and tried to setup media browser. I have it installed and have setup the folders and fixed the permissions but when it runs a scan it get stuck at 29.8%. Also when i try to look at the content on through the web browser or on my roku almost all the images are missing. I have looked through the server log and there appears to be a problem with mono which is currently installing 3.13.04. I have tried using the guides from other posting to install 3.10 but I cannot get it to install. I have also tried removing MB3, mono, sqlite3 and libgdiplus and re-installing them to see if there was a problem with the initial install to no avail.

I am at a loss how to solve the problem. Any help would be appreciated. 

server-63562468513.txt

Link to comment
Share on other sites

well you only waited a couple minutes. i would give it more time. you've got roku thumbnails running as part of the library scan and that can often take a long time. so my guess is that it was taking a long time for the video at the bottom of the log, leading you to think it had gotten stuck.

Link to comment
Share on other sites

HyDeNow

Sorry I should have said.This log is only the most recent attempt this afternoon. I have been playing around with this for over a week before posting. I have left the scanner running for several hours on several occasions with no change.  I have previously used the windows version of MB3 without problems so I was aware that it would take quite a while for the initial scan.

Link to comment
Share on other sites

thefirstofthe300

It looks like you actually have Mono 3.12 installed as that is what the server log shows. Mono 3.12 is not the most stable in the server's use case so getting 3.10 installed may help.

 

What steps have you taken to get Mono 3.10 installed and what were the associated errors?

Link to comment
Share on other sites

HyDeNow

I have tried installing mono 3.10 using this link "http://www.mono-project.com/docs/getting-started/install/linux/" but apt-get keeps throwing up an error saying that it cannot find the repository and falls back to installing 3.12. The film that it is having chapter images generated changes. FFmpeg dose seam to be using a lot of processing power but it should not be enough to stall the process.

Link to comment
Share on other sites

thefirstofthe300

So you are using

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/3.10.0 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update

to attempt to install 3.10?

Link to comment
Share on other sites

HyDeNow

Yes that was the commands I used but when i run apt-get update i get

W: Conflicting distribution: http://download.mono-project.com wheezy/snapshots/3.10.0 InRelease (expected wheezy/snapshots but got wheezy) 

 and it will not let me install it.

Link to comment
Share on other sites

thefirstofthe300

Have you totally uninstalled Mono before attempting to downgrade? From some things that I have seen this is caused by the repo pointing to an older version of a particular package.

Link to comment
Share on other sites

HyDeNow

I have managed to get mono 3.10 installed. It you were right I not only had to use the apt-get --purge remove command on the mono package I also had to purge libdgiplus as well. Although it has started throwing a new error getting response from http://api.themoviedb.org/. I will look into that in the morning. The scanning problem may be partially solved even though it is still very slow it has now managed to reach 30.3%. The database is quite large. Thank you for the help.

 

Link to comment
Share on other sites

thefirstofthe300

I noticed those errors in the log. It looks like you have a connectivity issue on your end.

Link to comment
Share on other sites

  • Solution
HyDeNow

Ok I worked out why my system was scanning the media so slowly. I had set Roku thumbnail plugin to create thumbs for any new media detected. This meant that for every single media file it detected the roku plugin was trying to extract thumbnail images from the files and I don't know what the difference is between the method used buy the roku plugin and the standard scan but the standard scan only takes less than a minute per file to generate the chapter images and the roku plugin takes about 10 minutes. So I disabled the auto scanning feature on the roku plugin and the whole media drive was scanned in a few hours instead of the 2 months it would have taken otherwise. Oh and the connectivity was caused by the Realtek drivers. Used the solution at this link http://ubuntuforums.org/showthread.php?t=1661489 and it worked fine. Thanks for the help. 

  • Like 2
Link to comment
Share on other sites

thefirstofthe300

Glad to hear that you got things sorted out!

 

The Roku thumbnail plugin takes so much longer generating images than the regular chapter image generation task because it is generating thumbnails for much smaller increment of time (Luke could tell you for sure but it is probably between 10 and 20 seconds). Consequently, you get tens more images out of one video; hence, it takes longer.

Link to comment
Share on other sites

  • 4 weeks later...
snafucloud

Yes that was the commands I used but when i run apt-get update i get

W: Conflicting distribution: http://download.mono-project.com wheezy/snapshots/3.10.0 InRelease (expected wheezy/snapshots but got wheezy) 

 and it will not let me install it.

 

 

I fixed this by commenting out the following a line in the mono.list in the sources list repo.

nano /etc/apt/sources.list.d/mono.list


# deb http://download.mono-project.com/repo/debian wheezy/snapshots/3.10.0 main <---- comment out this line with a #
deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main

Edited by snafucloud
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...