More > JRiver Media Center 25 for Linux

JRiver MC25 Docker Image with WebUI as VNC

<< < (8/14) > >>

shortie:

--- Quote from: max096 on June 27, 2019, 01:49:22 pm ---cat /etc/xdg/openbox/rc.xml
--- End quote ---
Yes, that's there verbatim. There's no ps command so I can't check to make sure openbox is running...wait, I can try to start it again. Right that fails because it says it's already running. I can't seem to find any log files but I suppose none of that matters because I cant find an editor to try to modify rc.xml. Any other ideas? Are you in a place where you can check your personal installation?

max096:

--- Quote from: shortie on June 27, 2019, 01:57:54 pm ---Yes, that's there verbatim. There's no ps command so I can't check to make sure openbox is running...wait, I can try to start it again. Right that fails because it says it's already running. I can't seem to find any log files but I suppose none of that matters because I cant find an editor to try to modify rc.xml. Any other ideas? Are you in a place where you can check your personal installation?

--- End quote ---

Yes, I am and it's working fine for me. I can open the about window and click the JRiver window to my hearts content and it stays on top of the jriver window.

The "docker ps" command is from outside the container. But you are right, you don't really have a whole lot inside the container, no editor, no package manager, no systemd, no nothing basically. I'm not even sure how you can restart openbox within the container without restarting the container (but you have cat). It has just what it needs to run at all, not to be a functional linux system for use. If you wanna edit things you should probably either copy the openbox.rb from my gitlab and mount it into the container. Or clone the entire thing and build the image from there.

Do you now have that line


--- Code: ---<layer>below</layer>

--- End code ---

in your file or not?

From your host when you run


--- Code: ---docker exec -it <container name or id> /bin/bash
cat /etc/xdg/openbox.rb

--- End code ---

Do you have the line in there?

I'm not sure you have, since it kinda seems like you do, but then also want an editor, witch suggests you don't?

---

Effectively, that's what I wanted you to do try, see if that line is there and make sure you have the latest image.
https://youtu.be/PyTgtFgBTJU

As you can see in that video at the end too. I can click around everywhere and the window stays on top, or rather the jriver main window stays below. But that's effectively kinda the same thing.

Also by the way you need to run the docker-compose command while you are inside the direcory where your docker-compose.yml is. Just thought that might be a problem. Since I didn't mention this anywhere and it's not like a package manager. It looks for docker-compose.yml in the directory where you are unless you specify a file in the command.

---

Other than that when you confirmed that you do in fact have the lastest image, did you try to remove the config volume from the compose file and restart the container then?

In the video I was using this compose.yml


--- Code: ---version: '3'
services:
  jrivermc25:
    image: shiomax/jrivermc25:latest
    restart: always
    container_name: jrivermc25
    ports:
      - "5801:5800"
      - "5900:5900"
      - "52100:52100"
      - "52101:52101"
      - "52199:52199"
      - "1900:1900/udp"
    environment:
      - VNC_PASSWORD=12345
    volumes:
        - ./config:/config:rw
        - ./music:/data/music:rw

--- End code ---

So you'd be removing this line "- ./config:/config:rw" from the config and then once again "docker-compose down && docker-compose up -d"

shortie:
sorry, I wasn’t clear...yes, the lines you posted are at the bottom of the rc.xml file in /etc/xdg/openbox.

i was using the docker exec -it <container> /bin/bash to gather that info. I was looking for the ps command in the container so i could see what was running and i was hoping for an editor so i could fiddle with the rc.xml file and see if i could change the behavior.

I rebuilt just before I posted those comments and i saw, from Panel, that i was running the latest image (65).

I was hoping to not have to clone your whole repo but since you’re not seeing these issues it looks like it’s something in my setup. I’ll fiddle with it and post when i find something. Thanks for your help and patience.

I’ll try removing the config volume and see if that changes things.

max096:

--- Quote from: shortie on June 27, 2019, 04:38:46 pm ---I was hoping to not have to clone your whole repo but since you’re not seeing these issues it looks like it’s something in my setup. I’ll fiddle with it and post when i find something. Thanks for your help and patience.

--- End quote ---

What you could also do is just download the rb file and add it to your container


--- Code: ---volumes:
     ./rc.xml:/etc/xdg/openbox/rc.xml:rw

--- End code ---

In that way you can effictively replace any file you want inside the container with your own.
But otherwise the only real way I know of is to build the image. There is a "buildup.sh" in the root of the project that you can use to quickly build a create a container. You can comment out the line in the dockerfile that makes the icon from the png, since it takes quite a significant time of the build process.

Hope you can fix your issue, I'm kinda in the dark here too without being able to reproduce the issue.

shortie:
It looks like its something in my config directory. I moved my old one out of the way and created a new directory that I mount on config in the container and it's working fine. Not sure what I could've done to cause the behavior I was seeing but OK now. I'll just re-import my libraries and continue. Thanks for the help and sorry for the confusion.

(I really do know what I'm doing, here  ;D ... I've been working with docker for well over a year in my day job and fiddling with it at home for a little longer. Man, I feel like an idiot! ::) )

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version