INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4   Go Down

Author Topic: Docker Image for MC27  (Read 32202 times)

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Docker Image for MC27
« Reply #50 on: November 03, 2020, 02:26:53 pm »

I only have linux_chromium64 in the /config/.jriver/Media Center 27/Plugins folder
It needs that mp3 folder to transcode to mp3.
Those are downloaded upon demand.
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #51 on: November 03, 2020, 03:34:49 pm »

Oh, OK, thanks Bob.
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

ajw1997

  • Recent member
  • *
  • Posts: 31
Re: Docker Image for MC27
« Reply #52 on: November 10, 2020, 03:05:22 pm »

Hi all,
Just wondering if Jatzoo is planning to update his container for JRiver 27.  I have been successfully using that container for several years.  And am well aware of how to install and set it up.  The 'Max' container is a bit of an enigma for me...

Regards,

Andrew
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #53 on: November 10, 2020, 03:40:19 pm »

Hi all,
Just wondering if Jatzoo is planning to update his container for JRiver 27.  I have been successfully using that container for several years.  And am well aware of how to install and set it up.  The 'Max' container is a bit of an enigma for me...

Regards,

Andrew
Hi Andrew,
I'm using Max's container (now at 27.0.30) and it works brilliantly for me. I can send you my .yml file if you like. With that it's a breeze. Even I could do it and I am not very versed in docker nor Linux.
Cheers,
Hans
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

Signal2Noise

  • Member
  • *
  • Posts: 3
Re: Docker Image for MC27
« Reply #54 on: November 14, 2020, 12:14:54 am »

Is there a tutorial on how to set up JRiver with Docker on Synology NAS? I’ve been searching high and low for something that doesn’t make my brain hurt.

If I could get this done I’d drop Roon in a heartbeat.
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #55 on: November 14, 2020, 10:32:14 am »

I followed this:
https://hub.docker.com/r/shiomax/jrivermc27

Also, Max was extremely helpful with any issues I had (created myself, of course, due to not understanding how things work).
EDIT: I would strongly recommend to use docker compose. I was initially reluctant, coz noob, but it does work like a charm and once you got it tuned to your details it's easy and fail safe
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

Signal2Noise

  • Member
  • *
  • Posts: 3
Re: Docker Image for MC27
« Reply #56 on: November 14, 2020, 10:59:57 am »

I followed this:
https://hub.docker.com/r/shiomax/jrivermc27
...

Thanks. I did come across that and it’s the one I was planning to use. But even that just raises more doubt in my capabilities. Lots of reading involved and links to other other aspects of how to get files working. I will keep reading though and try it out this weekend perhaps.
Logged

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
Re: Docker Image for MC27
« Reply #57 on: November 14, 2020, 12:25:24 pm »

Thanks. I did come across that and it’s the one I was planning to use. But even that just raises more doubt in my capabilities. Lots of reading involved and links to other other aspects of how to get files working. I will keep reading though and try it out this weekend perhaps.

I mean just because there is more stuff to read does not necessarily mean all of it is important for your specific use case.

If you run into any specific problem you can ask about those. I can fix up the guide some more based on that to hopefully make it clearer for others. But obviously by doing that the guide isn´t going to become any shorter, but quite the contrary.

Logged

Signal2Noise

  • Member
  • *
  • Posts: 3
Re: Docker Image for MC27
« Reply #58 on: November 14, 2020, 12:45:21 pm »

Thanks Max096. Understood. As a beginner it’s the figuring out what is important or not in all that guide. I went on YouTube as well just learn about Docker a little more which I think will help.

I did come across one JRiver Getlib guide that says using Bridge mode was the way to go, but your guide says to use Host. So I was confused there. However your guide seems to make users happy so I will def follow it.

Cheers!
Logged

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
Re: Docker Image for MC27
« Reply #59 on: November 14, 2020, 12:58:45 pm »

Thanks Max096. Understood. As a beginner it’s the figuring out what is important or not in all that guide. I went on YouTube as well just learn about Docker a little more which I think will help.

I did come across one JRiver Getlib guide that says using Bridge mode was the way to go, but your guide says to use Host. So I was confused there. However your guide seems to make users happy so I will def follow it.

Cheers!

Bridge mode is fine too if you need the flexibility of changing ports. But Ive seen some things not quite work as far as network discovery is concerned and its not easy to fix. But JRiver gives you the option to specify IPs and such and so even if it does not find it you can still connect to it. It may be a problem for some DLNA clients as some dont give you that option. And then if it does not find it you are out of luck.

