@peter_richardson
So, I started by removing rheos test version and running your ‘latest’ label to config I could change and save settings..worked perfect
so I disabled and stopped the the ‘latest’ image.
Install your new ‘test’ several times and after playing around, I think my issue with config.json is a permissioning issue inside the container.
So to test, I mounted a directory called rheos from my host to your image and I can see it inside the image BUT I do not have permissions, in the image, to create or edit files..
volumes
- /volume1/docker/roon_rheos_extension_label_test/rheos:/home/node/rheos:rw
(note: I do NOT have the config file mapped at all)
===================================================
now on to testing:
- it will not save my setting for the DEFAULT HEOS CONNECTION or the HOST IP ADDRESS
- you have ENABLE AVR ZONE CONTROL set to ON by default (is this what you wanted?)
This seems to cause errors in my log
2023-09-27T05:48:15.823373013Z STARTING HEOS
2023-09-27T05:48:16.009672872Z ┌─────────┬───────────────────────────┬─────────────┬────────────────────────────┬────────────────┬────────────┬─────────┐
2023-09-27T05:48:16.009795952Z │ (index) │ name │ pid │ model │ ip │ resolution │ network │
2023-09-27T05:48:16.009851572Z ├─────────┼───────────────────────────┼─────────────┼────────────────────────────┼────────────────┼────────────┼─────────┤
2023-09-27T05:48:16.009886482Z │ 0 │ ‘Pool-AVR-[Denon]’ │ 928479579 │ ‘Denon AVR-X4700H’ │ ‘10.10.20.227’ │ ‘CD’ │ ‘wired’ │
2023-09-27T05:48:16.009923372Z │ 1 │ ‘Master-SoundBar-[Denon]’ │ -1728112551 │ ‘Denon Home Sound Bar 550’ │ ‘10.10.20.228’ │ ‘CD’ │ ‘wired’ │
2023-09-27T05:48:16.009989452Z │ 2 │ ‘Greatroom-AVR-[Marantz]’ │ 1445597011 │ ‘Marantz SR7012’ │ ‘10.10.20.226’ │ ‘CD’ │ ‘wired’ │
2023-09-27T05:48:16.010026452Z │ 3 │ ‘Denon-150-WestHall’ │ -566329936 │ ‘Denon Home 150’ │ ‘10.10.20.233’ │ ‘CD’ │ ‘wifi’ │
2023-09-27T05:48:16.010060462Z │ 4 │ ‘Denon-150-Office-L’ │ -1028476464 │ ‘Denon Home 150’ │ ‘10.10.20.235’ │ ‘CD’ │ ‘wifi’ │
2023-09-27T05:48:16.010092692Z │ 5 │ ‘Denon-150-EastHall’ │ -697538148 │ ‘Denon Home 150’ │ ‘10.10.20.234’ │ ‘CD’ │ ‘wifi’ │
2023-09-27T05:48:16.010123272Z │ 6 │ ‘HEOS-5-Bath’ │ 1936207747 │ ‘HEOS 5’ │ ‘10.10.20.230’ │ ‘CD’ │ ‘wifi’ │
2023-09-27T05:48:16.010153732Z │ 7 │ ‘HEOS-7-WineRoom’ │ -40054639 │ ‘HEOS 7’ │ ‘10.10.20.229’ │ ‘CD’ │ ‘wifi’ │
2023-09-27T05:48:16.010191582Z └─────────┴───────────────────────────┴─────────────┴────────────────────────────┴────────────────┴────────────┴─────────┘
2023-09-27T05:48:16.010226201Z DISCOVERING DEVICES
2023-09-27T05:48:16.011736089Z READING PROFILES
2023-09-27T05:48:16.194958393Z DIFFERENT PLAYERS
2023-09-27T05:48:16.195071793Z UPDATING CONFIG
2023-09-27T05:48:16.195249703Z CREATING ROOT XML
2023-09-27T05:48:16.195839832Z CREATING CONFIG FROM IP 10.10.20.211
2023-09-27T05:48:19.785672002Z ROON PAIRED
2023-09-27T05:48:38.096910049Z BUILDING DEVICES
2023-09-27T05:48:38.123263619Z SETTING LISTENERS
2023-09-27T05:48:50.199495787Z AVR Connection Error Error: connect ECONNREFUSED 10.10.20.233:23
2023-09-27T05:48:50.216118502Z at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1532:16) {
2023-09-27T05:48:50.216233111Z errno: -111,
2023-09-27T05:48:50.216273141Z code: ‘ECONNREFUSED’,
2023-09-27T05:48:50.216306801Z syscall: ‘connect’,
2023-09-27T05:48:50.216377131Z address: ‘10.10.20.233’,
2023-09-27T05:48:50.216415551Z port: 23
2023-09-27T05:48:50.216437061Z }
2023-09-27T05:48:50.216466121Z AVR Connection Error Error: connect ECONNREFUSED 10.10.20.235:23
2023-09-27T05:48:50.216496061Z at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1532:16) {
2023-09-27T05:48:50.216531541Z errno: -111,
2023-09-27T05:48:50.216562341Z code: ‘ECONNREFUSED’,
2023-09-27T05:48:50.216594391Z syscall: ‘connect’,
2023-09-27T05:48:50.216626081Z address: ‘10.10.20.235’,
2023-09-27T05:48:50.216650491Z port: 23
2023-09-27T05:48:50.216670141Z }
2023-09-27T05:48:52.208358387Z AVR Connection Error Error: connect ECONNREFUSED 10.10.20.234:23
2023-09-27T05:48:52.364167171Z at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1532:16) {
2023-09-27T05:48:52.364283721Z errno: -111,
2023-09-27T05:48:52.364337580Z code: ‘ECONNREFUSED’,
2023-09-27T05:48:52.364383900Z syscall: ‘connect’,
2023-09-27T05:48:52.364431060Z address: ‘10.10.20.234’,
2023-09-27T05:48:52.364477360Z port: 23
2023-09-27T05:48:52.364519510Z }
2023-09-27T05:53:47.938214612Z CLEAR FIXED CONTROLS
- setting it to OFF and saving writes the line “CLEAR FIXED CONTROLS” to the console - and appears to save the value
- on PLAYERS: changed all to HI-RES and saved, the following was written to logs
2023-09-27T05:56:23.539678948Z CLEAR FIXED CONTROLS
51
2023-09-27T05:57:19.113611272Z BUILDING DEVICES
52
2023-09-27T05:57:19.126687093Z BUILDING DEVICES
53
2023-09-27T05:57:19.178530498Z BUILDING DEVICES
54
2023-09-27T05:57:19.213071867Z BUILDING DEVICES
55
2023-09-27T05:57:19.252037451Z BUILDING DEVICES
56
2023-09-27T05:57:19.291430494Z BUILDING DEVICES
57
2023-09-27T05:57:19.328205460Z BUILDING DEVICES
58
2023-09-27T05:57:19.346849113Z BUILDING DEVICES
59
2023-09-27T05:57:19.374342433Z CLEAR FIXED CONTROLS
- changing UPNP for send metadata and send cover art and save - did NOT save
===============
If I had to guess, there is a permissions change in the directory structure between the latest version and this beta version that is causing your app to have issue persisting data?
-
playing a QoBuz 192/24 does play at hi-res..
-
I wont test the zone feature yet – seems on startup of a new image with NO volume binding, I get some errors in the log when the enable zone is yes… I can set back to yes, save, and check logs again too..
PS
for my second volume bind test, I created the rheos directory on my nas and mounted it in your image… I can create files on the nas and they show in the image, i just cannot change them in the image – connecting this way (I am not a linux guy at all)
-
but what I dont think I can do is setup a mount for a file already in your image - seems its a docker thing, not my portainer or nas
-
before you went to the roon-extension-manager route, we mounted an empty folder to your image and your app did the rest.. this is the way most of my docker apps work - for example, for Plex you have to build and mount a few empty directories and on startup the app does the initial config in those directories so that I ahve access to the config files and meta db.. (and of course, i mount my movies folders too)
Lastly, my config.json file now (while listening to shine on you crazy diamond, pts. 6-9
)
node@cb6762fb9e13:~$ cat config.json
{
“roonstate”: {
“tokens”: {
“9ce74642-65e2-4923-8a13-c3b922ca0afb”: “207dc19c-27c1-46fa-bb1a-3fa987528347”,
“8a54c01e-da82-4616-b58b-4f962e8e0c80”: “149801ff-64eb-4cb7-bc83-3917566ba736”
},
“paired_core_id”: “8a54c01e-da82-4616-b58b-4f962e8e0c80”
},
“fixed_groups”: ,
“settings”: {
“host_ip”: “”,
“streambuf_size”: 524288,
“output_size”: 8388608,
“stream_length”: -3,
“seek_after_pause”: 1,
“volume_on_play”: -1,
“volume_feedback”: 0,
“accept_nexturi”: 0,
“flac_header”: 0,
“keep_alive”: 0,
“next_delay”: 15,
“send_coverart”: false,
“send_metadata”: false,
“flow”: 0,
“max_safe_vol”: 70,
“avr_control”: false,
“fixed_control”: false,
“clear_settings”: false,
“log_limit”: 1
},
“players”: [
{
“name”: “Dining Room”,
“pid”: 1826599973,
“model”: “HEOS Drive”,
“version”: “2.71.510”,
“ip”: “192.168.1.137”,
“network”: “wired”,
“lineout”: 1,
“resolution”: “CD”,
“type”: “”
},
{
“name”: “Master Bedroom”,
“pid”: -158596857,
“model”: “HEOS Link”,
“version”: “2.98.451”,
“ip”: “192.168.1.113”,
“network”: “wired”,
“lineout”: 2,
“control”: 4,
“serial”: “ACF12170608926”,
“resolution”: “CD”,
“type”: “”
},
{
“name”: “Living Room”,
“pid”: 1886447733,
“model”: “HEOS Drive”,
“version”: “2.71.510”,
“ip”: “192.168.1.136”,
“network”: “wired”,
“lineout”: 1,
“resolution”: “CD”,
“type”: “”
},
{
“name”: “Outside”,
“pid”: 1260822679,
“model”: “HEOS Drive”,
“version”: “2.98.451”,
“ip”: “192.168.1.230”,
“network”: “wired”,
“lineout”: 1,
“serial”: “APT12170400219”,
“resolution”: “HR”,
“type”: “”
},
{
“name”: “Music Room”,
“pid”: 1020008321,
“model”: “HEOS Drive”,
“version”: “2.71.510”,
“ip”: “192.168.1.139”,
“network”: “wired”,
“lineout”: 1,
“resolution”: “CD”,
“type”: “”
},
{
“name”: “Kitchen”,
“pid”: 1642975995,
“model”: “HEOS Drive”,
“version”: “2.71.510”,
“ip”: “192.168.1.138”,
“network”: “wired”,
“lineout”: 1,
“resolution”: “CD”,
“type”: “”
},
{
“name”: “Porch”,
“pid”: -1448957543,
“model”: “HEOS Drive”,
“version”: “2.98.451”,
“ip”: “192.168.1.231”,
“network”: “wired”,
“lineout”: 1,
“resolution”: “HR”,
“type”: “”,
“gid”: -1263660616
},
{
“name”: “Soundbar”,
“pid”: -192943358,
“model”: “HEOS HomeCinema”,
“version”: “2.71.510”,
“ip”: “192.168.1.34”,
“network”: “wired”,
“lineout”: 0,
“resolution”: “CD”,
“type”: “”
},
{
“name”: “Theater”,
“pid”: -1621613298,
“model”: “Marantz SR6013”,
“version”: “2.98.451”,
“ip”: “192.168.1.227”,
“network”: “wired”,
“lineout”: 0,
“serial”: “BCP27190410617”,
“resolution”: “CD”,
“type”: “AVR”
},
{
“name”: “Study”,
“pid”: 1029117679,
“model”: “Denon DNP-2000NE”,
“version”: “2.98.451”,
“ip”: “192.168.1.48”,
“network”: “wired”,
“lineout”: 2,
“control”: 1,
“serial”: “DBXW042300135”,
“resolution”: “THRU”,
“type”: “NON-AVR”
},
{
“name”: “Pearl”,
“pid”: -1454686868,
“model”: “HEOS 5”,
“version”: “2.98.451”,
“ip”: “192.168.1.176”,
“network”: “wifi”,
“lineout”: 0,
“resolution”: “CD”,
“type”: “”
},
{
“name”: “Crystal”,
“pid”: 260058229,
“model”: “HEOS 7”,
“version”: “2.71.510”,
“ip”: “192.168.1.238”,
“network”: “wired”,
“lineout”: 0,
“resolution”: “CD”,
“type”: “”
},
{
“name”: “Family Room ND8006”,
“pid”: -1263660616,
“model”: “Marantz ND8006”,
“version”: “2.98.451”,
“ip”: “192.168.1.39”,
“network”: “wired”,
“lineout”: 1,
“serial”: “AWS15180600350”,
“resolution”: “HR”,
“type”: “NON-AVR”,
“gid”: -1263660616
},
{
“name”: “Cobalt”,
“pid”: 287263149,
“model”: “HEOS 5”,
“version”: “2.98.451”,
“ip”: “192.168.1.221”,
“network”: “wifi”,
“lineout”: 0,
“resolution”: “CD”,
“type”: “”
},
{
“name”: “Denon-150-WestHall”,
“pid”: -566329936,
“model”: “Denon Home 150”,
“version”: “2.119.212”,
“ip”: “10.10.20.233”,
“network”: “wifi”,
“lineout”: 0,
“serial”: “BLV27220103685”,
“resolution”: “HR”,
“volume”: {},
“type”: “NON-AVR”,
“output”: “170125785ff415c72694de560de5d65e523c”,
“zone”: “160125785ff415c72694de560de5d65e523c”
},
{
“name”: “Greatroom-AVR-[Marantz]”,
“pid”: 1445597011,
“model”: “Marantz SR7012”,
“version”: “2.119.212”,
“ip”: “10.10.20.226”,
“network”: “wired”,
“lineout”: 0,
“serial”: “AVG12180204653”,
“resolution”: “HR”,
“volume”: {},
“type”: “AVR”,
“output”: “1701a2d837c99e61322a170ab91c261adfe2”,
“zone”: “1601a2d837c99e61322a170ab91c261adfe2”
},
{
“name”: “Denon-150-EastHall”,
“pid”: -697538148,
“model”: “Denon Home 150”,
“version”: “2.119.212”,
“ip”: “10.10.20.234”,
“network”: “wifi”,
“lineout”: 0,
“serial”: “BLV27220204740”,
“resolution”: “HR”,
“volume”: {},
“type”: “NON-AVR”,
“output”: “17011550418166fd14c0b0f27b9f35541864”,
“zone”: “16011550418166fd14c0b0f27b9f35541864”
},
{
“name”: “Denon-150-Office-L”,
“pid”: -1028476464,
“model”: “Denon Home 150”,
“version”: “2.119.212”,
“ip”: “10.10.20.235”,
“network”: “wifi”,
“lineout”: 0,
“serial”: “BLV27220103615”,
“resolution”: “HR”,
“volume”: {},
“type”: “NON-AVR”,
“output”: “17018e440989327d2cfb22c6bd25d0cc2dba”,
“zone”: “16018e440989327d2cfb22c6bd25d0cc2dba”
},
{
“name”: “HEOS-5-Bath”,
“pid”: 1936207747,
“model”: “HEOS 5”,
“version”: “2.119.212”,
“ip”: “10.10.20.230”,
“network”: “wifi”,
“lineout”: 0,
“serial”: “ACTG9171006170”,
“resolution”: “HR”,
“volume”: {},
“type”: “”,
“output”: “170103800487381d726a62fc393c467b35ec”,
“zone”: “160103800487381d726a62fc393c467b35ec”
},
{
“name”: “Master-SoundBar-[Denon]”,
“pid”: -1728112551,
“model”: “Denon Home Sound Bar 550”,
“version”: “2.119.212”,
“ip”: “10.10.20.228”,
“network”: “wired”,
“lineout”: 0,
“serial”: “DBDV042207421”,
“resolution”: “HR”,
“volume”: {},
“type”: “NON-AVR”,
“output”: “1701014193b16d76ca87b988d818b9d51020”,
“zone”: “1601014193b16d76ca87b988d818b9d51020”
},
{
“name”: “Pool-AVR-[Denon]”,
“pid”: 928479579,
“model”: “Denon AVR-X4700H”,
“version”: “2.119.212”,
“ip”: “10.10.20.227”,
“network”: “wired”,
“lineout”: 0,
“serial”: “DBCQ042001147”,
“resolution”: “HR”,
“volume”: {},
“type”: “AVR”,
“output”: “1701e26d7d283e6ef9b6e6dcd47f7905ee8c”
},
{
“name”: “HEOS-7-WineRoom”,
“pid”: -40054639,
“model”: “HEOS 7”,
“version”: “2.119.212”,
“ip”: “10.10.20.229”,
“network”: “wifi”,
“lineout”: 0,
“serial”: “ACXG9170903020”,
“resolution”: “HR”,
“volume”: {},
“type”: “”,
“output”: “17018223d075201041622bd81336b8971735”,
“zone”: “16018223d075201041622bd81336b8971735”
}
]
}node@cb6762fb9e13:~$
node@cb6762fb9e13:~$