Jump to content

Chris2

Recommended Posts

Just calling in to say that running the server as root won't change the fact it won't scan.

 

Thanks. It's still an open issue right now, only affecting some systems. Hopefully the answer will come to light soon and when it does i bet will wind up being something trivial.

Link to comment
Share on other sites

Beardyname

yep it needs to in order for my other computers to access shares. I will play around with it for a while and see if  i can figure it out.

Link to comment
Share on other sites

Thanks. If you're going to go into small details such as that - well that's a very good sign that the server is working well under mono, but if you are then please make sure to see if it reproduces in windows so that we have an idea if it's a linux-specific issue.

Link to comment
Share on other sites

Ok, thanks. We're g

 

@@Luke yes, i now have images everywhere ^^

 

I made an symbolic link from /usr/local/libgdiplus.so to --> /usr/lib/

 

/usr/local/libgdiplus.so whas where it was trying to locate libgdiplus and /usr/lib/ is where it is located (for me atleast)

 

Also i should say that im running ubuntu 12.04 LTS.

 

Ok, thanks. We're going to have to really get all these steps documented at some point.

Link to comment
Share on other sites

those changes have all been merged in, however we have not testing pulling the source from scratch and using only mono develop. everybody building the mono solution has already built the .net solution using visual studio 2012, which gets them nuget package restore. i think mono developer has a plugin for that, but i'm not sure.

 

in any event, you don't need to build our code, i've got a build for you here:

 

https://www.dropbox.com/s/fki81zomq7mtryx/Release%20Mono.zip

 

what you do need to do is build mono with some changes that abeloin mentioned a couple pages back.

Link to comment
Share on other sites

Beardyname

@@Luke I have tested everything i can think of and the network error still persists.

 

As confirmation that samba works i can do : smbmount //192.168.x.x/name/name and map the servers samba share to a folder inside my server-users home ( i know its a mindfuck), And also i can with the same syntax mount folders to random folders in my home directory from other machines on the network.

 

I have also tried playing around with / instead of \ to no avail.

 

So as i can't think of anything further to try i should start writing that installation guide so more ubuntu-server users could join in :)

Link to comment
Share on other sites

Debug Mode

After playing around with the freshest build, I sometimes get a little popup saying "Object reference not set as an instance of the object" on the dashboard.

Link to comment
Share on other sites

Debug Mode

2013-12-31 16:36:21.0631, Info, Main, Media Browser Server started

2013-12-31 16:36:21.0718, Info, Main, Command line: /home/yoru/release/MediaBrowser.Server.Mono.exe

2013-12-31 16:36:21.0721, Info, Main, Server: mightygaben

2013-12-31 16:36:21.0721, Info, Main, Operating system: Unix 3.10.17.0

2013-12-31 16:36:21.2525, Info, App, Loading MediaBrowser.Api, Version=3.0.5112.24135, Culture=neutral, PublicKeyToken=null

2013-12-31 16:36:21.2525, Info, App, Loading MediaBrowser.WebDashboard, Version=3.0.5112.24134, Culture=neutral, PublicKeyToken=null

2013-12-31 16:36:21.2525, Info, App, Loading MediaBrowser.Model, Version=3.0.5112.24131, Culture=neutral, PublicKeyToken=null

2013-12-31 16:36:21.2525, Info, App, Loading MediaBrowser.Common, Version=3.0.5112.24131, Culture=neutral, PublicKeyToken=null

2013-12-31 16:36:21.2525, Info, App, Loading MediaBrowser.Controller, Version=3.0.5112.24132, Culture=neutral, PublicKeyToken=null

2013-12-31 16:36:21.2525, Info, App, Loading MediaBrowser.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

2013-12-31 16:36:21.2525, Info, App, Loading MediaBrowser.Common.Implementations, Version=3.0.5112.24132, Culture=neutral, PublicKeyToken=null

2013-12-31 16:36:21.2525, Info, App, Loading MediaBrowser.Server.Implementations, Version=3.0.5112.24133, Culture=neutral, PublicKeyToken=null

2013-12-31 16:36:21.2525, Info, App, Loading MediaBrowser.Server.Mono, Version=3.0.5112.24136, Culture=neutral, PublicKeyToken=null

2013-12-31 16:36:21.2602, Info, App, Version 3.0.5112.24136 initializing

2013-12-31 16:36:21.2818, Info, SqliteUserRepository, Opening /home/yoru/release/ProgramData-Server/data/users.db

2013-12-31 16:36:21.3199, Info, SqliteItemRepository, Opening /home/yoru/release/ProgramData-Server/data/chapters.db

2013-12-31 16:36:21.3216, Info, SqliteItemRepository, Opening /home/yoru/release/ProgramData-Server/data/mediainfo.db

2013-12-31 16:36:21.3233, Info, SqliteItemRepository, Opening /home/yoru/release/ProgramData-Server/data/providerinfo.db

2013-12-31 16:36:21.3706, Info, SqliteNotificationsRepository, Opening /home/yoru/release/ProgramData-Server/data/notifications.db

2013-12-31 16:36:21.3754, Info, SqliteUserDataRepository, Opening /home/yoru/release/ProgramData-Server/data/userdata_v2.db

2013-12-31 16:36:21.3790, Info, SqliteItemRepository, Opening /home/yoru/release/ProgramData-Server/data/library.db

2013-12-31 16:36:21.3823, Info, SqliteDisplayPreferencesRepository, Opening /home/yoru/release/ProgramData-Server/data/displaypreferences.db

2013-12-31 16:36:21.6350, Info, HttpServer, Calling ServiceStack AppHost.Init

2013-12-31 16:36:22.1289, Error, ServiceController, System.ArgumentException: Type ServiceStack.Api.Swagger.SwaggerResourcesService is not a Web Service that inherits IService

at ServiceStack.Host.ServiceController.RegisterService (System.Type serviceType) [0x00000] in <filename unknown>:0

2013-12-31 16:36:22.1312, Error, ServiceController, System.ArgumentException: Type ServiceStack.Api.Swagger.SwaggerApiService is not a Web Service that inherits IService

at ServiceStack.Host.ServiceController.RegisterService (System.Type serviceType) [0x00000] in <filename unknown>:0

2013-12-31 16:36:22.1414, Info, ServiceStackHost, Initializing Application took 802,371ms

2013-12-31 16:36:22.1521, Info, App, Loading Http Server

2013-12-31 16:36:22.1549, Info, HttpServer, Adding HttpListener Prefixes

2013-12-31 16:36:22.1550, Info, HttpServer, Starting HttpListner

2013-12-31 16:36:22.1672, Info, App, Starting Alchemy web socket server on port 8945

2013-12-31 16:36:22.1686, Info, App, Alchemy Web Socket Server started

2013-12-31 16:36:23.9527, Info, App, Core startup complete

2013-12-31 16:36:24.7412, Info, App, HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3ServerNotifications.json

2013-12-31 16:36:25.7776, Info, App, Client connected from 127.0.0.1:36585

2013-12-31 16:36:25.7818, Info, App, HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json

2013-12-31 16:36:26.5808, Info, App, HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json

2013-12-31 16:36:26.9428, Info, App, StartupTrigger fired for task: Cache file cleanup

2013-12-31 16:36:26.9441, Info, App, Executing Cache file cleanup

2013-12-31 16:36:27.0782, Info, App, StartupTrigger fired for task: Log file cleanup

2013-12-31 16:36:27.0782, Info, App, Executing Log file cleanup

2013-12-31 16:36:27.1062, Info, App, Sending web socket message ScheduledTaskStarted

2013-12-31 16:36:27.1153, Info, App, Cache file cleanup Completed after 0 minute(s) and 0 seconds

2013-12-31 16:36:27.1213, Info, App, Sending web socket message ScheduledTaskEnded

2013-12-31 16:36:27.5822, Info, App, StartupTrigger fired for task: Scan media library

2013-12-31 16:36:27.5822, Info, App, Executing Scan media library

2013-12-31 16:36:28.0792, Info, App, Log file cleanup Completed after 0 minute(s) and 1 seconds

2013-12-31 16:36:28.0792, Info, App, Sending web socket message ScheduledTaskEnded

2013-12-31 16:36:28.0792, Info, App, Sending web socket message ScheduledTaskStarted

2013-12-31 16:36:28.1895, Info, App, Sending web socket message ScheduledTaskStarted

2013-12-31 16:36:28.1941, Info, App, Validating media library

2013-12-31 16:36:28.2293, Info, App, Validating collection folders within /home/yoru/release/ProgramData-Server/root/default

2013-12-31 16:36:28.2509, Error, ProviderManager, CollectionFolderImageProvider failed refreshing vid /home/yoru/release/ProgramData-Server/root/default/vid

Path is invalid

Parameter name: path

System.ArgumentException

at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0

at System.IO.Directory+<EnumerateKind>c__Iterator11.MoveNext () [0x00000] in <filename unknown>:0

at System.IO.DirectoryInfo+<CreateEnumerateFilesIterator>c__Iterator13.MoveNext () [0x00000] in <filename unknown>:0

at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator33`1[system.IO.FileInfo].MoveNext () [0x00000] in <filename unknown>:0

at System.Collections.Generic.List`1[system.IO.FileInfo].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0

at System.Collections.Generic.List`1[system.IO.FileInfo]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0

at System.Linq.Enumerable.ToList[FileInfo] (IEnumerable`1 source) [0x00000] in <filename unknown>:0

at MediaBrowser.Providers.ImageFromMediaLocationProvider.GetImageFromLocation (System.String path, System.String filenameWithoutExtension) [0x00000] in <filename unknown>:0

at MediaBrowser.Providers.CollectionFolderImageProvider+<GetImage>c__AnonStorey8D.<>m__0 (System.String i) [0x00000] in <filename unknown>:0

at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator25`2[system.String,System.IO.FileSystemInfo].MoveNext () [0x00000] in <filename unknown>:0

at System.Linq.Enumerable.First[FileSystemInfo] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0

at System.Linq.Enumerable.FirstOrDefault[FileSystemInfo] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0

at MediaBrowser.Providers.CollectionFolderImageProvider.GetImage (MediaBrowser.Controller.Entities.BaseItem item, MediaBrowser.Controller.Library.ItemResolveArgs args, System.String filenameWithoutExtension) [0x00000] in <filename unknown>:0

at MediaBrowser.Providers.ImageFromMediaLocationProvider.PopulatePrimaryImage (MediaBrowser.Controller.Entities.BaseItem item, MediaBrowser.Controller.Library.ItemResolveArgs args) [0x00000] in <filename unknown>:0

at MediaBrowser.Providers.ImageFromMediaLocationProvider.PopulateBaseItemImages (MediaBrowser.Controller.Entities.BaseItem item, MediaBrowser.Controller.Library.ItemResolveArgs args) [0x00000] in <filename unknown>:0

at MediaBrowser.Providers.ImageFromMediaLocationProvider.FetchAsync (MediaBrowser.Controller.Entities.BaseItem item, Boolean force, MediaBrowser.Controller.Providers.BaseProviderInfo providerInfo, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0

at MediaBrowser.Server.Implementations.Providers.ProviderManager+<FetchAsync>c__async77.MoveNext () [0x00000] in <filename unknown>:0

 

2013-12-31 16:36:28.6798, Info, App, HttpClientManager POST: http://mb3admin.com/admin/service/registration/validate

2013-12-31 16:36:28.8986, Warn, StringMapTypeDeserializer, Property 'parentid' does not exist on type 'MediaBrowser.WebDashboard.Api.GetDashboardResource'

2013-12-31 16:36:29.4674, Error, DtoUtils, ServiceBase<TRequest>::Service Exception

Object reference not set to an instance of an object

System.NullReferenceException

at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemById (System.Guid) <0x00072>

at MediaBrowser.Server.Implementations.Dto.DtoService.GetItemByDtoId (string,System.Nullable`1<System.Guid>) <0x000cb>

