Jump to content

Mono version of Emby Server


tafelpoowt

Recommended Posts

tafelpoowt

Maybe try to upgrade your firmware to 2.12.127 first... I checked the EX4 ramdisk for that firmware and it has glibc v2.15, which should be enough.

Link to post
Share on other sites
Haven't got my Mirror yet. Should have it in any day. Has a single disk My cloud before. Switches to mirror for 2 reasons. 1. The Raid 1 function. 2. The App Possibility.
And Emby seems interesting.
Link to post
Share on other sites
iNSPiREDS

You only need to enable a hidden tab in the web interface.

Browse to the WD web interface.

Open the console (ctrl-shift-I) (or use Inspect element)

Type in: APP_INSTALL_FUNCTION=1; APPS_EULA=1; check_app_eula();

Now go the Apps Tab and you'll be able to manually install 3rd party apps.

 

You don't need to install the WDcrack but it adds many more apps.

 
 

Yes, the Mirror Gen2 has the same package signature as the EX2Ultra.

Did anybody succeed in running it yet?

 

hJM1Sgs.png

 

MgYEvoW.png

 

Just tried it now and it seems to be working like a charm! :D

You're a genius, dude, thank you so much!

 

Still building the media library but I just gave it a go on my phone and it seems to be working as intended.

How will it work when it comes to server updates? Are those still installed automatically when updated by the developers?

Link to post
Share on other sites
RobertCollier

Maybe try to upgrade your firmware to 2.12.127 first... I checked the EX4 ramdisk for that firmware and it has glibc v2.15, which should be enough.

 

did the update to the firmware and still GlibC can't be found :/ I've tried looking for it in a few places but haven't found it. is there a way I can manually install this ?

Link to post
Share on other sites
tafelpoowt

@@iNSPiREDS thanks for the confirmation!

 

@@RobertCollier that's unfortunate...

First I'd like to get the output of ldd

curl -L -o ldd https://git.io/fjvKw
chmod +x ldd
mv ldd /usr/local/bin
LD_LIBRARY_PATH=/usr/local/mono/lib:/lib ldd -v /usr/local/mono/bin/mono

Also the output of

/lib/libc.so.6

It could be that your older kernel handles LD_LIBRARY_PATH a bit differently.

My best guess is to edit /shares/Volume_1/Nas_Prog/emby/scripts/start-stop-status and add /lib to line 16

EXTRA_LIBS="${INSTALL_DIR}/lib:/lib"

Disable / enable emby to see the result.. or just start it manually

cd /shares/Volume_1/Nas_Prog/emby
./start.sh $(pwd)

My next step would be to install entware (see wdcommunity.com), then

opkg install strace strings ldd

and strace the hell out of it...

I could have a look over SSH if you don't mind. Send a PM in that case.

Edited by tafelpoowt
Link to post
Share on other sites
tafelpoowt

How will it work when it comes to server updates? Are those still installed automatically when updated by the developers?

 

I didn't test the automatic updates within Emby yet.

I see that the library is not restored yet on package upgrade/reinstall so that's something I'll fix one of these days.

 

Feel free to submit pull requests for new Emby versions by making the changes here and here.

Link to post
Share on other sites
RobertCollier

So, I've been trying to work through the suggestions made by tafel but unfortunately  to no success.

 

I installed ldd and moved it to the /bin directory and when I run ldd I get the error 

/bin/ldd: line 8: syntax error: unexpected newline

which is weird... 

 

after that I tried to change line 16 in /shares/Volume_1/Nas_Prog/emby/scripts/start-stop-status and add /lib but after trying to start emby the emby.log outputted the GlibC error I was getting before

 

attached is the emby.log file

 

hopefully tafel can work his magic and find a solution to this.

Would be interesting to see if anyone else with an Ex4 is having similar issues ?

Link to post
Share on other sites
tafelpoowt

The EX4 apparently has (e)GLIBC-2.8 while the EX2 has (e)GLIBC-2.15.

Unfortunately this means the EX4 cannot run mono as is.

 

I'll have to drop support for this platform as it's too old, sorry.

Link to post
Share on other sites
  • 2 weeks later...
tafelpoowt

I've bumped the version, made a few minor fixes and uploaded the packages to bintray.

I'm no longer hosting the packages myself.

Link to post
Share on other sites
iNSPiREDS

