This looks to be the root of the problem. You're getting a version number from Portainer, but not an Environment ID. This is likely caused by your Portainer Token being incorrect.
I would suggest creating a new one. Copy it, and save it in a safe place. Then stop your OliveTin Stack, and replace your current PORTAINER_TOKEN value with the new one. Then click the Update the stack button.
After that rerun the Healthcheck, and let's see if that takes care of the issue.
Ah, I think that's the problem I had last time. Portainer won't let me edit certain stacks, including Olivetin. I see the below on the stack with no option to edit.
Information
This stack was created outside of Portainer. Control over this stack is limited.
Yes. Generate a fresh Portainer token first, and store it in a safe place. Then create your OliveTin stack using the latest OliveTin compose from here:
The Healthcheck posts you made here show many of the values you'll need for the environment variables section.
I added everything and keep getting an error deploying the stack. It says EZ Start variable not set - defaulting to blank string. What is that? I entered all of the variables.
It sounds like you're misinterpreting the message you're seeing regarding why the stack isn't deploying. There will often be informational (or warning) messages along with an actual error.
When a stack doesn't deploy be sure to look at the entire message. More often than not, the reason for the failure is found at the end of the message, not at the beginning.
If it's not clear to you why the stack isn't deploying, see if you can capture the entire error message and post it here.
> failed to deploy a stack: time="2025-07-02T23:22:54Z" level=warning msg="The \"EZ_START\" variable is not set. Defaulting to a blank string." time="2025-07-02T23:22:54Z" level=warning msg="The \"EZ_START\" variable is not set. Defaulting to a blank string." time="2025-07-02T23:22:54Z" level=warning msg="The \"EZ_START\" variable is not set. Defaulting to a blank string." time="2025-07-02T23:22:54Z" level=warning msg="The \"EZ_START\" variable is not set. Defaulting to a blank string." services.olivetin.volumes array items[4,7] must be unique.
Below are the variables:
> name
> TAG
>
> value
> latest
> name
> DOMAIN
>
> value
> 192.168.150.242
> name
> HOST_PORT
>
> value
> 1337
> name
> CHANNELS_DVR_HOST
>
> value
> 192.168.150.242
> name
> ALERT_SMTP_SERVER
>
> value
> smtp.gmail.com:587
> name
> ALERT_EMAIL_TO
>
> value
> @gmail.com
> name
> ALERT_EMAIL_FROM
>
> value
> @gmail.com
> name
> ALERT_EMAIL_PASS
>
> value
> XXXXXXX
> name
> CHANNELS_DVR_HOST
>
> value
> 192.168.150.242:8089
> name
> TZ
>
> value
> US/Central
> name
> UPDATE_YAMLS
>
> value
> true
> name
> UPDATE_SCRIPTS
>
> value
> true
> name
> CHANNELS_CLIENTS
>
> value
> 92.168.150.231 192.168.150.194 146.12.197.19 192.168.150.177
> name
> PORTAINER_TOKEN
>
> value
> ptr_CKemMBtE8e9GNUCbSCdkWiutGJMOG8oRI7THHIc+U54=
> name
> PORTAINER_PORT
>
> value
> 9443
> name
> PORTAINER_HOST
>
> value
> 192.168.150.242
> name
> HOST_DIR
>
> value
> /Users/jasontrippe
> name
> PERSISTENT_LOGS
>
> value
> false
> name
> PORTAINER_ENV
>
> value
> 2
> name
> HOST_SFS_PORT
>
> value
> 8080
> name
> CHANNELS_DVR2_HOST
>
> value
> e.g. bar
> name
> CHANNELS_DVR3_HOST
>
> value
> e.g. bar
> name
> CHANNELS_DVR2_PORT
>
> value
> e.g. bar
> name
> CHANNELS_DVR3_PORT
>
> value
> e.g. bar
> name
> DOMAIN
>
> value
> 192.168.150.242
> name
> DVR_SHARE
>
> value
> Volumes/External Drive/Channels DVR
> name
> LOGS_SHARE
>
> value
> Volumes/External Drive/Channels DVR
> name
> TUBEARCHIVIST_SHARE
>
> value
> Volumes/External Drive/Channels DVR
> name
> FOLDER
>
> value
> /web
> name
> DVR2_SHARE
>
> value
> e.g. bar
> name
> LOGS2_SHARE
>
> value
> e.g. bar
> name
> TUBEARCHIVIST2_SHARE
>
> value
> e.g. bar
> name
> DVR3_SHARE
>
> value
> e.g. bar
> name
> LOGS3_SHARE
>
> value
> e.g. bar
> name
> TUBEARCHIVIST3_SHARE
>
> value
> e.g. bar
> name
> CHANNELS_DVR_PORT
>
> value
> 8089
I'm not sure where you're getting this bizarre presentation of the env vars from. But, what you should be doing, is going into the Portainer-Stacks editor, selecting Advanced mode and then copy and paste the contents. Be sure to REDACT anything sensitive. Here's mine for example:
This is not correct. Your LAN's domain name can be left blank if you don't know it, don't have Tailscale installed, and are happy to use IP addresses for everything.
You've duplicated a number of entries, including this one, which is probably the cause for error.
Here's the list of sample variables from the post I linked for you:
You have several incorrect variables in what you posted, plus duplicates, plus missing variables. Please take another pass at this and post you're values here for me to look at.
Looking better, though I'm sure your CDVR programs are not stored here. But let's leave this one as-is for the moment.
I'm almost certain this is wrong, as it's the sample value. If you're running on a Mac (which it looks like you are), and you have CDVR and Docker/Portainer all on the same computer -- then this value would be 192.168.150.242 too.
This seems wrong as well, as your Channels clients should all be on the same subnet, i.e. 192.168.150.xxx. What's with the 146.12.197.19 value?
Ok, I changed the portainer host. That didn't work. The 146 domain is correct. It is my in-laws house. Do I have to list every single client, as there are a bunch for us?
The client IPs are mostly for sending messages to all clients, and you only need to list those on your local network. Remote systems could only be reached if you used Tailscale.
What do you mean by this? Are you seeing the exact same error message? If not, please post the new error.
I changed the Portainer host to my local domain. The error looks the same:
> failed to deploy a stack: time="2025-07-03T00:37:44Z" level=warning msg="The \"EZ_START\" variable is not set. Defaulting to a blank string." time="2025-07-03T00:37:44Z" level=warning msg="The \"EZ_START\" variable is not set. Defaulting to a blank string." time="2025-07-03T00:37:44Z" level=warning msg="The \"EZ_START\" variable is not set. Defaulting to a blank string." time="2025-07-03T00:37:44Z" level=warning msg="The \"EZ_START\" variable is not set. Defaulting to a blank string." services.olivetin.volumes array items[4,7] must be unique```
I see it now. As the error suggests the problem is with the above. Without a leading slash these paths are assumed to be volumes -- which is not what you're intending. Add the leading slashes to indicate directory paths, and you should be good.