Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Getting DSLStats Webserver working using Nallar's Docker Container  (Read 3104 times)

jaydub

  • Reg Member
  • ***
  • Posts: 351

I've split this away from the DSLstats after the demise of MDWS thread as I was taking this off topic.

I'm running DSLstats on an iMac using Nallar's Docker Container in Kitematic (a user friendly Docker interface for numpties like me).

Firstly the good news.  I have overcome my issues with actually seeing the DSLStats data by mapping an iMac folder to the Docker /config folder and can now see both graph and text snapshots being saved in the mapped folder on the iMac.

However I am struggling with getting the web server to display graphs.  Kitematic is quite helpful in that it shows port 8080 is mapped to 192.168.99.100:32772.

If I try and connect to this, I get a directory listing and if I then click on the html files, I get a title being displayed for the graph but no graph.

According to Ross's notes:  "The built in DSLStats web server doesn't work properly. To get that working enable it which will create the necessary files, but ignore the port number setting. This container starts a web server on port 8080 which will serve the DSLStats web pages."

I have enabled the web server, but can't get the graphs to display.

Any other DSLstats Docker users able to point out what silly error I am making here?
« Last Edit: March 06, 2018, 01:58:37 PM by jaydub »
Logged

jelv

  • Helpful
  • Kitizen
  • *
  • Posts: 2054
Re: Getting DSLStats Webserver working using Nallar's Docker Container
« Reply #1 on: March 06, 2018, 04:56:11 PM »

The main DSLstats folder contains templates. You should be looking at files in the webpages folder.
Logged
Broadband and Line rental: Zen Unlimited Fibre 2, Mobile: Vodaphone
Router: Fritz!Box 7530

jaydub

  • Reg Member
  • ***
  • Posts: 351
Re: Getting DSLStats Webserver working using Nallar's Docker Container
« Reply #2 on: March 06, 2018, 06:32:31 PM »

The main DSLstats folder contains templates. You should be looking at files in the webpages folder.

That makes sense to a certain extent.  However if I drill down from dslsattas into the webserver folder there is nothing there.

I can see all the html files in the mapped web server folder on my Mac, so it would appear to be an issue with how the Docker web service is running.  It obviously isn't pointing at the same folder/files.

I've attached some screen shots so you can see what I am talking about.

Thanks.
Logged

andyfitter

  • Reg Member
  • ***
  • Posts: 172
Re: Getting DSLStats Webserver working using Nallar's Docker Container
« Reply #3 on: March 06, 2018, 06:58:34 PM »

I'm running Docker on a Synology NAS and I have exactly the same problem - the 'web server' folder that is being 'served' appears to be empty, but the correct 'web server' folder which contains the actual populated data appears elsewhere in the directory tree.

Logged

jelv

  • Helpful
  • Kitizen
  • *
  • Posts: 2054
Re: Getting DSLStats Webserver working using Nallar's Docker Container
« Reply #4 on: March 06, 2018, 09:32:33 PM »

Are there any sub-directories under dslstats?
Logged
Broadband and Line rental: Zen Unlimited Fibre 2, Mobile: Vodaphone
Router: Fritz!Box 7530

jaydub

  • Reg Member
  • ***
  • Posts: 351
Re: Getting DSLStats Webserver working using Nallar's Docker Container
« Reply #5 on: March 07, 2018, 09:55:46 AM »

On the mapped drives there are two subfolders:  mydslwebstats and webserver.

I think andyfitter and I have both come to the same conclusion: the 'web server' folder that is being 'served' appears is empty and is obviously not pointing at the correct 'web server' folder which contains the actual populated data.

I think we might need Nallar's help here.  Are you there, Ross?
Logged

nallar

  • Member
  • **
  • Posts: 55
    • Smokeping
Re: Getting DSLStats Webserver working using Nallar's Docker Container
« Reply #6 on: March 07, 2018, 08:23:48 PM »

The webserver directory was incorrect. I've changed it.

Can you try now?
Logged
Virgin Media cable, A&A ADSL. OPNsense router.

andyfitter

  • Reg Member
  • ***
  • Posts: 172
Re: Getting DSLStats Webserver working using Nallar's Docker Container
« Reply #7 on: March 07, 2018, 11:05:47 PM »

Working ok for me now on Synology Docker. Thanks for all your help. 

Andy.
Logged

jaydub

  • Reg Member
  • ***
  • Posts: 351
Re: Getting DSLStats Webserver working using Nallar's Docker Container
« Reply #8 on: March 07, 2018, 11:57:06 PM »

And for me too.

Just downloaded the latest container build and now working as it should.

Top man, Ross.
Logged