at MediaBrowser.Api.UserLibrary.UserLibraryService.Get (MediaBrowser.Api.UserLibrary.GetItem) <0x00138>

at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,object,object) <0x00074>

at ServiceStack.Host.ServiceRunner`1<MediaBrowser.Api.UserLibrary.GetItem>.Execute (ServiceStack.Web.IRequest,object,MediaBrowser.Api.UserLibrary.GetItem) <0x00205>

 

 

2013-12-31 16:36:29.4708, Error, HttpServer, Error processing request for /mediabrowser/Users/158a8b3c1950534527d03b17f5fd9f2e/Items/fff09d023ac7322c99e99ef9f2ac11e3

Object reference not set to an instance of an object

ServiceStack.HttpError

No Stack Trace Available

 

2013-12-31 16:36:30.5822, Info, App, StartupTrigger fired for task: Check for plugin updates

2013-12-31 16:36:30.5822, Info, App, Executing Check for plugin updates

2013-12-31 16:36:30.5822, Info, App, StartupTrigger fired for task: Check for application updates

2013-12-31 16:36:30.5822, Info, App, Sending web socket message ScheduledTaskStarted

2013-12-31 16:36:30.5822, Info, App, Executing Check for application updates

2013-12-31 16:36:30.5836, Info, App, HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json

2013-12-31 16:36:30.5847, Info, App, Sending web socket message ScheduledTaskStarted

2013-12-31 16:36:30.5858, Info, App, Check for application updates Completed after 0 minute(s) and 0 seconds

2013-12-31 16:36:30.5861, Info, App, Sending web socket message ScheduledTaskEnded

2013-12-31 16:36:31.1422, Info, App, StartupTrigger fired for task: Refresh Guide

2013-12-31 16:36:31.1422, Info, App, Executing Refresh Guide

2013-12-31 16:36:31.1422, Info, App, Sending web socket message ScheduledTaskStarted

2013-12-31 16:36:31.1446, Info, App, Refresh Guide Completed after 0 minute(s) and 0 seconds

2013-12-31 16:36:31.1446, Info, App, Sending web socket message ScheduledTaskEnded

2013-12-31 16:36:32.4129, Info, App, Check for plugin updates Completed after 0 minute(s) and 1 seconds

2013-12-31 16:36:32.4131, Info, App, Sending web socket message ScheduledTaskEnded

2013-12-31 16:36:35.9967, Info, App, DashboardInfoWebSocketListener Begin transmitting over websocket to 127.0.0.1:36585

2013-12-31 16:36:41.0468, Info, App, DashboardInfoWebSocketListener stop transmitting over websocket to 127.0.0.1:36585

2013-12-31 16:37:01.5696, Info, App, DashboardInfoWebSocketListener Begin transmitting over websocket to 127.0.0.1:36585

2013-12-31 16:37:03.4149, Info, App, DashboardInfoWebSocketListener stop transmitting over websocket to 127.0.0.1:36585

2013-12-31 16:37:03.4653, Info, App, ScheduledTasksWebSocketListener Begin transmitting over websocket to 127.0.0.1:36585

2013-12-31 16:37:04.1929, Info, App, ScheduledTasksWebSocketListener stop transmitting over websocket to 127.0.0.1:36585

2013-12-31 16:37:06.6211, Info, App, ScheduledTasksWebSocketListener Begin transmitting over websocket to 127.0.0.1:36585

2013-12-31 16:37:07.2564, Info, App, ScheduledTasksWebSocketListener stop transmitting over websocket to 127.0.0.1:36585

2013-12-31 16:37:09.6895, Info, App, LogFileWebSocketListener Begin transmitting over websocket to 127.0.0.1:36585

2013-12-31 16:37:24.1139, Info, App, HttpClientManager GET: http://bot.whatismyipaddress.com/

Link to comment
Share on other sites

Guest scokar

no luck for Centos6.

 

 

I built mono from github (3.2.7) which includes the fix specified in post #47. on a Centos6 VM and on Ubuntu 13.10 VM.

 

MediaBrowser.Server.Mono.exe starts on ubuntu 13.10

 

it does not start on Centos 6.   I am not sure why the SQL component fails.  any advice on narrowing down why?   I made symbolic links to the libsql files similar to ubuntu but no go

 

on another bad note, OSX 10.9.1 won't even link mono 3.2.7 from github or from the 3.2.5 tarball.  but that will be an effort for another day.

 

Thanks.

 

 

I'm having issues starting in a RHEL6/CentOS 6 environment, I think i'm missing something obvious :

 

"...

SQL logic error or missing database
Failed to initialize logging.

..."

 

I set up the monodevelop  environment from http://software.opensuse.org/download/package?project=home:tpokorra:mono&package=monodevelop-opt

 

rpm -qa | grep -i sql shows:

 

mysql-libs-5.1.71-1.el6.x86_64

sqlite-3.6.20-1.el6.x86_64

sqlite-3.6.20-1.el6.i686

 

Thanks.

appHost.Init
UnhandledException
One or more errors occured
System.AggregateException
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager) [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 
InnerException: System.Data.SQLite.SQLiteException
SQL logic error or missing database
Failed to initialize logging.
  at System.Data.SQLite.SQLiteLog.Initialize () [0x00000] in <filename unknown>:0 
  at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString, Boolean parseViaFramework) [0x00000] in <filename unknown>:0 
  at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteConnection:.ctor (string)
  at MediaBrowser.Server.Implementations.Persistence.SqliteExtensions+<ConnectToDb>c__async67.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Data.IDbConnection].GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Implementations.Persistence.SqliteUserRepository+<Initialize>c__async8E.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.ServerApplication.ApplicationHost+<GetUserRepository>c__async3.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Controller.Persistence.IUserRepository].GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.ServerApplication.ApplicationHost+<RegisterResources>c__async1.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0 

Link to comment
Share on other sites

Downloaded the build linked earlier and tried running it on my Ubuntu 13.10 / 3.8 system. Got the same problem as I think other people have had where the Media Library Scan reports as 'Stopping' and never actually takes place.

 

Log here if it's of any help:

 

http://pastebin.com/dNaRNmRA

 

Also the interface loaded Ok the first few times I moved between pages, but then slowed down dramatically and the CSS appeared to no longer applied to the right 3/4 of the screen. See here for example:

 

http://imgur.com/uEBjXLS

Link to comment
Share on other sites

@@Begall have you built mono with the suggested changes a few pages back ?

 

Yeah, I did, I don't think it would start otherwise anyway? 

 

Edit: Also I restarted the server and I got the 0.5% Media Library Scan but no further. 

Edited by Begall
Link to comment
Share on other sites

Apparently the result is random and not reproducible in a second try.

 

That's the frustrating part. I'll take another stab at it in my vm after new years. we call framework methods to get information about paths. they don't fail or throw an error, they just never return and cause the library scan to get hung up.

Link to comment
Share on other sites

Guest scokar

Some good news:  RHEL 7 beta + mono 3.2.7  --> MediaBrowser starts and opens a web browser window to the set up wizard.

 

that's it for this me for 2013.  happy new year :)

 

no luck for Centos6.

 

 

I built mono from github (3.2.7) which includes the fix specified in post #47. on a Centos6 VM and on Ubuntu 13.10 VM.

 

MediaBrowser.Server.Mono.exe starts on ubuntu 13.10

 

it does not start on Centos 6.   I am not sure why the SQL component fails.  any advice on narrowing down why?   I made symbolic links to the libsql files similar to ubuntu but no go

 

on another bad note, OSX 10.9.1 won't even link mono 3.2.7 from github or from the 3.2.5 tarball.  but that will be an effort for another day.

 

Thanks.

 

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...