"SimpleFeatures" - WebServer Plugin [SUPPORT]


Recommended Posts

Thought I would post this here in case anyone else needs something similar...

 

I know hardly anything about web design and even less about PHP.  The only real reason that I want a webserver is to have a place to drop files for friends/family to download.  I was researching how to create a simple file listing in PHP (like the ones you go to the say /index) when I cam across this piece of code:

 

http://sourceforge.net/projects/encode-explorer/?source=dlp

 

It provides a nice little Explorer-like interface to browse folders on your webserver.  Here is a SS of what it looks like:

 

explore_zps464851f3.jpg

 

All you have to do is drop the index.php file into whatever folder (and subfolders) you would like to be able to browse.  I'm sure that there are a lot of people here that know how to do this stuff already.  But for those of you like me...this is a winner!  :)

 

John

Link to comment
  • Replies 307
  • Created
  • Last Reply

Top Posters In This Topic

If anyone is having problems installing web server along side sabnzb.

 

Amend the sabnzb.plg and remove the ssl section and sabnzb ssl will still work fine. I have tested this method.

 

Remove

 

<FILE Name="/boot/packages/openssl-0.9.8r-i486-3.txz" Run="upgradepkg --install-new">

<URL>http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/n/openssl-0.9.8r-i486-3.txz</URL>

<MD5>dd6ef02ebfe3e54fc54c03a52f736197</MD5>

</FILE>

Link to comment

Question about security:

Is there a risk of my unraid server been hacked if I open the webserver to the world ?

Is there a way to enable (or even force) the use of SSL when accessing the webserver ?

Thanks

 

I remember reading a year or so ago that if you made UNRAID server available to the general public to prepare to have your ass handed to you many times over.

 

The only way I'd allow access to my UNRAID server is via a VPN connection to my home network. Then you have nothing special to do other than to create the VPN and to connect to it from the remote device.

Link to comment

Question about security:

Is there a risk of my unraid server been hacked if I open the webserver to the world ?

Is there a way to enable (or even force) the use of SSL when accessing the webserver ?

Thanks

 

I remember reading a year or so ago that if you made UNRAID server available to the general public to prepare to have your ass handed to you many times over.

 

The only way I'd allow access to my UNRAID server is via a VPN connection to my home network. Then you have nothing special to do other than to create the VPN and to connect to it from the remote device.

what about securing the webserver ?

I'm using it for Newznab & phpVirtualBox - is there a way to secure it so I can open it up to the internet ?

Link to comment

lighttpd powers several popular Web 2.0 sites like YouTube, wikipedia and meebo. The service itself is relatively secure.

 

Is the service secure running on unRAID? I'm not fully qualified to give you the right answer here, but I'd hazard a guess that as long as you set it up right (deny access to any folder other than the site, keep your permissions tight, etc) then you shouldn't have too many problems.

Link to comment

lighttpd powers several popular Web 2.0 sites like YouTube, wikipedia and meebo. The service itself is relatively secure.

 

Is the service secure running on unRAID? I'm not fully qualified to give you the right answer here, but I'd hazard a guess that as long as you set it up right (deny access to any folder other than the site, keep your permissions tight, etc) then you shouldn't have too many problems.

can you elaborate about setting access to folders and permissions?

what's your best practice advice ?

Link to comment

This guide should give you some overall tips. That could be overkill for what you're wanting to do, but the general ideas are solid:

http://www.cyberciti.biz/tips/ultimate-lighttpd-webserver-security.html

 

Generally permissions are set as below:

 

# Sets files recursively to 644

find /path/to/web/folder/ -type f -exec chmod 644 '{}' \;

# Sets folders recursively to 755

find /path/to/web/folder/ -type d -exec chmod 755 '{}' \;

 

Again, I know the basics but I do not secure servers for a living! If anyone with more knowledge can pipe up I'm happy to learn.

Link to comment

This guide should give you some overall tips. That could be overkill for what you're wanting to do, but the general ideas are solid:

http://www.cyberciti.biz/tips/ultimate-lighttpd-webserver-security.html

 

Generally permissions are set as below:

 

# Sets files recursively to 644

find /path/to/web/folder/ -type f -exec chmod 644 '{}' \;

# Sets folders recursively to 755

find /path/to/web/folder/ -type d -exec chmod 755 '{}' \;

 

Again, I know the basics but I do not secure servers for a living! If anyone with more knowledge can pipe up I'm happy to learn.

 

I was reading that link and my lighttpd is running as root on my server, how do I make it run as a different user?

Link to comment

OK...I fixed my webserver plg to point to the new SQLLite package.  I highly suggest that you wait for the developers to fix the issue officially, but, if you are impatient like I am, here is what I did:

 

