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

    Setup Help

    Scheduled Pinned Locked Moved
    DueUI
    3
    33
    1.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.
    • Nathan116undefined
      Nathan116
      last edited by Nathan116

      Re: DueUI install not working in Standalone

      Hello,

      So, I'm attempting to setup DueUI just to mess around with it as I'd like to make some customizations to the DWC UI, as coming from the super customizable Octoprint, the "locked in" UI of DWC is getting to me.

      With that being said, I'm trying to follow the installation instructions on the github wiki, as well as checkout a few of the other issues that have been raised, but I can't seem to get it to work.

      Here's my setup. I'm running the "STM/LPC" variant of RepRap/DWC with an SKR Pro v1.2 and Raspberry Pi 4 running Duet 3.2. I'm not sure if that makes any difference, but I'm starting to think it does.

      So, I downloaded the "DueUI-Standalone-v3.2.0.zip" from the Github page and uploaded it into my system folder thought DWC (http://"Duet_IP"/Files/System) with the "Upload System Files" button. I then went to the "http://dueui.org/v3/index.html" website to finish up the configuration, and entered my Pi IP address under "Duet hostname or IP address" and replaced the "dueui.org" portion of the URL under "DueUI config file URL" with my PI's IP address. I also added the "M586 C"*"" gcode to my config.g file to get around the CORs issue. I then click "save" and "refresh" and, when I go to http://"My_IP"/dueui.html it gives me the "Page Cannot Be Found" page, so something is obviously not working.

      I have attached a screenshot of the http://dueui.org/v3/index.html page with the console tab open to show the errors it is showing. I know that a few of them are "common" as per the one of the other issues thread, but the top 2 I can't find solutions to.

      Thanks in advance!!

      Untitled.jpg

      1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk
        last edited by

        running the STM/LPC variant shouldn't make a difference as on the STM32 port at least, the pi side of things is identical to the duet setup.

        I would say that rr_status... isn't supported on the pi version of RRF.
        it uses /machine/status instead.

        maybe @gtj0 can confirm it works in SBC mode?

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        Nathan116undefined 1 Reply Last reply Reply Quote 0
        • Nathan116undefined
          Nathan116 @jay_s_uk
          last edited by

          @jay_s_uk So I'd need to use the "DSF" version?

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @Nathan116
            last edited by

            @Nathan116 yes. didn't realise there was a DSF version

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            Nathan116undefined 1 Reply Last reply Reply Quote 0
            • Nathan116undefined
              Nathan116 @jay_s_uk
              last edited by

              @jay_s_uk Got it... Now I feel kinda dumb, lol

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @Nathan116
                last edited by

                @Nathan116 dont worry. we all do it

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                1 Reply Last reply Reply Quote 0
                • Nathan116undefined
                  Nathan116
                  last edited by

                  Alright, so, I keep getting an error when I use the "wget https://github.com/gtjoseph/DueUI/releases/DueUI-DSF-x.x.x.zip" command, and I even replaced the x.x.x.zip part with 3.2.0.zip and it gave me the same "404 not found" error

                  1 Reply Last reply Reply Quote 0
                  • Nathan116undefined
                    Nathan116
                    last edited by

                    Nevermind, I got it. The command on the github install page should be "wget https://github.com/gtjoseph/DueUI/releases/download/v3.2.0/DueUI-DSF-v3.2.0.zip"

                    1 Reply Last reply Reply Quote 0
                    • jay_s_ukundefined
                      jay_s_uk
                      last edited by

                      even this? https://github.com/gtjoseph/DueUI/releases/download/v3.2.0/DueUI-DSF-v3.2.0.zip

                      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                      Nathan116undefined 1 Reply Last reply Reply Quote 1
                      • Nathan116undefined
                        Nathan116 @jay_s_uk
                        last edited by

                        @jay_s_uk Yeah, I decided to check the file link after posting the question...

                        How do I "unzip" the file now?

                        1 Reply Last reply Reply Quote 0
                        • jay_s_ukundefined
                          jay_s_uk
                          last edited by

                          https://linuxize.com/post/how-to-unzip-files-in-linux/

                          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                          1 Reply Last reply Reply Quote 0
                          • gtj0undefined
                            gtj0
                            last edited by

                            First, if you're using https://dueui.org/v3/index.html you don't need to install any software at all. You just need to enter the information on the settings screen, turn on polling, save, then refresh.

                            If you want to install the software locally so you don't need internet access, then continue:

                            Is 192.168.1.37 the address of the STM board or the Pi?

                            If it's the STM, you use the Standalone version. If it's the pi AND the STM is connected to the Pi via the SPI interface AND the Pi is running the Duet Software Framework, then you use the DSF version which you upload to the Pi and follow the instructions here...
                            https://github.com/gtjoseph/DueUI/wiki/Installation#install-dueui-on-the-sbc-running-the-duet-software-framework

                            If you have some other arrangement, let me know and we'll figure it out!

                            Nathan116undefined 1 Reply Last reply Reply Quote 1
                            • Nathan116undefined
                              Nathan116 @gtj0
                              last edited by

                              @gtj0 I've tried running it right off of the dueui.org sight and can't seem to get it to work. Regardless, I'd like the be able to run it locally, as it's not unusual for my internet to not work or be kinda slow, so being able to just connect over my local network would be optimal.

                              192.168.1.37 is the IP of the Pi. The STM board doesn't have an IP address. The Pi is what's running the Duet Software I believe ( @jay_s_uk ).

                              After figuring out I need to run the DSF version and not the standalone version, I ran the wget command (BTW, the wget command on the github page isn't correct, it gives you a "404 not found" error when you use it. It should be "wget https://github.com/gtjoseph/DueUI/releases/download/v3.2.0/DueUI-DSF-v3.2.0.zip", well, atleast for the v3.2.0 version.) After that, I cd'd into the /opt/dsf/sd/www/ folder, but don't know how to unzip the file/folder as when i attempt the "unzip DueUI-DSF-v3.2.0.zip" command it gives me a "cannot find or open DueUI-DSF-v3.2.0.zip, DueUI-DSF-v3.2.0.zip.zip or DueUI-DSF-v3.2.0.zip.ZIP." error

                              gtj0undefined jay_s_ukundefined 2 Replies Last reply Reply Quote 0
                              • gtj0undefined
                                gtj0 @Nathan116
                                last edited by

                                @Nathan116 What directory were you in when you did the wget? Wherever it was, the unzip command should be
                                unzip <directory>/DueUI-DSF-v3.2.0.zip

                                I'll fix the wiki page.

                                1 Reply Last reply Reply Quote 0
                                • jay_s_ukundefined
                                  jay_s_uk @Nathan116
                                  last edited by

                                  @Nathan116 navigate to the www folder then run wget. That will download it to the folder you're in. Then you can unzip it.

                                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                  1 Reply Last reply Reply Quote 0
                                  • gtj0undefined
                                    gtj0
                                    last edited by

                                    2 solutions to the same problem 🙂

                                    1 Reply Last reply Reply Quote 1
                                    • Nathan116undefined
                                      Nathan116
                                      last edited by

                                      When I cd into the /opt/dsf/sd/www/ and do the "wget https://github.com/gtjoseph/DueUI/releases/download/v3.2.0/DueUI-Standalone-v3.2.0.zip", it gives me a "Cannot write to ‘DueUI-Standalone-v3.2.0.zip’ (Permission denied)" error

                                      gtj0undefined 1 Reply Last reply Reply Quote 0
                                      • gtj0undefined
                                        gtj0 @Nathan116
                                        last edited by

                                        @Nathan116 What user are you logged in as? Everything under /opt/dsf is owned by the "dsf"user so you need to use "sudo" to save anything there.

                                        1 Reply Last reply Reply Quote 1
                                        • Nathan116undefined
                                          Nathan116
                                          last edited by Nathan116

                                          OK, adding "Sudo" to the beginning fixed it.

                                          So, I have it downloaded and extracted, but when I go to 192.168.1.37/dueui it just shows the standard DWC webpage, except now it just says "404 Page Not Found"

                                          Untitled.jpg

                                          gtj0undefined 1 Reply Last reply Reply Quote 0
                                          • gtj0undefined
                                            gtj0
                                            last edited by

                                            Oy. I think the duet web server changed something again. Add index.html to the URL...
                                            http://192.168.1.37/dueui/index.html

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