Jump to content

hernandito

Community Developer
  • Posts

    1,483
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by hernandito

  1. I wish my brain could grasp what this does and what I can do with it...
  2. I have created my own "portal" page which is like a Maraschino on super steroids. One of the things it does, it goes to the various NZB indexing sites I am a member of, and it parses the RSS feed to show me the latest releases. It then presents them on my portal. Because you only get a limited amount of API hits on those sites, I have a script that reads the rss feed, stores the info in a mySQL database table. Then when load the portal page, it reads the stored value in the database and not directly from the indexer websites. The script runs every 30 minutes, so that is 48 API hits per day. The info then is at worse, 29 minutes or less behind. This is totally fine for my perusal purpose. It do not need real time like that. Thus the cron... it runs the script that loads the data in the db. I also scrape the NY Times bestseller book list and stores it. I have a page that lists the weeks list. I was getting the cron job error you listed... and someway, somehow they went away. Unfortunately I cannot figure out what causes it. My guess is that it was a conflict with another docker. As you know, I am far from an expert.
  3. I just upped a logo and changed the xml.... I want something that shows php, apache and database.. Not great... but not sure what else to try. Apache feather is a little too boring for my taste. EDIT - fixed earlier problem.
  4. I will fix the template in Github... Gotta come up w/ a better logo though...
  5. Hey ironic.... weren't you the one who started this push to get unRAID to support VMs and stuff?? I remember your long persistent dissertations on the subject. If I am correct, you are the spark that got this going.... I take a bow...
  6. Krusader looks nicer than Dolphin, I would go with that... I like the "search" feature.
  7. It worked... Thank you all.... I am psyched to exercise my brain and come up with ideas what to do. I will edit OP to mark questions done. Thanks again, H.
  8. Thanks again Sparkly... seem very straight forward. It is taking a long time to Autobuild. I will let you know how it works out.
  9. I assume I can change to... env CALUSER='myusername' env CALPASSWORD='mypassword' script exec /usr/bin/calibre-server --with-library $LIBRARY_PATH --auto-reload \ --username $CALUSER --password $CALPASSWORD end script How do I go about setting the variable in the template.xml? Or an example you can point me to... Ideally it would be great if one could enter both values like we enter the port and Host Paths when creating a new container in the unRAID webui. For your second suggestion, the variable(s) I set in Advanced View, are these the same variables used by the string --username $CALUSER --password $CALPASSWORD? This is the fist time I ever ever heard of environment variables. Thank you Sparkly!
  10. I am glad.... Thank you.... The cron seems easier based on the example than what I thought.
  11. Hi Guys, January 26, 2022 I have added a new docker: CloudCommander. It is a modified version of coderaiser's CloudCommander. I have modified the Docker itself to improve on the GUI. I have also added a way to manually modify the shortcut links to your own requirements. Here is the GUI. I hope you get good use out of this guy. =========================================================== ORIGINAL POST Thanks to all the help from you guys, I have managed to make a couple of Dockers. They are basically modifications of the work by smdion, CHBMB, and Aptalca. PLease note that I am NOT an expert at any of this... including Github. Apache-PHP This includes PHP and Apache to server some simple web pages.. I added Midnight Commander to the install (and created a quick logo). Calibre Server I took Aptalcas, and made some changes. First I am storing the location of the server files (which would ordinarily remain in the container) and put them in one of my unRAID shares /mnt/users/appdata/calibre. The reason for this is that I have edited the look and feel of the Calibre web page. I do not want to loose those edits every time I reinstall the container. Question: ANSWERED by Sparklyballs Password login feature is implemented!! A feature I would like is to password protect the Web site interface if I open the port on my router. Via script (in Ubuntu in /etc/init/calibre-server.conf) one can start the Calibre Server via this command: env USER='myusername' env PASSWORD='mypassword' env LIBRARY_PATH='/home/hernando/Dropbox/Calibre' env MAX_COVER='400x500' env PORT='8080' script exec /usr/bin/calibre-server --with-library $LIBRARY_PATH --auto-reload \ --max-cover $MAX_COVER --port $PORT \ --username $USER --password $PASSWORD end script As you can see you can pass a a username and password variables that it uses to password protect the site. How can I make this happen so I do not have to hard code the unername/password in the Dockerfile? Can something be done within the template where you enter these variables as part of the configuration? Another feature I added, was to add my unRAID downloads folder to the container. When I download books, I have them automatically be copied from either rTorrent or Sab into /mnt/user/downloads/complete/books. I want to create a cron job that has the following code: */10 * * * * xvfb-run /opt/calibre/calibredb add /downloads/complete/Books/ -r --with-library /config && rm -rf /mnt/user/downloads/complete/Books/* This will execute an update of the library and any new books will automatically land in the Calibre library without any intervention. Question Automatic Cron feature is implemented!! Watch out for the paths. Can someone please guide me how I can automatically add this cron to the container?. Feature should be added and working. Any help is greatly appreciated as always. Thanks, Here is the repo: https://github.com/hernandito/docker-templates
  12. The more information you provide the better I will be able to assist. All I know is it doesn't work and nothing was in the dmesg. Hard for me to troubleshoot that. Did anything show up on your screen? Do you see it grab an IP address? Boot into the PXE Server? Does it say loading a menu? Does it show the openELEC booting and bomb? Change the PROMPT from 0 to 10 and see what pops up on the screen. If you get a menu, boot into OpenELEC and provide as much info as you can. Take a look at the following: KERNEL images/openelec/KERNEL According to everything else you have in your config it should be: KERNEL images/openELEC/KERNEL Look at /mnt/cache/tftp/images and check the name of your openELEC folder and correct all your paths in your MAC file. Sorry if I was not being clear... I had to take a video of my booting screen and then step it frame by frame... to do some screencaps. Following the instructions to the letter, when I boot from my htpc and defaulting with PXE, the machine goes automatically to the menu: \\TOWER\cache\tftp\pxelinux.cfg\default I can easily then arrow over to openelec and it will boot it. The problem I am having is it will not automatically boot to the menu that is located in: \\TOWER\cache\tftp\pxeconfig.cfg\01-00-01-2e-48-e9-04 In my screencaps below, I think there is some useful info. Image number 2 I think its the most telling... it is looking for a file C0A80067 in folder pxelinux.cfg\ I copied my file 01-00-01-2e-48-e9-04 to folder \\TOWER\cache\tftp\pxelinux.cfg and I renamed it to C0A80067 and that also took me to the default menu. I renamed the file C0A80067 to 01-00-01-2e-48-e9-04 and [glow=yellow,2,300]it worked!![/glow] Grumpy, so I think basically the original instructions where you had us create the file is the folder pxeconfig.cfg do not work. The MAC named file has to be in the folder pxelinux.cfg for it to boot. Thank you for making me look hard and for all your help. Now I have to configure my new OE install so it works like the one running from hdd. Copying the entire .xbmc folder into storage makes an addon called commoncache not work. :D
  13. 1. Did you change the permissions of the tftp directory? chown -R nobody:user /mnt/cache/tftp && chmod -R 777 /mnt/cache/tftp 2. Then restart tftp /etc/rc.d/rc.dnsmasq restart 3. Try to boot into openELEC again. 4. If that doesn't work, post your 01-00-01-2e-48-e9-04 file and prove as much detail as you see and take a look at "dmesg" (the end of it) and see if anything is there reguarding dnsmasq. Thanks, sadly no luck.... I looked at /var/log/dmesg and I could not find anything in there with dnsmasq (I searched the file). File date is 4 days old. This is my 01-00-01-2e-48-e9-04 file: DEFAULT openELEC Bedroom PROMPT 0 LABEL openELEC Bedroom KERNEL images/openelec/KERNEL APPEND ip=dhcp boot=NFS=192.168.0.201:/mnt/user/tftp/images/openELEC disk=NFS=192.168.0.201:/mnt/user/tftp/images/openELEC/storage overlay quiet Thank you grumpy.
  14. BINGO!!! I had to enable in bios... save...re-enter bios... change boot order and it works....! Sort off... I get the automatic PXE menu... which I can manually select OE and boot.... but I did follow the steps using the Mac address.... One thing I thought was a typo and I "corrected" was this line: nano /mnt/cache/tftpd/pxeconfig.cfg/01-00-26-2d-ab-9d-2e my line reads: nano /mnt/cache/tftp/pxeconfig.cfg/01-00-26-2d-ab-9d-2e I thought the item in red above was a typo from grumpy, as he asked us to create a share called. tftp... not tftpd... Was I wrong on this assumption? I did put the htpc's mac address... EDIT I do think I had the wrong MAC address... in process of cpopying my entire .xbmc folder into the proper folder... I will advice. Never mind... I did have the right MAC... so still not working. This is the name of the file in \\myunRAID\cache\tftp\pxeconfig.cfg 01-00-01-2e-48-e9-04
  15. I need more info on what it isn't doing. Does it try to load openELEC and hangs? It is more basic than that.... I don't know how to tell the htpc to boot from PXE... most desktops you hit F12 (or similar) to display boot options... I cannot figure how to do that with the Zotac. I have to play more with the bios... Perhaps disable the internal HDD to force it to search for the PXE... I am combing through the links you posted... The hard part for me to try to understand is already been handled by unRAID's PXE and how to setup the bootable OS. I will give it a good try. Thanks a million grumpy... H.
  16. Linux Mint Live CD Download the ISO. Open the ISO and copy the entire "casper" folder and its content to folder \\MyunRAID\cache\tftp\images\Mint The menu entry looks like this: MENU LABEL Linux Mint 16 KERNEL images/Mint/casper/vmlinuz APPEND boot=casper netboot=nfs nfsroot=192.168.0.201:/mnt/user/tftp/images/Mint/ initrd=images/Mint/casper/initrd.lz quiet splash -- TEXT HELP Linux Mint 16 ENDTEXT
  17. I have been away on business trip and finally had a chance to play with this.... I will clarify a few things in hope it helps others. I have to say this insanely cool... Grumpy I thank you yet again. Parted Magic I really use Parted Magic.... I partition drives all the time (I play a lot with Hackintosh setups), and I use the built-in Clonezilla. I had to execute the first step (before additional packages) in the following tutorial on a separate Ubuntu server I have. All command line... http://partedmagic.com/pxe/ Basically with this I was then able to copy the following 3 files to \\MyunRAID\cache\tftp\images\pmagic bzImage64 initrd64.img PMAGIC_2013_11_11.SQFS.cgz Note the last file above is specific to the version of Parted Magic I have. Once those 3 files are in that folder, edit your menu to include the following: LABEL Parted Magic MENU LABEL Parted Magic LINUX images/pmagic/bzImage64 INITRD images/pmagic/initrd64.img,images/pmagic/PMAGIC_2013_11_11.SQFS.cgz APPEND edd=on vga=normal TEXT HELP Install Parted Magic ENDTEXT I placed this in the main menu file: \\TOWER\cache\tftp\pxelinux.cfg\default Hirens Boot CD I have never really had to use this... Download the latest ISO for this.... renamed it to hbcd.iso and copied it to folder \\MyunRAID\cache\tftp\images\hbcd My menu for this is: LABEL Hiren's Boot CD MENU LABEL Hiren's BootCD 15.x KERNEL pxelinux.cfg/roms/memdisk append iso initrd=images/hbcd/hbcd.iso raw TEXT HELP Hiren's BootCD 15.x ENDTEXT Norton Ghost 15 Rescue Disk I use Norton Ghost in my Win 7 machines, and it has bailed me out after some malware, or other mess ups... I will not go here into creating the ISO image (there are plenty of tutorials). And please know that you have to have a valid license for this; it is not freeware. Renamed my ISO file to Ghost15.iso and copied it to folder \\MyunRAID\cache\tftp\images\nghost Menu entry for this is: LABEL Ghost Recovery Disk MENU LABEL Norton Ghost Recovery KERNEL pxelinux.cfg/roms/memdisk append iso initrd=images/nghost/Ghost15.iso raw TEXT HELP Norton Ghost 15.x ENDTEXT Sometimes this will not boot.. sometimes it does... there is one point in boot process where it asks you to hit any key to boot from CD... when you see this, hit any key. openELEC So far, I was only able to get this to work from my desktop PC. When my PC boots, I hit F12 key to select the PXE boot option. I have not been able to figure out how to do this from my Zotac ID80 htpc. More on this later. Download the build of OE that is for your hardware. In my case, for my desktop, I downloaded the Generic Intel build. Open the downloaded file and go to the /target folder and copy the KERNEL and SYSTEM files to \\MyunRAID\cache\tftp\images\openELEC. Inside this folder, create a folder called "storage" (without the quotes). If you followed grumpy's original directions, you should have created a share called tftp. In unRAID > Settings you should have NFS enabled. ANd in the shares, you should have share tftp Security Export setting set to "yes" and "public". I do not use any security on my unRAID server. Menu entry for this is: LABEL OpenELEC MENU LABEL OpenELEC KERNEL images/openELEC/KERNEL APPEND ip=dhcp boot=NFS=192.168.0.201:/mnt/user/tftp/images/openELEC disk=NFS=192.168.0.201:/mnt/user/tftp/images/openELEC/storage overlay quiet TEXT HELP OpenELEC ENDTEXT When you first boot this; in the /storage folder, it will create a folder with teh MAC address of the machine you used to boot this. Inside this folder it will place the typical contents OE puts in /storage... all your addons, settings, shares, etc are here... So you can copy from other OE machines after the first boot. I followed Grumpy's instructions on how to get my htpc to automatically boot to this and PXE... In my Zotac I was able to enable PXE, and followed the guide... but it still boots to the internal hdd. Perhaps I have to remove the internal hdd... I hope this helps others, and please note that I am not an expert.... I stumbled my way through this. I will gladly correct or expand what I wrote if something is amiss or not ideal. A wish list thing for me would be to be able to boot to either Linux Mint or Ubuntu desktop OS, where it is not a Live CD environment, but a full saving OS, where I can add programs, change settings, and customize and all thos changes would be available after a reboot. In the openELEC string above, I noticed there is a way to specify the disk as an NFS share... I wonder if for Mint or Ubuntu or others, the same could be done and it would be permanent storage.... But this is beyond my skill set. Thanks, Hernando
  18. Thank you grumpy.... I am starting this tonight.... the Openelec thing sounds cool... Cant really tell if it will be an advantage over the local hard drive... but it will be fun to try. I only have 2 htpc's so upgrade and all are not time consuming... But I do tweak the Aeon Nox skin a lot... Thanks again.
  19. The manual says it should be there, Legacy LAN as a boot option. Perhaps you may have to use the other network port? Slap!! That was the sound of my hand hitting the side of my head....! It is called Onboard LAN Boot ROM... I assume this is it. Now please... say I have the PXE setup in unRAID and running... when booting, I pick the Onboard LAN Boot ROM Choice... what happens next? Will it search my network and magically detect the unRAID PXE stuff? and then gives me the syslinux menu choices? On a side note, if I install Mint, or Regular Ubuntu on the unRAID, what type of install is it? Is it as if I were to boot a Live CD version, where things are not really saved (without invoking persistence)? Or would it work as a standard OS.... Same thing with OpenELEC, would it save all my artwork, thumbnails, settings, add-ons, etc. This was stated in OP, I just had to re-read and absorb. This is a cool thing to add to unRAID...
  20. Sadly no luck; I lookead at all the boot options.... its a Gigabyte EX58-UD5.... I may have found a custom bios, but I am afraid it may break up my Hackintosh functionality.
  21. Thanks grumpy. I could use this today, as I often boot to various live CDs and bootable thumbdrives from my desktop computer. How would I boot from my desktop pc using PXE? I looked at my mobo, and it does not have PXE in any of the settings or boot options. I assume a bootable thumbdrive that can boot to PXE... I will also take a look at my Zotac ID80 to see if I can PXE boot.... Thanks again, H.
  22. Got it working!! Many thanks... Now all I need to do is listen for Mario to know it is running.
  23. Curretnly mine beeps when Unraid starts booting and when it starts to load Samba. It does not beep once system is ready.
×
×
  • Create New...