February 27, 200917 yr Would it be possible to install this with a few unMenu package .conf files. I already have unMenu installing the PHP and libxml packages. I'd just need to create .conf files for lighttpd and Gamin. From there the rest would be config files and web content to run on the server. And, I'd keep these types of files on my flash drive. I'd prefer to have the config files somewhere other than the /boot/config directory only because I'm trying to steer clear from making changes to folders that contain stock unraid files. Where are the config file directories specified? Is this something that can be changed?
February 27, 200917 yr Would it be possible to install this with a few unMenu package .conf files. I already have unMenu installing the PHP and libxml packages. I'd just need to create .conf files for lighttpd and Gamin. From there the rest would be config files and web content to run on the server. And, I'd keep these types of files on my flash drive. I'd prefer to have the config files somewhere other than the /boot/config directory only because I'm trying to steer clear from making changes to folders that contain stock unraid files. Where are the config file directories specified? Is this something that can be changed? I don't think you need a package for the package manager to install the actual php programs... The only thing you should need to install are the webserver and its dependencies which have files installed outside of the flash drive (/boot)... The actual pages and plugins are installed once and done.. As far as I know, if you are already building the .conf for lighttpd (i'm pretty sure gamin is built in) then that will be the only .conf you will need (you already have php and libxml), the rest you will just drag and drop via network to your flash drive and they will be "installed". Cheers, Matt
February 28, 200917 yr Author OK... the newest incarnation of unRAID-Web is now posted. Link is in OP. Install it with installpkg, and when you go to http://tower:89, you will see the menu on the left, and the content on the right. There are 4 extensions: Extension Manager (nothing there... yet) Syslog (a VERY simple example) Sample Extension 1 (Nothing there... you can play with that directory) Bubba's Custom unRAID Interface It has a couple of bugs, and there are obviously parts not yet finished..... but this should give you some meat to chew on. The syslog extension is VERY simple and a good place to start if you want to try some enhancing. Note that the syslog extension and the Bubba Custom share a widget -- the "Array Status" widget. That is one that you may want to include on other pages you build. Look at the source of the Syslog extension, to see how it is done. Parts of this are still quick-n-dirty with chewing gum and twine.... but I went ahead and posted it so you can see where it's going and provide feedback and suggestions. Each extension also has a file "menu.dat" which for now is nothing but text to use on the menu as the name of the extension. This will be significantly changed in the future.
February 28, 200917 yr Author @jarodtufts: Take php and libxml out of unMENU Package Manager, and use just the unRAID-Web package. It installs everything needed all by itself.
February 28, 200917 yr So it appears that gamin is NOT included in the lighttpd slackware package. Attached are unmenu .conf files to install gamin and lighttpd via the unMenu package manager. With these packages installed via unMenu, all I did was copy bubbaQ's lighttpd directory to /boot/config/lighttpd and then execute the doinst.sh script from bubbaQ's archive (located in /install) and unRaid-WEB seems to run fine. (I already had libXML2 and php packages installed via unmenu.) By my estimation, all I would need to do to update my unRaid-WEB install in the future is copy the new /boot/config/lighttpd/ directory from bubbaQ's next package release to my flash drive.
February 28, 200917 yr So it appears that gamin is NOT included in the lighttpd slackware package. Attached are unmenu .conf files to install gamin and lighttpd via the unMenu package manager. With these packages installed via unMenu, all I did was copy bubbaQ's lighttpd directory to /boot/config/lighttpd and then execute the doinst.sh script from bubbaQ's archive (located in /install) and unRaid-WEB seems to run fine. (I already had libXML2 and php packages installed via unmenu.) By my estimation, all I would need to do to update my unRaid-WEB install in the future is copy the new /boot/config/lighttpd/ directory from bubbaQ's next package release to my flash drive. Gamin is not included in the regular slackware package(the one you wrote the url to in your lighttpd-unmenu-package.conf) but IS in bubbaQ's version of the same package (in OP). if you install the version in the OP (bubba's version) via the package manager, you will have the needed php, libxml2, gamin and lighhttpd packages ALL-IN-ONE along with the /boot/config/lighttpd directory. No need for multiple packages. This is because when he created the package, he built it with all the dependencies taken care of for you. Cheers, Matt
March 1, 200917 yr Author Version 0.0.04 is now posted. Link and install instructions are in OP. New in this version: - New user.conf file added for configuration settings shared by extensions - configuration tab added to custom interface - new file extension.dat with information about an extension - more details shown in the overview page of the custom interface - color coding of drive temps - dashboard popup support added, and used for drive info - spinup now done with a random dd read so unRAID sees the drive as spun up - better temperature querying (works even w/o smartctl) - lots of bugfixes.
March 1, 200917 yr BubbaQ in the OP it is not very clear (read: stupid proof) how to install this. You download directly on a folder in unRAID? Then run installpkg on this? And will it survive a reboot (and after install "just works") or we need to put this in the go script or something? Please make this more clear.
March 1, 200917 yr I am one of the "stupid proof" NLS refers to...I was going to play around and figure out exactly how to install (which im sure i could figure out). But if you would be so kind as to provide newbie directions so as not to have this thread populated with how-tos (or add a quick Wiki) [ie, i dont think i know how to run a simple install package]. Much thanks and looking forward to playing around with this...
March 1, 200917 yr Author Currently, the programs do not survive reboots... you have to re-run installpkg and install it after each reboot. But your CONFIGURATION files *do* survive. I will update the OP with more info.
March 1, 200917 yr Author Log into your unRAID box via telnet, and copy and paste this command: wget -O /tmp/unweb.tgz http://www.tcpatools.com/bubba/unraidweb-0.0.4-i386-bubba.tgz ; installpkg /tmp/unweb.tgz
March 1, 200917 yr I suppose if we put the package in \boot we can invoke installpkg in go script without re-downloading.
March 1, 200917 yr Author I suppose if we put the package in \boot we can invoke installpkg in go script without re-downloading. Yup.... or use the unMenu package manager. DON'T apply this to BubbaRaid.... I will convert BubbaRaid to this new unRaid-Web setup in the next BubbaRaid release.
March 2, 200917 yr Author I started some documentation: http://lime-technology.com/wiki/index.php?title=UnRAID-Web_Portal
March 2, 200917 yr This is SO very cool. I read the start of your documentation and I have to say I'm very excited about the direction unRaid-Web is going. I'm torn between this and unMenu. I LOVE unMenu and though I'm looking forward to where unRaid-Web is headed I hope to see some synergy between the two as time goes by. Just some feedback... If I were to have any complaint about unRaid-Web interface it would only be how the menu down the left side really takes real estate away from the frame to the right where most of the useful information is being presented.
March 2, 200917 yr Author If I were to have any complaint about unRaid-Web interface it would only be how the menu down the left side really takes real estate away from the frame to the right where most of the useful information is being presented. Right-click on the menu option | Then select Open in new window I'm open to suggestions... smaller fonts? A different layout?
March 2, 200917 yr Please consider implementing a centralized means of logging and making notes per drive. This idea was discussed in depth before but i cannot locate the post. In general though the idea revolved aroung making notes that were tagged to a log based on drive serial number. This would allow for perpetual drive notes such as first seen etc etc Can I also suggest that the "Extension Management" should contain a string explicitly stating what minimum version of unRAID it is compliant with . Whilst this will likely not be required by most extensions there will certainly come a time when it is by some.
March 2, 200917 yr Bubba, I have a few design ideas for the overview page and menus (since im am def not a coder). Should i mock them up and send to you or attach here?
March 2, 200917 yr Author Please consider implementing a centralized means of logging and making notes per drive. This idea was discussed in depth before but i cannot locate the post. Already planned. Including parsing the manufacturer, linking to mfgs. web site, googling the drive model number, firmware checks of known bad firmware (Seagate), along with the standard saving of inventory data (install date, purchase date, source, etc). Can I also suggest that the "Extension Management" should contain a string explicitly stating what minimum version of unRAID it is compliant with. Good idea... I added it to the documentation. However, there is no standard way to DETERMINE what version of unRAID is running.The only thing I can think of is getting the HTML from the unRAID interface and parsing it to look for the version string. Any better suggestions? It would be nice if that was included in the /proc/mdcmd output
March 2, 200917 yr Author Bubba, I have a few design ideas for the overview page and menus (since im am def not a coder). Should i mock them up and send to you or attach here? Sure! Either is fine.
March 2, 200917 yr not sure if you will be able to answer this but i figured i would ask. I am contemplating learning php (when i get some free time, and to contribute to this project) but i was wondering if i could develop on my Mac and transfer the php stuff to the unRaid server? My Mac has Apache built in and i was wondering if there would be a huge difference in using it instead of lighttpd? If not and i can develop stuff that way then that would be great, if not then could you point me in the right direction for getting it running. Thanks
March 2, 200917 yr Author @prostuff1: Yes, you should be able to develop that way. Some of the system calls in my interface may not translate to the Mac, but all the PHP should work. And of course, all the html and JavaScript should be fully portable.
March 2, 200917 yr However, there is no standard way to DETERMINE what version of unRAID is running. This seemed too obvious, so forgive me if I forgot something simple, but would this work? I tested it on a number of syslogs from various versions of unRAID, and it should work on any syslog from v4.0 upward, but not v3.0 or less. grep "unRAID System Management" /var/log/syslog | awk '{ print $NF; }' Currently, it produces the simple 5 letter string 4.4.2
March 2, 200917 yr Nice find. However perhaps this only works this now because unRAID syslogs are broken. Once rotate works this stats would only be available on day one. I have just checked and on my rotated logs the string is not there.
Archived
This topic is now archived and is closed to further replies.