March 4, 20206 yr can someone help me understand why this wont pull down /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/traccar/traccar-web\" to rootfs \"/var/lib/docker/btrfs/subvolumes/f4df116db9a71738f7590c5ad155d4a2114c4c2f20479c6e074c1e99f7df9956\" at \"/var/lib/docker/btrfs/subvolumes/f4df116db9a71738f7590c5ad155d4a2114c4c2f20479c6e074c1e99f7df9956/opt/traccar/conf/traccar.xml\" 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 /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/traccar/traccar-web\" to rootfs \"/var/lib/docker/btrfs/subvolumes/f4df116db9a71738f7590c5ad155d4a2114c4c2f20479c6e074c1e99f7df9956\" at \"/var/lib/docker/btrfs/subvolumes/f4df116db9a71738f7590c5ad155d4a2114c4c2f20479c6e074c1e99f7df9956/opt/traccar/conf/traccar.xml\" 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 Edited March 4, 20206 yr by Fiservedpi
March 4, 20206 yr Author It's a template from the app store I'm just not understanding what they mean by "add it to your host path first"
March 4, 20206 yr Community Expert 22 minutes ago, Fiservedpi said: It's a template from the app store I'm just not understanding what they mean by "add it to your host path first" You can go directly from the Apps page to the correct support thread for any of your dockers or plugins there by simply clicking on the (?) Support Thread link in the listing for the docker or plugin. And just for completeness: Installed dockers have a Support link from clicking on the docker icon on the Dashboard or Docker page. Installed plugins have a Support link from the Plugins page.
March 4, 20206 yr Author Yeah I'm so confused with this traccar I've tried the app store tried via docker pull tried installing via Linux VM I think I'm just confusing myself more, thanks for the replies
March 4, 20206 yr Community Expert 32 minutes ago, jonathanm said: docker run command? First link in the Docker FAQ: https://forums.unraid.net/topic/57181-docker-faq/
March 5, 20206 yr A template for this would be great! When installing I get: Quote /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/user/appdata/traccar/traccar.xml\" to rootfs \"/var/lib/docker/btrfs/subvolumes/e93dd231bb7f35fda48cf2d1987aa7b7cc65b2babecf2d38eeb751ff0ce2f040\" at \"/var/lib/docker/btrfs/subvolumes/e93dd231bb7f35fda48cf2d1987aa7b7cc65b2babecf2d38eeb751ff0ce2f040/opt/traccar/conf/traccar.xml\" 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. I tried changing the port ranges as I have stuff in the 5000 range. Thanks H. Edited March 5, 20206 yr by hernandito
March 5, 20206 yr You need to download the xml linked in the description, place it somewhere on your array, and add the path for the xml to the `traccar.xml` volume mapping
March 7, 20206 yr On 3/5/2020 at 10:28 AM, Roxedus said: You need to download the xml linked in the description, place it somewhere on your array, and add the path for the xml to the `traccar.xml` volume mapping Sorry.... can you advise where the .xml can be downloaded, and how do you map it? A screenshot would help.. thank you!
March 7, 20206 yr The xml is linked in the description in the template, but here it is https://raw.githubusercontent.com/traccar/traccar/master/setup/traccar.xml The screenshot assumes you placed the xml inside the traccar appdata folder
March 7, 20206 yr Getting there, but stuck. I use ls-io letsencrypt docker. Don’t know how to configure a conf file so that a device can send its location to Traccer. I’m testing with my phone. I created a new conf file based on my CouchPotato and it look like this ; Quote # first go into couchpotato settings, under "General" set the URL Base to /couchpotato and restart the couchpotato container location ^~ /traccar { # enable the next two lines for http auth # auth_basic "CP"; # auth_basic_user_file /config/.htpasswd; # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf #auth_request /auth; #error_page 401 =200 /login; include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; # set $upstream_couchpotato CouchPotato; proxy_pass http://192.168.0.201:7000; } I changed my port range to the 7000s. In my phone, the status shows “location update”. But in my Traccer web UI it shows the device as “offline”. Any help?
March 8, 20206 yr Any help? I have never used traccar, does it actually serve on /traccar? Does it support that base path?
March 11, 20206 yr On 3/8/2020 at 7:10 AM, Roxedus said: I have never used traccar, does it actually serve on /traccar? Does it support that base path? I tried both SUBDOMAIN and subfolder. I somehow ended up messing up my letsencrypt setup. I gave up on it. If someone has a good reverse proxy .conf that would be great. Edited March 11, 20206 yr by hernandito
July 12, 20223 yr On 3/11/2020 at 12:28 PM, hernandito said: I tried both SUBDOMAIN and subfolder. I somehow ended up messing up my letsencrypt setup. I gave up on it. If someone has a good reverse proxy .conf that would be great. Hi all! My issue is the same to hernandito's. Messed with nginx a bit but gave up. Any solution?
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.