Kitz Forum

Broadband Related => Router Monitoring Software => Topic started by: jaydub on March 06, 2018, 01:53:05 PM

Title: Getting DSLStats Webserver working using Nallar's Docker Container
Post by: jaydub on March 06, 2018, 01:53:05 PM
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?
Title: Re: Getting DSLStats Webserver working using Nallar's Docker Container
Post by: jelv on March 06, 2018, 04:56:11 PM
The main DSLstats folder contains templates. You should be looking at files in the webpages folder.
Title: Re: Getting DSLStats Webserver working using Nallar's Docker Container
Post by: jaydub 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.
Title: Re: Getting DSLStats Webserver working using Nallar's Docker Container
Post by: andyfitter 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.

Title: Re: Getting DSLStats Webserver working using Nallar's Docker Container
Post by: jelv on March 06, 2018, 09:32:33 PM
Are there any sub-directories under dslstats?
Title: Re: Getting DSLStats Webserver working using Nallar's Docker Container
Post by: jaydub 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?
Title: Re: Getting DSLStats Webserver working using Nallar's Docker Container
Post by: nallar on March 07, 2018, 08:23:48 PM
The webserver directory was incorrect. I've changed it. (https://github.com/nallar/DSLStatsDocker/commit/8dfd556ca44e13f6d49dca7320d6d073bc4ff8aa)

Can you try now?
Title: Re: Getting DSLStats Webserver working using Nallar's Docker Container
Post by: andyfitter on March 07, 2018, 11:05:47 PM
Working ok for me now on Synology Docker. Thanks for all your help. 

Andy.
Title: Re: Getting DSLStats Webserver working using Nallar's Docker Container
Post by: jaydub 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.