April 11, 201214 yr New update! Please see the main SimpleFeatures post for future updates. This thread has now been relegated to support, or should be removed/merged by mods. http://lime-technology.com/forum/index.php?topic=12698.msg120524#msg120524 I've created a WebServer plugin for unRAID. It has production conf files for PHP & Lighty. It's all wrapped up into a nice and easy to use package, with a web gui and easy to access configuration files. All dependencies (hopefully) met for default modules (GD etc). Tried to keep as modern as possible. The package size is just shy of 20Mb. Uncompressed the libraries total 67Mb. Works great with the MySQL plugin wondering around. The lighttpd.conf.include in the /config/plugins/sf_webserver/lighttpd folder can be used to hold your own custom configs & sites. Same thing with the php.ini file. Any changes you make will remain on reboot. Download from Google Code: simplefeatures_webserver.plg Requires unRAID Version 5 Beta 12 and above. Make sure no other PHP packages (via unMenu, etc) are installed before using this plugin! Features: • Lighty Web Server 1.4.30: Light and quick web server • PHP 5.3.10 : With all the bells and whistles • WebGui Control: Stop/Start your web server, control which port & location. Check logs & version numbers. Let me know what other features you might be wanting. Install Instructions: 1. Download the PLG file. SimpleFeatures Base package is recommended. 2. Copy simplefeatures_webserver.plg to /boot(flash)/config/plugins/ 4. Reboot or use installplg /boot/config/plugins/simplefeatures_webserver.plg Change Log: 1.1 - Misc bug fixes 1.0 - Updated PHP to 5.3.10. Fixed some bugs with configuration files. Added logging for PHP to prevent STDOUT issues. Changed to make sure timezone is added on start. Remove your /boot/extra/plugins/sf_webserver/php/php.ini file to take advantage of bug fixing. 0.3 - Fixed port disappearing act on startup. Auto create data folder, with welcome screen. Fixed logging issue. 0.2 - Added webgui functions for checking logs, added pizzaz. 0.1 - Initial Plugin
April 11, 201214 yr WE'RE NO WORTHY!!! WE'RE NO WORTHY!!! WE'RE NO WORTHY!!! Right on Speeding, you need to start taking donations for all this excellent work
April 11, 201214 yr Author http://www.pixeleyes.co.nz Our personal site is now being hosted by unRAID Port translation is a mighty wonderful thing. Server holding up over the last couple of days, no problems or memory leaks that I can see. Was worried the replacement PHP/libtool would affect the stock webGui, but hasn't appeared to have done so. If anything it's faster & better featured. For anyone interested, response headers below: Server SimpleFeatures - lighttpd Transfer-Encoding chunked X-Powered-By PHP/5.3.6
April 12, 201214 yr Author Released version 0.2: Added webgui functions for checking logs, added pizzaz. Check screenshot! Download new .plg from here: http://unraid-simplefeatures.googlecode.com/files/simplefeatures_webserver.plg
April 12, 201214 yr Will try it first thing in the morning to see how it runs / if it runs the virtual box manager web interface properly. Kudos, awesome features you're bringing to the table .
April 12, 201214 yr after installing plg i am getting the following spewed to my default console over and over PHP Warning: PHP Startup: sqlite3: Unable to initialize module Module compiled with API=20090626, debug=0, thread-safety=0 These options need to match in Unknown on line 0 over and over and over - cannot use tty1 at all Myk
April 12, 201214 yr sorry, latest beta b14 also, since updating to .2 or .02 - config is not keeping my port so it does not auto start..... Myk
April 12, 201214 yr # Web Server configuration SERVICE="enable" DATADIR="/mnt/cache/.www" WEBPORT="81" # lighttpd_server.conf.include server.document-root = "/mnt/cache/.www" server.port = 81
April 12, 201214 yr Author Are you still getting the SQLite errors? Even after restart? I'll checkout the port dissapearing act, just happened to me too
April 12, 201214 yr yes, still scrolling on tty1 - set repeats about every 4 seconds and only on tty1 - nothing else is showing up in any log file... Myk
April 12, 201214 yr also "2012-04-12 01:47:27: (log.c.166) server started " in the error.log is a little misleading - maybe put in access.log instead.... when I 1st looked and saw 49 characters in error.log - it was like "what?" Myk
April 12, 201214 yr Author yes, still scrolling on tty1 - set repeats about every 4 seconds and only on tty1 - nothing else is showing up in any log file... Myk How strange... do you have any other packages installed? Only thing I can think of is if another package is replacing a lib dependency with an older one. Also try commenting out mysqlite.so & mysqlite3.so modules in php.ini file. That issue isn't happening on either of my rigs so I'm presuming it's third party?
April 12, 201214 yr Author also "2012-04-12 01:47:27: (log.c.166) server started " in the error.log is a little misleading - maybe put in access.log instead.... when I 1st looked and saw 49 characters in error.log - it was like "what?" Myk Just to keep you on your toes
April 12, 201214 yr installed. change the default data directory. disable and reenable. since the new default directory is not automatically created, i created the directory myself. then i created empty index.htm file. when i try to open http://tower:81/index.htm, all i get is This program cannot display the webpage Most likely causes: •You are not connected to the Internet. •The website is encountering problems. •There might be a typing error in the address. What you can try: Check your Internet connection. Try visiting another website to make sure you are connected. Retype the address. Go back to the previous page. thanks.
April 12, 201214 yr only other thing i can think of that might be conflicting is the subsonic package? Myk
April 12, 201214 yr Author Thanks for testing guys. Can you test if it works via the IP of the server as well? Cheers
April 12, 201214 yr server is rebooting now to see in the php.ini there were the following mysql.so mysqli.so sqlite.so sqlite3.so i commented out the 2 sqlite ones as that was what showing up on the screen will post again here when reboot is finished Myk
April 12, 201214 yr Author installed. change the default data directory. disable and reenable. since the new default directory is not automatically created, i created the directory myself. then i created empty index.htm file. when i try to open http://tower:81/index.htm, all i get is Do you think the default behaviour should be to create the data dir?
April 12, 201214 yr Author Right-o, I'll code that in. Fixed the port issue on reboot along with the log issue.
Archived
This topic is now archived and is closed to further replies.