Update from 1.15 to 1.19 absolutely NO Web control Interface. Help!!!



  • Hello, I am new to DuetWifi and I had purchased the first release of the Duet Wifi…..#44 board. When I had finished building my Delta, I tried the board out and all worked with the preloaded V1.15 firmware. I then read all the update warnings and procedures and read all forums and proceeded to upgrade to 1.19. Followed special pre v1.19 procedure through YAT and all is well except that Web Interface control will not come up at all. I can ping the Duet no problem and below is an image of my terminal session, doing what David had advised to others so if someone can help me, PLEASE do. I have tried different versions.....1.18, 1.19, 1.20 all with exactly the same result.

    M587
    Remembered networks:<lf>KAOS<lf>ok <lf>M552 S1
    ok<lf>Wifi module is connected to access point KAOS, IP address 192.168.0.100 <lf>M115
    FIRMWARE_NAME: RepRapFirmware for Duet WiFi FIRMWARE_VERSION: 1.19 ELECTRONICS: Duet WiFi 1.0 FIRMWARE_DATE: 2017-08-14<lf>ok <lf>M111 S1 P1
    Debugging enabled for modules: Network(1)<lf>Debugging disabled for modules: Platform(0) Webserver(2) GCodes(3) Move(4) Heat(5) DDA(6) Roland(7) Scanner(8) PrintMonitor(9) Storage(10) PortControl(11) DuetExpansion(12) FilamentSensors(13)<lf>ok <lf>M111 S1 P2
    Debugging enabled for modules: Network(1) Webserver(2)<lf>Debugging disabled for modules: Platform(0) GCodes(3) Move(4) Heat(5) DDA(6) Roland(7) Scanner(8) PrintMonitor(9) Storage(10) PortControl(11) DuetExpansion(12) FilamentSensors(13)<lf>ok<lf>New conn on socket 0 for local port 80<lf>HTTP connection accepted<lf>Found responder<lf>Received 408 bytes<lf>Sending reply, file = no<lf>HTTP req, command words { GET / HTTP/1.1 }, parameters { }<lf>Webserver: rejecting message with: 404 not found</lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf>



  • nvm figured it out



  • Could you tell all the other users what the problem was, if someone else has this problem sometime in the future…?
    https://xkcd.com/979/



  • the fix is already on the forum and buried. When you unzip the Duet Web Control file you need to have a blank www folder on your sd card and then unzip and place ONLY the contents of the unzipped file into the www folder. Do not place the unzipped file itself in the www folder…...just the contents. Hope this helps someone. The wiki needs changed to address this.



  • Thank you for this Fishbyte. Please can someone tell me:
    1. how I create a new /www folder on the Duet Wifi microSD card; and
    2. how I then upload to that folder

    I can't see how to do this using my current Duet Web Interface Version: 1.14a - I can only see and upload to the /sys folder.


  • administrators

    @Marc:

    Thank you for this Fishbyte. Please can someone tell me:
    1. how I create a new /www folder on the Duet Wifi microSD card; and
    2. how I then upload to that folder

    I can't see how to do this using my current Duet Web Interface Version: 1.14a - I can only see and upload to the /sys folder.

    Either move the SD card to a PC and do it there, or enable FTP on the Duet and do it via FTP.



  • Thanks - how do I enable FTP on the Duet Wifi?



  • Duets are gcode driven for EVERYTHING. My general way of researching "How do I get a duet to do xyz" starts with:

    1. google "duet gcode"

    2. Open the first hit:

    Gcode - Duet3D
    https://duet3d.dozuki.com/Wiki/Gcode

    1. Use local browser find (Ctrl+F) for some keyword related to what you want. In this case 'ftp'

    M586: Configure network protocols
    Parameters:

    Pnn Protocol: 0 = HTTP or HTTPS, 1 = FTP or SFTP, 2 = Telnet or SSH (which of the two choices depends on the T parameter)
    Snn 0 = disable this protocol, 1 = enable this protocol



  • Thank you for this guidance Danal. I hadn't realised that "Duets are gcode driven for EVERYTHING"….including FTP.



  • It seems that the Duet Wifi doesn't support FTP as I'm getting these error messages on the Duet Web Interface screen - what am I doing wrong please? …

    12:51:17 PM M586 P1 S1
    Error: unsupported command: M586 P1 S1
    12:50:10 PM M586
    Error: unsupported command: M586

    My Current Versions of Duet are:
    Firmware Name: RepRapFirmware for Duet WiFi
    Firmware Electronics: Duet WiFi 1.0
    Firmware Version: 1.17e (2017-02-10)
    WiFi Server Version: 1.03 (ch fork)
    Web Interface Version: 1.14a



  • I've been in a similar situation. I followed the recovery procedure here and got everything working again.

    Important note (that took me WAY too long to figure out): You CANNOT "right click and save as" on the various files, like 'Duet2CombinedFirmware.bin' in github.

    https://github.com/dc42/RepRapFirmware/tree/dev/EdgeRelease/1.21RC3

    You must click on the blue link for each file, and then click 'download' on the resulting page. You will know you are in the right place when you see a 'view raw' link. To be clear: Don't actually use the 'view raw', use the 'download' button on the same page.

    I think people like Dave don't encounter this download issue because they use various tools to sync their repositories to github… they really never see the github web pages.



  • Many thanks. I'm making progress…nearly there. I've got the Firmware and Wifi Server versions to 1.20 (as listed below). But I still can't manage the last step, which is to upgrade to DuetWebControl 1.20. I followed the instructions on https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Updating_WiFi_firmware_or_DuetWebControl_files including the bit which says "you can rename it to e.g. DWC.zip and then it should upload" and the upload message said all the files uploaded OK (although I can't figure out how to see them through the web interface). However, I'm still stuck on Web Interface Version: 1.14a - it doesn't seem to automatically upgrade to the new files. Is there something I need to do to get this to happen?

    Software Information
    Firmware Name: RepRapFirmware for Duet WiFi
    Firmware Electronics: Duet WiFi 1.0
    Firmware Version: 1.20 (2017-12-23)
    WiFi Server Version: 1.20
    Web Interface Version: 1.14a
    Web Interface by Christian Hammacher
    Licensed under the terms of the GPL v2


  • administrators

    My advice is to put the SD card in a PC, delete the /www folder, create a new one, and unzip the 1.20 version of DuetWebControl.zip into it.



  • @Marc:

    (although I can't figure out how to see them through the web interface).

    Correct. There is no way to see the /www directory through DWC as it stands. Only the /sys directory.

    The "upload" function in DWC looks at file extensions to decide in which directory to place them. .js .css .htm (or the equivalent compressed, like .js.gz) go into /www and the various subdirectories, with no action on your part.

    However, I'm still stuck on Web Interface Version: 1.14a - it doesn't seem to automatically upgrade to the new files. Is there something I need to do to get this to happen?

    Like Dave said, I'd put the SD in a PC/Mac, delete everything in /www, and unzip a 1.20 DWC into that directory. Should result in a "reprap.htm" in /www, several other files with it, and a /www/js and /www/css directory (and maybe more, I'm working from memory). If you see that basic structure, you are probably good.

    Then boot from that SD and check versions.



  • Thanks Dave and Danal. I followed your advice and it is all updated fine now, including 1.20 DWC.


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.