I edited the simpleFeatures.web.server-1.0.11-noarch-1.plg  in Notepad++

CTRL+H to do a find and replace:  replace sqlite-3.7.14.1-i486-1.txz with sqlite-3.7.16-i486-1.txz (there should be 3 occurrences)

Also do a find/replace for 433769b1cd27b59667a34295184356e3  with a6f1606b7fc032d28937a75c0cd3ae68 (one occurrence) (this is the MD5 for the new SQLLite package)

 

Then I manually installed via putty:  installplg /boot/plugins/simpleFeatures.web.server-1.0.11-noarch-1.plg

 

All is good again!  :)

 

John

 

Thank you so much. Problem resolved! :P

Link to comment

I am very new to Unraid and no virtually nothing about CMD line for linux or understanding what the data means in the logs.

 

I am trying to get a virtual machine running on my unraid box and am using VBOX which is installed.

 

In order to configure it and use it i need the unraid web server up and running using simple features which i think i have installed correctly but cannot get it to work.

 

when i go into the settings of the web server and set them they revert back to the original disabled status for some reason, any ideas why?

 

below is the log for the web server.

 

Any assistance with this is highly appreciated. remember I am quite new to this.

 

[12-Apr-2013 16:31:12 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

 

[12-Apr-2013 16:31:12 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[12-Apr-2013 16:31:12 UTC] PHP Notice: Use of undefined constant NAME - assumed 'NAME' in /usr/local/emhttp/plugins/webGui/template.php on line 244

[12-Apr-2013 16:31:12 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

-Apr-2013 16:31:13 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant NAME - assumed 'NAME' in /usr/local/emhttp/plugins/webGui/template.php on line 244

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant color - assumed 'color' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 14

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant name - assumed 'name' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 27

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant id - assumed 'id' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant device - assumed 'device' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant size - assumed 'size' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant color - assumed 'color' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 14

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant name - assumed 'name' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 27

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant id - assumed 'id' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant device - assumed 'device' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant size - assumed 'size' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant color - assumed 'color' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 14

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant name - assumed 'name' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 27

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant id - assumed 'id' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant device - assumed 'device' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant size - assumed 'size' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant color - assumed 'color' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 14

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant name - assumed 'name' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 27

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant id - assumed 'id' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant device - assumed 'device' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant size - assumed 'size' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant color - assumed 'color' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 14

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant color - assumed 'color' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 14

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant name - assumed 'name' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 27

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant id - assumed 'id' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant device - assumed 'device' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant size - assumed 'size' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 40

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant color - assumed 'color' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 14

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant name - assumed 'name' in /usr/local/emhttp/plugins/webGui/DiskStatus.php on line 27

[12-Apr-2013 16:31:13 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

 

pr-2013 16:31:15 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[12-Apr-2013 16:31:15 UTC] PHP Notice: Use of undefined constant NAME - assumed 'NAME' in /usr/local/emhttp/plugins/webGui/template.php on line 244

[12-Apr-2013 16:31:15 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[12-Apr-2013 16:31:15 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[12-Apr-2013 16:31:16 UTC] PHP Notice: Use of undefined constant NAME - assumed 'NAME' in /usr/local/emhttp/plugins/webGui/template.php on line 244

[12-Apr-2013 16:31:16 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[12-Apr-2013 16:31:16 UTC] PHP Notice: Undefined variable: unraid in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[12-Apr-2013 16:31:16 UTC] PHP Warning: parse_ini_file(/simpleFeatures.web.server.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[12-Apr-2013 16:31:16 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 20

[12-Apr-2013 16:31:16 UTC] PHP Notice: Undefined variable: display in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 103

[12-Apr-2013 16:31:16 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 104

[12-Apr-2013 16:31:16 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 104

[12-Apr-2013 16:31:35 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[12-Apr-2013 16:31:35 UTC] PHP Notice: Undefined variable: name in /usr/local/emhttp/plugins/webGui/template.php(138) : eval()'d code on line 1

[12-Apr-2013 16:31:35 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

 

[12-Apr-2013 16:31:35 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

 

[12-Apr-2013 16:31:35 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[12-Apr-2013 16:31:35 UTC] PHP Notice: Use of undefined constant NAME - assumed 'NAME' in /usr/local/emhttp/plugins/webGui/template.php on line 244

[12-Apr-2013 16:31:35 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[12-Apr-2013 16:31:35 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[13-Apr-2013 02:58:59 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

 

[13-Apr-2013 02:58:59 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[13-Apr-2013 02:59:00 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

 

[13-Apr-2013 02:59:00 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[13-Apr-2013 02:59:00 UTC] PHP Notice: Undefined variable: name in /usr/local/emhttp/plugins/webGui/template.php(138) : eval()'d code on line 1

[13-Apr-2013 02:59:00 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

 

[13-Apr-2013 02:59:00 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[13-Apr-2013 02:59:00 UTC] PHP Notice: Use of undefined constant NAME - assumed 'NAME' in /usr/local/emhttp/plugins/webGui/template.php on line 244

[13-Apr-2013 02:59:00 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[13-Apr-2013 02:59:00 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[13-Apr-2013 02:59:07 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

 

[13-Apr-2013 02:59:07 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[13-Apr-2013 02:59:07 UTC] PHP Notice: Use of undefined constant NAME - assumed 'NAME' in /usr/local/emhttp/plugins/webGui/template.php on line 244

[13-Apr-2013 02:59:07 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[13-Apr-2013 02:59:07 UTC] PHP Notice: Undefined variable: unraid in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[13-Apr-2013 02:59:07 UTC] PHP Warning: parse_ini_file(/simpleFeatures.web.server.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[13-Apr-2013 02:59:07 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 20

[13-Apr-2013 02:59:07 UTC] PHP Notice: Undefined variable: display in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 103

[13-Apr-2013 02:59:07 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 104

[13-Apr-2013 02:59:07 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 104

[13-Apr-2013 02:59:18 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

 

[13-Apr

[13-Apr-2013 02:59:18 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[13-Apr-2013 02:59:18 UTC] PHP Notice: Undefined variable: unraid in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[13-Apr-2013 02:59:18 UTC] PHP Warning: parse_ini_file(/simpleFeatures.web.server.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[13-Apr-2013 02:59:18 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 20

[13-Apr-2013 02:59:18 UTC] PHP Notice: Undefined variable: display in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 103

[13-Apr-2013 02:59:18 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 104

[13-Apr-2013 02:59:18 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 104

[13-Apr-2013 02:59:21 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

 

[13-Apr-2013 02:59:21 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[13-Apr-2013 02:59:21 UTC] PHP Notice: Use of undefined constant NAME - assumed 'NAME' in /usr/local/emhttp/plugins/webGui/template.php on line 244

[13-Apr-2013 02:59:21 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[13-Apr-2013 02:59:21 UTC] PHP Notice: Undefined variable: unraid in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[13-Apr-2013 02:59:21 UTC] PHP Warning: parse_ini_file(/simpleFeatures.web.server.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[13-Apr-2013 02:59:21 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 20

[13-Apr-2013 02:59:21 UTC] PHP Notice: Undefined variable: display in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 103

[13-Apr-2013 02:59:21 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 104

[13-Apr-2013 02:59:21 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 104

[13-Apr-2013 02:59:22 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

 

[13-Apr-2013 02:59:22 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[13-Apr-2013 02:59:22 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[13-Apr-2013 02:59:22 UTC] PHP Notice: Use of undefined constant NAME - assumed 'NAME' in /usr/local/emhttp/plugins/webGui/template.php on line 244

[13-Apr-2013 02:59:22 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[13-Apr-2013 02:59:22 UTC] PHP Notice: Undefined variable: unraid in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[13-Apr-2013 02:59:22 UTC] PHP Warning: parse_ini_file(/simpleFeatures.web.server.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[13-Apr-2013 02:59:22 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 20

[13-Apr-2013 02:59:22 UTC] PHP Notice: Undefined variable: display in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 103

[13-Apr-2013 02:59:22 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 104

[13-Apr-2013 02:59:22 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 104

[13-Apr-2013 02:59:23 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

 

[13-Apr-2013 02:59:23 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[13-Apr-2013 02:59:23 UTC] PHP Notice: Undefined variable: name in /usr/local/emhttp/plugins/webGui/template.php(138) : eval()'d code on line 1

[13-Apr-2013 02:59:23 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

 

[13-Apr-2013 02:59:23 UTC] PHP Notice: Undefined index: Icon in /usr/local/emhttp/plugins/webGui/template.php on line 128

[13-Apr-2013 02:59:23 UTC] PHP Notice: Use of undefined constant NAME - assumed 'NAME' in /usr/local/emhttp/plugins/webGui/template.php on line 244

[13-Apr-2013 02:59:23 UTC] PHP Notice: Use of undefined constant Title - assumed 'Title' in /usr/local/emhttp/plugins/webGui/template.php(259) : eval()'d code on line 1

[13-Apr-2013 02:59:23 UTC] PHP Notice: Undefined variable: unraid in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[13-Apr-2013 02:59:23 UTC] PHP Warning: parse_ini_file(/simpleFeatures.web.server.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[13-Apr-2013 02:59:23 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 20

[13-Apr-2013 02:59:23 UTC] PHP Notice: Undefined variable: display in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 103

[13-Apr-2013 02:59:23 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 104

[13-Apr-2013 02:59:23 UTC] PHP Notice: Undefined variable: sf in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 104

Link to comment

I'm getting a time error message on the Simple Features main page below the parity check button & is as follows:

 

Last checked on Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for 'BST/1.0/DST' instead in /usr/local/emhttp/plugins/webGui/template.php on line 41 Sat Mar 30 08:37:49 2013 GMT (fifteen days ago), finding 0 errors.

> Duration: unavailable (system reboot)

 

Could anyone shine a light please?

 

unRAID: 5.0-rc12a

 

Simple Features: latest version?? installed a few weeks ago.

 

Thanks.

 

MODS, I'd appreciate it if you could move this post if it's in the wrong place instead of deleting, cheers.

Link to comment

I'm getting a time error message on the Simple Features main page below the parity check button & is as follows:

 

Last checked on Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for 'BST/1.0/DST' instead in /usr/local/emhttp/plugins/webGui/template.php on line 41 Sat Mar 30 08:37:49 2013 GMT (fifteen days ago), finding 0 errors.

> Duration: unavailable (system reboot)

 

Could anyone shine a light please?

 

unRAID: 5.0-rc12a

 

Simple Features: latest version?? installed a few weeks ago.

 

Thanks.

 

MODS, I'd appreciate it if you could move this post if it's in the wrong place instead of deleting, cheers.

 

Anyone??? :( I lost communication today with the server completely unresponsive, had to hard reset twice before "coming back" on-line.

Could it be the time error causing this?

Tim.

Link to comment

Anyone??? :( I lost communication today with the server completely unresponsive, had to hard reset twice before "coming back" on-line.

Could it be the time error causing this?

Tim.

Not likely.

 

You probably have some other problem, possibly runnning out of memory. You should only hard reset as a last resort. There are a number of ways to safely reboot when the webGUI becomes unresponsive.

 

See here and repost this unresponsive problem to General Support.

 

Link to comment

Anyone??? :( I lost communication today with the server completely unresponsive, had to hard reset twice before "coming back" on-line.

Could it be the time error causing this?

Tim.

Not likely.

 

You probably have some other problem, possibly runnning out of memory. You should only hard reset as a last resort. There are a number of ways to safely reboot when the webGUI becomes unresponsive.

 

See here and repost this unresponsive problem to General Support.

 

Thanks for the reply, i think i'll remove simple features & go back to the trusty unRAID & unMENU combo.

Link to comment

I'm getting a time error message on the Simple Features main page below the parity check button & is as follows:

 

Last checked on Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for 'BST/1.0/DST' instead in /usr/local/emhttp/plugins/webGui/template.php on line 41 Sat Mar 30 08:37:49 2013 GMT (fifteen days ago), finding 0 errors.

> Duration: unavailable (system reboot)

 

Could anyone shine a light please?

 

unRAID: 5.0-rc12a

 

Simple Features: latest version?? installed a few weeks ago.

 

Thanks.

 

MODS, I'd appreciate it if you could move this post if it's in the wrong place instead of deleting, cheers.

 

Did you install the SF webserver plugin?  I saw this error when SQL Lite was failing to install...it is part of the webserver plugin.  If so, I posted a fix here:  http://lime-technology.com/forum/index.php?topic=19508.msg232982#msg232982

 

John

Link to comment

I'm getting a time error message on the Simple Features main page below the parity check button & is as follows:

 

Last checked on Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for 'BST/1.0/DST' instead in /usr/local/emhttp/plugins/webGui/template.php on line 41 Sat Mar 30 08:37:49 2013 GMT (fifteen days ago), finding 0 errors.

> Duration: unavailable (system reboot)

 

Could anyone shine a light please?

 

unRAID: 5.0-rc12a

 

Simple Features: latest version?? installed a few weeks ago.

 

Thanks.

 

MODS, I'd appreciate it if you could move this post if it's in the wrong place instead of deleting, cheers.

 

Did you install the SF webserver plugin?  I saw this error when SQL Lite was failing to install...it is part of the webserver plugin.  If so, I posted a fix here:  http://lime-technology.com/forum/index.php?topic=19508.msg232982#msg232982

 

John

 

Hi John,

 

Thanks for that however following your instructions i could only find 2 of the 3 instances of sqlite-3.7.14.1-i486-1.txz within the simpleFeatures.web.server-1.0.11-noarch-1.plg also no

 

433769b1cd27b59667a34295184356e3 MD5.

 

Thanks for the heads up, my only hope i reckon is that a Dev see's this post.

 

Cheers.

 

Tim.

Link to comment

Does anyone know of a reason why, after I install lighttpd, I would lose the webgui.  I am having problems and am to the point of reinstalling unraid but keeping the same config as before.  I do a fresh install and everything seems to be normal.  I can even copy the config folder to the new install.  The array starts and seems happy.  WHen I install lighttpd, I lose the webgui and it seems to cripple my server.  I am running unraid 5rc12 w no other addons.  AMD phenom 2 (quad core) with 4 gigs of ram. 

 

Thanks

Link to comment

Trying to start the webserver and it won't start. When using the command line I get this error. What should I be doing to get this up and running?

 

 

root@Tower:~# /usr/sbin/lighttpd -f /etc/lighttpd.conf

2013-04-21 11:42:17: (configfile.c.901) opening configfile  /etc//boot/config/simpleFeatures/lighttpd.cfg failed: No such file or directory

2013-04-21 11:42:17: (configfile.c.855) source: /etc/lighttpd.conf line: 327 pos: 1 parser failed somehow near here: (EOL)

 

Link to comment

OK...I fixed my webserver plg to point to the new SQLLite package.  I highly suggest that you wait for the developers to fix the issue officially, but, if you are impatient like I am, here is what I did:

 

I edited the simpleFeatures.web.server-1.0.11-noarch-1.plg  in Notepad++

CTRL+H to do a find and replace:  replace sqlite-3.7.14.1-i486-1.txz with sqlite-3.7.16-i486-1.txz (there should be 3 occurrences)

Also do a find/replace for 433769b1cd27b59667a34295184356e3  with a6f1606b7fc032d28937a75c0cd3ae68 (one occurrence) (this is the MD5 for the new SQLLite package)

 

Then I manually installed via putty:  installplg /boot/plugins/simpleFeatures.web.server-1.0.11-noarch-1.plg

 

All is good again!  :)

 

John

Thank you. Works for me. For those that still cant get it work, make sure to remove/uninstall all related plugins such as unraid web from unmenu, updated unraid web for unraid 5, sqlite/lighttpd in unmenu, maybe others. reboot and try starting again.

 

 

Hi all,

 

I am waiting on a future release of unRAID that should make this plugin irrelevant (thought might be able to offer a proper GUI around configuration instead).

 

I'll let you figure out what this means  :)

 

Cheers

its sad to see such effort irrelevant. anyway, could you kindly update sqlite for webserver for noobs like me? thanks.

 

This guide should give you some overall tips. That could be overkill for what you're wanting to do, but the general ideas are solid:

http://www.cyberciti.biz/tips/ultimate-lighttpd-webserver-security.html

 

Generally permissions are set as below:

 

# Sets files recursively to 644

find /path/to/web/folder/ -type f -exec chmod 644 '{}' \;

# Sets folders recursively to 755

find /path/to/web/folder/ -type d -exec chmod 755 '{}' \;

 

Again, I know the basics but I do not secure servers for a living! If anyone with more knowledge can pipe up I'm happy to learn.

Thank you. Network security is a full time job. Appreciate the tips.

Link to comment

Im really Really confused on how to enable this plugin.

 

Ive installed the plugin, and if I just go stratight to the settings and click ENABLE, and then navigate to IPOFTOWER:81 i get a message telling me to move the root directory to a permant location.

 

So i go back to the settings, and change the Web Root Directory to:

/mnt/cache/www

and click APPLY, i notice in the upper right, it says DISABLED...I rebooted the tower, same thing.

 

I have a SHARE called WWW on my CACHE drive

 

Ive also tried:

/mnt/cache/appdata/web

 

as appdata is where SAB/CP/SB/ are all installed and work perfectly, but same thing...cant get the plugin to go to ENABLED.

 

Any thoughts? Im sure whatever it is im missing is simple.

 

Many Thanks!

Link to comment
  • 3 weeks later...

Why is the web server running as root? Isn't this bad practice?

There should be an option to choose which user to run the web server as, and user "nobody" would be preferable as default.

 

It is bad practice, though from a support point of view I expected permissions issues to be the biggest problem (like running ownCloud, user nobody would not be able to access files from a user share for example). Lighttpd is relatively secure as it is, though this plugin isn't meant to run anything other than a personal blog.

 

A new version of unRAID (being released soon) will be running lighttpd to replace the built in emhttp service. At this point I'd expect it to be configured properly, and my Web Server plugin will cease to exist.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.