But this has nothing to do with this image specifically. Its frequently a problem with any image that tries to auto discover things in the network + bridge networking. Technically, your jriver instance isnt in the same network anymore when using bridge networking and that can be a problem.

The license not staying activated is another things, but thats a rather easy fix by providing a mac-address for your container to force it to stay consistent.
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #60 on: November 14, 2020, 04:05:34 pm »

Thanks Max096. Understood. As a beginner it’s the figuring out what is important or not in all that guide. I went on YouTube as well just learn about Docker a little more which I think will help.

I did come across one JRiver Getlib guide that says using Bridge mode was the way to go, but your guide says to use Host. So I was confused there. However your guide seems to make users happy so I will def follow it.

Cheers!
I am running host mode and it is flawless.
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #61 on: November 14, 2020, 04:49:58 pm »

I have been trying to fix my registration with the key.mjr file in the volume1/docker/MC27/config directory with
exec env HOME=/config mediacenter27 /RestoreFromFile /config/key.mjr
but I get the error "env: 'mediacenter27': No such file or directory"
What am I doing wrong?
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
Re: Docker Image for MC27
« Reply #62 on: November 14, 2020, 05:59:03 pm »

I have been trying to fix my registration with the key.mjr file in the volume1/docker/MC27/config directory with
exec env HOME=/config mediacenter27 /RestoreFromFile /config/key.mjr
but I get the error "env: 'mediacenter27': No such file or directory"
What am I doing wrong?

Does the registration in JRiver not work anymore? It works for me just tried. There is really no benefit doing the .mjr thing unless you cannot activate any other way.

Either way that error comes up if there is no executable named mediacenter27. You sure you are in the right container? Did you log into the container first (docker exec -it <container_name> /bin/bash)?
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #63 on: November 14, 2020, 06:03:14 pm »

Thanks Max,
The registration is fine. I just wanted to make it permanent since I had to shut down recently and the reg was lost. I did log into the container as outlined in your post. Not a big deal.
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
Re: Docker Image for MC27
« Reply #64 on: November 14, 2020, 06:54:10 pm »

Thanks Max,
The registration is fine. I just wanted to make it permanent since I had to shut down recently and the reg was lost. I did log into the container as outlined in your post. Not a big deal.

Normally it should be permanent with host networking without doing anything special. But you can try to apply a mac address similarly to the bridge config.

Applying it with the mjr file wont help.
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #65 on: November 14, 2020, 07:11:17 pm »

Thanks Max
The MAC address would be an environment variable?
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
Re: Docker Image for MC27
« Reply #66 on: November 15, 2020, 04:57:31 pm »

Thanks Max
The MAC address would be an environment variable?

No that's a docker options there are examples in the bridge config on how to do this. Usually, you don't need to do this for host networking, but if your host is a VM whose mac address changes then you do need it there too.
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #67 on: November 15, 2020, 07:27:18 pm »

Thanks Max,
I’ll look into it if the reg gets lost again for some reason.
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

vickozagi

  • Recent member
  • *
  • Posts: 6
Re: Docker Image for MC27
« Reply #68 on: November 19, 2020, 02:27:38 am »

S,mall access problem. I cannot access files.
I tried adding user:
      - USER_ID=1001
      - GROUP_ID=100
or:
      - PUID=1001
      - PGID=1000
And neither works. I can access parent folder, but nor files?
Any suggestions?
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #69 on: November 19, 2020, 09:14:51 am »

I had the same issue that Max helped me to solve.
ssh into your server, type
 id <ENTER>
that should list all the users and groups with their id's. Then use the relevant one to set up your container.
Hope that helps
cheers,
Hans
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

vickozagi

  • Recent member
  • *
  • Posts: 6
Re: Docker Image for MC27
« Reply #70 on: November 19, 2020, 11:35:01 pm »

I tried that.
root@Mreza:~# id
uid=0(root) gid=0(root) groups=0(root)

and added to the jrivermc27 stack:
version: "2"
services:
  jrivermc27:
    image: shiomax/jrivermc27
    container_name: jrivermc27
    restart: always
    network_mode: host
    cap_add:
      - NET_ADMIN # This runs the container with raised privileges
    environment:
      - TZ=America/Los_Angeles
      - VNC_PASSWORD=12345
      #- USER_ID=0
      #- GROUP_ID=0
      - PUID=0
      - PGID=0
    volumes:
