• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Unable to Edit Config Files in Duet Web Control

Scheduled Pinned Locked Moved
General Discussion
5
24
2.8k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    davidbitton
    last edited by 14 Sept 2017, 01:53

    I have been unable to edit config files in DuetWebControl since I fired up my Duet Ethernet. I upgraded to 1.19.2 but that doesn't make a difference. I attached a screenshot from Chrome showing the errors in the console. Further, when the AJAX error occurs, the web interface drops the connection to the board and I have to click Connect again. Also, I am unable to upload a .zip file w/o at least one file causing an error in the upload. What shall I look for to address this issue?

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 14 Sept 2017, 06:17

      I haven't seen that error before. I suggest you delete (or rename) and recreate the /www folder on the SD card and extract the version 1.19 DuetWebControl.zip file into it, in case you have a mixture of files for different versions. Also you could put the SD card in a PC and scan it for errors.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • undefined
        davidbitton
        last edited by 14 Sept 2017, 18:48

        Would it be best to also format the SD while I'm at it? i should be able to rebuild the folder structure as define in the wiki.

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 14 Sept 2017, 19:49

          If you like, but it shouldn't be necessary unless your PC indicates that it has errors.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • undefined
            davidbitton
            last edited by 14 Sept 2017, 22:41

            OK, freshly formatted SD card with a fresh unzip of Web Control and I'm still receiving errors. I also noted that even the bootstrap css file failed. I also tried in Safari with the same results.

            1 Reply Last reply Reply Quote 0
            • undefined
              number40fan
              last edited by 14 Sept 2017, 22:59

              I had issues with Java on my computer. It took removing every Java related file before downloading the latest version to fix it. That meant going into regedit and deleting everything I found in there as well.

              1 Reply Last reply Reply Quote 0
              • undefined
                davidbitton
                last edited by 15 Sept 2017, 00:19

                @number40fan:

                I had issues with Java on my computer. It took removing every Java related file before downloading the latest version to fix it. That meant going into regedit and deleting everything I found in there as well.

                this is a mac. further, the errors are coming from the server.

                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators
                  last edited by 15 Sept 2017, 06:07

                  Looks to me that either there is something strange going on with your network, or there is a hardware fault that is causing data corruption. Are you using an ordinary home network? Have you tried a different Ethernet cable? If so then I'm happy to recommend that your supplier exchanges your Duet for another one.

                  The web interface doesn't use Java, it use JavaScript which is completely different despite the similar name.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    DeltaCon
                    last edited by 15 Sept 2017, 13:05

                    Only concerning the not being able to edit configfiles I can say that I have seen that, sometime after updating from 1.17e to something newer I believe, I have been struggling with that for an hour or so, left it with that, and after a good night sleep all suddenly worked okay again… I know this is not helpful, but at least you know that not being able to edit could be due to a firmware upgrade (or more likely the DWC upgrade).

                    If you think trial and error is dangerous, try routine. That's even more so!

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      dc42 administrators
                      last edited by 16 Sept 2017, 06:21

                      Yes, this sort of problem could possibly be caused by using incompatible DWC and firmware versions. That's why I suggested recreating the /www folder.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        davidbitton
                        last edited by 16 Sept 2017, 16:17

                        dc42,
                        I'm not the only one here reporting this problem. I'll grab another switch and setup a dedicated network with my laptop to see if that does it however confidence is low.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          davidbitton
                          last edited by 16 Sept 2017, 17:53

                          OK. I grabbed a 10/100 switch off the shelf and created a two host network between my Macbook Pro and the Duet Ethernet. Both machines have manually configured IP addresses. I am still receiving the same errors in the browser and I still cannot edit a system file in web control. Like before, the failure associated with the editing of the file causes the web control app to loose connection to the Duet. This screenshot was taken just after the app lost its connection.

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Dougal1957
                            last edited by 16 Sept 2017, 17:55

                            can you show a screen shot of the General page of the Settings tab please?

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              davidbitton
                              last edited by 16 Sept 2017, 20:15

                              As requested:

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                Dougal1957
                                last edited by 17 Sept 2017, 06:39

                                ok next request can you take a screen shot of the contents of the WWW Directory you can use a FTP Client to get it if you dont want to remove the SD Card? I have a hunch but don't really want to elaborate for fear of sending you down the garden path.

                                Doug

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  davidbitton
                                  last edited by 17 Sept 2017, 13:17

                                  as requested. at some point, i reformatted the SD card and reloaded the data. The www folder should just be the contents of the web control .zip file.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    davidbitton
                                    last edited by 17 Sept 2017, 14:05

                                    Just as an add-on, I'me getting kicked out of an FTP connection as well.

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      Dougal1957
                                      last edited by 17 Sept 2017, 14:39

                                      um well that has got me stumped now think you may have to wait on David. My hunch was wrong which is why I didn't want to say anything.

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        dc42 administrators
                                        last edited by 17 Sept 2017, 15:56

                                        Can you install Wireshark on the Macbook and get a Wireshark trace of the packet exchange when it gives that error?

                                        Do you have any other laptop or PC that you can try running DWC on?

                                        Duet WiFi hardware designer and firmware engineer
                                        Please do not ask me for Duet support via PM or email, use the forum
                                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          Dougal1957
                                          last edited by 17 Sept 2017, 16:02

                                          Maybe try installing Chrome I believe that DWC sometimes gets upset with Safari

                                          1 Reply Last reply Reply Quote 0
                                          3 out of 24
                                          • First post
                                            3/24
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA