dhy8386 Posted March 8, 2009 Share Posted March 8, 2009 I know the goal of this is to run on a completely stock unRAID install. I am running 4.3.3 at the moment, and just tried installing after a fresh reboot. The following is the result of the installpkg ... Installing package unraidweb-0.0.7-i386-bubba... PACKAGE DESCRIPTION: unraidweb: unRAID-Web is a web server plus PHP, customized for unRAID unraidweb: unraidweb: It consists of: unraidweb: - lighttpd 1.4.19 (light web server) unraidweb: - php 5.2.8 (scripting language) unraidweb: - Gamin 0.1.9 (FAM) unraidweb: - libXML2 2.6.32 unraidweb: - lighttpd and php config files on the flash (/boot/config/) unraidweb: unraidweb: unraidweb: Package Created By: BubbaQ Executing install script for unraidweb-0.0.7-i386-bubba... rm: cannot remove `/boot/config/lighttpd/extensions/ur/*': No such file or directory rmdir: /boot/config/lighttpd/extensions/ur: No such file or directory unRAID emhttp is running on port 80 install/doinst.sh: line 92: /boot/config/lighttpd/lighttpdctrl: Permission denied Lighttpd did not start. You will need to edit the lighttpd.conf file and configure it Not surprsingly, the web server is not active. I ran a "chmod +x /boot/config/lighttpd/lighttpdctr" and then ran "lighttpdctrl start" and it came up. Thought I should report. Not sure what is causing the permission denied on the lighttpdctrl - probably something minor. But thought I should report. Same thing here. And I do not have a password set. Quote Link to comment
NAS Posted March 8, 2009 Share Posted March 8, 2009 Here are a few different HD icon sets (2 posts). Tried two with the "lime" theme and two without. One with a different indicator placement. Let me know thoughts Set 3 is my favourite. I see the limes and I know where your going but to by eye they only detract from the clarity since they dont actually add any info. This also would leave the front face free for potentialy a tiny HDD brand logo or even a size logo Quote Link to comment
SSD Posted March 8, 2009 Share Posted March 8, 2009 bjp999, You might like the following screen shot too. It is a work in progress, but I'm porting unmenu.awk to work as an "extension" under unRAID-Web. I've gotten the basic screens for each plug-in to work, but do not yet have their links and buttons working. (I've made NO changes to any of the unmenu plug-in files. My "php" code is dynamically defining the "Tabs" in the interface and then using the plug-in files in the "unmenu" directory. It is a real challenge to me, as "php" is a new language for me. (I'm still forgetting to put the semicolon at the ends of lines on occasion) Note that this example does not use the "awk" web-server at all, but instead uses lighttpd, the web-server BubbaQ has built into the unRADI-Web interface. You can see the "debugging" line above the plug-in showing the variables I use when invoking the specific plug-in. The 404-not found at the bottom is because the current code in the plugin is looking to open a "sys_log_tail" web-pageto display the end of the syslog, but no such "php" web-page exists. When (if) I get this working, you should be able to use the existing plug-ins under this new web-interface. You will not need to start the unmenu web-server at all and we can continue unMENU plug-in development using shell and awk as you desire, until such time that "php" equivalents are written. Joe L. Joe L. - This is great! myMain is pretty configurable, so using things like images instead of text should be pretty easy to add. Quote Link to comment
dhy8386 Posted March 8, 2009 Share Posted March 8, 2009 Guys, added one more set. Created different HD icons. There could be room for Manu logos on top of the drives (or in place of the limes which I have taking a liking to!) Quote Link to comment
Joe L. Posted March 8, 2009 Share Posted March 8, 2009 bjp999, You might like the following screen shot too. It is a work in progress, but I'm porting unmenu.awk to work as an "extension" under unRAID-Web. I've gotten the basic screens for each plug-in to work, but do not yet have their links and buttons working. (I've made NO changes to any of the unmenu plug-in files. My "php" code is dynamically defining the "Tabs" in the interface and then using the plug-in files in the "unmenu" directory. It is a real challenge to me, as "php" is a new language for me. (I'm still forgetting to put the semicolon at the ends of lines on occasion) Note that this example does not use the "awk" web-server at all, but instead uses lighttpd, the web-server BubbaQ has built into the unRADI-Web interface. You can see the "debugging" line above the plug-in showing the variables I use when invoking the specific plug-in. The 404-not found at the bottom is because the current code in the plugin is looking to open a "sys_log_tail" web-pageto display the end of the syslog, but no such "php" web-page exists. When (if) I get this working, you should be able to use the existing plug-ins under this new web-interface. You will not need to start the unmenu web-server at all and we can continue unMENU plug-in development using shell and awk as you desire, until such time that "php" equivalents are written. Joe L. Joe L. - This is great! myMain is pretty configurable, so using things like images instead of text should be pretty easy to add. I've now gotten myMain to work completely. All the links, all the sorting functions, the syslog tail at the bottom, everything. I'm at the point where I need to re-do how I'm rendering the individual plug-in pages in the "divs" affiliated with each "tab" in the main unRAID-Web interface. Each page will end up with its own ".php" wrapper that actually invokes gawk and passes it the appropriate querystring parameters and form field contents. Last night I got the "Config File View/Edit" to work as a stand alone page. I could use it to edit files, and view saved versions, restore old versions, etc. I'm learning more "php" as I go along... I've actually got to have the main index.php page write the "wrapper" php pages for each plug-in on its own, based on the installed plug-ins it finds, but before I can get it to write ".php" code, I need to know how to do it first. ;D Joe L. Quote Link to comment
NAS Posted March 8, 2009 Share Posted March 8, 2009 Guys, added one more set. Created different HD icons. There could be room for Manu logos on top of the drives (or in place of the limes which I have taking a liking to!) Still like set 3 Quote Link to comment
bubbaQ Posted March 8, 2009 Author Share Posted March 8, 2009 I ran a "chmod +x /boot/config/lighttpd/lighttpdctr" and then ran "lighttpdctrl start" and it came up. Thanks. I'll check on that. Quote Link to comment
NAS Posted March 8, 2009 Share Posted March 8, 2009 Another random idea. Sorry if this is already in one of the modules never had any success making the awk stuff run reliably for my excessive clicking habits. Overall disk space free is a key value that is covered. However how much space is available per defined user share is of equal value especially for users that try to tame highwater excessive splitting by constraining disks. Quote Link to comment
bubbaQ Posted March 8, 2009 Author Share Posted March 8, 2009 Overall disk space free is a key value that is covered. However how much space is available per defined user share is of equal value especially for users that try to tame highwater excessive splitting by constraining disks. That is one of my big "to-do's" Total free, and largest free space, for each user share will be available soon!. Quote Link to comment
NAS Posted March 8, 2009 Share Posted March 8, 2009 Cool. Another suggestion. In the config page dont allow ports common to other things as Firefox will just not let you use it without jumping though hoops. i.e. port 21 I know it can be fixed in config but might as well make it easier for users not to make the mistake. Quote Link to comment
bubbaQ Posted March 8, 2009 Author Share Posted March 8, 2009 Another suggestion. In the config page dont allow ports common to other things as Firefox will just not let you use it without jumping though hoops. i.e. port 21 Already implemented in part, (like port 87) as well as it scans the already active ports on the server and won't let you use them. Quote Link to comment
bubbaQ Posted March 9, 2009 Author Share Posted March 9, 2009 Version 0.0.08 is posted. Download link is in OP I have also created a "one-click" install. http://www.tcpatools.com/bubba/install_web.exe The one-click install is a wizard that will download and start unRAID-Web for you without you having to invoke telnet, run any commands, or copy files manually. It will prompt you for the server name and other information. It will copy and run unRAID-Web, but only once -- so that when you reboot, unRAID-Web will not automatically. This is intended for people who want to try it out, but don't want to set it to be started every time unRAID starts. Now you can install unRAID-Web without ever having to copy files manually or use telnet. Once unRAID-Web is installed, additional applications can then be installed via unRAID-Web. This will complete the "last mile" of the "never-have-to-see-Linux" paradigm. DON'T use this on BubbaRaid. I'll have BubbaRaid converted to this new config for lighttpd in a few days. Quote Link to comment
dhy8386 Posted March 9, 2009 Share Posted March 9, 2009 The TGZ file from your link has only a .GZ extension. Obviously easy to fix by adding the "T" but you may want to fix it. Also, when I go to extension manager, the version listed for Unraidweb always says 0.0.4 (even if i hit check version). Is this just a lagging fix or is something up with my system? I removed the 0.0.4 TGZ package so i doubt that its installed but.... Quote Link to comment
bubbaQ Posted March 9, 2009 Author Share Posted March 9, 2009 The extension manager, like all extensions, has its own version that is independent from the version of unRAID-Web itself. Quote Link to comment
NAS Posted March 9, 2009 Share Posted March 9, 2009 just some random errors incase they are unique to me cat error.log |sort | uniq 2009-03-09 16:14:34: (log.c.75) server started 2009-03-09 16:14:56: (mod_fastcgi.c.2592) FastCGI-stderr: PHP Notice: Undefined offset: 3 in /boot/config/lighttpd/shared/php/unraid_class.php on line 40 2009-03-09 16:14:56: (mod_fastcgi.c.2592) FastCGI-stderr: lighttpd/shared/php/unraid_class.php on line 44 2009-03-09 16:14:57: (mod_fastcgi.c.2592) FastCGI-stderr: HP Notice: Undefined index: in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 66 2009-03-09 16:14:57: (mod_fastcgi.c.2592) FastCGI-stderr: property of non-object in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 83 2009-03-09 16:16:46: (mod_fastcgi.c.2592) FastCGI-stderr: PHP Notice: Undefined offset: 3 in /boot/config/lighttpd/shared/php/unraid_class.php on line 40 2009-03-09 16:16:47: (mod_fastcgi.c.2592) FastCGI-stderr: HP Notice: Undefined index: in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 66 2009-03-09 16:16:47: (mod_fastcgi.c.2592) FastCGI-stderr: lighttpd/shared/php/unraid_class.php on line 44 2009-03-09 16:16:47: (mod_fastcgi.c.2592) FastCGI-stderr: property of non-object in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 83 2009-03-09 16:21:07: (mod_fastcgi.c.2592) FastCGI-stderr: PHP Notice: Undefined offset: 3 in /boot/config/lighttpd/shared/php/unraid_class.php on line 40 2009-03-09 16:21:08: (mod_fastcgi.c.2592) FastCGI-stderr: HP Notice: Undefined index: in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 66 2009-03-09 16:21:08: (mod_fastcgi.c.2592) FastCGI-stderr: lighttpd/shared/php/unraid_class.php on line 44 2009-03-09 16:21:08: (mod_fastcgi.c.2592) FastCGI-stderr: property of non-object in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 83 2009-03-09 16:21:30: (mod_fastcgi.c.2592) FastCGI-stderr: PHP Notice: Undefined offset: 3 in /boot/config/lighttpd/shared/php/unraid_class.php on line 40 2009-03-09 16:21:31: (mod_fastcgi.c.2592) FastCGI-stderr: HP Notice: Undefined index: in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 66 2009-03-09 16:21:31: (mod_fastcgi.c.2592) FastCGI-stderr: lighttpd/shared/php/unraid_class.php on line 44 2009-03-09 16:21:31: (mod_fastcgi.c.2592) FastCGI-stderr: property of non-object in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 83 P PHP Notice: Trying to get PHP Notice: Trying to get property of non-object in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 63 PHP Notice: Trying to get property of non-object in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 64 PHP Notice: Trying to get property of non-object in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 66 PHP Notice: Trying to get property of non-object in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 71 PHP Notice: Trying to get property of non-object in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 83 PHP Notice: Undefined index: in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 63 PHP Notice: Undefined index: in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 64 PHP Notice: Undefined index: in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 66 PHP Notice: Undefined index: in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 71 PHP Notice: Undefined offset: 1 in /boot/config/ PHP Notice: Undefined offset: 1 in /boot/config/lighttpd/shared/php/unraid_class.php on line 44 PHP Notice: Undefined offset: 3 in /boot/config/lighttpd/shared/php/unraid_class.php on line 61 PHP Notice: Undefined variable: uptime in /boot/config/lighttpd/shared/widgets/arry_status.php on line 5 PHP Warning: Division by zero in /boot/config/lighttpd/shared/php/load_unraid_data.php on line 82 wc -l error.log 1126 error.log thats in a couple of hours of operation. Quote Link to comment
bubbaQ Posted March 9, 2009 Author Share Posted March 9, 2009 Thanks. Those are harmless for now. I have errors set on high-level messaging so I can see everything. I'll clean them up in the next release. Quote Link to comment
bubbaQ Posted March 9, 2009 Author Share Posted March 9, 2009 Version 0.0.9 is now posted. Link is in OP. This version adds preliminary support for listing user-shares on "user share" tab. Currently works for shares configured with "Included devices", but not the "excluded devices" Fixed several bugs. Also updated the documentation in the Wiki, which is expanded with more members in the php classes. I also reworked the install and lighttpdctrl scripts to handle more conditions, and more cleanly shut down lighttpd. Quote Link to comment
SSD Posted March 11, 2009 Share Posted March 11, 2009 Guys, added one more set. Created different HD icons. There could be room for Manu logos on top of the drives (or in place of the limes which I have taking a liking to!) I like this one the best, because the colored portion is larger and more attention grabbing. Note that red-green color blindness affects 10% of men. That means 1 in 10 unRAID users are going to have trouble differentiating the icon indicating that a drive has been taken out of service from an icon indicating the drive is fine. I suggest we try provide something other than (in addition to) color to differentiate (e.g., green check, red "X", blue circle, yellow upside down triangle, etc.) Quote Link to comment
dhy8386 Posted March 11, 2009 Share Posted March 11, 2009 Ha. I chuckle because thats the kind of thought you never see go into these types of things... Bubba, if you plan at some point to integrate these icons and agree with the above, let me know and Im happy to make a few samples. Not a bad idea. Quote Link to comment
bubbaQ Posted March 11, 2009 Author Share Posted March 11, 2009 I suggest we try provide something other than (in addition to) color to differentiate (e.g., green check, red "X", blue circle, yellow upside down triangle, etc.) Already planned.... something like this: Quote Link to comment
bubbaQ Posted March 12, 2009 Author Share Posted March 12, 2009 Here's a little peek at my next version. I'm really not finding the thermometer for each disk useful... 1TB drives like disks 1 and 9, both 99.99% full.... but that is still 14GB to 16GB free. Quote Link to comment
Joe L. Posted March 12, 2009 Share Posted March 12, 2009 Here's a little peek at my next version. I'm really not finding the per-disk thermometer useful... 1TB drives like disks 1 and 9, both 99.99% full.... but that is still 14GB to 16GB free. I agree, the per-disk thermometer is not useful, and worse, they are very distracting... because of all the "red" that make it look as if an error condition exists. Since we can grow our servers incrementally over time when we see a good sale, it is very likely we will have some subset of drives full or nearly full and a only few that have significant free space. This is different that most other NAS storage. The statistics that are most useful are the largest free space and the total free space. I think Red / Orange / Yellow colors should be reserved for warnings and errors. They get your attention quickly. Joe L. Quote Link to comment
bubbaQ Posted March 12, 2009 Author Share Posted March 12, 2009 I was going for the suggestions in this post: http://lime-technology.com/forum/index.php?topic=3354.msg29484#msg29484 but I think I'm going to try again on a differnet path. Quote Link to comment
Recommended Posts
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.