I’m using FreeBSD 10.0-RELEASE. Mono 3.4, MediaInfo 0.7.52 and SQLite 3.4.8.2 are installed. Issuing “mono --debug NzbDrone.exe” just gives me “Press any key to exit…”
Any ideas?
I’m using FreeBSD 10.0-RELEASE. Mono 3.4, MediaInfo 0.7.52 and SQLite 3.4.8.2 are installed. Issuing “mono --debug NzbDrone.exe” just gives me “Press any key to exit…”
Any ideas?
Unless the sqlite version is a typo its too old to be used with drone 3.7+ is required, preferably 3.8 as some versions of 3.7 don’t work.
Sorry, it’s 3.8.4.2.
Looks like something else is wrong.
Anything being written to the drone logs? They should be in /home/user/.config/Nzbdrone
Nope, nothing at all. Very strange, I would have thought there would be at least something there
Looking back through the forums I can see people successfully running on FreeBSD 9. I don’t think anything changed between 9 and 10 that would completely break NzbDrone.
Drone isn’t even being started by mono by the looks of it, but I haven’t seen that behavior before, so I’m not sure where to look to resolve it.
I’ll see if I can put together a small test app to see if that works though,
Thanks Markus.
Really looking forward to making the switch from SB.
Can you download and try running MonoTest.exe please, it doesn’t test much, just that it can run .net 4: https://www.dropbox.com/s/7vnpln1zahk7yhb/MonoTest.exe
Seems to be working okay.
[user@freebsd /tank]$ mono --debug MonoTest.exe
Success! Application started.
Press any key to exit.
Could you run drone with mono --trace Nzbdrone.exe
and post the results (redirect to a file because is going to be a lot) either paste in or a link to dropbox/mega works.
What platform are you running this on? ARM, x86 or x64?
x64
Hi i have the same prob as doublemint.
This is the output of mono–trace Nzbdrone.exe
[root@zfsguru /media/nzbdrone/NzbDrone]# mono --trace Nzbdrone.exe
[0x801806400: 0.00000 0] ENTER: (wrapper runtime-invoke) <Module>:runtime_invoke
_void__this___object (object,intptr,intptr,intptr)([System.OutOfMemoryException:
0x801c009a0], 0x7fffffffe8b0, 0x0, 0x119e0, )
[0x801806400: 0.00123 1] ENTER: System.OutOfMemoryException:.ctor (string)(this:
0x801c009a0[System.OutOfMemoryException Nzbdrone.exe], [STRING:0x801c00968:Out o
f memory], )
[0x801806400: 0.00143 2] ENTER: System.SystemException:.ctor (string)(this:0x801
c009a0[System.OutOfMemoryException Nzbdrone.exe], [STRING:0x801c00968:Out of mem
ory], )
[0x801806400: 0.00148 3] ENTER: System.Exception:.ctor (string)(this:0x801c009a0
[System.OutOfMemoryException Nzbdrone.exe], [STRING:0x801c00968:Out of memory],
)
[0x801806400: 0.00150 3] LEAVE: System.Exception:.ctor (string)
[0x801806400: 0.00151 2] LEAVE: System.SystemException:.ctor (string)
[0x801806400: 0.00151 1] LEAVE: System.OutOfMemoryException:.ctor (string)
[0x801806400: 0.00152 0] LEAVE: (wrapper runtime-invoke) <Module>:runtime_invoke
_void__this___object (object,intptr,intptr,intptr)[OBJECT:0x0]
[0x801806400: 0.00161 0] ENTER: (wrapper runtime-invoke) <Module>:runtime_invoke
_void__this___object (object,intptr,intptr,intptr)([System.NullReferenceExceptio
n:0x801c00ad0], 0x7fffffffe8b0, 0x0, 0x11d20, )
[0x801806400: 0.00162 1] ENTER: System.NullReferenceException:.ctor (string)(thi
s:0x801c00ad0[System.NullReferenceException Nzbdrone.exe], [STRING:0x801c00a38:A
null value was found where an object instance was required], )
[0x801806400: 0.00163 2] ENTER: System.SystemException:.ctor (string)(this:0x801
c00ad0[System.NullReferenceException Nzbdrone.exe], [STRING:0x801c00a38:A null v
alue was found where an object instance was required], )
[0x801806400: 0.00164 3] ENTER: System.Exception:.ctor (string)(this:0x801c00ad0
[System.NullReferenceException Nzbdrone.exe], [STRING:0x801c00a38:A null value w
as found where an object instance was required], )
[0x801806400: 0.00165 3] LEAVE: System.Exception:.ctor (string)
[0x801806400: 0.00188 2] LEAVE: System.SystemException:.ctor (string)
[0x801806400: 0.00193 1] LEAVE: System.NullReferenceException:.ctor (string)
[0x801806400: 0.00194 0] LEAVE: (wrapper runtime-invoke) <Module>:runtime_invoke
_void__this___object (object,intptr,intptr,intptr)[OBJECT:0x0]
[0x801806400: 0.00205 0] ENTER: (wrapper runtime-invoke) <Module>:runtime_invoke
_void__this___object (object,intptr,intptr,intptr)([System.StackOverflowExceptio
n:0x801c00bc0], 0x7fffffffe8b0, 0x0, 0x11da0, )
[0x801806400: 0.00207 1] ENTER: System.StackOverflowException:.ctor (string)(thi
s:0x801c00bc0[System.StackOverflowException Nzbdrone.exe], [STRING:0x801c00b40:T
he requested operation caused a stack overflow.], )
[0x801806400: 0.00208 2] ENTER: System.SystemException:.ctor (string)(this:0x801
c00bc0[System.StackOverflowException Nzbdrone.exe], [STRING:0x801c00b40:The requ
ested operation caused a stack overflow.], )
[0x801806400: 0.00209 3] ENTER: System.Exception:.ctor (string)(this:0x801c00bc0
[System.StackOverflowException Nzbdrone.exe], [STRING:0x801c00b40:The requested
operation caused a stack overflow.], )
[0x801806400: 0.00210 3] LEAVE: System.Exception:.ctor (string)
[0x801806400: 0.00211 2] LEAVE: System.SystemException:.ctor (string)
[0x801806400: 0.00211 1] LEAVE: System.StackOverflowException:.ctor (string)
[0x801806400: 0.00212 0] LEAVE: (wrapper runtime-invoke) <Module>:runtime_invoke
_void__this___object (object,intptr,intptr,intptr)[OBJECT:0x0]
Cannot open assembly 'Nzbdrone.exe': No such file or directory.
[0x801807400: 0.00350 0] ENTER: (wrapper runtime-invoke) object:runtime_invoke_v
irtual_void__this__ (object,intptr,intptr,intptr)([System.Threading.Thread:0x800
a78010], 0x0, 0x7fffffbfdc90, 0x0, )
[0x801807400: 0.00357 1] ENTER: System.Threading.Thread:Finalize ()(this:0x800a7
8010[System.Threading.Thread Nzbdrone.exe], )
[0x801807400: 0.00363 2] ENTER: System.Runtime.ConstrainedExecution.CriticalFina
lizerObject:Finalize ()(this:0x800a78010[System.Threading.Thread Nzbdrone.exe],
)
[0x801807400: 0.00364 2] LEAVE: System.Runtime.ConstrainedExecution.CriticalFina
lizerObject:Finalize ()
[0x801807400: 0.00364 1] LEAVE: System.Threading.Thread:Finalize ()
[0x801807400: 0.00365 0] LEAVE: (wrapper runtime-invoke) object:runtime_invoke_v
irtual_void__this__ (object,intptr,intptr,intptr)[OBJECT:0x0]
[0x801807400: 0.00366 0] ENTER: (wrapper runtime-invoke) object:runtime_invoke_v
irtual_void__this__ (object,intptr,intptr,intptr)([System.Threading.InternalThre
ad:0x800a7c010], 0x0, 0x7fffffbfdc90, 0x0, )
[0x801807400: 0.00372 1] ENTER: System.Threading.InternalThread:Finalize ()(this
:0x800a7c010[System.Threading.InternalThread Nzbdrone.exe], )
[0x801807400: 0.00379 2] ENTER: (wrapper managed-to-native) System.Threading.Int
ernalThread:Thread_free_internal (System.Threading.InternalThread,intptr)([Syste
m.Threading.InternalThread:0x800a7c010], 0xd0c03, )
[0x801807400: 0.00380 2] LEAVE: (wrapper managed-to-native) System.Threading.Int
ernalThread:Thread_free_internal (System.Threading.InternalThread,intptr)
[0x801807400: 0.00381 2] ENTER: System.Runtime.ConstrainedExecution.CriticalFina
lizerObject:Finalize ()(this:0x800a7c010[System.Threading.InternalThread Nzbdron
e.exe], )
[0x801807400: 0.00382 2] LEAVE: System.Runtime.ConstrainedExecution.CriticalFina
lizerObject:Finalize ()
[0x801807400: 0.00382 1] LEAVE: System.Threading.InternalThread:Finalize ()
[0x801807400: 0.00383 0] LEAVE: (wrapper runtime-invoke) object:runtime_invoke_v
irtual_void__this__ (object,intptr,intptr,intptr)[OBJECT:0x0]
[0x801807400: 0.00406 0] ENTER: (wrapper runtime-invoke) object:runtime_invoke_v
irtual_void__this__ (object,intptr,intptr,intptr)([System.Runtime.Remoting.Conte
xts.Context:0x800a780c0], 0x0, 0x7fffffbfdc90, 0x0, )
[0x801807400: 0.00414 1] ENTER: System.Runtime.Remoting.Contexts.Context:Finaliz
e ()(this:0x800a780c0[System.Runtime.Remoting.Contexts.Context Nzbdrone.exe], )
[0x801807400: 0.00415 1] LEAVE: System.Runtime.Remoting.Contexts.Context:Finaliz
e ()
[0x801807400: 0.00415 0] LEAVE: (wrapper runtime-invoke) object:runtime_invoke_v
irtual_void__this__ (object,intptr,intptr,intptr)[OBJECT:0x0]
[0x801807400: 0.00416 0] ENTER: (wrapper runtime-invoke) object:runtime_invoke_v
irtual_void__this__ (object,intptr,intptr,intptr)([System.Threading.Thread:0x800
a78068], 0x0, 0x7fffffbfdc90, 0x0, )
[0x801807400: 0.00417 1] ENTER: System.Threading.Thread:Finalize ()(this:0x800a7
8068[System.Threading.Thread Nzbdrone.exe], )
[0x801807400: 0.00417 2] ENTER: System.Runtime.ConstrainedExecution.CriticalFina
lizerObject:Finalize ()(this:0x800a78068[System.Threading.Thread Nzbdrone.exe],
)
[0x801807400: 0.00418 2] LEAVE: System.Runtime.ConstrainedExecution.CriticalFina
lizerObject:Finalize ()
[0x801807400: 0.00418 1] LEAVE: System.Threading.Thread:Finalize ()
[0x801807400: 0.00419 0] LEAVE: (wrapper runtime-invoke) object:runtime_invoke_v
irtual_void__this__ (object,intptr,intptr,intptr)[OBJECT:0x0]
Also on x64
@Doublemint Sorry for the delay, read this on my phone and forgot to follow up later when I could view the logs. It looks like there is an issue with how we start logging, resulting in a StackOverflow Exception, this might be something specific to mono or FreeBSD or something else, I’ll have to investigate further, but don’t know when I will be able to setup a VM and take a look.
@ikkeenjij36 Cannot open assembly ‘Nzbdrone.exe’: No such file or directory.
Well after leaving it to rest for 2 weeks suddenly it runs?
Didn’t change anything just gave the start command in cli.
Any progress on this? Have the same problem as Doublemint, on FreeBSD 10.0-STABLE #0 r266791 amd64,
sqlite3-3.8.4.3, mono-3.4.0_1, mediainfo-0.7.52_3.
Can attach my tracelogs, if it helps.
It seems to be a problem with our logging, no solution yet, but we have trace logs that we’re looking at.
You have to mount procfs.
mount -t procfs procfs /proc
That solved this issue for me. NLog must request some sort of manual process management and that causes the error.
% uname -a
FreeBSD swordfish 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
% mono NzbDrone.exe
Press any key to exit…
% mount -t procfs procfs /proc
% mono NzbDrone.exe
[Info] Bootstrap: Starting NzbDrone - /usr/home/bkoepke/NzbDrone/NzbDrone.exe - Version 2.0.0.1690
[Info] MigrationLogger: *** Migrating data source=/home/bkoepke/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal ***
[Info] MigrationLogger: *** Migrating data source=/home/bkoepke/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal ***
[Info] Router: Application mode: Interactive
[Info] OwinHostController: Listening on the following URLs:
[Info] OwinHostController: http://*:8989/
[Info] NancyBootstrapper: Starting NzbDrone API