Updating webcontrol issue

sunkenbier
Plasticator
Posts: 16
Joined: Tue Jun 18, 2013 4:32 pm

Updating webcontrol issue

Postby sunkenbier » Wed Feb 21, 2018 10:37 am

Firmware Version:
1.20 (2017-12-23)
WiFi Server Version:
1.20

I tried updating the DuetWebControl to the most current version and it states:

Error
You cannot upload web interface files as a ZIP file on a Duet WiFi!


Is this normal behavior? I unzipped the files and did the upload of the unzipped files. It shows that I'm running version is:

Web Interface Version:
1.19.3


but when I try to control my temperatures I receive the below error. Would anyone know the fix for this?

JavaScript Error

A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:

Message: Unable to get property '1' of undefined or null reference
URL: http://192.168.1.18/js/dwc.js
Line: 4022:3
Error object: {}

dc42
Printmaster!
Posts: 398
Joined: Mon Mar 07, 2016 10:17 am

Re: Updating webcontrol issue

Postby dc42 » Wed Feb 21, 2018 3:17 pm

When upgrading firmware from 1.18 or earlier to 1.19 or later on the Duet WiFi, we recommend you move the SD card to a PC, delete the old /www folder, create a new one, and unzip the new DuetWebControl.zip to it. After that you will be able to upgrade it in DWC next time.

sunkenbier
Plasticator
Posts: 16
Joined: Tue Jun 18, 2013 4:32 pm

Re: Updating webcontrol issue

Postby sunkenbier » Wed Feb 21, 2018 6:05 pm

I Was going from 18 to 19 but I resolved it in the same manner as you suggested. Thank you for the quick response.

dc42
Printmaster!
Posts: 398
Joined: Mon Mar 07, 2016 10:17 am

Re: Updating webcontrol issue

Postby dc42 » Thu Feb 22, 2018 1:44 am

I think your HTML and JS files may have got out of step, because using DWC 1.19 you should have been able to upgrade to 1.20 without getting that message. Sometimes it is necessary to clear the browser cache before you pick up the new versions of the DWC files. The latest DWC warns you if the version numbers of the html and js files do not match.


Return to “Duet”

Who is online

Users browsing this forum: No registered users and 1 guest