• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Can't copy /dev/@MAC to /images (Qnap)

    Scheduled Pinned Locked Moved Solved
    General
    4
    20
    6.1k
    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.
    • SlowaveS
      Slowave
      last edited by Slowave

      Hi ! (Fog Server 1.2.0 Storage: QNAP TS-469U)

      I want to upload a image to my NAS, and the image don’t go to the folder /NAMeOfMyImage.
      SO, i look the tuto Troubleshoot FTP : https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP#Permissions But on my host, i have 0
      error message. I have “task complete”…“shutdown host”, and when i look on my NAS:

      fog erreur 1.png

      Storage Maganement, i use the user “FOG_TFTP_FTP_USERNAME” ans password. I create the same user/pass on the NAS.

      I can " cp -a /share/MD0_DATA/image/dev/@MAC /share/MD0_DATA/images/NameOfMyImage" but It’s not very professional

      On the NAS: fog can write/read on the folder “images”

      Thank 🙂

      ch3iC 1 Reply Last reply Reply Quote 0
      • ch3iC
        ch3i Moderator @Slowave
        last edited by

        @Slowave said:

        Hi ! (Fog Server 1.2.0 Storage: QNAP TS-469U)

        I want to upload a image to my NAS, and the image don’t go to the folder /NAMeOfMyImage.
        SO, i look the tuto Troubleshoot FTP : https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP#Permissions But on my host, i have 0
        error message. I have “task complete”…“shutdown host”, and when i look on my NAS:

        fog erreur 1.png

        Storage Maganement, i use the user “FOG_TFTP_FTP_USERNAME” ans password. I create the same user/pass on the NAS.

        I can " cp -a /share/MD0_DATA/image/dev/@MAC /share/MD0_DATA/images/NameOfMyImage" but It’s not very professional

        On the NAS: fog can write/read on the folder “images”

        Thank 🙂

        Hi,

        Not sure but chmod in 777 your .mntcheck files.
        Ensure that the user FOG on the NAS has the right to move file in FTP. You can check it with a FTP client.

        Regards,
        Ch3i.

        1 Reply Last reply Reply Quote 0
        • SlowaveS
          Slowave
          last edited by

          You are right !
          I test a copy on “images” and i can’t with the user “fog”
          fog erreur 2.png

          But when i look the config on the NAS:
          fog erreur 3.png

          1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            French… So is this solved?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • SlowaveS
              Slowave
              last edited by Slowave

              My bad English gives a clue about my nationality 🙂
              I’m at home, I test this afternoon

              ch3iC 1 Reply Last reply Reply Quote 0
              • ch3iC
                ch3i Moderator @Slowave
                last edited by

                @Slowave said:

                My bad English gives a clue about my nationality 🙂
                I’m at home, I test this afternoon

                Not your english, your screenshot lol

                1 Reply Last reply Reply Quote 0
                • SlowaveS
                  Slowave
                  last edited by

                  fog erreur 4.png

                  1 Reply Last reply Reply Quote 0
                  • ch3iC
                    ch3i Moderator
                    last edited by

                    Starting helping in french via online chat.

                    1 Reply Last reply Reply Quote 0
                    • SlowaveS
                      Slowave
                      last edited by

                      Etape 1: Tu cliques sur le liens
                      fog erreur 6.png

                      Etape 2: Tu tombes direct sur “Dossiers partagés” et là il faut sur une petite icone à côté du dossier “images” et tu as ça qui s’ouvre
                      fog erreur 7.png

                      Résultat:
                      fog erreur 5.png

                      1 Reply Last reply Reply Quote 0
                      • SlowaveS
                        Slowave
                        last edited by

                        Quand je me connecte en FTP.

                        fog erreur 8.png

                        1 Reply Last reply Reply Quote 0
                        • SlowaveS
                          Slowave
                          last edited by

                          fog erreur 9.png

                          ch3iC 1 Reply Last reply Reply Quote 0
                          • ch3iC
                            ch3i Moderator @Slowave
                            last edited by ch3i

                            fog erreur 9.png

                            The LN is because the user FOG in FTP have /share/MD0_DATA as root folder.
                            It’s Slowave who add it to solve the problem of FOG copy via FTP.

                            But the user FOG have not the rights on /share…

                            Any idea ?

                            1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman
                              last edited by

                              I’m lost…

                              Can the below posts be translated to English for future users?

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              ch3iC 1 Reply Last reply Reply Quote 0
                              • ch3iC
                                ch3i Moderator @Wayne Workman
                                last edited by

                                @Wayne-Workman said:

                                I’m lost…

                                Can the below posts be translated to English for future users?

                                The user FOG on NAS have these access :

                                NFS root folder : /share/MD0_DATA/images
                                FTP root folder : /share/MD0_DATA

                                FOG client try to access to /share/MD0_DATA/share/MD0_DATA/images << that tree is false.
                                The user FOG can’t browse the / of the NAS.

                                We try to create a ln :

                                ln -s /share /share/MD0_DATA/share
                                

                                But FOG is not an admin of QNap NAS.

                                Voilà 😉

                                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                • Wayne WorkmanW
                                  Wayne Workman @ch3i
                                  last edited by Wayne Workman

                                  @ch3i said:

                                  We try to create a ln :
                                  ln -s /share /share/MD0_DATA/share
                                  But FOG is not an admin of QNap NAS.

                                  So just use the root user of the QNap NAS ?

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  1 Reply Last reply Reply Quote 0
                                  • SlowaveS
                                    Slowave
                                    last edited by

                                    All it’s ok !!! YEAH !

                                    Ok, I will create a tutorial as I had done with FreeNAS next week. 🙂

                                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott
                                      last edited by

                                      What finally fixed it?

                                      Are you using the “fog” user or the admin or the administrator?

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      ch3iC 1 Reply Last reply Reply Quote 0
                                      • Wayne WorkmanW
                                        Wayne Workman @Slowave
                                        last edited by

                                        @Slowave https://wiki.fogproject.org/wiki/index.php/Use_FOG_with_FreeNAS

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        1 Reply Last reply Reply Quote 0
                                        • SlowaveS
                                          Slowave
                                          last edited by Slowave

                                          With the storage Node Qnap:
                                          -The upload is ok.
                                          -Move image “/dev/@MAC” to “/images/Name” is ok.
                                          -Download tomorrow but i’m sure it will be ok.

                                          I use the “fog” user.

                                          Thank for your help 🙂

                                          I finish my school report and next week, i tell you all.

                                          1 Reply Last reply Reply Quote 0
                                          • ch3iC
                                            ch3i Moderator @Tom Elliott
                                            last edited by

                                            @Tom-Elliott said:

                                            What finally fixed it?

                                            Are you using the “fog” user or the admin or the administrator?

                                            @Tom-Elliott said:

                                            What finally fixed it?

                                            Are you using the “fog” user or the admin or the administrator?

                                            Finally ftp://IP/images is OK without anymore configuration, it’s seem to be a native setting in Qnap.

                                            He modify his storage node configuration too.

                                            1 Reply Last reply Reply Quote 0
                                            • 1 / 1
                                            • First post
                                              Last post

                                            151

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project