Dynamix - Web Server


Recommended Posts

Hey all-

 

Web server for me is working like a champ.  I did have one question.  Not sure if its possible at all, but can you require user authentication to view the web page in question?

 

Password protection is possible, but you need to edit the lighttpd configuration file /etc/lighttpd.conf manually.

 

This site gives more explanation about how to set up lighttpd.

 

Also keep in mind that your manual changes won't survive a system reboot.

 

Link to comment
  • Replies 92
  • Created
  • Last Reply

Top Posters In This Topic

when I execute lighttpd -f /etc/lighttpd.conf, I get the following back:

 

2014-03-01 18:59:37: (configfile.c.901) opening configfile  /etc//boot/config/plugins/dynamix/dynamix.lighttpd.cfg failed: No such file or directory
2014-03-01 18:59:37: (configfile.c.855) source: /etc/lighttpd.conf line: 393 pos: 60 parser failed somehow near here: /boot/config/plugins/dynamix/dynamix.lighttpd.cfg

 

Is the issue with the /etc//boot part?

Link to comment

when I execute lighttpd -f /etc/lighttpd.conf, I get the following back:

 

2014-03-01 18:59:37: (configfile.c.901) opening configfile  /etc//boot/config/plugins/dynamix/dynamix.lighttpd.cfg failed: No such file or directory
2014-03-01 18:59:37: (configfile.c.855) source: /etc/lighttpd.conf line: 393 pos: 60 parser failed somehow near here: /boot/config/plugins/dynamix/dynamix.lighttpd.cfg

 

Is the issue with the /etc//boot part?

 

The file /boot/config/plugins/dynamix/dynamix.lighttpd.cfg is used to store custom configuration which can survive a system reboot. This file is created on your flash device and needs to be present for correct operation.

 

If it went missing you can re-install the plugin, either manually or in the GUI (control plugin). It might be worth checking you flash device for any file corruption.

 

Link to comment
  • 4 weeks later...

I just installed the web server plugin from the plugin manager and am having some issues getting the server to actually start up. No matter what port i set up on the dashboard when i type:

 

lighttpd -f /etc/lighttpd.conf

 

I get this: 2014-03-29 20:57:11: (network.c.379) can't bind to port:  81 (or any other number) Address already in use

 

My goal is to get plexWatch/Web up and running

Link to comment

I just installed the web server plugin from the plugin manager and am having some issues getting the server to actually start up. No matter what port i set up on the dashboard when i type:

 

lighttpd -f /etc/lighttpd.conf

 

I get this: 2014-03-29 20:57:11: (network.c.379) can't bind to port:  81 (or any other number) Address already in use

 

My goal is to get plexWatch/Web up and running

Plex is on Port 32400

Link to comment

I hope this is the right place for my issue. I have also reported it here. I'm trying to run both Spotweb and plexWatchWeb.

 

I (linux n00b!) thought I got it fixed by editing dynamix.lighttpd.cfg as follows:

 

# User customizations
# Add your own settings here. These won't get overwritten upon reboot
#
$SERVER["socket"] == ":81" {
  server.document-root = "/mnt/cache/_Usenet/appdata/www/plexWatchWeb/"
}
$SERVER["socket"] == ":84" {
  server.document-root = "/mnt/cache/_Usenet/Webserver/spotweb/"
}

 

plexWatchWeb initially works fine, but as soon as I have used Spotweb it will give an error on the homescreen. After a restart of the webserver it will work again (until I use Spotweb, of course).

 

Any thoughts?

 

Thanks a lot for your support!

Link to comment
  • 2 months later...

I need a webserver so I used the dynamix plugin manager to install it.  I changed the install directory to /cache/appdata/web

 

I'm getting error on console when I try to Apply my settings in the plugin - sed: can't read /boot/config/dynamix/php.ini : no such file or directory

 

So I created the directory /boot/config/dynamix/

 

Where do I get he php.ini file?  I was expecting that once the path was valid, it would create the ini file??  Do I just rename the dynamix.php.cfg to php.ini?

 

Also, I try going to //tower:81 and it doesn't work.  I even tried my server ip with port 81 - no go.  How do I get to the ui?

 

I can't seem to find a happy port either, tried 81, and then 8189

 

root@Tower:~# lighttpd -f /etc/lighttpd.conf

