That looks fine to me. Does the OliveTin Post-Install Healthcheck still give expected results?
This part of the Healthcheck doesn't look right any more...
Checking that your selected Channels DVR server's log files (/mnt/192.168.1.100-8089_logs) are accessible:
Folders with the names data and latest should be visible...
total 4
drwxr-xr-x 1 242120 242120 200 Jul 10 11:22 .
drwxr-xr-x 1 root root 82 Jul 11 10:46 ..
drwxr-xr-x 1 242120 242120 154 Jul 5 10:07 2024.07.05.0316
drwxr-xr-x 1 242120 242120 154 Jul 6 23:20 2024.07.06.2035
drwxr-xr-x 1 242120 242120 154 Jul 8 11:21 2024.07.08.1557
drwxr-xr-x 1 242120 242120 154 Jul 9 05:21 2024.07.09.0408
drwxr-xr-x 1 242120 242120 154 Jul 9 11:21 2024.07.09.1551
drwxr-xr-x 1 242120 242120 154 Jul 10 11:21 2024.07.09.1812
drwxr-xr-x 1 242120 242120 2602 Jul 11 11:45 data
lrwxrwxrwx 1 242120 242120 15 Jul 10 11:21 latest -> 2024.07.09.1812
You're still good. data
and latest
are there.
I'll give this a more in-depth look, and get back to you.
@jsfullam Also, in the folder on your host you have bound to /config in OliveTin container, could you check to see if 192.168.1.100-8089_channels_dvr_monitor_channels_latest.log
contains anything?
Yes. The file is from today's date, at the time I deployed the Lineup Changes action.
It contains the following:
Script version 3.3.0
Using Channels DVR server at: http://192.168.1.100:8089.
Checking for channel lineup changes every 360 minutes.
An email will be sent to (redacted)@yahoo.com when changes are detected.
Channel lineup changes will be written to:
/config/192.168.1.100-8089_data/2024_channel_lineup_changes.log
The last activity will be saved in:
/config/192.168.1.100-8089_data/last_activity.log
I seem to be having trouble running any of the single-clicks in OliveTin. They all run with errors and I'm wondering if it's because my Channels installation is in a Docker container as well. Is there anything special I should be doing with my install of OliveTin for it to work?
did you run the healthcheck ? in olivetin
Yes, but it doesn't provide helpful info when I'm not sure what I'm supposed to look for in the data it generates. There is a bunch under "Standard Error" but it's unclear.
It should look something like this read the Comments .... You need to post your errors so @bnhf can help
----------------------------------------
Checking that your selected Channels DVR server's data files (/mnt/192.168.50.93-8089) are accessible:
Folders with the names Database, Images, Imports, Logs, Movies, Streaming and TV should be visible...
total 36
drwxr-xr-x 9 1000 1000 4096 Jun 28 18:03 .
drwxr-xr-x 1 root root 4096 Jul 9 14:22 ..
drwxr-xr-x 32 1000 1000 4096 Jul 12 06:29 Database
drwxr-xr-x 3 1000 1000 4096 Feb 9 14:43 Images
drwxr-xr-x 5 1000 1000 4096 Dec 2 2023 Imports
drwxr-xr-x 4 1000 1000 4096 Feb 6 18:56 Logs
drwxr-xr-x 18 1000 1000 4096 Jul 4 18:01 Streaming
drwxr-xr-x 2 1000 1000 4096 Jun 28 18:03 TV
drwxr-xr-x 2 root root 4096 Apr 19 20:20 data
----------------------------------------
Checking that your selected Channels DVR server's log files (/mnt/192.168.50.93-8089_logs) are accessible:
Folders with the names data and latest should be visible...
total 44
drwxrwxr-x 9 1000 1000 4096 Jun 28 18:29 .
drwxr-xr-x 1 root root 4096 Jul 9 14:22 ..
drwxr-xr-x 2 1000 1000 4096 Jun 10 13:52 2024.06.09.1830
drwxr-xr-x 2 1000 1000 4096 Jun 12 20:09 2024.06.11.1941
drwxr-xr-x 2 1000 1000 4096 Jun 12 23:30 2024.06.12.2307
drwxr-xr-x 2 1000 1000 4096 Jun 15 03:00 2024.06.15.0226
drwxr-xr-x 2 1000 1000 4096 Jun 17 15:50 2024.06.17.1525
drwxr-xr-x 2 1000 1000 4096 Jun 28 18:29 2024.06.28.1813
drwxrwxr-x 15 1000 1000 4096 Jul 12 13:44 data
-rwxrwxr-x 1 1000 1000 4036 Feb 6 18:47 install.sh
lrwxrwxrwx 1 1000 1000 15 Jun 28 18:29 latest -> 2024.06.28.1813
-rwxrwxr-x 1 1000 1000 1192 Feb 6 18:47 uninstall.sh
Thanks. I did look through the comments first before trying to set things up... but this is what I'm seeing in the Errors result from the healthcheck @bnhf
+ dvr=192.168.1.123:8089
+ hostHealthcheck=0
+ [[ 0 == 0 ]]
+ hostHealthcheck=
++ echo 192.168.1.123:8089
++ awk -F: '{print $1}'
+ channelsHost=192.168.1.123
++ echo 192.168.1.123:8089
++ awk -F: '{print $2}'
+ channelsPort=8089
+ logFile=/config/192.168.1.123-8089_healthcheck-olivetin_latest.log
+ healthcheck=/config/fifopipe_containerside.sh
+ main
+ containerHealthcheck
+ echo -e 'Checking your OliveTin installation...'
+ [[ -n '' ]]
+ echo -e '(extended_check=false)\n'
+ echo -e '----------------------------------------\n'
+ echo -e 'Checking that your selected Channels DVR server (192.168.1.123:8089) is reachable by URL:'
+ echo -e 'HTTP Status: 200 indicates success...\n'
++ curl --fail --output /dev/null --max-time 5 -w 'HTTP Status: %{http_code}\nEffective URL: %{url_effective}\n' http://192.168.1.123:8089
+ curlDVR=' % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1276 100 1276 0 0 1246k 0 --:--:-- --:--:-- --:--:-- 1246k
HTTP Status: 200
Effective URL: http://192.168.1.123:8089/'
+ echo -e ' % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1276 100 1276 0 0 1246k 0 --:--:-- --:--:-- --:--:-- 1246k
HTTP Status: 200
Effective URL: http://192.168.1.123:8089/\n'
+ echo -e '----------------------------------------\n'
+ echo -e 'Checking that your selected Channels DVR server'\''s data files (/mnt/192.168.1.123-8089) are accessible:'
+ echo -e 'Folders with the names Database, Images, Imports, Logs, Movies, Streaming and TV should be visible...\n'
+ ls -la /mnt/192.168.1.123-8089
+ echo -e '\n----------------------------------------\n'
+ echo -e 'Checking that your selected Channels DVR server'\''s log files (/mnt/192.168.1.123-8089_logs) are accessible:'
+ echo -e 'Folders with the names data and latest should be visible...\n'
+ ls -la /mnt/192.168.1.123-8089_logs
+ echo -e '\n----------------------------------------\n'
+ echo -e 'Here'\''s a list of your current OliveTin-related settings:\n'
+ echo HOSTNAME=5766228eaa41
+ echo CHANNELS_DVR=192.168.1.123:8089
+ echo CHANNELS_DVR_ALTERNATES=
+ echo CHANNELS_CLIENTS=appletv4k
+ echo ALERT_SMTP_SERVER=smtp.gmail.com:587
+ echo username@gmail.com
+ awk -F@ '{print "ALERT_EMAIL_FROM=[Redacted]@" $2}'
+ [[ -n ALERT_EMAIL_PASS ]]
+ echo 'ALERT_EMAIL_PASS=[Redacted]'
+ echo username@gmail.com
+ awk -F@ '{print "ALERT_EMAIL_TO=[Redacted]@" $2}'
+ echo UPDATE_YAMLS=true
+ echo UPDATE_SCRIPTS=true
+ [[ -n ptr_rfXHJP5An+aEciUChuqB7sIZUqLDfB2OCVWOaFIK2fc ]]
+ echo 'PORTAINER_TOKEN=[Redacted]'
+ echo PORTAINER_HOST=docker-host
+ echo -e '\n----------------------------------------\n'
+ echo -e 'Here'\''s the contents of /etc/resolv.conf from inside the container:\n'
+ sed 's/tail.*\.ts\.net/tail[Redacted].ts.net/' /etc/resolv.conf
+ echo -e '\n----------------------------------------\n'
+ echo -e 'Here'\''s the contents of /etc/hosts from inside the container:\n'
+ cat /etc/hosts
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ cat /config/192.168.1.123-8089_healthcheck-olivetin_latest.log
Would you mind posting the results from Standard Output as well?
Sure! Here you go:
Checking your OliveTin installation...
(extended_check=false)
----------------------------------------
Checking that your selected Channels DVR server (192.168.1.123:8089) is reachable by URL:
HTTP Status: 200 indicates success...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1276 100 1276 0 0 1246k 0 --:--:-- --:--:-- --:--:-- 1246k
HTTP Status: 200
Effective URL: http://192.168.1.123:8089/
----------------------------------------
Checking that your selected Channels DVR server's data files (/mnt/192.168.1.123-8089) are accessible:
Folders with the names Database, Images, Imports, Logs, Movies, Streaming and TV should be visible...
total 632
d--------- 1 root root 38 Jul 12 12:15 #recycle
d--------- 1 root root 4122 Jul 12 12:24 .
drwxr-xr-x 1 root root 82 Jul 12 12:23 ..
-rwxrwx--- 1 999 uucp 26628 Jul 11 10:56 .DS_Store
-rwxrwx--- 1 999 uucp 4096 Jul 2 21:50 ._.DS_Store
---------- 1 root root 859 Jul 12 12:32 192.168.1.123-8089_healthcheck-olivetin_latest.log
d--------- 1 root root 120 Jul 9 12:14 2024.05.07.1442
d--------- 1 root root 154 Jul 9 12:43 2024.07.09.1551
d--------- 1 root root 154 Jul 9 15:14 2024.07.09.1812
d--------- 1 root root 154 Jul 12 11:24 2024.07.12.0633
drwxrwx--- 1 999 uucp 1504 Jul 12 11:24 Database
drwxrwx--- 1 999 uucp 227618 Jul 12 01:38 Images
drwxrwx--- 1 999 uucp 28 Jul 9 10:48 Imports
d--------- 1 root root 32 Jul 9 12:32 Logs
drwxrwx--- 1 999 uucp 10258 Jul 12 12:25 Movies
d--------- 1 root root 8 Jul 9 23:09 Streaming
drwxrwx--- 1 999 uucp 30014 Jul 9 23:09 TV
---------- 1 root root 73 Jul 12 12:23 adbtuner.env
---x--x--x 1 root root 1361 Jul 12 12:23 adbtuner.sh
---------- 1 root root 861 Jul 12 12:23 adbtuner.yaml
---------- 1 root root 550 Jul 12 12:23 ah4c.env
---x--x--x 1 root root 1843 Jul 12 12:23 ah4c.sh
---------- 1 root root 3715 Jul 12 12:23 ah4c.yaml
---------- 1 root root 111 Jul 12 12:23 cc4c.env
---x--x--x 1 root root 389 Jul 12 12:23 cc4c.sh
---------- 1 root root 1213 Jul 12 12:23 cc4c.yaml
---x--x--x 1 root root 348 Jul 12 12:23 ccextractor.sh
---x--x--x 1 root root 11244 Jul 12 12:23 cdvr_movie_library_to_csv.py
---x--x--x 1 root root 381 Jul 12 12:23 cdvr_movie_library_to_csv.sh
---x--x--x 1 root root 8481 Jul 12 12:23 cdvrhelperbookmarklet.sh
---x--x--x 1 root root 40646 Jul 12 12:23 channels_dvr_monitor_channels.py
---x--x--x 1 root root 4139 Jul 12 12:23 channels_dvr_monitor_channels.sh
---x--x--x 1 root root 13735 Jul 12 12:23 channels_to_csv.py
---x--x--x 1 root root 377 Jul 12 12:23 channels_to_csv.sh
---x--x--x 1 root root 881 Jul 12 12:23 channels_to_csv_awk.sh
---x--x--x 1 root root 110 Jul 12 12:23 comskipignore.sh
---x--x--x 1 root root 2555 Jul 12 12:23 comskipini.sh
---------- 1 root root 70216 Jul 12 12:23 config.yaml
d--------- 1 root root 12 Jul 12 12:23 custom-webui
d--------- 1 root root 1348 Jul 12 12:24 data
---x--x--x 1 root root 1383 Jul 12 12:23 deletelogs.sh
---x--x--x 1 root root 145 Jul 12 12:23 dockercompose.sh
---x--x--x 1 root root 733 Jul 12 12:23 edlstrip.sh
---------- 1 root root 519 Jul 12 12:23 eplustv.env
---x--x--x 1 root root 1752 Jul 12 12:23 eplustv.sh
---------- 1 root root 3038 Jul 12 12:23 eplustv.yaml
---x--x--x 1 root root 417 Jul 12 12:23 fifopipe_containerside.sh
---x--x--x 1 root root 1850 Jul 12 12:23 fifopipe_hostside.sh
---------- 1 root root 72 Jul 12 12:23 filebot.env
---x--x--x 1 root root 389 Jul 12 12:23 filebot.sh
---------- 1 root root 843 Jul 12 12:23 filebot.yaml
---x--x--x 1 root root 770 Jul 12 12:23 fix_thumbnails.rb
---x--x--x 1 root root 968 Jul 12 12:23 fix_thumbnails.sh
---x--x--x 1 root root 4288 Jul 12 12:23 foreground.sh
---------- 1 root root 126 Jul 12 12:23 frndlytv-for-channels.env
---x--x--x 1 root root 2264 Jul 12 12:23 frndlytv-for-channels.sh
---------- 1 root root 909 Jul 12 12:23 frndlytv-for-channels.yaml
---x--x--x 1 root root 4948 Jul 12 12:23 generatem3u.sh
---x--x--x 1 root root 7661 Jul 12 12:23 healthcheck.sh
---x--x--x 1 root root 814 Jul 12 12:23 healthcheck_stack.sh
---x--x--x 1 root root 5539 Jul 12 12:23 healthcheck_wsl.sh
---x--x--x 1 root root 4321 Jul 12 12:23 ical_2_xmltv.py
---x--x--x 1 root root 1013 Jul 12 12:23 ical_2_xmltv.sh
---------- 1 root root 36 Jul 12 12:23 installation-id.txt
lrwxrwxrwx 1 root root 15 Jul 12 11:24 latest -> 2024.07.12.0633
---x--x--x 1 root root 408 Jul 12 12:23 listcomskipignore.sh
---x--x--x 1 root root 1055 Jul 12 12:23 llc2metadata.sh
---x--x--x 1 root root 1317 Jul 12 12:23 logalerter.sh
---x--x--x 1 root root 3522 Jul 12 12:23 logalerts.sh
---x--x--x 1 root root 879 Jul 12 12:23 logfilter.sh
---x--x--x 1 root root 1414 Jul 12 12:23 manualrecordings.sh
---x--x--x 1 root root 741 Jul 12 12:23 markforrerecord.sh
---x--x--x 1 root root 642 Jul 12 12:23 marknocommercials.sh
---------- 1 root root 72 Jul 12 12:23 mediainfo.env
---x--x--x 1 root root 389 Jul 12 12:23 mediainfo.sh
---------- 1 root root 924 Jul 12 12:23 mediainfo.yaml
---------- 1 root root 436 Jul 12 12:23 mlb.tv-for-channels.env
---x--x--x 1 root root 1497 Jul 12 12:23 mlb.tv-for-channels.sh
---------- 1 root root 3819 Jul 12 12:23 mlb.tv-for-channels.yaml
---x--x--x 1 root root 475 Jul 12 12:23 notifications.sh
---------- 1 root root 312 Jul 12 12:23 olivetin-for-channels.env
---------- 1 root root 2146 Jul 12 12:23 olivetin-for-channels.yaml
---------- 1 root root 54 Jul 12 12:23 organizr.env
---x--x--x 1 root root 335 Jul 12 12:23 organizr.sh
---------- 1 root root 466 Jul 12 12:23 organizr.yaml
---x--x--x 1 root root 826 Jul 12 12:23 pingcdvr.sh
---x--x--x 1 root root 1366 Jul 12 12:23 playonedl.sh
---------- 1 root root 41 Jul 12 12:23 plex-for-channels.env
---x--x--x 1 root root 1500 Jul 12 12:23 plex-for-channels.sh
---------- 1 root root 606 Jul 12 12:23 plex-for-channels.yaml
---x--x--x 1 root root 1801 Jul 12 12:23 plexiptv.sh
---x--x--x 1 root root 2313 Jul 12 12:23 plextoken.sh
---------- 1 root root 81 Jul 12 12:23 pluto-for-channels.env
---x--x--x 1 root root 1513 Jul 12 12:23 pluto-for-channels.sh
---------- 1 root root 933 Jul 12 12:23 pluto-for-channels.yaml
---------- 1 root root 26 Jul 12 12:23 pluto.env
---x--x--x 1 root root 217 Jul 12 12:23 pluto.sh
---------- 1 root root 521 Jul 12 12:23 pluto.yaml
---x--x--x 1 root root 1663 Jul 12 12:23 portainerstack.sh
---x--x--x 1 root root 142 Jul 12 12:23 removecomskipignore.sh
---x--x--x 1 root root 374 Jul 12 12:23 restartshutdown.sh
---------- 1 root root 26 Jul 12 12:23 samsung-tvplus-for-channels.env
---x--x--x 1 root root 1460 Jul 12 12:23 samsung-tvplus-for-channels.sh
---------- 1 root root 693 Jul 12 12:23 samsung-tvplus-for-channels.yaml
---x--x--x 1 root root 88 Jul 12 12:23 scanlocalcontent.sh
---x--x--x 1 root root 136 Jul 12 12:23 setcomskipignore.sh
---x--x--x 1 root root 330 Jul 12 12:23 stationid.sh
---------- 1 root root 26 Jul 12 12:23 stirr-for-channels.env
---x--x--x 1 root root 1448 Jul 12 12:23 stirr-for-channels.sh
---------- 1 root root 669 Jul 12 12:23 stirr-for-channels.yaml
---------- 1 root root 133 Jul 12 12:23 tailscale.env
---x--x--x 1 root root 365 Jul 12 12:23 tailscale.sh
---------- 1 root root 1266 Jul 12 12:23 tailscale.yaml
---------- 1 root root 41 Jul 12 12:23 tubi-for-channels.env
---x--x--x 1 root root 1455 Jul 12 12:23 tubi-for-channels.sh
---------- 1 root root 606 Jul 12 12:23 tubi-for-channels.yaml
---x--x--x 1 root root 175 Jul 12 12:23 updateyamldate.sh
---------- 1 root root 119 Jul 12 12:23 vlc-bridge-fubo.env
---x--x--x 1 root root 1487 Jul 12 12:23 vlc-bridge-fubo.sh
---------- 1 root root 793 Jul 12 12:23 vlc-bridge-fubo.yaml
---------- 1 root root 41 Jul 12 12:23 vlc-bridge-pbs.env
---x--x--x 1 root root 1426 Jul 12 12:23 vlc-bridge-pbs.sh
---------- 1 root root 392 Jul 12 12:23 vlc-bridge-pbs.yaml
---------- 1 root root 80 Jul 12 12:23 vlc-bridge-uk.env
---x--x--x 1 root root 351 Jul 12 12:23 vlc-bridge-uk.sh
---------- 1 root root 430 Jul 12 12:23 vlc-bridge-uk.yaml
---------- 1 root root 35 Jul 12 12:23 watchtower.env
---x--x--x 1 root root 323 Jul 12 12:23 watchtower.sh
---------- 1 root root 536 Jul 12 12:23 watchtower.yaml
----------------------------------------
Checking that your selected Channels DVR server's log files (/mnt/192.168.1.123-8089_logs) are accessible:
Folders with the names data and latest should be visible...
total 640
d--------- 1 root root 38 Jul 12 12:15 #recycle
d--------- 1 root root 4122 Jul 12 12:24 .
drwxr-xr-x 1 root root 82 Jul 12 12:23 ..
-rwxrwx--- 1 999 uucp 26628 Jul 11 10:56 .DS_Store
-rwxrwx--- 1 999 uucp 4096 Jul 2 21:50 ._.DS_Store
---------- 1 root root 8839 Jul 12 12:32 192.168.1.123-8089_healthcheck-olivetin_latest.log
d--------- 1 root root 120 Jul 9 12:14 2024.05.07.1442
d--------- 1 root root 154 Jul 9 12:43 2024.07.09.1551
d--------- 1 root root 154 Jul 9 15:14 2024.07.09.1812
d--------- 1 root root 154 Jul 12 11:24 2024.07.12.0633
drwxrwx--- 1 999 uucp 1504 Jul 12 11:24 Database
drwxrwx--- 1 999 uucp 227618 Jul 12 01:38 Images
drwxrwx--- 1 999 uucp 28 Jul 9 10:48 Imports
d--------- 1 root root 32 Jul 9 12:32 Logs
drwxrwx--- 1 999 uucp 10258 Jul 12 12:25 Movies
d--------- 1 root root 8 Jul 9 23:09 Streaming
drwxrwx--- 1 999 uucp 30014 Jul 9 23:09 TV
---------- 1 root root 73 Jul 12 12:23 adbtuner.env
---x--x--x 1 root root 1361 Jul 12 12:23 adbtuner.sh
---------- 1 root root 861 Jul 12 12:23 adbtuner.yaml
---------- 1 root root 550 Jul 12 12:23 ah4c.env
---x--x--x 1 root root 1843 Jul 12 12:23 ah4c.sh
---------- 1 root root 3715 Jul 12 12:23 ah4c.yaml
---------- 1 root root 111 Jul 12 12:23 cc4c.env
---x--x--x 1 root root 389 Jul 12 12:23 cc4c.sh
---------- 1 root root 1213 Jul 12 12:23 cc4c.yaml
---x--x--x 1 root root 348 Jul 12 12:23 ccextractor.sh
---x--x--x 1 root root 11244 Jul 12 12:23 cdvr_movie_library_to_csv.py
---x--x--x 1 root root 381 Jul 12 12:23 cdvr_movie_library_to_csv.sh
---x--x--x 1 root root 8481 Jul 12 12:23 cdvrhelperbookmarklet.sh
---x--x--x 1 root root 40646 Jul 12 12:23 channels_dvr_monitor_channels.py
---x--x--x 1 root root 4139 Jul 12 12:23 channels_dvr_monitor_channels.sh
---x--x--x 1 root root 13735 Jul 12 12:23 channels_to_csv.py
---x--x--x 1 root root 377 Jul 12 12:23 channels_to_csv.sh
---x--x--x 1 root root 881 Jul 12 12:23 channels_to_csv_awk.sh
---x--x--x 1 root root 110 Jul 12 12:23 comskipignore.sh
---x--x--x 1 root root 2555 Jul 12 12:23 comskipini.sh
---------- 1 root root 70216 Jul 12 12:23 config.yaml
d--------- 1 root root 12 Jul 12 12:23 custom-webui
d--------- 1 root root 1348 Jul 12 12:24 data
---x--x--x 1 root root 1383 Jul 12 12:23 deletelogs.sh
---x--x--x 1 root root 145 Jul 12 12:23 dockercompose.sh
---x--x--x 1 root root 733 Jul 12 12:23 edlstrip.sh
---------- 1 root root 519 Jul 12 12:23 eplustv.env
---x--x--x 1 root root 1752 Jul 12 12:23 eplustv.sh
---------- 1 root root 3038 Jul 12 12:23 eplustv.yaml
---x--x--x 1 root root 417 Jul 12 12:23 fifopipe_containerside.sh
---x--x--x 1 root root 1850 Jul 12 12:23 fifopipe_hostside.sh
---------- 1 root root 72 Jul 12 12:23 filebot.env
---x--x--x 1 root root 389 Jul 12 12:23 filebot.sh
---------- 1 root root 843 Jul 12 12:23 filebot.yaml
---x--x--x 1 root root 770 Jul 12 12:23 fix_thumbnails.rb
---x--x--x 1 root root 968 Jul 12 12:23 fix_thumbnails.sh
---x--x--x 1 root root 4288 Jul 12 12:23 foreground.sh
---------- 1 root root 126 Jul 12 12:23 frndlytv-for-channels.env
---x--x--x 1 root root 2264 Jul 12 12:23 frndlytv-for-channels.sh
---------- 1 root root 909 Jul 12 12:23 frndlytv-for-channels.yaml
---x--x--x 1 root root 4948 Jul 12 12:23 generatem3u.sh
---x--x--x 1 root root 7661 Jul 12 12:23 healthcheck.sh
---x--x--x 1 root root 814 Jul 12 12:23 healthcheck_stack.sh
---x--x--x 1 root root 5539 Jul 12 12:23 healthcheck_wsl.sh
---x--x--x 1 root root 4321 Jul 12 12:23 ical_2_xmltv.py
---x--x--x 1 root root 1013 Jul 12 12:23 ical_2_xmltv.sh
---------- 1 root root 36 Jul 12 12:23 installation-id.txt
lrwxrwxrwx 1 root root 15 Jul 12 11:24 latest -> 2024.07.12.0633
---x--x--x 1 root root 408 Jul 12 12:23 listcomskipignore.sh
---x--x--x 1 root root 1055 Jul 12 12:23 llc2metadata.sh
---x--x--x 1 root root 1317 Jul 12 12:23 logalerter.sh
---x--x--x 1 root root 3522 Jul 12 12:23 logalerts.sh
---x--x--x 1 root root 879 Jul 12 12:23 logfilter.sh
---x--x--x 1 root root 1414 Jul 12 12:23 manualrecordings.sh
---x--x--x 1 root root 741 Jul 12 12:23 markforrerecord.sh
---x--x--x 1 root root 642 Jul 12 12:23 marknocommercials.sh
---------- 1 root root 72 Jul 12 12:23 mediainfo.env
---x--x--x 1 root root 389 Jul 12 12:23 mediainfo.sh
---------- 1 root root 924 Jul 12 12:23 mediainfo.yaml
---------- 1 root root 436 Jul 12 12:23 mlb.tv-for-channels.env
---x--x--x 1 root root 1497 Jul 12 12:23 mlb.tv-for-channels.sh
---------- 1 root root 3819 Jul 12 12:23 mlb.tv-for-channels.yaml
---x--x--x 1 root root 475 Jul 12 12:23 notifications.sh
---------- 1 root root 312 Jul 12 12:23 olivetin-for-channels.env
---------- 1 root root 2146 Jul 12 12:23 olivetin-for-channels.yaml
---------- 1 root root 54 Jul 12 12:23 organizr.env
---x--x--x 1 root root 335 Jul 12 12:23 organizr.sh
---------- 1 root root 466 Jul 12 12:23 organizr.yaml
---x--x--x 1 root root 826 Jul 12 12:23 pingcdvr.sh
---x--x--x 1 root root 1366 Jul 12 12:23 playonedl.sh
---------- 1 root root 41 Jul 12 12:23 plex-for-channels.env
---x--x--x 1 root root 1500 Jul 12 12:23 plex-for-channels.sh
---------- 1 root root 606 Jul 12 12:23 plex-for-channels.yaml
---x--x--x 1 root root 1801 Jul 12 12:23 plexiptv.sh
---x--x--x 1 root root 2313 Jul 12 12:23 plextoken.sh
---------- 1 root root 81 Jul 12 12:23 pluto-for-channels.env
---x--x--x 1 root root 1513 Jul 12 12:23 pluto-for-channels.sh
---------- 1 root root 933 Jul 12 12:23 pluto-for-channels.yaml
---------- 1 root root 26 Jul 12 12:23 pluto.env
---x--x--x 1 root root 217 Jul 12 12:23 pluto.sh
---------- 1 root root 521 Jul 12 12:23 pluto.yaml
---x--x--x 1 root root 1663 Jul 12 12:23 portainerstack.sh
---x--x--x 1 root root 142 Jul 12 12:23 removecomskipignore.sh
---x--x--x 1 root root 374 Jul 12 12:23 restartshutdown.sh
---------- 1 root root 26 Jul 12 12:23 samsung-tvplus-for-channels.env
---x--x--x 1 root root 1460 Jul 12 12:23 samsung-tvplus-for-channels.sh
---------- 1 root root 693 Jul 12 12:23 samsung-tvplus-for-channels.yaml
---x--x--x 1 root root 88 Jul 12 12:23 scanlocalcontent.sh
---x--x--x 1 root root 136 Jul 12 12:23 setcomskipignore.sh
---x--x--x 1 root root 330 Jul 12 12:23 stationid.sh
---------- 1 root root 26 Jul 12 12:23 stirr-for-channels.env
---x--x--x 1 root root 1448 Jul 12 12:23 stirr-for-channels.sh
---------- 1 root root 669 Jul 12 12:23 stirr-for-channels.yaml
---------- 1 root root 133 Jul 12 12:23 tailscale.env
---x--x--x 1 root root 365 Jul 12 12:23 tailscale.sh
---------- 1 root root 1266 Jul 12 12:23 tailscale.yaml
---------- 1 root root 41 Jul 12 12:23 tubi-for-channels.env
---x--x--x 1 root root 1455 Jul 12 12:23 tubi-for-channels.sh
---------- 1 root root 606 Jul 12 12:23 tubi-for-channels.yaml
---x--x--x 1 root root 175 Jul 12 12:23 updateyamldate.sh
---------- 1 root root 119 Jul 12 12:23 vlc-bridge-fubo.env
---x--x--x 1 root root 1487 Jul 12 12:23 vlc-bridge-fubo.sh
---------- 1 root root 793 Jul 12 12:23 vlc-bridge-fubo.yaml
---------- 1 root root 41 Jul 12 12:23 vlc-bridge-pbs.env
---x--x--x 1 root root 1426 Jul 12 12:23 vlc-bridge-pbs.sh
---------- 1 root root 392 Jul 12 12:23 vlc-bridge-pbs.yaml
---------- 1 root root 80 Jul 12 12:23 vlc-bridge-uk.env
---x--x--x 1 root root 351 Jul 12 12:23 vlc-bridge-uk.sh
---------- 1 root root 430 Jul 12 12:23 vlc-bridge-uk.yaml
---------- 1 root root 35 Jul 12 12:23 watchtower.env
---x--x--x 1 root root 323 Jul 12 12:23 watchtower.sh
---------- 1 root root 536 Jul 12 12:23 watchtower.yaml
----------------------------------------
Here's a list of your current OliveTin-related settings:
HOSTNAME=5766228eaa41
CHANNELS_DVR=192.168.1.123:8089
CHANNELS_DVR_ALTERNATES=
CHANNELS_CLIENTS=appletv4k
ALERT_SMTP_SERVER=smtp.gmail.com:587
ALERT_EMAIL_FROM=[Redacted]@gmail.com
ALERT_EMAIL_PASS=[Redacted]
ALERT_EMAIL_TO=[Redacted]@gmail.com
UPDATE_YAMLS=true
UPDATE_SCRIPTS=true
PORTAINER_TOKEN=[Redacted]
PORTAINER_HOST=docker-host
----------------------------------------
Here's the contents of /etc/resolv.conf from inside the container:
# Generated by Docker Engine.
# This file can be edited; Docker Engine will not make further changes once it
# has been modified.
nameserver 127.0.0.11
options ndots:0
# Based on host file: '/etc/resolv.conf' (internal resolver)
# ExtServers: [192.168.1.1]
# Overrides: []
# Option ndots from: internal
----------------------------------------
Here's the contents of /etc/hosts from inside the container:
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.18.0.3 5766228eaa41
Also, if you could post what you're seeing for output when you run a Project One-Click Action -- that would be helpful.
This is likely the issue. What URL do you typically use to access Portainer from a browser on your LAN?
I go directly to my IP:Port for Portainer access.
I think you're right about my docker-host... what do I put there? Here's the output from trying to OneClick Samsung TV:
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 docker-host ]]
+ extensionURL=docker-host:8182
+ [[ # == \# ]]
+ cdvrStartingChannel=
+ [[ -n '' ]]
+ cdvrIgnoreM3UNumbers=
+ curl -s -o /dev/null http://docker-host: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=docker-host
+ curl -s -o /dev/null http://docker-host:9000
+ portainerURL='https://docker-host:9443/api/stacks?type=2&method=string&endpointId=2'
+ portainerToken=ptr_rfXHJP5An+aEciUChuqB7sIZUqLDfB2OCVWOaFIK2fc
+ 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://docker-host:9443/api/stacks?type=2&method=string&endpointId=2:'
++ curl -k -X POST -H 'Content-Type: application/json' -H 'X-API-Key: ptr_rfXHJP5An+aEciUChuqB7sIZUqLDfB2OCVWOaFIK2fc' -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://docker-host:9443/api/stacks?type=2&method=string&endpointId=2'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: docker-host
+ portainerResponse=
+ [[ -z '' ]]
+ exit 1
+ [[ 1 == 1 ]]
+ exit 1```
Use that IP
value then for PORTAINER_HOST
Unrelated to Project One-Click, but your LOGS_SHARE value isn't correct yet -- and this is a result of you using CDVR in a container. Can you post your compose or the command line you use for CDVR too please?
I had a feeling the container had something to do with it. I'm running this on a brand new UGreen NAS and I had to use their docker app to set everything up... I actually wrote up the description of how I got it installed since it's a bit different than docker usually works...
You can see how I set up CDVR her: Setting Up Channels DVR on UGREEN NAS - Channels DVR Server - Channels Community (getchannels.com)
Project One-Click should be working for you now, but there are other Actions that depend on LOGS_SHARE being correct. Could you follow this link, and post the output please: