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

Unable to upload system files (SBC mode)

Scheduled Pinned Locked Moved
Duet Web Control
4
7
360
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
    jasbeckett
    last edited by dc42 25 May 2022, 20:24

    I am currently unable to upload or save changes to existing system files. When I try to upload a file or save a change to one that is already there I get the following error:

    Failed to upload bed.g
    Operation failed (Reason: Access to the path '/opt/dsf/sd/sys/bed.g' is denied.)

    I am running a Duet 3 MB6hc with an Rpi in SBC mode. I recently had to reinstall the software on the PI due to a bad SD card. I copied and pasted my old config files into the directory on the PI. Did the folder permissions get screwed up? Is there a command I can run to try to reset the folder permissions?

    Thanks

    undefined 1 Reply Last reply 25 May 2022, 23:19 Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 25 May 2022, 21:08

      Try uploading the config files through DWC.

      Does your SD card have free space?

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        chrishamm administrators @jasbeckett
        last edited by 25 May 2022, 23:19

        @jasbeckett It sounds like your upgrade process was aborted so the permissions for the virtual SD card (for RRF) were not reset. Can you run sudo apt update and sudo apt upgrade and post potential errors you get? You may need to confirm the firmware upgrade of the Duet electronics with Y to finish the upgrade process.

        Duet software engineer

        undefined undefined 2 Replies Last reply 26 May 2022, 02:58 Reply Quote 0
        • undefined
          jasbeckett @chrishamm
          last edited by 26 May 2022, 02:58

          @chrishamm @Phaedrux
          I ended up having to delete the existing config files one by one through DWC and create new ones through DWC. That fixed all access issues.

          undefined 1 Reply Last reply 28 Aug 2024, 17:15 Reply Quote 0
          • undefined
            p8blr @chrishamm
            last edited by 27 Aug 2024, 20:12

            @chrishamm I've got the same setup and have the same error. I tried running sudo apt get update and upgrade several times but no luck. I also can't use @jasbeckett 's method because I get that error trying to delete files too. Has there been a fix?

            undefined 1 Reply Last reply 27 Aug 2024, 20:55 Reply Quote 0
            • undefined
              chrishamm administrators @p8blr
              last edited by 27 Aug 2024, 20:55

              @p8blr Maybe a permission problem. Try to run sudo chown -R dsf:dsf /opt/dsf/sd via SSH or from a terminal on the SBC itself and check if that fixes it.

              Duet software engineer

              1 Reply Last reply Reply Quote 0
              • undefined
                p8blr @jasbeckett
                last edited by 28 Aug 2024, 17:15

                @chrishamm That unfortunately didn't work for me. I ended up backing up my files and reflashing the SD card which ended up fixing the issue. Thanks.

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