OliveTin EZ-Start: The Next Generation. Deploy OliveTin-for-Channels from the Command Line without the Need for Portainer to be Installed in Advance!

OK, so when you installed Portainer did your see an actual Token in the results window? Also, both of the last couple of lists of env vars you've posted have been partial -- I need to see the complete set.

No token and those are the only variables that showed up

Are you sure it's not 192.168.150.175

1 Like

You're correct. Channels DVR works on that address

I've got the token now but cannot install olivetin under project one click
ALERT_EMAIL_FROM=
ALERT_EMAIL_PASS=
ALERT_EMAIL_TO=
UPDATE_YAMLS=true
UPDATE_SCRIPTS=true
TZ=America/Chicago
HOST_DIR=/data
DVR_SHARE=/Volumes/External Drive/Channels Server
LOGS_SHARE=/Users/jasontrippe/Library/Application Support/ChannelsDVR
TUBEARCHIVIST_SHARE=/Volumes/External Drive/Channels Server
DVR2_SHARE=
LOGS2_SHARE=
TUBEARCHIVIST2_SHARE=
DVR3_SHARE=
LOGS3_SHARE=
TUBEARCHIVIST3_SHARE=
HOST_SFS_PORT=8080
FOLDER=/web
PORTAINER_TOKEN=ptr_6gB2Mngdrvx+9RdPWOqz9QIjJzQnKN+K3rdkxcf7UYg=
PORTAINER_HOST=192.168.150.175
PORTAINER_PORT=9443
PORTAINER_ENV=1
PERSISTENT_LOGS=false

Here's waha I get for olivetin:

{
  "message": "failed to deploy a stack: compose up operation failed: Error response from daemon: mounts denied: \nThe path /data/olivetin/data is not shared from the host and is not known to Docker.\nYou can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.\nSee https://docs.docker.com/go/mac-file-sharing/ for more info.",
  "details": "Failed to deploy a stack: compose up operation failed: Error response from daemon: mounts denied: \nThe path /data/olivetin/data is not shared from the host and is not known to Docker.\nYou can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.\nSee https://docs.docker.com/go/mac-file-sharing/ for more info."
}
false```

You need to start again. Stop, remove and delete as described above. As I said to somebody the other day, this is a measure twice and cut once activity. You need to check and double check the very few data items you need to provide.

Also, if you're new to the world of Docker on the Mac Mini, you will not be able to use /data for your HOST_DIR. Before you produce your list of env vars you'll need to change that to a value that to a directory that exists under /Users (typically your username).

This should be more like:

HOST_DIR=/Users/jasontrippe

@jtrippe77 I know you're anxious to get this done, but if you could wait until I finish responding before plowing forward -- I think it would work better for both of us.

EDIT: Also, you're still not posting a complete set of env vars. You keep grabbing only a subset.

Sorry about that. Thank you so much for your help and your patience with me. I got it working.

I've been trying for several hours to follow the instructions but it always ends up not working. I've followed the steps and I'm currently stuck at Create an Olivetin Stack and I'm getting this error:
exit status 1

JSON response from http://192.168.7.168:9000/api/stacks/create/standalone/string?endpointId=1:
{
"message": "failed to deploy a stack: compose up operation failed: Error response from daemon: mounts denied: \nThe path /data/olivetin/data is not shared from the host and is not known to Docker.\nYou can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.\nSee Change settings | Docker Docs for more info.",
"details": "Failed to deploy a stack: compose up operation failed: Error response from daemon: mounts denied: \nThe path /data/olivetin/data is not shared from the host and is not known to Docker.\nYou can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.\nSee Change settings | Docker Docs for more info."
}
false

I've looked through all of the previous responses in this thread and tried to impliment any fixes that were already talked about but I"m just not getting anywhere.

I've tried following the steps to delete what i've done and start over a few times and I keep getting stuck.

I'm brand new to Docker and this is my first time trying to figure it out.

I'm setting everything up on an iMac (I don't have DVR server installed on the internal hard drive its on a usb external drive connected to the iMac if that makes a difference). I have docker installed. I can get the ez-start page to load. But every time I follow the steps get one error or another.

Any help would be Greatly appreciated. Thanks.

The answer is just a few posts up. You need to change the HOST_DIR value when you’re generating the OliveTin env vars, as the Mac implementation of Docker only allows you to write to certain paths:

I started over and it worked! thanks so much for the clarification. There are so many posts about a topic I'm new to that I got overwhelmed. Been using computers for 35 years and still anything that requires command line type stuff messes me up.

2 Likes

Trying to install portainer via one-click and get this error when I click on the "install portainer on docker host"

This looks like an issue where your Docker version is out-of-date. Are you able to update Docker? What OS is your Docker host running?

I'm running Docker version 20.10.3, build 55f0773 on a Synology NAS

That was released in 2020. Does Synology not provide a mechanism for updating?

On Synology, he will be using Container Manager (formerly Docker). The current version is 24.0.2-1543

The easiest way to update is thru the Package Center on Synology.

there is a process to do an update, but when I open the docker package and find the update section, auto update is enabled and no updates are available. The NAS is over 5 years old and will reach EOL in a year. I tried to update the NAS software itself but it says its got the most current update. There are ways to do manual updates, but my gut says dont.

DSM 6? You're gut may be right, but post the model number of the NAS, and some of the Channels Synology users can weigh-in on whether it makes any sense to pursue.

What NAS is it? What version are you on? If you’re on DSM 6, you’ll probably want to hit the Update & restore.

Both of my Synology NAS's are over 5 years and have no issues.