Logged

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
Re: Docker Image for MC27
« Reply #71 on: November 20, 2020, 08:36:38 am »

S,mall access problem. I cannot access files.
I tried adding user:
      - USER_ID=1001
      - GROUP_ID=100
or:
      - PUID=1001
      - PGID=1000
And neither works. I can access parent folder, but nor files?
Any suggestions?

Try to ls -la for the files you cannot access and see what user/group they belong too. If 1001 user does only have access to the parent directory you wont be able to access them in the container either.

You probably need to either pick a different user or change permissions with chown and chmod.
Logged

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
Re: Docker Image for MC27
« Reply #72 on: November 20, 2020, 08:41:08 am »

I tried that.
root@Mreza:~# id
uid=0(root) gid=0(root) groups=0(root)

and added to the jrivermc27 stack:
version: "2"
services:
  jrivermc27:
    image: shiomax/jrivermc27
    container_name: jrivermc27
    restart: always
    network_mode: host
    cap_add:
      - NET_ADMIN # This runs the container with raised privileges
    environment:
      - TZ=America/Los_Angeles
      - VNC_PASSWORD=12345
      #- USER_ID=0
      #- GROUP_ID=0
      - PUID=0
      - PGID=0
    volumes:

id without anything shows you the id of the user you are logged in as (so in your case root) you can id <username> to show the once for a different user. It was never the intention to run jriver as root user... quite the opposite, not sure if that´s supposed to work, never tried. But wether it does or doesn´t it´s a bad idea to run everything as root.

Try to run ls -la on the folder you are trying to access then id <user_that_you_found> and use that id instead of 0.

Also, any particular reason why you added this?

Quote
    cap_add:
      - NET_ADMIN # This runs the container with raised privileges

Either way assuming User 1001 exists and is the one that owns your Music directory and who should own it you can run

Code: [Select]
sudo chown -R 1001:1001 /path/to/folder
sudo chmod -R 750 /path/to/folder
sudo find /path/to/folder -type d -exec sudo chmod +x {} \;

This will make all the sub-files and sub-folders owned by user 1001 and group 1001. The second one sets access rights to all the files and folders there to 750 so (read/write/execute for user) (read/execute for group) and nothing for everyone else.
The last one makes all folders executeable. Not strictly necessary here. But if you want to have a readonly user they need executeable permissions on the directories to be able to browse the directory. They would not need execute permissions on anything else though.

You can also replace 1001 here with the username of that user, but since I don´t know usernames on your system and in the first post you typed 1001 I stuck with that for the explanation.
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #73 on: November 22, 2020, 10:18:43 am »

Thank you, Max, for the 27.0.35 update!
cheers,
Hans
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

Richard Martin

  • World Citizen
  • ***
  • Posts: 237
Re: Docker Image for MC27
« Reply #74 on: December 05, 2020, 01:04:40 pm »

It needs that mp3 folder to transcode to mp3.
Those are downloaded upon demand.

I am running a shiomax MC27 docker image on a Synology NAS.  I play my audio files to various DLNA Renderers.  FLAC and MP3 files play without a problem, but not wma files.  They say they are playing but don't.  /docker/jriver/.jriver/Media Center 27/Plugins/linux_mp3_encoder64/lame is present and so is /docker/jriver/.jriver/Media Center 27/Plugins/linux_avcodec64

Can anyone offer any advice on how to trouble shoot this?
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Docker Image for MC27
« Reply #75 on: December 05, 2020, 06:58:23 pm »

I am running a shiomax MC27 docker image on a Synology NAS.  I play my audio files to various DLNA Renderers.  FLAC and MP3 files play without a problem, but not wma files.  They say they are playing but don't.  /docker/jriver/.jriver/Media Center 27/Plugins/linux_mp3_encoder64/lame is present and so is /docker/jriver/.jriver/Media Center 27/Plugins/linux_avcodec64

Can anyone offer any advice on how to trouble shoot this?
Protected WMA files will not transcode or play on non-windows machines so if that is what your files are you won't be able to play them.
Logged

Richard Martin

  • World Citizen
  • ***
  • Posts: 237
Re: Docker Image for MC27
« Reply #76 on: December 06, 2020, 03:44:24 pm »

Protected WMA files will not transcode or play on non-windows machines so if that is what your files are you won't be able to play them.
Thank you, I'll have to look in to that, I don't know if they are DRM protected or not.
Logged

