"SimpleFeatures" - WebServer Plugin [SUPPORT]


Recommended Posts

  • Replies 307
  • Created
  • Last Reply

Top Posters In This Topic

In version 1.0.5 all PHP extensions were enabled by default, though most of the time these are not all needed.

 

In version 1.0.11 some common PHP extensions are enabled and the rest is disabled to safe memory and improve performance.

 

Some of the disabled extensions also require the appropriate package to be installed. Therefore look into the plg file to see what packages are set to optional.

 

My (and PHP) recommendation: only use the extensions when really required.

Link to comment

Did not get it to work. I deleted all packages and plugins and have been step by step installing since yesterday.

 

I have not rebooted yet but sofar everything seems to work.

 

I do understand the power of virtualisation now, I think I have to much running on my box if an update makes this necessary..

 

+ 1.

 

My box simply hosts my personal website and shares my data. These two things arguably go together well, allowing me to essentially host my own dropbox. However, add more to the mix and you're better off with a dedicated VM to deal with it.

Link to comment

Please do not see this as a complaint:

 

I could post my php.ini, but I would have no idea what my other plugins needs, specifically spotweb. I also do not believe that the issue is therein. If reinstalling the sf webserver (not the core) renders the main unraid pages unreachable I do not think that is due to php or another plugin (although it might). I have gone as far as completely starting with a fresh usb, installing everything step by step. There is incompatibilty between some of my plugins that was introduced with the latest simplefeatures version.

 

I have reverted back to the previous version and will stay there I am afraid, I might try an upgrade in the future sometime. I think I have made a mistake in dressing unraid up with to many fancy looks and plugins, I need a stable system to support sabnzb, couchpotato, sickbeard, transmission and the core unraid functionality. Although I like tinkering and playing around with the system this is just to much.

 

Thank you for all your support and a great product, I really mean that !

Link to comment

Please do not see this as a complaint:

 

I could post my php.ini, but I would have no idea what my other plugins needs, specifically spotweb. I also do not believe that the issue is therein. If reinstalling the sf webserver (not the core) renders the main unraid pages unreachable I do not think that is due to php or another plugin (although it might). I have gone as far as completely starting with a fresh usb, installing everything step by step. There is incompatibilty between some of my plugins that was introduced with the latest simplefeatures version.

 

I have reverted back to the previous version and will stay there I am afraid, I might try an upgrade in the future sometime. I think I have made a mistake in dressing unraid up with to many fancy looks and plugins, I need a stable system to support sabnzb, couchpotato, sickbeard, transmission and the core unraid functionality. Although I like tinkering and playing around with the system this is just to much.

 

Thank you for all your support and a great product, I really mean that !

 

If installing the SF webserver renders the main pages unreachable then that means that one of the dependencies it relies on has failed to download. PHP will be giving errors like crazy in syslog. I'd recommend install core, then SF webserver manually to see what errors you get when installing.

 

Ensure you're using the latest unRAID version, and ensure that you install plugins one at a time to find out where the problem lies.

 

Hopefully this will all become irrelevant when Tom replaces emhttp with the same technology we're using for this plugin (it's definitely on the cards). Of course, it always becomes an issue when you have plugin dependency hell, where different plugins rely on different versions of binaries/libraries and so on.

 

The latest PHP combined with lighttpd should handle everything thrown at it, provided the software you're using isn't ancient and uses deprecated code.

Link to comment

Don't know if this will be any help to anyone but I am not having any problems with the new SF and the SF webserver. Not really using the SF webserver for anything but ajaxplorer at the moment so maybe not a good test.

 

The difference might be that I am using NZBGet instead of SAB. When booting it looks like SAB has more dependencies than NZBGet. I don't use SB or CP so that might also be a difference.

 

The only other addon I am using that has a web user interface (not just plugin configuration page) is Transmission.

Link to comment

Question for speeding_ant...

 

Is there any mileage in a static php build?  I've dabbled in compiling my own php from time to time although never statically.  Would that remove the need to install dependent packages?  I guess it would bloat the php binaries. 

 

As it stands I need to review my own plugins such as OpenSSH and AirVideo which now use older packages than the ones in the new SF core and web.  I know without a package manager this is a nightmare, but before updating to newer versions, it'd probably be wise from a change management point of view to collaborate with other plugin devs who's work may be impacted.

 

 

 

Regards,

overbyrn

 

 

Link to comment

Question relating to the PHP compile within Web Server

 

I am using a PHP Client to transfer a large file, when I click download I get the error message

ErrorException [ Warning ]: finfo::file(full path to file): failed to open stream: Value too large for defined data type

a little investigation and I believe that this is because the 3GB file limit is a limitation of 32bit, I have seen repies saying that I need a 64bit compiled version of PHP to be able to download any file larger than 3GB

 

can someone confirm if my findings are correct?

 

and is it possible to use a 64bit compiled version of PHP with websever, and if so, How?

 

thanks in advance

Link to comment

Question for speeding_ant...

 

Is there any mileage in a static php build?  I've dabbled in compiling my own php from time to time although never statically.  Would that remove the need to install dependent packages?  I guess it would bloat the php binaries. 

 

As it stands I need to review my own plugins such as OpenSSH and AirVideo which now use older packages than the ones in the new SF core and web.  I know without a package manager this is a nightmare, but before updating to newer versions, it'd probably be wise from a change management point of view to collaborate with other plugin devs who's work may be impacted.

 

 

 

Regards,

overbyrn

 

