Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BubbleUPnP Server
05-02-2021, 14:42
Post: #11
RE: BubbleUPnP Server
(05-02-2021 10:01)bubbleguuum Wrote:  I have edited the BubbleUPnP Server doc page for Java on Syno.
Make sure to have an up-to-date Java 8 install (currently 8u281).
BubbleUPnP Server will probably work just fine on recent Java 8 OpenJDK, but the Oracle Java is faster especially on lower end ARM devices.

As for stability over time it is really hard to tell. Maybe it is running out of memory. Or an old Java version explodes.
If you get the server to become unresponsive, you can send the /volume1/homes/bubbleupnp/appData/BubbleUPnPServer.log.0 log file to bubblesoftproducts@gmail.com.
This file can be downloaded with File Station.

Interesting thank you.

I looked at the logs on my NAS and noticed it was full of references to one television in the house, a Sony. I've been into the menu of that TV and switched off the render function, It didn't prevent casting from my iPad so fingers crossed.

A couple of common lines from that log...
[q@9503356 name: 'BRAVIA-4K-GB-df7cb80f3c000b1812e9a0905d01b943._%%20622B82-AACA-48A2-8067-81233EAC85E9._sub._googlecast._tcp.local.' address: '/192.168.1.74:8009 ' status: 'NO DNS state: probing 1 task: null', has data

and

I/O exception (java.net.SocketException) caught when processing request to {}->http://192.168.1.74:8008: Connection reset

As regards installing the oracle version of java on a DS 214+ I have no idea which version of java to install or how. I've not been able to find any helpfull information about this.

Bob.
Find all posts by this user
Quote this message in a reply
05-02-2021, 16:07 (This post was last modified: 05-02-2021 16:08 by simoncn.)
Post: #12
RE: BubbleUPnP Server
If you install the Synology Java8 package, you will get OpenJDK. The Java 8 version of OpenJDK performs well on Intel but very badly on ARMv7 and ARMv5. This is the reason for bubbleguuum's comment. The DS214+ uses ARMv7.

If is possible to install Oracle Java for ARMv7 on a Synology NAS using the approach described in this post. The post describes doing this for ARMv5 and PPC, so you will need to adapt the instructions for ARMv7.
Find all posts by this user
Quote this message in a reply
05-02-2021, 16:52
Post: #13
RE: BubbleUPnP Server
(05-02-2021 16:07)simoncn Wrote:  If you install the Synology Java8 package, you will get OpenJDK. The Java 8 version of OpenJDK performs well on Intel but very badly on ARMv7 and ARMv5. This is the reason for bubbleguuum's comment. The DS214+ uses ARMv7.

If is possible to install Oracle Java for ARMv7 on a Synology NAS using the approach described in this post. The post describes doing this for ARMv5 and PPC, so you will need to adapt the instructions for ARMv7.

Hi Simon,
Much appreciate your help, thanks.
I have installed Oracle Java using that method in years past on my older NAS boxes. Some time ago I tried it with the DS214+ and found Bubble UPnP would not run at all with that Java and so went back to the default version.

Following recent problems with Bubble server just locking up on me, I decided to look at it again. The versions of current Java on the oracle website are not like the example given in the documentation.

They offer:
Linux ARM 64 RPM package jdk-8u281-linux-aarch64.rpm
Linux ARM 64 Compressed Archive jdk-8u281-linux-aarch64.tar.gz
Linux ARM 32 Hard Float ABI jdk-8u281-linux-arm32-vfp-hflt.tar.gz

I think the nearest is the third one but nothing like the example given in those notes which is:

ejdk-8u33-fcs-linux-arm-sflt.tar.gz

I do not think there is a suitable version there at all.

In their archive section, the latest there is:
ejdk-8u211-linux-arm-sflt.tar.gz

Now to me that does look the right type but is historical.

Then I need to find out the version the http://packages.pcloadletter.co.uk
will try to load for me. It claims that the latest on -line version is 1.8.0_211-0050.
I think the 211 bit is the key and I think it will try to install
ejdk-8u211-linux-arm-sflt.tar.gz
and that tells me the latest versions are not suitable at all.

Please tell me I'm wrong!

On top of this, my NAS is now pressuring me to upgrade to Minimserver V2 which makes me very anxious about the procedure and what fascilities I will no longer have.


Thanks

Bob.
Find all posts by this user
Quote this message in a reply
05-02-2021, 18:12
Post: #14
RE: BubbleUPnP Server
For your NAS, you need hard float not soft float, so the 211-sflt you have found is not suitable. It looks like pcloadletter can install ejdk-8u211-linux-armv6-vfp-hflt.tar.gz. This is quite old but should work.

A better choice would be jdk-8u281-linux-arm32-vfp-hflt.tar.gz from Oracle but it will not be as easy to install this using pcloadletter. You could try renaming it to ejdk-8u211-linux-armv6-vfp-hflt.tar.gz so that pcloadletter can find it.

You will not have any Java problems with MinimServer 2 as this includes its own Java runtime for all ARM models.
Find all posts by this user
Quote this message in a reply
05-02-2021, 18:29
Post: #15
RE: BubbleUPnP Server
(05-02-2021 18:12)simoncn Wrote:  For your NAS, you need hard float not soft float, so the 211-sflt you have found is not suitable. It looks like pcloadletter can install ejdk-8u211-linux-armv6-vfp-hflt.tar.gz. This is quite old but should work.

A better choice would be jdk-8u281-linux-arm32-vfp-hflt.tar.gz from Oracle but it will not be as easy to install this using pcloadletter. You could try renaming it to ejdk-8u211-linux-armv6-vfp-hflt.tar.gz so that pcloadletter can find it.

You will not have any Java problems with MinimServer 2 as this includes its own Java runtime for all ARM models.

Thanks for your help - again!

May i ask, how do you know if soft or hard float is right for a NAS. I presume it's to do with the cpu, is there a table somewhere. All 3 of my older nas boxes all arm are working with soft float. I'm confused.

Thanks again.

Bob.
Find all posts by this user
Quote this message in a reply
05-02-2021, 18:46
Post: #16
RE: BubbleUPnP Server
The DS214+ has an Armada XP processor. This requires hard float.
Find all posts by this user
Quote this message in a reply
05-02-2021, 19:24
Post: #17
RE: BubbleUPnP Server
(05-02-2021 18:46)simoncn Wrote:  The DS214+ has an Armada XP processor. This requires hard float.
I'm not for one second doubting you but how did you find that out?

Thanks

Bob.
Find all posts by this user
Quote this message in a reply
05-02-2021, 19:51 (This post was last modified: 05-02-2021 23:34 by Mike48.)
Post: #18
RE: BubbleUPnP Server
(05-02-2021 18:12)simoncn Wrote:  You will not have any Java problems with MinimServer 2 as this includes its own Java runtime for all ARM models.

That seems to work quite well. Various Java versions are giving us the modern version of the old "DLL Hell." When a program includes its own Java, that can be sidestepped.

Mike
Portland, Oregon, USA
Find all posts by this user
Quote this message in a reply
05-02-2021, 23:25 (This post was last modified: 05-02-2021 23:51 by simoncn.)
Post: #19
RE: BubbleUPnP Server
I know this because I have spent many years developing software to run on all versions of ARM processors. This information is also available in the Marvell datasheet for the Armada XP, which you can download from this link (see the references to "Floating Point Unit" on pages 5, 7 and 22).

Edit: Perhaps simpler, you can look at the FPU column of this page.
Find all posts by this user
Quote this message in a reply
06-02-2021, 12:14
Post: #20
RE: BubbleUPnP Server
(05-02-2021 14:42)mightyoakbob Wrote:  A couple of common lines from that log...
[q@9503356 name: 'BRAVIA-4K-GB-df7cb80f3c000b1812e9a0905d01b943._%%20622B82-AACA-48A2-8067-81233EAC85E9._sub._googlecast._tcp.local.' address: '/192.168.1.74:8009 ' status: 'NO DNS state: probing 1 task: null', has data

I/O exception (java.net.SocketException) caught when processing request to {}->http://192.168.1.74:8008: Connection reset

These log traces are benign.
Again, when BubbleUPnP Server becomes entirely unusable over time to the point of needing a restart, please send me (email) the log file.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)