Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Dynamix - Web Server

Featured Replies

  • Author

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.

 

  • Replies 92
  • Views 26.3k
  • Created
  • Last Reply

Thanks for the info!  Appreciate it.

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?

  • Author

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.

 

  • 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

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

I understand this but im trying to get the webserver to actually function first of all.

 

Also, when i run sudo fuser -v port/tcp it only shows one instance of lighttpd on that port. Then if i stop the webserver there are no instances of it

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!

  • 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.

help please

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?

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

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

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?

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

good luck - I didn't get any help with this plugin and decided to uninstall it

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
  • 5 weeks later...
  • Author

help please

 

There is a bug in version 2.1.0 of the Dynamix web server (pointing to the wrong PHP file location).

 

It will be corrected in the upcoming version.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.