Jump to content
speeding_ant

"SimpleFeatures" - WebServer Plugin [SUPPORT]

308 posts in this topic Last Reply

Recommended Posts

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.

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post

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?

Share this post


Link to post

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!

Share this post


Link to post

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  ::)

Share this post


Link to post

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 :)

 

Share this post


Link to post

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

Share this post


Link to post

Looks like an error in the ajaxplorer script. Not the web server.

Share this post


Link to post

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

Share this post


Link to post

You are missing a file.

 

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

Share this post


Link to post

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

Share this post


Link to post

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

Share this post


Link to post

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

Share this post


Link to post

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?

Share this post


Link to post

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

Share this post


Link to post

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  :(

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post

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.