Wheaten

  • Guest
Re: Docker Image for MC27
« Reply #77 on: December 24, 2020, 05:19:06 am »

Hi,

Installed JRiverMC27 (Docker) without any issues on my QNAP QTS. Intending to use this as the main library. However whatever I am trying, it will only stream in 320kbps mp3, instead of flac.
I've setup the media network correctly https://prnt.sc/w92txx,
but it streams only in MP3. any suggestion or am I missing something?
https://prnt.sc/w92yhe

Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Docker Image for MC27
« Reply #78 on: December 24, 2020, 06:55:12 am »

You may have conversion set on the DLNA Server.
Logged

Wheaten

  • Guest
Re: Docker Image for MC27
« Reply #79 on: December 24, 2020, 07:10:47 am »

No I didn't
Uploaded the picture, instead of pasting the URL.

And a 2nd one (2nd, 3d picture) from the client.

Using MC since MC17, never had this before. But this is the first to run it in a docker.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Docker Image for MC27
« Reply #80 on: December 24, 2020, 09:05:59 am »

Hi,

Installed JRiverMC27 (Docker) without any issues on my QNAP QTS. Intending to use this as the main library. However whatever I am trying, it will only stream in 320kbps mp3, instead of flac.
I've setup the media network correctly https://prnt.sc/w92txx,
but it streams only in MP3. any suggestion or am I missing something?
https://prnt.sc/w92yhe



Your pics don't show the client's Media Network settings, and the client Media Network settings can cause what you're seeing.  On the client PC, if you open Options-->Media Network-->Client Options do you have the audio options there set for "Original" also?
Logged

Wheaten

  • Guest
