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

    FOG: 1.5.4 -> How to setup NAS - Synology DiskStation as Master Node

    Scheduled Pinned Locked Moved
    Tutorials
    7
    50
    12.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.
    • S
      Sebastian Roth Moderator
      last edited by

      @jeremyvdv Well then change to a different username: FOG web UI -> Storage -> edit the Storage node settings, scroll down to the bottom and edit username and password.

      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

      1 Reply Last reply Reply Quote 0
      • J
        jeremyvdv
        last edited by

        actually in my configuration storage web interface of fog it was of course root.

        But change that I always have the same error message with my new user

        an idea?

        Q 1 Reply Last reply Reply Quote 0
        • Q
          Quazz Moderator @jeremyvdv
          last edited by Quazz

          @jeremyvdv The IP of the client (that it receives when imaging) is possibly in the NAS FTP blocklist due to too many incorrect login attempts.

          1 Reply Last reply Reply Quote 0
          • J
            jeremyvdv
            last edited by

            No, it’s not that … and it uploads the files during the creation of the image.

            ba93849c-acb4-4250-bb8d-8f7e22458cbf-image.png

            It’s really at the end of the upload that plente.

            And the task does not stop on the web interface

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @jeremyvdv said in FOG: 1.5.4 -> How to setup NAS - Synology DiskStation as Master Node:

              No, it’s not that … and it uploads the files during the creation of the image

              The upload of the image doesn’t happen via FTP but using NFS. So those are two different things. FTP is only used at the very end to move/rename the image.

              From what I see in the last picture it looks like you are using a Synology NAS. In a German forum I just read about someone having the same “Maximum number of tries exceeded” error message and it turned out that his Synology had added a block for his IP address.

              You should be able to find the client IP address in the block list of you Synology NAS. See instructions here: https://mariushosting.com/ip-block-list/

              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

              1 Reply Last reply Reply Quote 1
              • J
                jeremyvdv
                last edited by

                indeed it was good in the security of synology. thank you but now I still have a problem for upload. I have my pc that goes to the end but in the web console the task does not stop and during a download error image ./bin/upload

                Thank you

                1 Reply Last reply Reply Quote 0
                • J
                  jeremyvdv
                  last edited by

                  Hello

                  I admit that I am desperate.

                  I can not fix this error message.

                  Please have an idea.

                  Thank you

                  ad2bc680-5015-4298-9f71-95cb0284ea04-image.png

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @jeremyvdv Please test the FTP connection using the following information:

                    • Server: 10.1.5.8
                    • Username: fogproject
                    • Password: the password you set in FOG web UI -> Storage -> edit the Storage node -> Management Password

                    Now see if you can find the directory where the images are being stored. Possibly that is in /volume1/... or something like that. When you’ve found the diretory containing dev/308d9914a4e6 you note down that path. Go back to FOG web UI -> Storage -> edit the Storage node and set this as FTP Path.

                    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

                    1 Reply Last reply Reply Quote 1
                    • J
                      jeremyvdv
                      last edited by

                      I’m sorry I do not understand.
                      I have this config. with user fogproject password fogproject

                      what do you want me to do as configuration?
                      Thank you

                      64c67c51-60bd-4ceb-b508-40a954b8c75d-image.png

                      1 Reply Last reply Reply Quote 0
                      • J
                        jeremyvdv
                        last edited by

                        can someone help me?
                        ^ thank you

                        george1421G 1 Reply Last reply Reply Quote 0
                        • J
                          jeremyvdv
                          last edited by

                          I can not understand.

                          When I capture the image … the files are well stored in the synlogy. But I can not find the way from the fog …

                          1 Reply Last reply Reply Quote 0
                          • george1421G
                            george1421 Moderator @jeremyvdv
                            last edited by george1421

                            @jeremyvdv said in FOG: 1.5.4 -> How to setup NAS - Synology DiskStation as Master Node:

                            can someone help me?
                            ^ thank you

                            Are you telling me the that the storage node configuration you have is still creating the error message ftp_put(/images/dev/308...) because the storage node configuration clearly states /volume1/images2 fro the FTP path. This should not happen. Do you happen to have more than the one storage node configuration for this nas? I can’t explain why it says /volume1/images2 yet the error message is still defult?

                            When you look on the NAS the files are for sure in /volume1/images2/dev/<mac_address> directory?

                            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 0
                            • J
                              jeremyvdv
                              last edited by

                              Yes that’s right.
                              on the nas the files are well in volume1 \ images2 \ dev <mac adress>

                              george1421G 1 Reply Last reply Reply Quote 0
                              • george1421G
                                george1421 Moderator @jeremyvdv
                                last edited by

                                @jeremyvdv Then I don’t understand how this picture was created in this post: https://forums.fogproject.org/topic/12168/fog-1-5-4-how-to-setup-nas-synology-diskstation-as-master-node/26 The path clearly states /images/dev/<mac_address>. I can understand if the FTP Path is different than your Image Path in the host definition, but that is not the case in your picture of the storage node configuration here: https://forums.fogproject.org/topic/12168/fog-1-5-4-how-to-setup-nas-synology-diskstation-as-master-node/28

                                Did you by chance on the default node (real fog server) uncheck the box that says Is Master Node ? You can only have one master node in each storage group. You can have more than one storage group, but each storage group can only have one master.

                                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 0
                                • J
                                  jeremyvdv
                                  last edited by

                                  yes i have disabled the id mode on the stoarge default.

                                  but I do not know what to do concretely …

                                  Min image is created well and the tahce resten loop

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jeremyvdv
                                    last edited by

                                    it makes me crazy … I still have data from the image created …

                                    And I can not download … the capture spot turns in a loop …

                                    7bea4026-26b5-4ada-86cd-f06b887a965c-image.png

                                    george1421G 1 Reply Last reply Reply Quote 0
                                    • george1421G
                                      george1421 Moderator @jeremyvdv
                                      last edited by

                                      @jeremyvdv Well I guess we have 2 things.

                                      1. While this is not a fix, you can save the failed upload by manually moving the folder /volume1/Images2/dev/<mac_address> to /volume1/Images2/<image_name> . Understand this is not a fix only a work around.

                                      2. Do you have teamviewer capabilities? I would like to see what you are seeing, because its impossible to happen the way you say it does. Understand I am not doubting you, only don’t understand how its possible.

                                      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
                                      • J
                                        jeremyvdv
                                        last edited by

                                        yes we can do a team viewer.

                                        Can you set a date and time if you can?

                                        IF you can I give you a clear diagram of my install.

                                        george1421G 1 Reply Last reply Reply Quote 0
                                        • george1421G
                                          george1421 Moderator @jeremyvdv
                                          last edited by

                                          @jeremyvdv If you are ready now, I am. We can switch over to FOG IM (look for the bubble in the upper right corner of this forum) to send the details of teamviewer connection.

                                          What I will need you to do before we connect to make things go quicker.

                                          1. Schedule a capture task with a target computer, but before you hit the submit button check the debug check box then submit the task.
                                          2. pxe boot the target computer.
                                          3. on the target computer press enter to clear the several screens of text to end up a the FOS Linux command prompt.
                                          4. key in ip addr show to get the IP address of the target computer.
                                          5. key in passwd and reset root’s password to something simple like hello (no worries the password will be reset when you next reboot the target computer).
                                          6. Now from your teamviewer host computer use putty and ssh into the target computer using the IP address you collected in step 4 and the user root with the password you set in step 5.

                                          That will prep us for a debugging session.

                                          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!

                                          george1421G 1 Reply Last reply Reply Quote 0
                                          • george1421G
                                            george1421 Moderator @george1421
                                            last edited by george1421

                                            @george1421 After having a chat session with @jeremyvdv which we had to cut short I discovered somethings.

                                            I asked him to post the output of the kernel parameters from a debug session.

                                            cat /proc/cmdline
                                            loglevel=4 initrd=init.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://10.16.3.129/fog/ consoleblank=0 rootfstype=ext4 mac=00:00:00:00:00:00 ftp=10.1.5.8 storage=10.1.5.8:/volume1/images2/dev/ storageip=10.1.5.8 osid=5 irqpoll hostname=LP0045 chkdsk=0 img=test10 imgType=n imgPartitionType=all imgid=5 imgFormat=5 PIGZ_COMP=-10 hostearly=1 pct=5 ignorepg=1 isdebug=yes type=up
                                            

                                            Where we can see the storage path for NFS is 10.1.5.8:/volume1/images2/dev but looking on the nas via FTP there is no reference to /volume1/images2 its just /images2, yet there is data in /images2/dev/<mac_address> directory. So NFS is working and FTP is not.

                                            store_path2.png

                                            If we looked at what he posted as a screen shot of the nas storage node
                                            store_path1.png

                                            We can see that he is clearly calling out /volume1/images2

                                            When he connected via ftp to the nas the path was /images2/dev/<mac_address> like we see from the top picture here.

                                            So what I’m thinking is that we leave storage path at /volume1/images2 and set the FTP path to /images2 then it should work. I think NFS is looking at it form the filesystem view where ftp is looking at the path from a logical view. They technically point to the same location, just how they get there is via two different paths.

                                            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!

                                            george1421G 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            190

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project