Hmm...no, Project One-Click still isn't working for me. Here's the error list again from trying the Samsung script:
exit status 1
+ dvr=192.168.1.123:8089
++ basename /config/samsung-tvplus-for-channels.sh
+ extension=samsung-tvplus-for-channels.sh
+ extension=samsung-tvplus-for-channels
+ cp /config/samsung-tvplus-for-channels.env /tmp
+ envFile=/tmp/samsung-tvplus-for-channels.env
+ [[ -n 192.168.1.123:9000 ]]
+ extensionURL=192.168.1.123:9000:8182
+ [[ # == \# ]]
+ cdvrStartingChannel=
+ [[ -n '' ]]
+ cdvrIgnoreM3UNumbers=
+ curl -s -o /dev/null http://192.168.1.123:9000:8182
+ envVars=("TAG=$2" "HOST_PORT=$3" "CDVR_STARTING_CHANNEL=$4")
+ printf '%s\n' TAG=latest HOST_PORT=8182 CDVR_STARTING_CHANNEL=#
+ sed -i /=#/d /tmp/samsung-tvplus-for-channels.env
+ /config/portainerstack.sh samsung-tvplus-for-channels
+ stackName=samsung-tvplus-for-channels
+ portainerHost=192.168.1.123:9000
+ curl -s -o /dev/null http://192.168.1.123:9000:9000
+ portainerURL='https://192.168.1.123:9000:9443/api/stacks?type=2&method=string&endpointId=2'
+ portainerToken=ptr_lLJQANBCQ08cJop6jaxCgiPcLuC7bsduEEKiv2v3Rnk=
+ cp /config/samsung-tvplus-for-channels.yaml /tmp
+ stackFile=/tmp/samsung-tvplus-for-channels.yaml
+ envFile=/tmp/samsung-tvplus-for-channels.env
++ grep DVR_SHARE= /tmp/samsung-tvplus-for-channels.env
++ grep -v /
++ awk -F= '{print $2}'
+ dockerVolume=
++ grep VOL_EXTERNAL= /tmp/samsung-tvplus-for-channels.env
++ grep -v '#'
++ awk -F= '{print $2}'
+ volumeExternal=
++ grep VOL_NAME= /tmp/samsung-tvplus-for-channels.env
++ grep -v '#'
++ awk -F= '{print $2}'
+ volumeName=
+ [[ -n '' ]]
++ awk '{printf "%s\\n", $0}' /tmp/samsung-tvplus-for-channels.yaml
++ sed 's/"/\\"/g'
+ stackContent='version: '\''3.9'\''\nservices:\n # GitHub home for this project: https://github.com/matthuisman/samsung-tvplus-for-channels\n # Docker Hub home for this project: https://hub.docker.com/r/matthuisman/samsung-tvplus-for-channels\n samsung-tvplus-for-channels:\n image: matthuisman/samsung-tvplus-for-channels:${TAG}\n container_name: samsung-tvplus-for-channels\n ports:\n - ${HOST_PORT}:80 # Use the same port number the container is using, or optionally change it if the port is already in use on your host\n restart: unless-stopped\n\n # Default Environment variables can be found below under stderr -- copy and paste into Portainer-Stacks Environment variables section in Advanced mode\n'
+ stackEnvVars='['
+ IFS==
+ read -r key value
+ stackEnvVars='[{"name": "TAG", "value": "latest"},'
+ IFS==
+ read -r key value
+ stackEnvVars='[{"name": "TAG", "value": "latest"},{"name": "HOST_PORT", "value": "8182"},'
+ IFS==
+ read -r key value
+ stackEnvVars='[{"name": "TAG", "value": "latest"},{"name": "HOST_PORT", "value": "8182"}]'
++ cat
+ stackJSON='{
"Name": "samsung-tvplus-for-channels",
"SwarmID": "",
"StackFileContent": "version: '\''3.9'\''\nservices:\n # GitHub home for this project: https://github.com/matthuisman/samsung-tvplus-for-channels\n # Docker Hub home for this project: https://hub.docker.com/r/matthuisman/samsung-tvplus-for-channels\n samsung-tvplus-for-channels:\n image: matthuisman/samsung-tvplus-for-channels:${TAG}\n container_name: samsung-tvplus-for-channels\n ports:\n - ${HOST_PORT}:80 # Use the same port number the container is using, or optionally change it if the port is already in use on your host\n restart: unless-stopped\n\n # Default Environment variables can be found below under stderr -- copy and paste into Portainer-Stacks Environment variables section in Advanced mode\n",
"Env": [{"name": "TAG", "value": "latest"},{"name": "HOST_PORT", "value": "8182"}]
}'
+ echo 'JSON response from https://192.168.1.123:9000:9443/api/stacks?type=2&method=string&endpointId=2:'
++ curl -k -X POST -H 'Content-Type: application/json' -H 'X-API-Key: ptr_lLJQANBCQ08cJop6jaxCgiPcLuC7bsduEEKiv2v3Rnk=' -d '{
"Name": "samsung-tvplus-for-channels",
"SwarmID": "",
"StackFileContent": "version: '\''3.9'\''\nservices:\n # GitHub home for this project: https://github.com/matthuisman/samsung-tvplus-for-channels\n # Docker Hub home for this project: https://hub.docker.com/r/matthuisman/samsung-tvplus-for-channels\n samsung-tvplus-for-channels:\n image: matthuisman/samsung-tvplus-for-channels:${TAG}\n container_name: samsung-tvplus-for-channels\n ports:\n - ${HOST_PORT}:80 # Use the same port number the container is using, or optionally change it if the port is already in use on your host\n restart: unless-stopped\n\n # Default Environment variables can be found below under stderr -- copy and paste into Portainer-Stacks Environment variables section in Advanced mode\n",
"Env": [{"name": "TAG", "value": "latest"},{"name": "HOST_PORT", "value": "8182"}]
}' 'https://192.168.1.123:9000:9443/api/stacks?type=2&method=string&endpointId=2'
curl: (3) URL using bad/illegal format or missing URL
+ portainerResponse=
+ [[ -z '' ]]
+ exit 1
+ [[ 1 == 1 ]]
+ exit 1