For some of the other packages that require dependencies like specific sqlite libraries, or ffmpeg libraries, then yes. There are benefits for sure!

 

Once I get the bugs in the iTunes Server plugin ironed out, it will become self contained.

Link to comment
  • 2 weeks later...

Question relating to the PHP compile within Web Server

 

I am using a PHP Client to transfer a large file, when I click download I get the error message

ErrorException [ Warning ]: finfo::file(full path to file): failed to open stream: Value too large for defined data type

a little investigation and I believe that this is because the 3GB file limit is a limitation of 32bit, I have seen repies saying that I need a 64bit compiled version of PHP to be able to download any file larger than 3GB

 

can someone confirm if my findings are correct?

 

and is it possible to use a 64bit compiled version of PHP with websever, and if so, How?

 

thanks in advance

 

tough crowd :)

 

guess its just me hitting this wall then

Link to comment

have just upgraded all SF plugins, all working fine, but.....

 

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/php_curl.dll' - /usr/lib/php/extensions/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0

 

this worked fine before upgrade, does the new version have legacy issues or maybe a package has been missed in the new plugin?

 

or do I need to do something else?

 

thanks in advance

Link to comment

have just upgraded all SF plugins, all working fine, but.....

 

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/php_curl.dll' - /usr/lib/php/extensions/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0

 

this worked fine before upgrade, does the new version have legacy issues or maybe a package has been missed in the new plugin?

 

or do I need to do something else?

 

thanks in advance

 

solved my own issue!

 

dll files are for windows not nix (DOH!) so commented out the php_curl.dll line in php.ini, restarted the web server, and BINGO!

 

hope fully will be useful to someone else

Link to comment

Just updated all my plugins (Core, Disk Health, Email Notify, System Stats) and all works fine.

 

If I install the updated webserver, I cannot render the SimpleFeatures WebUI.

 

If I try reinstalling the Core PLG file, I get the following error:

root@Tower:/boot/plugins# installplg simpleFeatures.core.webGUI-1.0.11-noarch-1.plg
/usr/bin/php: error while loading shared libraries: libssl.so.0: cannot open shared object file: No such file or directory

 

If I remove the updated web server PLG and try reloading the 1.0.5 Web Server PLG File, I get the following errors in PHP_errors:

 

[15-Mar-2013 17:13:33 UTC] PHP Notice: Undefined variable: script in /usr/local/emhttp/update_web.php on line 40
[15-Mar-2013 17:13:33 UTC] PHP Notice: Undefined variable: config in /usr/local/emhttp/update_web.php on line 41
[15-Mar-2013 17:13:33 UTC] PHP Notice: Undefined variable: setup in /usr/local/emhttp/update_web.php on line 41
[15-Mar-2013 17:13:33 UTC] PHP Warning: file_put_contents(): Filename cannot be empty in /usr/local/emhttp/update_web.php on line 41
[15-Mar-2013 17:13:33 UTC] PHP Notice: Undefined variable: enable in /usr/local/emhttp/update_web.php on line 42

 

Any thoughts?

 

 

Link to comment

Just tried to install the webserver plugin, I had to replace the sqlite-3.7.14.1-i486-1.txz package as it was updated and the former one removed from the slackware repository.

Then in the config panel of the webserver plugin, the configs are not saved. A .ini is missing, here is a log excerpt :

 

[20-Mar-2013 19:10:15 UTC] PHP Notice: Undefined index: section in /usr/local/emhttp/update.php on line 48

[20-Mar-2013 19:10:17 UTC] PHP Notice: Undefined variable: unraid in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[20-Mar-2013 19:10:17 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

Link to comment

Just tried to install the webserver plugin, I had to replace the sqlite-3.7.14.1-i486-1.txz package as it was updated and the former one removed from the slackware repository.

Then in the config panel of the webserver plugin, the configs are not saved. A .ini is missing, here is a log excerpt :

 

[20-Mar-2013 19:10:15 UTC] PHP Notice: Undefined index: section in /usr/local/emhttp/update.php on line 48

[20-Mar-2013 19:10:17 UTC] PHP Notice: Undefined variable: unraid in /usr/local/emhttp/plugins/simpleFeatures.webServer/WEBsettings.php on line 11

[20-Mar-2013 19:10:17 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

 

I am seeing the same issue but don't know enough to fix...

 

file /boot/packages/sqlite-3.7.14.1-i486-1.txz: downloading from http://slackware.cs.utah.edu/pub/slackware/slackware-current/slackware/ap/sqlite-3.7.14.1-i486-1.txz ... http://slackware.cs.utah.edu/pub/slackware/slackware-current/slackware/ap/sqlite-3.7.14.1-i486-1.txz:
2013-03-20 18:38:22 ERROR 404: Not Found.
bad download, deleting

 

John

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

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

 

Nice one..!  8) Thanks..!  :)

Link to comment

I see this in my server log, maybe some plugin needs to be fixed.....

 

/usr/bin/tail -n 1000 -f /var/log/lighttpd/php.errors.log
[02-Apr-2013 15:35:34 UTC] PHP Notice: Undefined variable: string in /usr/local/emhttp/plugins/apcupsd/apcupsdctl.php on line 140
[02-Apr-2013 16:23:22 UTC] PHP Notice: Undefined variable: vm_run_cnt in /usr/local/emhttp/plugins/virtualbox/virtualbox.php on line 39
[02-Apr-2013 16:23:46 UTC] PHP Notice: Undefined variable: airvideo_datacheck in /usr/local/emhttp/plugins/airvideo/airvideo.php on line 42

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.