More > JRiver Media Center 26 for Linux

Docker Container for JRiver Media Center 26

<< < (12/23) > >>

BryanC:

--- Quote from: Robad on July 04, 2020, 11:45:50 am ---I think I'm going to give up.  I've tried everything I can think of, including:
- Changing network mode to 'Host'
- Changing back to NAT (as I had to create the container as 'NAT', this being the only way to specify a MAC address).
- Changing back to 'Bridge' with same IP as QNAP.
- I even searched for a container configuration file (and failed to find it)...  It would be so much easier to edit such a file, if it exists.

Everything either has no effect or makes it worse, leaving me to work out how to recover.

 :'(

--- End quote ---

This is definitely a QNAP support problem. The containers work fine running in Debian and CentOS on my end. I have no familiarity with QNAP, but I would suggest that if it is possible to just run the containers from the command line using the Docker executable.


--- Code: ---docker run -d \
    --name=jrivermc26 \
    --net=bridge \
    --restart=always \
    --mac-address=ed:e8:60:2d:65:c1 \
    -p 5800:5800 \
    -p 5900:5900 \
    -p 52199:52199 \
    -p 52101:52101 \
    -p 52100:52100 \
    -p 1900:1900/udp \
    -v config:/config:rw \
    -v /path/to/music:/data/music:rw \
    -e VNC_PASSWORD=12345 \
    shiomax/jrivermc26
--- End code ---

It seems that whatever software they have built on top of Docker is broken.

Scobie:
My main setup is MC26 running on the QNAP Container Station, and can access from the internet using this config:

Network Mode: Bridge
Use Interface: Adapter 1( Virtual Switch 1)
Static IP (on local network)
Assigned Mac Address (can be anything)

On my router
Forward 52199 to the Static Container Address on TCP/UDP

Robad:

--- Quote from: Scobie on July 04, 2020, 07:03:08 pm ---My main setup is MC26 running on the QNAP Container Station, and can access from the internet using this config:

Network Mode: Bridge
Use Interface: Adapter 1( Virtual Switch 1)
Static IP (on local network)
Assigned Mac Address (can be anything)

On my router
Forward 52199 to the Static Container Address on TCP/UDP

--- End quote ---

There are only 2 differences on my system:
- "TCP" not "TCP/UDP".  I have changed this and it made no difference...
- I'm using "Virtual Switch 3" - probably due to previous attempts.  The other 2 are not associated with a physical adapter.

"Virtual Switch 3" has the (static) IP address of the QNAP NAS.

Robad:
You're not going to believe this...

I just tried connecting from my phone.  The Access Key has been changed so I edited the server in JRemote.  I noticed that there was a field for "Global IP", which was close to the IP address from 'www.whatsmyip.org'.  So I edited it to make it the same.  I then disabled wifi on the phone and succeeded in connecting!

I have no idea of the relevance of this.  Maybe next time I'm allocated a different external IP address it will stop working (despite the Access Key claiming to cope with this).

Test still fails though...

Scobie:
If at all possible try and get a static IP from your ISP, it makes external access a lot easier, but it does look like your MC/Container setup is correct given that it did work.

Even so, I think I'm right in saying - happy to be corrected - that as long as your external IP is accessible (i.e. not double NAT'd or something) then if the key is correct JRemote should be able to maintain the correct address.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version