I've bumped the version, made a few minor fixes and uploaded the packages to bintray.

I'm no longer hosting the packages myself.

 

Tried installing the new version. First it failed, then it worked (installed successfully).

However, that Emby server is now "broken" as I can't connect to it any more.

Attempted to reinstall the previous version, also not working.

 

Are there supposed to be new mono and ffmpegs too?

 

/edit

Attempted to uninstall Emby, Mono, and FFmpeg to reinstall them all.

 

Can't install Emby due to lack of Mono and FFmpeg, but can't install those now as I keep getting an error saying it failed to install the app.

I'm using the files you were hosting before that I still have on my hard drive:

mono_MyCloud_5.8.0.108-11

ffmpeg_MyCloud_4.1-11

emby_MyCloud_4.0.2.0-7 (and emby_MyCloud_4.0.3.0-8)

Edited by iNSPiREDS
Link to post
Share on other sites

Tried installing the new version. First it failed, then it worked (installed successfully).

However, that Emby server is now "broken" as I can't connect to it any more.

Attempted to reinstall the previous version, also not working.

 

Are there supposed to be new mono and ffmpegs too?

 

Please see how to report a problem. thanks !

Link to post
Share on other sites

Emby only shows content from 1 of my 2 libraries. One is movie the other is photo. Is it that I miss any of the settings, or is it this version of emby that can't handle two libraries.

My nas is mirror 2gen.

Edited by U-japp
Link to post
Share on other sites

As per the op, I'm raising the issue here as it derives from an unofficially supported NAS.

Understood, but you're more likely to get help if you provide more detail than "doesn't work".

  • Like 1
Link to post
Share on other sites
tafelpoowt

Tried installing the new version. First it failed, then it worked (installed successfully).

However, that Emby server is now "broken" as I can't connect to it any more.

Attempted to reinstall the previous version, also not working.

Sorry to hear that. I'll have a look later this week to check for regressions.

Did you try removing emby, ffmpeg and mono from /shares/Volume_1/Nas_Prog + reboot NAS

 

Emby only shows content from 1 of my 2 libraries. One is movie the other is photo. Is it that I miss any of the settings, or is it this version of emby that can't handle two libraries.

My nas is mirror 2gen.

Emby currently logs to /root/emby.log ... that's a problem as there's only 20MB free.

I'll spend some time later this week to fix this.

 

Anyway, this log file should be added to your problem report.

Link to post
Share on other sites
iNSPiREDS

Understood, but you're more likely to get help if you provide more detail than "doesn't work".

Touché.

 

Sorry to hear that. I'll have a look later this week to check for regressions.

Did you try removing emby, ffmpeg and mono from /shares/Volume_1/Nas_Prog + reboot NAS

 

Emby currently logs to /root/emby.log ... that's a problem as there's only 20MB free.

I'll spend some time later this week to fix this.

 

Anyway, this log file should be added to your problem report.

I have uninstalled all the apps from the NAS since I was unable to access Emby.

Silly question I'm sure, but how do I ensure all the files have been deleted as you suggested above?

I can only see my own files/folders when I access the NAS via my Windows PC. I can't see any trace of any of the apps, but then again, I couldn't before either.

 

/edit

After a bit of browsing, I'm assuming you were referring to SSH. I've now accessed it using WinSCP and deleted the directory you pointed out + restarted the NAS.

Attempted to re-install them and I get the same error when installing ffmpeg or mono (same error: "Error: Failed to install app")

Edited by iNSPiREDS
Link to post
Share on other sites

 

 

Emby currently logs to /root/emby.log ... that's a problem as there's only 20MB free.

I'll spend some time later this week to fix this.

 

Anyway, this log file should be added to your problem report.

 

How's this going?

Try the plex now. If it becomes a solution to this then emby is preferable to me

Link to post
Share on other sites
  • 3 months later...
Anthipolis

I'm new to all this NAS-emby stuff, I've a WD My cloud Home model WDBVXC0040HWT. My version is 5.0.7-103

 

The web interface is totally different from what existed in April, It does not allow to enable the apps tab, I tried the console, but it is not possible

 

Can anybody help me?

 

https://www.dropbox.com/s/x8bxz09artkrca5/Untitled-1.jpg?dl=0

Edited by Anthipolis
Link to post
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...