CentOS 7 - Mono not in path?

I had a question/issue on updating Sonarr on CentOS 7 running mono 4.0.4

Had this error during an update:
Nov 03 22:04:21 mono[1613]: System.ComponentModel.Win32Exception: ApplicationName=‘mono’, CommandLine=’–debug /tmp/nzbdrone_update/NzbDrone.Update.exe 1613 /tmp/nzbdrone_update /apps/NzbDrone/NzbDrone.exe /nobrowser’, CurrentDirectory=’’, Native error= Cannot find the specified file

Running this manualy updated Sonarr:

/opt/mono/bin/mono --debug /tmp/nzbdrone_update/NzbDrone.Update.exe 1613 /tmp/nzbdrone_update /apps/NzbDrone/NzbDrone.exe /nobrowser

My question is this. Do I need to create a symbolic-link like this: ln -s /opt/mono/bin/mono /bin/mono so that mono is in the “PATH”?

I did the above command and the system can find mono now. I assume that’s all that’s necessary/needed?

LJ

That should do it, best to check that the user running Sonarr can find it to make sure.

any easy way to do that? The user I created doesn’t have a shell :smile:

LJ

Might as well just test to see if Sonarr can update then :smile:

har! touché markus :stuck_out_tongue_winking_eye:

Thanks again, as per usual! :slight_smile:

LJ

1 Like

Happy to report that adding this DID allow sonarr to update auto.

Thanks Markus for insight!

LJ

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.