2014-07-04 11:54:39: (network.c.379) can't bind to port:  81 Address already in use

root@Tower:~# lighttpd -f /etc/lighttpd.conf

2014-07-04 11:55:25: (network.c.379) can't bind to port:  8189 Address already in use

root@Tower:~#

 

Doesn't matter which port I pick, I get the same network.c.379 error.

Link to comment

I need a webserver so I used the dynamix plugin manager to install it.  I changed the install directory to /cache/appdata/web

 

I'm getting error on console when I try to Apply my settings in the plugin - sed: can't read /boot/config/dynamix/php.ini : no such file or directory

 

So I created the directory /boot/config/dynamix/

 

Where do I get he php.ini file?  I was expecting that once the path was valid, it would create the ini file??  Do I just rename the dynamix.php.cfg to php.ini?

 

Also, I try going to //tower:81 and it doesn't work.  I even tried my server ip with port 81 - no go.  How do I get to the ui?

 

I can't seem to find a happy port either, tried 81, and then 8189

 

root@Tower:~# lighttpd -f /etc/lighttpd.conf

2014-07-04 11:54:39: (network.c.379) can't bind to port:  81 Address already in use

root@Tower:~# lighttpd -f /etc/lighttpd.conf

2014-07-04 11:55:25: (network.c.379) can't bind to port:  8189 Address already in use

root@Tower:~#

 

Doesn't matter which port I pick, I get the same network.c.379 error.

No longer using this, but I didn't have any of these problems and I didn't have to create any directories. Are you sure you don't have a problem with your flash?
Link to comment

No issue with my flash, but I did just check it again - no errors and all of my other stuff is working fine.  My other plugins are working, sabnzbd, CP, etc and I get to those just fine.

 

I've included a couple of screenshots of my config.  In short, I used the plugin manager to install the webserver and then rebooted.  I changed the install directory to my cache drive.  When I click on Apply, I see the php.ini error on my console.  I try to get to the webserver and cannot - tower:85  I also tried the IP address with port 85.

 

I guess I can try uninstalling and install again, after my parity check is done - about 24 hours from now.

 

Update:  I may have found out why it's not working.  I just realized that my edited version of the plugin wasn't copied over to my flash.  As per the first post, I edited the webserver plugin and used slackware version 14.00. However, it seems I accidentally copied the orginal, which has 13.37.  I'll have to wait for my parity check to complete and then I'm going to uninstall it and install it again with the updated plugin file.  I hope this is why it's not working.

pluginmgr.JPG.3171d451939dbd8eb6600be9bca4ca0f.JPG

webserconfig.JPG.a7c830825aee58b5406021579433e5dc.JPG

Link to comment

well edit the plg per the 1st post, none of that worked, see lots of FINE NOT FOUND ERROR during boot.  Most likely a openssl conflict.

 

too much effort to make this POS work - I'm done - I need a easy to install webserver - and this isn't it.  I simple give up

Link to comment

Looking to see if anyone else is having the same issue.

 

I'm running 5.0.4 with dynamix.  Under the web server settings I have all 3 logs disabled.  (PHP Error, Error, Access)

 

Yet PHP Error continues to show up and grow.  (I'm not so worried about the errors inside PHP, I'm more concerned that the file is showing up when I have it selected as disabled.  I've rebooted server and selected enable and back to disable and the errors continue to show.

 

Any ideas?

Link to comment

So everything "seems" to be installed and working "ok" other than the issue from my post above and the fact that the last few weeks I've had 2 crashes.

 

noticed this error also sed: can't read /boot/config/dynamix/php.ini : no such file or directory

 

Here is a screen shot (Attached) of when my system crashes.  I can't do anything when it crashes, no syslog, no nothing.  =\

 

any ideas?

 

unraid_crash.PNG.679e048b9811376ac6eb0af1acf5b5ac.PNG

Link to comment

So everything "seems" to be installed and working "ok" other than the issue from my post above and the fact that the last few weeks I've had 2 crashes.

 

noticed this error also sed: can't read /boot/config/dynamix/php.ini : no such file or directory

 

Here is a screen shot (Attached) of when my system crashes.  I can't do anything when it crashes, no syslog, no nothing.  =\

 

any ideas?

See here
Link to comment
  • 5 weeks 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.