jcreynoldsii

Community Developer
  • Posts

    100
  • Joined

  • Last visited

Everything posted by jcreynoldsii

  1. Confirmed that in order to get this to work I have to reference the disk rather /mnt/user, and I am using unRaid 6.2.4
  2. This is/should be the exact same as what is in hadashboard github. As marijngiesen was credited for creating it: Installation can be performed using Docker (Contributed by marijngiesen) However, I'll give it a looker over. Edit: Looked it over and interestingly enough the one you claim is working has the VOLUME(s) commented out: 1 1 FROM ruby:2.2.5 2 2 MAINTAINER Marijn Giesen <[email protected]> 3 3 4 4 RUN apt-get update \ 5 5 && apt-get install -y \ 6 6 sqlite \ 7 7 nodejs \ 8 8 libpq-dev \ 9 9 libssl-dev \ 10 10 libsqlite3-dev \ 11 11 ruby-dev \ 12 12 python3 \ 13 13 python3-pip \ 14 14 && mkdir /app \ 15 15 && rm -rf /var/lib/apt/lists/* 16 16 17 17 WORKDIR /app 18 18 COPY . . 19 19 20 20 RUN gem install dashing \ 21 21 && gem install bundler \ 22 22 && bundle \ 23 23 && pip3 install daemonize sseclient configobj \ 24 24 && pip3 install --upgrade requests 25 25 26 26 27 27 EXPOSE 3030 28 28 29 - #VOLUME /app/lib /app/dashboards /app/hapush 29 + VOLUME /app/lib /app/dashboards /app/hapush 30 30 31 31 CMD /app/hapush/hapush.py -d /app/hapush/hapush.cfg && dashing start So how are you modifying and moving dashboards and widgets?
  3. Do not put anything in the volumes! Pardon my ignorance. I have yet to read the link your provided and haven't been able to wrap my mind around volumes yet.
  4. you should be specifying the path /media not the hosts path. After doing that it goes to splash of a little patience, then immediately goes to Something went wrong. Unknown error. Getting closer. Found a folder with some files that had permission issues got rid of those files and have been sitting at Just a little patience ... for about 10 minutes. Fingers crossed. OK stay patient it took about thirty mins to scan my library Sent from my SM-G900F using Tapatalk All scanned and added. How does this handle additions and modifications to the library? Is this going to require 30-45 minute scan each time a modification is made? Edit: I tested a modification to 3 different artists and hit scan and it only took a few seconds. So it must know to skip un-changed sub-dir's, so I have no doubt that an addition would react the same. Awesome app and great docker, thanks for your help!
  5. you should be specifying the path /media not the hosts path. After doing that it goes to splash of a little patience, then immediately goes to Something went wrong. Unknown error. Getting closer. Found a folder with some files that had permission issues got rid of those files and have been sitting at Just a little patience ... for about 10 minutes. Fingers crossed.
  6. saarg and CHBMB thanks for your honesty. CHBMB, let me get things configured in a manner where the file gets pulled into the volumes from the master branch for this project, per the link saarg provided. From there I will document the steps I have taken to write a successful Dockerfile and got from there. Dockers are great, but if you don't understand the in's and out's of them they are a royal pain. Ultimately, that is my road block. I know what I want to do, I don't always know how to do it and sometimes I have a hard time explaining it to others. However, since there are a couple of others that have also spoken up about wanting this to work for them as well I will press on and continue updating this thread with my findings and hopefully in the very near future, solution. CHBMB, I will tell you that I tried using the Dockerfile as is and installation instructions in the master branch and had absolutely 0 luck. Master Branch: https://github.com/home-assistant/hadashboard Install instructions: https://github.com/home-assistant/hadashboard#using-docker-non-raspian
  7. Fair enough. Is there anything suspicious in regards to permission issues?
  8. So should I setup my VOLUMES after the install like so: FROM ruby:2.2.5 MAINTAINER jcreynolds RUN mkdir -p /usr/src/app WORKDIR /usr/src/app RUN apt-get update \ && apt-get install -y \ sqlite \ nodejs \ libpq-dev \ libssl-dev \ libsqlite3-dev \ ruby-dev \ python3 \ python3-pip \ && rm -rf /var/lib/apt/lists/* COPY . . EXPOSE 3030 RUN gem install dashing \ && gem install bundler \ && bundle \ && pip3 install daemonize sseclient configobj \ && pip3 install --upgrade requests VOLUME /usr/src/app/lib /usr/src/app/dashboards /usr/src/app/hapush CMD /usr/src/app/hapush/hapush.py -d /hapush/hapush.cfg && dashing start Also what would be the best means for having the Dockerfile copy the files from the original projects github to the host? Ultimately I would like to bypass the repo cloning steps: https://github.com/home-assistant/hadashboard#using-docker-non-raspian Is there a better base image to use rather than Ruby 2.2.5 Perhaps I am getting closer appears to have a permissions issue is there any thing suspect in the Dockerfile to you saarg? /bin/sh: 1: /usr/src/app/hapush/hapush.py: Permission denied
  9. you should be specifying the path /media not the hosts path. After doing that it goes to splash of a little patience, then immediately goes to Something went wrong. Unknown error. Getting closer.
  10. the xml did contain those paths, however after many iterations of modifying the Dockerfile and xml to try to get this run it was left in a state of only one mapped volume. I have re-modified the XML and Dockerfile to reflect these changes to include the volumes for this path. Waiting on docker hub to build as we speak. I'll report back after that. hapush is or should rather, be installed via the docker setup. I have gotten this whole project up and running the other way. But would really like to get this to work via a docker container. Ultimately I would like this docker to go out and get the files from the github repo. But haven't worried about this until I get the other method working.
  11. I gave it four solid days with absolutely no luck, I had 0 luck getting the volumes to share data between the host and container. I have scoured the docker forums and home-assistant forums for help and no one has stepped forward to give me any assistance. I really want this on my unRaid instead of a RPi as well. I suppose I'll have to give this another go, I just got burnt out the first time.
  12. I get Something went wrong. The media path is not a valid or readable path. I am using /mnt/user/HTPC/Music which is the share folder where all my Music is stored. What am I missing?
  13. NodeLink currently supports the following devices: - Venstar ColorTouch Thermostats - Brultech GEM - Ecobee Thermostats - Generic Data (formerly ISYLink) - DSC PowerSeries Alarms - Honeywell (Total Connect Comfort) Thermostats - RainMachine Irrigation Controllers - ISY Variable/Program Logger - CAI WebControl 8 - OWFS (1-Wire) - Modbus TCP - MiLight RGBW Light WiFi Bridge - Honeywell Alarm Systems
  14. I can see that the container does properly copy the files from github. However those files are not being hosted on unraid when I link to the /config volume. Link to project: https://github.com/jcreynolds/hadashboard Link to unraid xml: https://github.com/jcreynolds/docker-templates/blob/master/HADashboard.xml Link to docker hub: https://hub.docker.com/r/jcreynolds/hadashboard/ What am I missing?
  15. Its the first time I have rebooted since making this post. Everything seems to be okay, for now.
  16. For the VM that I have always had and has been working up until these issues: 3 Cores 2 Gig of Ram XML: <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>BennyHTPC</name> <uuid>9823f860-5a24-bdd5-ab27-51b090f854bc</uuid> <description>Home Theater PC</description> <metadata> <vmtemplate name="Custom" icon="windows.png" os="windows"/> </metadata> <memory unit='KiB'>2097152</memory> <currentMemory unit='KiB'>2097152</currentMemory> <memoryBacking> <nosharepages/> <locked/> </memoryBacking> <vcpu placement='static'>3</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='1'/> <vcpupin vcpu='2' cpuset='2'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type> </os> <features> <acpi/> <apic/> <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> </hyperv> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='3' threads='1'/> </cpu> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/Config/VMs/BennyHTPC/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/Config/Images/Windows8.1.iso'/> <target dev='hda' bus='ide'/> <readonly/> <boot order='2'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/Config/Images/virtio-win-0.1.102.iso'/> <target dev='hdb' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:a6:c7:af'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/BennyHTPC.org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </memballoon> </devices> <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='ioh3420,bus=pci.0,addr=1c.0,multifunction=on,port=2,chassis=1,id=root.1'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=01:00.1,bus=root.1,addr=00.1'/> </qemu:commandline> </domain> For the one that I have been trying to create: 2 Cores, 2 Gig. And I wasn't planning on running them simultaneous. Also read that I shouldn't run Windows VMs or any VMs for that matter from the array and that I should run them from a cache pool. I currently do no have any cache drives. I guess I should order one. However, I do not believe this has anything to do with what I am experiencing. I rebooted my server and was able to get a diagnostics and system log. My memory usage is down to 17% and holding, if a VM runs away with memory and shuts itself off due to low memory will it continue to keep consuming it while it is powered off? Also after reboot I was able to start a VM as well create a new one. bennysrv-syslog-20160721-1355.zip bennysrv-diagnostics-20160721-1354.zip
  17. Not sure I understand why this would be different from what I tried in Edit#2. Nonetheless I tried it and it created a new domain.img, however, I still get the same error when creating a VM. As you're not able to get the diagnostic either, I suspect you have a hardware problem. Have you tried running memtest to see if the memory might be bad? Also post your hardware specs. I have not run a memtest, I'll have to run it later when I get home. While we wait on the results of a memtest here are my hardware specs for you to digest: CPU: AMD Athlon X4 860K Kaveri Quad-Core 3.7 GHz Socket FM2+ 95W AD860KXBJABOX Desktop Processor (BLACK EDITION) RAM: G.SKILL Ripjaws Series 8GB (2 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) Desktop Memory Model F3-12800CL9D-8GBRL MOBO: GIGABYTE GA-F2A88XM-D3H FM2+ / FM2 AMD A88X (Bolton D4) SATA 6Gb/s USB 3.0 HDMI Micro ATX AMD Motherboard PSU: Thermaltake Toughpower TPD-0750M - SLI/ CrossFire Ready 80 PLUS Gold Certification and Semi Modular Cables Black ... I've also noticed that my RAM usage has slowly been creeping up over the last couple days. With nothing more than my dockers running. It is currently at 71% usage.
  18. Not sure I understand why this would be different from what I tried in Edit#2. Nonetheless I tried it and it created a new domain.img, however, I still get the same error when creating a VM.
  19. I have been experiencing some issues with my VM just shutting off, which I believe I have narrowed down to needing more RAM. However, when I try to create a new VM I get the following error: cannot write data to file '/var/run/libvirt/qemu/[NameofVM].xml.new': No space left on device. After searching around the forums I ran across this thread: https://lime-technology.com/forum/index.php?topic=42919.0 I followed jonp's instructions for configuring a new USB, however, I still get the issue: I realized that my issue didn't totally line up with the other users as I do not have the plugin that was causing his issues nor did I experience an array rebuild. Another thing that I noticed is that after trying to create the VM and upon receiving the error my shares are not available for roughly 5 minutes. I tried generating diagnostics and system log to post but I am getting a 404 File not found page for both files. Any help would be much appreciated. I guess the first step would be to get the log issue figured out. Edit #1: Here is the link to my domain.img: https://drive.google.com/open?id=0B5FQeJW99h6zM3NhdmtyZm1IRWs Edit #2: The issue still occurs even after trying the following from jonp:
  20. I get the following entry constantly: Jul 18 15:09:25 BennySRV avahi-daemon[2834]: Received packet from invalid interface. Jul 18 15:09:26 BennySRV avahi-daemon[2834]: Received packet from invalid interface. Jul 18 15:09:26 BennySRV avahi-daemon[2834]: Received packet from invalid interface. Jul 18 15:09:33 BennySRV avahi-daemon[2834]: Received packet from invalid interface. Jul 18 15:09:34 BennySRV avahi-daemon[2834]: Received packet from invalid interface. Jul 18 15:09:34 BennySRV avahi-daemon[2834]: Received packet from invalid interface. Any way to find out what is generating these?
  21. I've noticed while I am currently running a parity check, Unmenu states that there is no array started. Which is definitely not true. Unmenu has always worked and showed accurate data in the past. Any ideas?
  22. 3 Ways to delete 1 - Via CA's Previous apps section (click the red X) 2 - Via dockerMan - Add Template, load the my* template then click the red X 3 - Manually /boot/config/plugins/dockerMan/templates-user/ That worked. Thanks!
  23. Where are the my- xml templates stored? I have a few that I want to delete.
  24. Overview: Support for Docker image NodeLink Application: http://automationshack.com/wp/nodelink/ Docker Hub: https://hub.docker.com/r/jcreynolds/nodelink/ GitHub: https://github.com/jcreynolds/NodeLink