Re: Docker Image for MC27
« Reply #81 on: December 24, 2020, 09:14:20 am »

 :-[
euh..........Now I do.........
And its working, missed that one apparently.

Aha, I never touched that setting, as this client was always the main library/server. Now with adding a new client, sharing the same lib, I didn't want to have it 24/7 running, So I moved the function to the the NAS.
As this box never acted as a client, never had to configure that part.

Thanks for the support!!!

Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Docker Image for MC27
« Reply #82 on: December 24, 2020, 09:15:24 am »

:-[
euh..........Now I do.........
And its working, missed that one apparently.

Thanks!!!

I love it when a plan comes together!  Happy Holidays!
Logged

Wheaten

  • Guest
Re: Docker Image for MC27
« Reply #83 on: December 24, 2020, 09:20:55 am »

I love it when a plan comes together!  Happy Holidays!

Same to you all!!!
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #84 on: December 29, 2020, 02:22:29 pm »

I tried to pull the latest image but still get 27.0.39. Is that the latest?
Many thanks
Hans
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
Re: Docker Image for MC27
« Reply #85 on: December 30, 2020, 03:32:39 pm »

I tried to pull the latest image but still get 27.0.39. Is that the latest?
Many thanks
Hans

.45 seems to be in Beta, I´ve never built any Beta image as I don´t have a Beta access key I would not even have any way to try if it works I think.
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #86 on: December 30, 2020, 07:37:58 pm »

Ah, I see, thanks Max
Wishing you a happy, healthy and successful New Year
Hans
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7812
  • Autumn shade...
Re: Docker Image for MC27
« Reply #87 on: December 31, 2020, 03:31:14 am »

.45 seems to be in Beta, I´ve never built any Beta image as I don´t have a Beta access key I would not even have any way to try if it works I think.

You don't need a beta access key for MC for Linux betas. They're posted publicly on top of this board with direct links.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
Re: Docker Image for MC27
« Reply #88 on: December 31, 2020, 06:18:18 am »

You don't need a beta access key for MC for Linux betas. They're posted publicly on top of this board with direct links.

Oh. I assumed you do to actually use them. Never really tried. Appearently, Jim also added me as Beta Member now though.

But why does the install jrivermc script BryanC made have a beta access key option then? Are only some of them public or all of the Linux Betas?
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Docker Image for MC27
« Reply #89 on: December 31, 2020, 09:29:34 am »

Once upon a time some linux beta builds weren't public.
They have been in a separate public repo and download area now for quite some time.
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #90 on: January 26, 2021, 10:05:00 am »

Thanks for the update to .58, Max.
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
Re: Docker Image for MC27
« Reply #91 on: January 26, 2021, 06:37:11 pm »

Thanks for the update to .58, Max.

You dont have to thank me for that. I literally didnt do anything it does it on its own. ^^

It just does only build the once in the stable and latest repositories not the beta one. Would be easy to add though.
Logged

Afrosheen

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 313
Re: Docker Image for MC27
« Reply #92 on: January 27, 2021, 12:14:09 am »

I found the culprit of why I was personally experiencing so many frequent audio streaming errors while using JRemote.  But my solution seems to be a temporary solution because it keeps getting reset. 

So I was reading the terminal logs and I came upon the following repeated message:

Quote
[0127/054057.835938:WARNING:discardable_shared_memory_manager.cc(194)] Less than 64MB of free space in temporary directory for shared memory files: 63

So I did some research and found that I could run the following command to expand the memory of QNAP's /tmp (I've set it to 2 gigs so that I wouldn't need to go back and increase it):
Quote
mount -o remount,size=2G,noatime /tmp

Now each time my QNAP restarts I would need to run the command again.  I'm wondering if there's a way to set the /tmp folder to something else so that's it's dedicated to only the JRiver container? 

Thanks for the consideration!
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Docker Image for MC27
« Reply #93 on: January 27, 2021, 08:46:50 am »

I found the culprit of why I was personally experiencing so many frequent audio streaming errors while using JRemote.  But my solution seems to be a temporary solution because it keeps getting reset. 

So I was reading the terminal logs and I came upon the following repeated message:

So I did some research and found that I could run the following command to expand the memory of QNAP's /tmp (I've set it to 2 gigs so that I wouldn't need to go back and increase it):
Now each time my QNAP restarts I would need to run the command again.  I'm wondering if there's a way to set the /tmp folder to something else so that's it's dedicated to only the JRiver container? 

Thanks for the consideration!
What build are you running?
Would you take a look into /dev/shm when you get that message?
That’s where MC’s shared memory segments are.
Logged

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
Re: Docker Image for MC27
« Reply #94 on: January 27, 2021, 11:54:33 am »

I found the culprit of why I was personally experiencing so many frequent audio streaming errors while using JRemote.  But my solution seems to be a temporary solution because it keeps getting reset. 

So I was reading the terminal logs and I came upon the following repeated message:

So I did some research and found that I could run the following command to expand the memory of QNAP's /tmp (I've set it to 2 gigs so that I wouldn't need to go back and increase it):
Now each time my QNAP restarts I would need to run the command again.  I'm wondering if there's a way to set the /tmp folder to something else so that's it's dedicated to only the JRiver container? 

Thanks for the consideration!

Try to run the container with --shm-size=2g. Or in compose shm_size: '2gb'.
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Docker Image for MC27
« Reply #95 on: January 27, 2021, 01:31:50 pm »

You dont have to thank me for that. I literally didnt do anything it does it on its own. ^^

It just does only build the once in the stable and latest repositories not the beta one. Would be easy to add though.
Still, you make it happen and I appreciate that very much. My joy playing music has increased tremendously since I am able to play my music from the NAS onto my receiver. I wouldn't have been able to do this without your help.
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

lwlmc

  • Member
  • *
  • Posts: 1
Re: Docker Image for MC27
« Reply #96 on: February 09, 2021, 01:28:43 am »

Hi Max, Thanks for making this Docker container. I am running it on my Unraid server and it is very easy and convenient.

My music library includes Japanese music and the container by default displays Japanese characters as a bunch of rectangles. The base image you used for the container has a ENABLE_CJK_FONT env variable that I am setting so it installs the font needed for the Japanese text to display properly in MC. However, when that script runs it fails to install the font package. Here's a snippet of the log:

Code: [Select]
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: installing CJK font...
[cont-init.d] 10-cjk-font.sh: Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
[cont-init.d] 10-cjk-font.sh: Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
[cont-init.d] 10-cjk-font.sh: Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
[cont-init.d] 10-cjk-font.sh: Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [267 kB]
[cont-init.d] 10-cjk-font.sh: Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
[cont-init.d] 10-cjk-font.sh: Get:6 http://deb.nodesource.com/node_12.x buster InRelease [4584 B]
[cont-init.d] 10-cjk-font.sh: Get:7 http://dist.jriver.com/latest/mediacenter buster InRelease [3612 B]
[cont-init.d] 10-cjk-font.sh: Get:8 http://deb.nodesource.com/node_12.x buster/main amd64 Packages [767 B]
[cont-init.d] 10-cjk-font.sh: Get:9 http://dist.jriver.com/latest/mediacenter buster/main i386 Packages [706 B]
[cont-init.d] 10-cjk-font.sh: Get:10 http://dist.jriver.com/latest/mediacenter buster/main arm64 Packages [642 B]
[cont-init.d] 10-cjk-font.sh: Get:11 http://dist.jriver.com/latest/mediacenter buster/main amd64 Packages [678 B]
[cont-init.d] 10-cjk-font.sh: Get:12 http://dist.jriver.com/latest/mediacenter buster/main armhf Packages [685 B]
[cont-init.d] 10-cjk-font.sh: Get:13 http://deb.debian.org/debian buster-updates/main amd64 Packages [9504 B]
[cont-init.d] 10-cjk-font.sh: Fetched 8434 kB in 3s (2794 kB/s)
[cont-init.d] 10-cjk-font.sh: Reading package lists...
[cont-init.d] 10-cjk-font.sh: Reading package lists...
[cont-init.d] 10-cjk-font.sh: Building dependency tree...
[cont-init.d] 10-cjk-font.sh: Reading state information...
[cont-init.d] 10-cjk-font.sh: The following NEW packages will be installed:
[cont-init.d] 10-cjk-font.sh: fonts-wqy-zenhei
[cont-init.d] 10-cjk-font.sh: 0 upgraded, 1 newly installed, 0 to remove and 37 not upgraded.
[cont-init.d] 10-cjk-font.sh: Need to get 7472 kB of archives.
[cont-init.d] 10-cjk-font.sh: After this operation, 16.8 MB of additional disk space will be used.
[cont-init.d] 10-cjk-font.sh: Get:1 http://deb.debian.org/debian buster/main amd64 fonts-wqy-zenhei all 0.9.45-7 [7472 kB]
[cont-init.d] 10-cjk-font.sh: debconf: delaying package configuration, since apt-utils is not installed
[cont-init.d] 10-cjk-font.sh: Fetched 7472 kB in 22s (337 kB/s)
[cont-init.d] 10-cjk-font.sh: dpkg: unrecoverable fatal error, aborting:
[cont-init.d] 10-cjk-font.sh: unknown system group 'messagebus' in statoverride file; the system group got removed
[cont-init.d] 10-cjk-font.sh: before the override, which is most probably a packaging bug, to recover you
[cont-init.d] 10-cjk-font.sh: can remove the override manually with dpkg-statoverride
[cont-init.d] 10-cjk-font.sh: E: Sub-process /usr/bin/dpkg returned an error code (2)
[cont-init.d] 10-cjk-font.sh: exited 0.

What I found is the 'messagebus' group is not present on the system and dpkg always fails unless the following fix is run (from https://askubuntu.com/questions/335538/unknown-user-in-statoverride-file):

Code: [Select]
sudo sed -i '/messagebus/d' /var/lib/dpkg/statoverride
Afterwards 'add-pkg' works again and I can manually open a Bash shell inside the container and manually install the font package I need. (Or I can manually run that 10-cjk-font.sh). Problem is, every time I update the container (which involves container deletion and re-creation) I need to redo the fix to the statoverride file and reinstall the fonts.

Is it possible to add an environment variable to the container so we can install additional packages each time the container runs (after also fixing up the statoverride file)?

Thank you.
Logged

Afrosheen

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 313
Re: Docker Image for MC27
« Reply #97 on: February 10, 2021, 01:06:41 pm »

What build are you running?
Would you take a look into /dev/shm when you get that message?
That’s where MC’s shared memory segments are.

I believe that I resolved the issue; when my QNAP automatically restarts, QNAP's Container Station runs all of the containers including those that I had originally turned off.  I overlooked that the previous version of MC was now running at the same time.  I'm now able to run MC27 and play tracks without frequent audio streaming errors, knock on wood.  Thank you all for the support!!
Logged

Afrosheen

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 313
Re: Docker Image for MC27
« Reply #98 on: February 10, 2021, 01:09:16 pm »

Is it possible to set up Last.fm via the settings of MC27?  I click on "Connect to Last.fm account" under "services" in the main window, but I get nothing. 
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Docker Image for MC27
« Reply #99 on: February 11, 2021, 09:29:12 am »

Is it possible to set up Last.fm via the settings of MC27?  I click on "Connect to Last.fm account" under "services" in the main window, but I get nothing.
At some point or another it's going to need to popup a browser in the container.
MC uses xdg-open to open url's, etc in an external browser.
Logged
Pages: 1 [2] 3 4   Go Up