Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"SimpleFeatures" - WebServer Plugin [SUPPORT]

Featured Replies

Thanks again.

 

I'm giving up .... Must be something with my router. When I "Port Forward" to 80, dirksmolders.nl brings me to the unRAID welcome page. Forwarding to 81 and I get nothing. Ah well, this is not for me.

  • Replies 307
  • Views 96k
  • Created
  • Last Reply

You are almost there...

 

It is possible to start the unRAID interface (emhttp) on a different port, default is port 80.

 

You do this by changing the line in the "go" file:

 

/usr/local/sbin/emhttp -p 8008 &

 

In the example above the unRAID GUI starts on alternative port 8008, consequently to access the GUI you have to type something like: http://tower:8008

 

Now in the web server configuration screen change the port of the server to 80.

 

Reboot your system and it is ready to go.

This came (very) close to officially driving me completely crazy. But now IT WORKS! Thank you both very much.

This came (very) close to officially driving me completely crazy. But now IT WORKS! Thank you both very much.

Good to hear you've got it working  :D

First of all, thx for the plugin!

 

I'm no expert, and I've been trying to get this to life with a bunch of web apps such as drupal or vanilla forums (wordpress works miraculously), but there's something going on with the utf8 encoding. Drupal gave me tons of errors saying something's not cool like: Warning:  site:drupal.org in drupal_validate_utf8()

 

Anyone any similar experience?

Great plug-in. Thank you.

Perhaps this is too much to ask, but is it possible to use PHP 5.4.1 ?

 

There are some nice improvements in the 5.4.x chain.

 

Thanks again for making this package available, it is running fine on my server!

  • Author

Main reason why I haven't included it yet is that most major distros are still testing it before release.

 

Could also mean that if I wait a little longer I don't need to compile it myself  ::)

When the unRAID server is rebooted then the plugin gives several messages on the console (stderr). These need to go to a log file instead.

 

Would be nice to have the prompt "clean" after a system restart :)

 

Hi i have installed the plugin and when i try to run ajaxplorer it gives me the following error:

 

<tree>
<message type="ERROR">
preg_replace(): Compilation failed: unknown option bit(s) set at offset 0
</message>
</tree>

 

Any clues what this may be?

 

Thanks

I can't get the service to start. It always says status: stopped

 

LightTPD.log:

Start: May 7, 2012 05:20:28 PM
SERVICE: enable
DATADIR: /mnt/user/ed/webserver/www
WEBPORT: 81

CMD: sed -i -e '/^date.timezone/cdate.timezone = "Europe/London"' /boot/config/plugins/sf_webserver/php/php.ini
Results:

CMD: The directory /mnt/user/ed/webserver/www was successfully created

CMD: sed -i -e '/^date.timezone/cdate.timezone = "Europe/London"' /boot/config/plugins/sf_webserver/php/php.ini
Results:

CMD: The directory /mnt/user/ed/webserver/www was successfully created

CMD: /etc/rc.d/rc.lighttpd stop
Results: Not running!

CMD: /etc/rc.d/rc.lighttpd start
Results: Starting lighttpd: /usr/sbin/lighttpd

End: May 7, 2012 05:20:29 PM

 

and PHPErrors.log

[07-May-2012 16:20:12 UTC] PHP Warning: mkdir(): No such file or directory in /usr/local/emhttp/plugins/sf_webserver/webserverctl.php on line 110
[07-May-2012 16:20:12 UTC] PHP Warning: touch(): Unable to create file /mnt/user/ed/webserver/www/index.html because No such file or directory in /usr/local/emhttp/plugins/sf_webserver/webserverctl.php on line 135
[07-May-2012 16:20:17 UTC] PHP Warning: mkdir(): No such file or directory in /usr/local/emhttp/plugins/sf_webserver/webserverctl.php on line 110
[07-May-2012 16:20:17 UTC] PHP Warning: touch(): Unable to create file /mnt/user/ed/webserver/www/index.html because No such file or directory in /usr/local/emhttp/plugins/sf_webserver/webserverctl.php on line 135
[07-May-2012 16:20:28 UTC] PHP Warning: mkdir(): No such file or directory in /usr/local/emhttp/plugins/sf_webserver/webserverctl.php on line 110
[07-May-2012 16:20:28 UTC] PHP Warning: touch(): Unable to create file /mnt/user/ed/webserver/www/index.html because No such file or directory in /usr/local/emhttp/plugins/sf_webserver/webserverctl.php on line 135
[07-May-2012 16:20:28 UTC] PHP Warning: mkdir(): No such file or directory in /usr/local/emhttp/plugins/sf_webserver/webserverctl.php on line 110
[07-May-2012 16:20:28 UTC] PHP Warning: touch(): Unable to create file /mnt/user/ed/webserver/www/index.html because No such file or directory in /usr/local/emhttp/plugins/sf_webserver/webserverctl.php on line 135

 

I'm running 5.0-beta14, UnMenu, SimpleFeatures RC1, Couchpotato, SABnzbd, sickbeard. Simple Features and other plugins all working well, and no other plugins installed through UnMenu

You are missing a file.

 

Download again the "simplefeatures_webserver.plg" file and retry.

You are missing a file.

 

Download again the "simplefeatures_webserver.plg" file and retry.

 

Thanks, retried over telnet, same results...

 

installing plugin: simplefeatures_webserver
file /boot/packages/simpleFeatures-1.0-web_server.tgz: already exists
  upgradepkg --install-new /boot/packages/simpleFeatures-1.0-web_server.tgz ...
+==============================================================================
| Skipping package simpleFeatures-1.0-web_server (already installed)
+==============================================================================


success
file /boot/config/plugins/sf_webserver/webserver.png: downloading from http://unraid-simplefeatures.googlecode.com/files/webserver.png ... 2012-05-07 19:56:14 URL:http://unraid-simplefeatures.googlecode.com/files/webserver.png [5005/5005] -> "/boot/config/plugins/sf_webserver/webserver.png" [1]
success
file /boot/config/plugins/sf_webserver/webserver.cfg: successfully wrote INLINE file contents
file /boot/config/plugins/sf_webserver/lighttpd/lighttpd_server.conf.include: successfully wrote INLINE file contents
file /boot/config/plugins/sf_webserver/lighttpd/lighttpd.conf.include: successfully wrote INLINE file contents
file /usr/local/emhttp/plugins/sf_webserver/webserver.png: already exists
file /usr/local/emhttp/plugins/sf_webserver/webserver.page: already exists
file /usr/local/emhttp/plugins/sf_webserver/webserver.php: already exists
file /usr/local/emhttp/plugins/sf_webserver/webserverctl.php: already exists
file /usr/local/emhttp/plugins/sf_webserver/event/disks_mounted: already exists
  successfully changed file mode
file /usr/local/emhttp/plugins/sf_webserver/event/unmounting_disks: already exists
  successfully changed file mode
plugin successfully installed

Instead of pointing to the user share location (/mnt/user) can you point to the disk location itself (/mnt/disk?)

Instead of pointing to the user share location (/mnt/user) can you point to the disk location itself (/mnt/disk?)

 

Doesn't appear to make a difference. It still says status stopped.

 

Start: May 7, 2012 08:30:53 PM
SERVICE: disable
DATADIR: /mnt/disk1/webserver/www
WEBPORT: 81


CMD: /etc/rc.d/rc.lighttpd stop
Results: Not running!

End: May 7, 2012 08:30:54 PM

Start: May 7, 2012 08:31:02 PM
SERVICE: enable
DATADIR: /mnt/disk1/webserver/www
WEBPORT: 81



CMD: /etc/rc.d/rc.lighttpd stop
Results: Not running!

CMD: /etc/rc.d/rc.lighttpd start
Results: Starting lighttpd: /usr/sbin/lighttpd

End: May 7, 2012 08:31:04 PM

  • Author

Fyi,  it will only create the last folder. Make sure every other folder is there first.

Fyi,  it will only create the last folder. Make sure every other folder is there first.

 

The www folder exists, which other folders would I need to create?

  • Author

Please run the "New Permissions" script under the utils tab.

 

Alternatively (if you're more comfortable with command line):

 

chown -R nobody:users /mnt/user/path/to/www

chown -R 777 /mnt/user/path/to/www

Please run the "New Permissions" script under the utils tab.

 

Alternatively (if you're more comfortable with command line):

 

chown -R nobody:users /mnt/user/path/to/www

chown -R 777 /mnt/user/path/to/www

 

Thanks ran the permissions script and no change. I also redownloaded the tgz file and reinstalled the plugin. No change it still won't start  :(

  • Author

Can I ask if the array has started yet?

 

Cannot reproduce your issue on a stock system, nor my production system.

I've just rebooted the server and it's working now!  :)

 

Not sure why or what's going on with it. There's also a new log file which has appeared, previously I only had 4 logs on the webserver page, now I have 5.

  • Author

Great! Glad it only took a reboot  ;)

  • 1 month later...

PHP doesn't seem to be working for me.

After install, the web server seems to be functioning quite well, but I can't seem to get a simple php script to run.

The result of

<?php

phpinfo();

?>

yields no results.

 

Have I missed a simple step?

 

Matt

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.