smoldersonline Posted April 28, 2012 Share Posted April 28, 2012 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. Quote Link to comment
bonienl Posted April 28, 2012 Share Posted April 28, 2012 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. Quote Link to comment
smoldersonline Posted April 28, 2012 Share Posted April 28, 2012 This came (very) close to officially driving me completely crazy. But now IT WORKS! Thank you both very much. Quote Link to comment
bonienl Posted April 28, 2012 Share Posted April 28, 2012 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 Quote Link to comment
zolle76 Posted April 28, 2012 Share Posted April 28, 2012 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? Quote Link to comment
joeshmoe1 Posted April 29, 2012 Share Posted April 29, 2012 Great plug-in. Thank you. Quote Link to comment
bonienl Posted April 30, 2012 Share Posted April 30, 2012 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! Quote Link to comment
speeding_ant Posted April 30, 2012 Author Share Posted April 30, 2012 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 Quote Link to comment
bonienl Posted April 30, 2012 Share Posted April 30, 2012 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 Quote Link to comment
jlguerrer Posted May 1, 2012 Share Posted May 1, 2012 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 Quote Link to comment
bonienl Posted May 1, 2012 Share Posted May 1, 2012 Looks like an error in the ajaxplorer script. Not the web server. Quote Link to comment
eddybrown Posted May 7, 2012 Share Posted May 7, 2012 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 Quote Link to comment
bonienl Posted May 7, 2012 Share Posted May 7, 2012 You are missing a file. Download again the "simplefeatures_webserver.plg" file and retry. Quote Link to comment
eddybrown Posted May 7, 2012 Share Posted May 7, 2012 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 Quote Link to comment
bonienl Posted May 7, 2012 Share Posted May 7, 2012 Instead of pointing to the user share location (/mnt/user) can you point to the disk location itself (/mnt/disk?) Quote Link to comment
eddybrown Posted May 7, 2012 Share Posted May 7, 2012 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 Quote Link to comment
speeding_ant Posted May 7, 2012 Author Share Posted May 7, 2012 Fyi, it will only create the last folder. Make sure every other folder is there first. Quote Link to comment
eddybrown Posted May 7, 2012 Share Posted May 7, 2012 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? Quote Link to comment
speeding_ant Posted May 7, 2012 Author Share Posted May 7, 2012 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 Quote Link to comment
eddybrown Posted May 7, 2012 Share Posted May 7, 2012 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 Quote Link to comment
speeding_ant Posted May 7, 2012 Author Share Posted May 7, 2012 Can I ask if the array has started yet? Cannot reproduce your issue on a stock system, nor my production system. Quote Link to comment
eddybrown Posted May 7, 2012 Share Posted May 7, 2012 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. Quote Link to comment
speeding_ant Posted May 7, 2012 Author Share Posted May 7, 2012 Great! Glad it only took a reboot Quote Link to comment
TapRackPull Posted June 9, 2012 Share Posted June 9, 2012 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 Quote Link to comment
Recommended Posts
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.