hernandito

Community Developer
  • Posts

    1482
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by hernandito

  1. I have certain Dockers and VMs that I activate/deactivate on an as-need basis. Is it possible to have a toggle button to hide-unhide inactive Dockers and VMs?
  2. Awesome stuff... Thank you guys... I do find this very useful.
  3. Hi Guys, As I explained earlier, I was able to convert a physical server into a VM image file I can easily load in the VM page of unRAID. The image works great and have 0 complaints. The only thin I would like to figure out is how to make this VM start up whenever I restart my unRAID. Everytime I reboot, I have to manually add it. I have obviously checked Auto-start. I have created an XML (copied from when clicking View XML in the context menu). I have recreated the folder structure in my VM folder to include image and xml files in matching sub-folders: vms share is cache only /mnt/user/vms/ nZEDbVM.xml /mnt/user/vms/nZEDbVM/ nZEDbVM.cfg /mnt/user/vms/nZEDbVM/nZEDbVM/ nZEDbVM.cfg vdisk1.img See XML below. It does not start up. I do not have an install ISO as I cloned the image. Any ideas? Thanks, H. XML contents: <domain type='kvm' id='2'> <name>nZEDbVM</name> <uuid>ef4edbde-7f3c-e387-4a37-019020512082</uuid> <metadata> <vmtemplate name="Custom" icon="ubuntu.png" os="ubuntu"/> </metadata> <memory unit='KiB'>4194304</memory> <currentMemory unit='KiB'>3145728</currentMemory> <memoryBacking> <nosharepages/> <locked/> </memoryBacking> <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='4'/> <vcpupin vcpu='1' cpuset='5'/> <vcpupin vcpu='2' cpuset='6'/> <vcpupin vcpu='3' cpuset='7'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-q35-2.3'>hvm</type> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='4' threads='1'/> </cpu> <clock offset='utc'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <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='none' io='native'/> <source file='/mnt/user/vms/nzedborig/nzedv.img'/> <backingStore/> <target dev='hda' bus='virtio'/> <boot order='1'/> <alias name='virtio-disk0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <alias name='usb0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <alias name='usb0'/> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0' multifunction='on'/> </controller> <controller type='sata' index='0'> <alias name='sata0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <controller type='pci' index='0' model='pcie-root'> <alias name='pcie.0'/> </controller> <controller type='pci' index='1' model='dmi-to-pci-bridge'> <alias name='pci.1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> </controller> <controller type='pci' index='2' model='pci-bridge'> <alias name='pci.2'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:f0:8a:04'/> <source bridge='br0'/> <target dev='vnet0'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/0'/> <target port='0'/> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/0'> <source path='/dev/pts/0'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/nZEDbVM.org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <alias name='input0'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='vmvga' vram='16384' heads='1'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x05' function='0x0'/> </memballoon> </devices> </domain>
  4. Updated my templates.... I hope I did them correctly.
  5. PERFECTION!!!! Working now. Many thanks
  6. VERY interesting idea to use it only for API and no user web interface... I may want to test that for a little.
  7. Thanks lboregard, I am on RC1... below are my mappings in the container; not sure if this is how /root should be mapped.
  8. Sparkly, do you have any experience w/ nzb indexers? nZEDb seems to be the most up-to date. Newznab development seems to be stagnant. THE real workhorse on these, is basically the script that scans for new stuff, tries to decode it, creates nzb, extracts image screen from video, reads the media encoding format, etc. And puts it all in a database to then be presented in a web user interface. For both nZEDB (which is a spin-off of Newznab) and Newznab, they use what is called the tmux script. Here are screencaps of it running in tmux (a screen-like program in Linux). This is a collection of scripts that are perpetually running and working. Setting up an indexer is no small feat... There are a TON of variables and settings within the software that takes a long time to figure out. Even if you are able to install the indexer, and all the dependencies and database connections; there is a significant end-user learning curve to overcome. End users cannot expect this to be a 2 click thing to get it working. Things like: - Which groups to index - create blacklists - create rules for various release categories - A lot of settings related to the Tmux script I mentioned above - Setting up IRC scraping (for wacky release name look up) - nzbpre ( same as above, but its a secret club/settings) I would certainly warn people this is NOT for linux newbies, and to seek support and knowledge outside the unRAID community. You are NOT going to want to support this past getting it installed and getting to the initial setup screen. For nZEDb this is the install guide if running on Ubuntu: https://github.com/nZEDb/nZEDb_Misc/blob/master/Guides/Installation/Ubuntu/Guide.md This is a tutorial I wrote that clarifies how to setup and run the IRCscraper (and I omitted the part of creating a znc user as it wont run in root user) http://forums.nzedb.com/index.php?topic=2000.0 I had a Newznab server running on Ubuntu Server working for a couple of years, when things began to fail. I started over (with no previous releases) from scratch with nZEDb less than 6 months ago. I ended up taking my Ubuntu drive, attached it to a machine that ran Parted Magic from a thumb drive, and I cloned the drive using dd. I then took that image, copied it to my unRAID machine, into a folder in cache, and I used the VM screen to launch that image. It worked like a charm. I have finally shut down that box. I will be glad to help and advice as much as I can... I am not a big expert, I just have tinkered with it over and over.
  9. I updated and I am getting on the home screen: "The array is not operational. Please start the array first." My array is running. In settings, I have folders /Media/Movies /Media/TV That are in: /mnt/user/Media/Movies /mnt/user/Media/TV This is what is in Unbalance's log on the Dockers page: *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 7 cp: cannot stat ‘/root/mdcmd’: No such file or directory chown: cannot access ‘/usr/bin/mdcmd’: No such file or directory I: 2015/05/22 09:30:36 boot.go:48: unBALANCE v0.6.8-131.3761bbf starting up ... I: 2015/05/22 09:30:36 settings.go:124: Config file saved as: ReservedSpace=450000000 Folders=[Media/Movies] DryRun=true Notifications=false [email protected] [email protected] Host=smtp.gmail.com Port=465 Encrypt=false User=myaccount I: 2015/05/22 09:30:36 settings.go:54: Config file loaded from (/config) as: ReservedSpace=450000000 Folders=[Media/Movies] DryRun=true Notifications=false [email protected] [email protected] Host=smtp.gmail.com Port=465 Encrypt=false User=myaccount I: 2015/05/22 09:30:36 socket.go:71: starting service Socket ... I: 2015/05/22 09:30:36 server.go:30: Starting service Server ... I: 2015/05/22 09:30:36 server.go:42: Serving files from /usr/local/share/unbalance I: 2015/05/22 09:30:36 server.go:69: started listening on :6237 I: 2015/05/22 09:30:36 core.go:68: starting service Core ... I: 2015/05/22 09:30:36 boot.go:63: Press Ctrl+C to stop ... 2015/05/22 09:30:46 [GIN] WARNING. Headers were already written! 2015/05/22 09:30:46 [GIN] WARNING. Headers were already written! 2015/05/22 09:30:46 [GIN] WARNING. Headers were already written! 2015/05/22 09:30:46 [GIN] WARNING. Headers were already written! 2015/05/22 09:30:46 [GIN] WARNING. Headers were already written! 2015/05/22 09:30:46 [GIN] WARNING. Headers were already written! 2015/05/22 09:30:46 [GIN] WARNING. Headers were already written! 2015/05/22 09:30:46 [GIN] WARNING. Headers were already written! 2015/05/22 09:30:47 [GIN] WARNING. Headers were already written! I: 2015/05/22 09:30:48 core.go:98: Sending config I: 2015/05/22 09:30:48 unraid.go:224: Unraid Box Condition: &{NumDisks:0 NumProtected:0 Synced:0001-01-01 00:00:00 +0000 UTC SyncErrs:0 Resync:0 ResyncPrcnt:0 ResyncPos:0 State: Size:0 Free:0 NewFree:0} I: 2015/05/22 09:30:48 unraid.go:225: Unraid Box SourceDiskName: I: 2015/05/22 09:30:48 unraid.go:226: Unraid Box BytesToMove: 0 2015/05/22 09:31:02 [GIN] WARNING. Headers were already written! I: 2015/05/22 09:31:18 unraid.go:224: Unraid Box Condition: &{NumDisks:0 NumProtected:0 Synced:0001-01-01 00:00:00 +0000 UTC SyncErrs:0 Resync:0 ResyncPrcnt:0 ResyncPos:0 State: Size:0 Free:0 NewFree:0} I: 2015/05/22 09:31:18 unraid.go:225: Unraid Box SourceDiskName: I: 2015/05/22 09:31:18 unraid.go:226: Unraid Box BytesToMove: 0 I: 2015/05/22 09:34:35 core.go:104: Saving config I: 2015/05/22 09:34:35 settings.go:124: Config file saved as: ReservedSpace=450000000 Folders=[Media/Movies Media/TV2] DryRun=true Notifications=false [email protected] [email protected] Host=smtp.gmail.com Port=465 Encrypt=false User=myaccount I: 2015/05/22 09:34:44 unraid.go:224: Unraid Box Condition: &{NumDisks:0 NumProtected:0 Synced:0001-01-01 00:00:00 +0000 UTC SyncErrs:0 Resync:0 ResyncPrcnt:0 ResyncPos:0 State: Size:0 Free:0 NewFree:0} I: 2015/05/22 09:34:44 unraid.go:225: Unraid Box SourceDiskName: I: 2015/05/22 09:34:44 unraid.go:226: Unraid Box BytesToMove: 0 I: 2015/05/22 09:36:05 unraid.go:224: Unraid Box Condition: &{NumDisks:0 NumProtected:0 Synced:0001-01-01 00:00:00 +0000 UTC SyncErrs:0 Resync:0 ResyncPrcnt:0 ResyncPos:0 State: Size:0 Free:0 NewFree:0} I: 2015/05/22 09:36:05 unraid.go:225: Unraid Box SourceDiskName: I: 2015/05/22 09:36:05 unraid.go:226: Unraid Box BytesToMove: 0 Any ideas? Many thanks.
  10. I too tried 9.2.0 and after installing, I could not get the context menu in the icon to start/stop/edit... I went throught some rigamaroles to manually remove the docker manually.
  11. Thank you guys... will try that and report....
  12. Unfortunately, this is hard to do. Thre are many customizations that I have done to the image that makes it nex to impossible to re-trace all my steps. Things like creating custom mounts to non unRAID computers, custom cronjobs... It would be nice to be able to save the changes and restore them if there is a need to remove the container or the entire image file. If there is no way of doing this at all, I can make the effort of creating a new Dockerhub and all... Although I doubt anyone would be interested in stuff I have in a cronjob, server names, passwords... Thanks.
  13. Hi Guys, I think this is the last piece of the puzzle that I need. I have created Dockers and templates using Github, Docker Autobuild etc. I have one of the Dockers which I created, template, repository. To this docker, I have manually added configuration stuff, cron jobs, scripts, and other assorted additional programs that are not part of the Dockerfile. Is it possible to save this machine as a file or repo, or something that includes all that added stuff. Googling around, I have performed the following command. docker save nameofmycontainer > /mnt/cache/appdata/backupdocker.tar File is almost 400MB, which is probably right for what it is. If in the future, I have to either remove the container from the Docker page, or even re-create the full Docker image from >Settings>Docker. How do I add this backup back so that I can then manage it from the list in the DockerMan page in the WebGUI? Any advice is greatly appreciated. I think this would be valuable information for reference. Thanks. H.
  14. Why not do a VM? Dont know the first thing about Centos or PBXIaF... but it seems straight forwrad. If you have the latest rc relerase, go to settings and enable VMs. Then on the VM tab setup the VM machine and point it to the Centos Install ISO... I am not an expert though....
  15. I have Sickrage working great... but no account at TOrrentday.... if you had an invite for me....
  16. What are some other cool ideas for VM's? On VM, I am running nZEDb usenet indexer for my friends and family. On Dockers I am running: Calibre Server Apache-PHP-phpMyAdmin Madsonic MariaDb Plex MS Plexwatch I use plugins for: Sab Sickrage, CP, HP, Sonarr (still trying to like it) NZBMegasearch I have never had any issue running any of the above via plugins.
  17. Made a template for MineOS... Works fine on my system. https://github.com/hernandito/docker-templates
  18. Thanks Jon... I did create a share on cache drive only...
  19. If you have no experience w/ repositories, or Github, I am happy to host it on mine... I just need a paste of the xml file. I will add the instructions, icons, etc.
  20. Hey ren... good job.... I created a VM using MineOS... but a docker sounds better. Any chance you could share the template file?
  21. Wow... To answer my own question.... I connected my existing Ubuntu Server HD to a computer, where I had another hard drive as weel (my Windows machine). I booted with Parted Magic and I dd the entire Ubuntu drive into a .img file. I booted windows and I copied the image file into a subdirectory inside my VM directory. I went to add a VM in unRAID Web GUI, I picked the image file as Primary vDisk Location. Started it and I have my old Ubuntu server running!!
  22. Thank you Jonp, I upgraded to rc1. The image was still there... I was trying to figure out if there was a way to figure out your own image thing and I searched in the forum. I found this link and installed the Virtman Libvirt plugin http://lime-technology.com/forum/index.php?action=post;quote=338301;topic=36359.0;last_msg=339191 I tried to start and restart it. I then thought that it was already part of the rc1 so I deleted the plugin. Then I noticed the VM was gone from the list. While I would like to get that image back... I would prefer to dd one from my real server and make it into a new VM in unRAID. But I cannot figure out how. Thank you.
  23. Not sure what happened... I lost the entry in the VM page for my image. The .cfg and .img files are still stored in a folder in my cache drive. Is there a way to re-add them so I can manage them on the unRAID webUI? Also, if I take an existing physical Ubuntu server, and I connect the drive to another computer and boot to Parted Magic, I can dd the entire drive. Can I copy the resulting image to unRAID and launch it? I assume it would be the same procedure for both. Thanks, H.
  24. I was in your position 3 weeks ago... now I am able to modify dockers and create my own templates. One critical unRAID plugin to start is Docker Search. With it you can give it a docker repository and it will create the template for you. It is generic, has no instructions, but gets you 90% of the way. Be careful, not all Dockers work well. There is no guarantee they will work. I have had more bad luck, than good luck. Also if you have something in mind, drop a note here... as scary looking as Sparklyballs is (I still envision a 2 foot tall version of him living under my bed, and lurking around in his red leotard when I am asleep) he, and a great many others here are awesome at guiding you and advising you with a specific task. Looking for you to join the Dock society.