New bnhf/olivetin:latest (aka bnhf/olivetin:2025.02.19) pushed this morning with improvements to the OliveTin Post-Install Healthcheck Action.
The following items have been added to the Action's Standard Output:
-
OliveTin-for-Channels version number
-
Suggested DVR_SHARE values for those running their CDVR Server and Docker/Portainer on the same system. (this addition, and the next, are as suggested by @chDVRuser many moons ago)
-
Suggested LOGS_SHARE values for those running their CDVR Server and Docker/Portainer on the same system.
-
PORTAINER_HOST, PORTAINER_PORT and PORTAINER_TOKEN values are tested by using them to get the Portainer version via http and https.
The output is automatically sanitized for posting online, and looks like this:
Checking your OliveTin-for-Channels installation...
(extended_check=false)
Version 2025.02.16
----------------------------------------
Checking that your selected Channels DVR server (media-server8: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 249k 0 --:--:-- --:--:-- --:--:-- 249k
HTTP Status: 200
Effective URL: http://media-server8:8089/
----------------------------------------
Checking that your selected Channels DVR server's data files (/mnt/media-server8-8089) are accessible:
Folders with the names Database, Images, Imports, Logs, Movies, Streaming and TV should be visible...
total 8
drwxr-xr-x 2 1000 1000 4096 Jan 20 01:44 .
drwxr-xr-x 1 root root 4096 Feb 16 07:33 ..
drwxr-xr-x 2 1000 1000 0 Feb 19 07:33 Database
drwxr-xr-x 2 1000 1000 0 Feb 18 23:12 Images
drwxr-xr-x 2 1000 1000 0 Sep 25 08:43 Imports
drwxr-xr-x 2 1000 1000 0 Sep 25 08:43 Logs
drwxr-xr-x 2 1000 1000 0 Jan 2 06:21 Movies
drwxr-xr-x 2 1000 1000 0 Nov 18 06:35 PlayOn
drwxr-xr-x 2 1000 1000 0 Feb 16 19:12 Streaming
drwxr-xr-x 2 1000 1000 0 Feb 16 07:00 TV
drwxr-xr-x 2 1000 1000 0 Jan 20 01:44 tubearchivist
If the listed folders are NOT visible, AND you have your Channels DVR and Docker on the same system:
Channels reports this path as...
G:\dvr
When using a Windows path in Portainer, change the backslashes to slashes like this...
G:/dvr
When using WSL with a Linux distro and Docker Desktop, it's also possible to use...
/mnt/g/dvr
----------------------------------------
Checking that your selected Channels DVR server's log files (/mnt/media-server8-8089_logs) are accessible:
Folders with the names data and latest should be visible...
total 12
drwxr-xr-x 2 1000 1000 4096 Jan 21 16:30 .
drwxr-xr-x 1 root root 4096 Feb 16 07:33 ..
drwxr-xr-x 2 1000 1000 0 Sep 21 02:23 2024.09.10.2115
drwxr-xr-x 2 1000 1000 0 Dec 5 19:40 2024.12.05.1913
drwxr-xr-x 2 1000 1000 0 Dec 7 13:40 2024.12.07.0453
drwxr-xr-x 2 1000 1000 0 Dec 9 19:40 2024.12.10.0055
drwxr-xr-x 2 1000 1000 0 Dec 28 02:37 2024.12.27.0121
-rwxr-xr-x 1 1000 1000 829 Jan 21 16:30 Channels DVR Server.lnk
drwxr-xr-x 2 1000 1000 0 Feb 19 09:15 data
drwxr-xr-x 2 1000 1000 0 Jan 21 16:30 latest
If the listed folders are NOT visible, AND you have your Channels DVR and Docker on the same system:
Channels reports this path as...
C:\ProgramData\ChannelsDVR
When using a Windows path in Portainer, change the backslashes to slashes like this...
C:/ProgramData/ChannelsDVR
When using WSL with a Linux distro and Docker Desktop, it's also possible to use...
/mnt/c/ProgramData/ChannelsDVR
----------------------------------------
Checking if your Portainer token is working on ports 9000 and/or 9443:
Portainer http response on port 9000 reports version 2.21.4
Portainer https response on port 9443 reports version 2.21.4
----------------------------------------
Here's a list of your current OliveTin-related settings:
HOSTNAME=olivetin
CHANNELS_DVR=media-server8:8089
CHANNELS_DVR_ALTERNATES=utheater-pc:8089
CHANNELS_CLIENTS=appletv4k firestick-master
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=false
UPDATE_SCRIPTS=false
PORTAINER_TOKEN=[Redacted]
PORTAINER_HOST=htpc6
PORTAINER_PORT=9443
----------------------------------------
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
search localdomain tail[Redacted].ts.net
options ndots:0
# Based on host file: '/etc/resolv.conf' (internal resolver)
# ExtServers: [100.100.100.100]
# Overrides: [search]
# 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.21.0.2 olivetin
There's also an extended check option, which requires running a helper script from the directory on your DOCKER/Portainer host that contains your OliveTin scripts. To get this deeper dive, run this first from the commandline on your host:
sudo -E ./fifopipe_hostside.sh "$PATH"
If you're running as root, it's:
./fifopipe_hostside.sh "$PATH"
You'll see this response on your terminal:
This script will be terminated from the container side once the OliveTin healthcheck has finished running...
Running the Healthcheck again, with the extended option, would give output that includes additional system data of potential interest:
Checking your OliveTin-for-Channels installation...
(extended_check=true)
Version 2025.02.16
----------------------------------------
Checking that your selected Channels DVR server (media-server8: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 178k 0 --:--:-- --:--:-- --:--:-- 178k
HTTP Status: 200
Effective URL: http://media-server8:8089/
----------------------------------------
Checking that your selected Channels DVR server's data files (/mnt/media-server8-8089) are accessible:
Folders with the names Database, Images, Imports, Logs, Movies, Streaming and TV should be visible...
total 8
drwxr-xr-x 2 1000 1000 4096 Jan 20 01:44 .
drwxr-xr-x 1 root root 4096 Feb 16 07:33 ..
drwxr-xr-x 2 1000 1000 0 Feb 19 07:33 Database
drwxr-xr-x 2 1000 1000 0 Feb 18 23:12 Images
drwxr-xr-x 2 1000 1000 0 Sep 25 08:43 Imports
drwxr-xr-x 2 1000 1000 0 Sep 25 08:43 Logs
drwxr-xr-x 2 1000 1000 0 Jan 2 06:21 Movies
drwxr-xr-x 2 1000 1000 0 Nov 18 06:35 PlayOn
drwxr-xr-x 2 1000 1000 0 Feb 16 19:12 Streaming
drwxr-xr-x 2 1000 1000 0 Feb 16 07:00 TV
drwxr-xr-x 2 1000 1000 0 Jan 20 01:44 tubearchivist
If the listed folders are NOT visible, AND you have your Channels DVR and Docker on the same system:
Channels reports this path as...
G:\dvr
When using a Windows path in Portainer, change the backslashes to slashes like this...
G:/dvr
When using WSL with a Linux distro and Docker Desktop, it's also possible to use...
/mnt/g/dvr
----------------------------------------
Checking that your selected Channels DVR server's log files (/mnt/media-server8-8089_logs) are accessible:
Folders with the names data and latest should be visible...
total 12
drwxr-xr-x 2 1000 1000 4096 Jan 21 16:30 .
drwxr-xr-x 1 root root 4096 Feb 16 07:33 ..
drwxr-xr-x 2 1000 1000 0 Sep 21 02:23 2024.09.10.2115
drwxr-xr-x 2 1000 1000 0 Dec 5 19:40 2024.12.05.1913
drwxr-xr-x 2 1000 1000 0 Dec 7 13:40 2024.12.07.0453
drwxr-xr-x 2 1000 1000 0 Dec 9 19:40 2024.12.10.0055
drwxr-xr-x 2 1000 1000 0 Dec 28 02:37 2024.12.27.0121
-rwxr-xr-x 1 1000 1000 829 Jan 21 16:30 Channels DVR Server.lnk
drwxr-xr-x 2 1000 1000 0 Feb 19 09:15 data
drwxr-xr-x 2 1000 1000 0 Jan 21 16:30 latest
If the listed folders are NOT visible, AND you have your Channels DVR and Docker on the same system:
Channels reports this path as...
C:\ProgramData\ChannelsDVR
When using a Windows path in Portainer, change the backslashes to slashes like this...
C:/ProgramData/ChannelsDVR
When using WSL with a Linux distro and Docker Desktop, it's also possible to use...
/mnt/c/ProgramData/ChannelsDVR
----------------------------------------
Checking if your Portainer token is working on ports 9000 and/or 9443:
Portainer http response on port 9000 reports version 2.21.4
Portainer https response on port 9443 reports version 2.21.4
----------------------------------------
Here's a list of your current OliveTin-related settings:
HOSTNAME=olivetin
CHANNELS_DVR=media-server8:8089
CHANNELS_DVR_ALTERNATES=utheater-pc:8089
CHANNELS_CLIENTS=appletv4k firestick-master
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=false
UPDATE_SCRIPTS=false
PORTAINER_TOKEN=[Redacted]
PORTAINER_HOST=htpc6
PORTAINER_PORT=9443
----------------------------------------
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
search localdomain tail[Redacted].ts.net
options ndots:0
# Based on host file: '/etc/resolv.conf' (internal resolver)
# ExtServers: [100.100.100.100]
# Overrides: [search]
# 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.21.0.2 olivetin
----------------------------------------
Your Docker-host is running:
"Debian GNU/Linux 11 (bullseye)"
----------------------------------------
Your Docker-host's /etc/resolv.conf file contains:
# resolv.conf(5) file generated by tailscale
# For more info, see https://tailscale.com/s/resolvconf-overwrite
# DO NOT EDIT THIS FILE BY HAND -- CHANGES WILL BE OVERWRITTEN
nameserver 100.100.100.100
search tail[Redacted].ts.net
----------------------------------------
Your Docker-host's /etc/hosts file contains:
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# --- BEGIN PVE ---
192.168.110.111 htpc6.tail[Redacted].ts.net htpc6
# --- END PVE ---
----------------------------------------
Your Tailscale version is:
1.76.1
tailscale commit: 24929f6b611127cdc40d45ef40d75c6afc1fcc4c
other commit: 5e54dcf15265cb83e84e617a5a7e0c1b013c61c7
go version: go1.23.1
----------------------------------------