"SimpleFeatures" - WebServer Plugin [SUPPORT]


Recommended Posts

  • Replies 307
  • Created
  • Last Reply

Top Posters In This Topic

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.

Link to comment

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?

Link to comment

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

Link to comment

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

Link to comment

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

Link to comment

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

Link to comment

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

Link to comment
  • 1 month later...

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.