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

Nas node storage : permission denied

Scheduled Pinned Locked Moved Solved
FOG Problems
pxe nas qnap permission mount
3
19
2.5k
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.
  • L
    lucas942
    last edited by lucas942 May 10, 2019, 8:06 AM May 10, 2019, 2:04 PM

    Solution

    5018cb1f-6cfd-4455-828f-5c74e5051e02-image.png

    45e86042-fc5d-4a9f-8937-b2f4af72130d-image.png

    You have to have exactly this configuration for tftpboot, images and snapins.

    you have to put IP = * and not IP = X.X.X.X, it’s my error

    1 Reply Last reply Reply Quote 0
    • L
      lucas942 @george1421
      last edited by lucas942 May 10, 2019, 9:23 AM May 10, 2019, 3:22 PM

      @george1421

      So I’m coming to the end “image captured, successfully”.

      alt text

      But immediately after I have this message:

      alt text

      Do you want me to create a new thread for this problem?

      G 1 Reply Last reply May 10, 2019, 3:29 PM Reply Quote 0
      • G
        george1421 Moderator @lucas942
        last edited by May 10, 2019, 3:29 PM

        @lucas942 We have just recently seen this invalid storage group error message. The last time the OP of that thread just rebuild the FOG server to fix and never worked to find the solution. I personally think the update database is a bit more telling and actually both error are incorrectly reporting the real issue.

        I want you to look on your nas box. In the equivalent to /images/dev on the fog server. Check to see if a directory is there with the mac address of the target computer as the directory name. If it is, this is the point in the upload process where the fog client connects back to the storage device via FTP and renames the /images/dev/<mac_address> directory to /images/<image_name>. I think this is where its currently falling down.

        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!

        L 1 Reply Last reply May 10, 2019, 3:35 PM Reply Quote 0
        • L
          lucas942 @george1421
          last edited by lucas942 May 10, 2019, 9:37 AM May 10, 2019, 3:35 PM

          @george1421
          On my fog server in /images/dev i have that :

          ![alt text](cbed23dc-b3dc-4272-a72a-6221f4aa9905-image.png image url)

          (I need to go, i come back later sorry and thanks a lot for your help !!!)

          G 1 Reply Last reply May 10, 2019, 3:37 PM Reply Quote 0
          • G
            george1421 Moderator @lucas942
            last edited by george1421 May 10, 2019, 9:38 AM May 10, 2019, 3:37 PM

            @lucas942 Sorry I need to see what is on your nas since you are uploading to your nas right?

            cheers until next week.

            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!

            L 1 Reply Last reply May 13, 2019, 6:43 AM Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by May 12, 2019, 10:20 AM

              @lucas942 When you see the “Error returned: Invalid Storage Group”, can you please connect to the database on your FOG server and run the following query:

              shell> mysql -u root -p
              Password:
              ...
              mysql> use fog;
              ...
              mysql> SELECT taskID,taskName,taskCreateTime,taskHostID,taskNFSGroupID FROM tasks ORDER BY taskID DESC LIMIT 5;
              ...
              

              Take a picture or copy&paste the whole output here.

              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

              L 1 Reply Last reply May 13, 2019, 7:14 AM Reply Quote 0
              • L
                lucas942 @george1421
                last edited by lucas942 May 13, 2019, 12:46 AM May 13, 2019, 6:43 AM

                This post is deleted!
                L 1 Reply Last reply May 13, 2019, 7:04 AM Reply Quote 0
                • L
                  lucas942 @lucas942
                  last edited by lucas942 May 13, 2019, 1:50 AM May 13, 2019, 7:04 AM

                  @lucas942 @Sebastian-Roth @george1421

                  I just got to find a directory in / images on the NAS 14gb its name is: e86a64cbxxxx and this corresponds to the MAC address of my PC.

                  So I rename this folder “Standard”?
                  Because the name of my image is “Standard”

                  Ib447463a-5067-4db3-a8d7-6c162d6bbb4f-image.png

                  I renamed the file, but
                  when capturing the image, a new folder with the MAC address of the PC is created.
                  Also, the storage location is set to / images / dev but the image is created in / images.

                  I get a new error after this change and my “Standard” folder has been removed, but it remains the folder with the e86xxxxxxxx mac address:

                  20190513_094440.jpg

                  G 1 Reply Last reply May 13, 2019, 11:57 AM Reply Quote 0
                  • L
                    lucas942 @Sebastian Roth
                    last edited by lucas942 May 13, 2019, 1:17 AM May 13, 2019, 7:14 AM

                    @Sebastian-Roth

                    Thanks for your answer !

                    760e0d2d-27e1-4561-b14d-19181ec7d66d-image.png

                    1 Reply Last reply Reply Quote 0
                    • G
                      george1421 Moderator @lucas942
                      last edited by May 13, 2019, 11:57 AM

                      @lucas942 said in Nas node storage : permission denied:

                      I just got to find a directory in / images on the NAS 14gb its name is: e86a64cbxxxx and this corresponds to the MAC address of my PC.
                      So I rename this folder “Standard”?
                      Because the name of my image is “Standard”

                      You have a few things that are wrong.

                      1. The image file should be first captured into the /images/dev/<mac_address> folder.
                      2. After the image is fully uploaded to the /images/dev/<mac_address> folder the target computer logs into the FOG server (nas in your case) via FTP and issues a move command to move all of the files in /images/dev/<mac_address> to /images/<image_name>.

                      The screen shot of the error you see about ftp_put tells me that in the storage node configuration there is 2 fields Management Username and Management Password. The values in those fields must match the user you created on the NAS device.

                      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!

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

                      211

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project