Using OliveTin to Host YouTube Live Channel URLs Based on the Kister Method

Improvement available in bnhf/olivetin:2025.01.20
If OliveTin can't connect to www.youtube.com, it will log that and retry every 60 seconds until connected.
2025-01-20T16:04:19-08:00 www.youtube.com connection failed, retrying in 60 seconds
2025-01-20T16:05:19-08:00 www.youtube.com connection failed, retrying in 60 seconds
It then runs the update cycle instead of skipping it.

Hello Im trying to add the m3u to the $HOST_DIR/olivetin/data/$CHANNELS_HOST-$CHANNELS_PORT
but there is no such directory in my system i have an ubuntu and the docker files are saved in /var/lib/docker but i am not allowed to enter that folder i can not even change the permission with the command sudo chown -R, assuming that is where i am supposed to put my m3u file in, can you help me please?

What value did you use for $HOST_DIR in your Portainer-Stack env vars?

i dont know what value to use because although my porrtainer runs on 192.168.1.69:9000 there is no such file or folder in my system even when i enter that address in my folder browser

Go ahead and post all of the values you used in the Environment variables section of Portainer-Stacks for OliveTin. In Advanced mode you should be able to extract a list that looks similar to this:

TAG=latest
DOMAIN=tailxxxxx.ts.net
HOST_PORT=1337
CHANNELS_DVR_HOST=local-server
CHANNELS_DVR_PORT=8089
CHANNELS_DVR2_HOST=another-server
CHANNELS_DVR2_PORT=8089
CHANNELS_CLIENTS=appletv4k-den firestick-bedroom
ALERT_SMTP_SERVER=smtp.gmail.com:587
ALERT_EMAIL_FROM=username@gmail.com
ALERT_EMAIL_PASS=xxxxxxxxxxxxxxxx
ALERT_EMAIL_TO=username@gmail.com
UPDATE_YAMLS=true
UPDATE_SCRIPTS=true
TZ=US/Mountain
HOST_DIR=/data
DVR_SHARE=/mnt/dvr
LOGS_SHARE=/mnt/channelsdvr
TUBEARCHIVIST_SHARE=/mnt/dvr
HOST_SFS_PORT=8080
FOLDER=/web
PORTAINER_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PORTAINER_HOST=docker-host
PORTAINER_PORT=9443

TAG=latest
DOMAIN=attlocal.net
HOST_PORT=1337
CHANNELS_DVR_HOST=192.168.1.69
CHANNELS_DVR_PORT=8089
ALERT_SMTP_SERVER=smtp.gmail.com:587
ALERT_EMAIL_FROM=[REDACTED]
ALERT_EMAIL_PASS=[REDACTED]
ALERT_EMAIL_TO=[REDACTED]
UPDATE_YAMLS=true
UPDATE_SCRIPTS=true
TZ=America/New_York
HOST_DIR=/data
DVR_SHARE=/mnt/dvr
LOGS_SHARE=/mnt/channelsdvr
TUBEARCHIVIST_SHARE=/mnt/dvr
HOST_SFS_PORT=8080
FOLDER=/web
PORTAINER_TOKEN=[REDACTED]
PORTAINER_HOST=docker-host
PORTAINER_PORT=9000

So, you used /data for your $HOST_DIR value, and 192.168.1.69 for $CHANNELS_DVR_HOST and 8089 for $CHANNELS_DVR_PORT. Substituting in your env var values, the path on your system would be:

/data/olivetin/data/192.168.1.69-8089

but those folders dont show up on my system and when i type them in the file browser it says "Unable to find"

Are you using Ubuntu Server or Desktop?

i dont know how can i find out?

More importantly, if you can't use /data as a parent directory, you need to choose another directory that is writable. This is where your persistent OliveTin data will be stored.

There are numerous mistakes in the above, starting with using /data as your $HOST_DIR value, if you can't create new directories at the / (root) level -- which could be the case if you're using Ubuntu Desktop.

In addition, the following are likely incorrect:

DVR_SHARE= This is the path to where your Channels DVR recordings and other data are stored.
LOG_SHARE= This is the path to where your CDVR executables reside.
TUBE_ARCHIVIST= For most people this would be the same as your DVR_SHARE value.
PORTAINER_HOST= This is the hostname or IP address of the machine where Docker/Portainer are installed.
PORTAINER_PORT= This allows you to change the Portainer https:// port if necessary, but you definitely don't want to change it to the default Portainer http:// port.