Fiala06 Posted February 12, 2020 Share Posted February 12, 2020 I'm trying to install telegraf from the Apps page. I keep getting this error. Any ideas what to check next? IMAGE ID [alpine]: Pulling from library/telegraf. IMAGE ID [9123ac7c32f7]: Pulling fs layer. Downloading 100% of 3 MB. Verifying Checksum. Extracting. Pull complete. IMAGE ID [0018c3785b24]: Pulling fs layer. Downloading 100% of 154 B. Verifying Checksum. Download complete. Extracting. Pull complete. IMAGE ID [444cfcaf1783]: Pulling fs layer. Downloading 100% of 4 MB. Verifying Checksum. Download complete. Extracting. Pull complete. IMAGE ID [9b983ec894e9]: Pulling fs layer. Downloading 100% of 19 MB. Verifying Checksum. Download complete. Extracting. Pull complete. IMAGE ID [683fffda800a]: Pulling fs layer. Downloading 100% of 184 B. Verifying Checksum. Download complete. Extracting. Pull complete. Status: Downloaded newer image for telegraf:alpine TOTAL DATA PULLED: 26 MB root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='telegraf' --net='host' --privileged=true -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'HOST_PROC'='/rootfs/proc' -e 'HOST_SYS'='/rootfs/sys' -e 'HOST_ETC'='/rootfs/etc' -e 'HOST_MOUNT_PREFIX'='/rootfs' -v '/var/run/utmp':'/var/run/utmp':'ro' -v '/var/run/docker.sock':'/var/run/docker.sock':'ro' -v '/':'/rootfs':'ro' -v '/sys':'/rootfs/sys':'ro' -v '/etc':'/rootfs/etc':'ro' -v '/proc':'/rootfs/proc':'ro' -v '/mnt/cache/appdata/telegraf/telegraf.conf':'/etc/telegraf/telegraf.conf':'rw' 'telegraf:alpine' 47351865713e8fa0df63a41a2d8e0041982edabde94f9b675c6062b1be85bacc /usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"/mnt/cache/appdata/telegraf/telegraf.conf\" to rootfs \"/var/lib/docker/btrfs/subvolumes/bdb1172b54dea01f8bb2912f7f52ef2fdfc6a77059e1f6aceea6b7a9204b343d\" at \"/var/lib/docker/btrfs/subvolumes/bdb1172b54dea01f8bb2912f7f52ef2fdfc6a77059e1f6aceea6b7a9204b343d/etc/telegraf/telegraf.conf\" caused \"not a directory\""": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type. The command failed. Quote Link to comment
Alphahelix Posted March 2, 2020 Share Posted March 2, 2020 (edited) I had the same issue, if you create the folder telegraf and copy you telegraf.conf to the new folder, it will install. Now I just have an issue in getting the docker to start. but hopefully you will have more luck than me in that matter. EDIT: It was a human error. so it should work. Edited March 2, 2020 by Alphahelix Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.