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

    Fatal Error: Failed to mount NFS volume

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    87
    60.4k
    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
      szecca1 @Wayne Workman
      last edited by

      @Wayne-Workman When the image finishes uploading, I am getting an error FOGFTP: Failed to connect. Error undefined variable: whereArray. That error is on the admin console. The pc keeps repeating the error message error FOGFTP: Failed to connect. Error undefined variable: currentuser.

      What could be going wrong? I thought I troubleshot FTP and thought that was working? Any thoughts?

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

        Can you get a file via FTP from a workstation ?

        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/

        S 1 Reply Last reply Reply Quote 0
        • S
          szecca1 @Wayne Workman
          last edited by

          @Wayne-Workman Just verified that my FOG server and my Synology box has FTP access. We don’t allow FTP access from the computer due to security in our school. I had FOG working last year with just my server having FTP access so not sure why this is still giving me the same error unless after giving FTP access I have to redo the upload?

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

            @szecca1 said:

            @Wayne-Workman Just verified that my FOG server and my Synology box has FTP access. We don’t allow FTP access from the computer due to security in our school. I had FOG working last year with just my server having FTP access so not sure why this is still giving me the same error unless after giving FTP access I have to redo the upload?

            I’ll give you the basic rundown of how uploads work…

            The client mounts to x.x.x.x:/images/dev via NFS.

            The client uploads image to that directory.

            The client then uses FTP to move image from /images/dev TO /images and in the process, it renames the image to what you specified.

            Without FTP working at all on the clients, it’s still possible to use FOG but it’s a lot of work…

            Basically, if you look inside /images/dev on your FOG server, you’ll see a directory in there with <MAC OF UPLOAD CLIENT>. That’s your image.

            You basically need to move the folder to the right spot, with the right name.

            Example:
            [CODE]mv /images/dev/<MAC of client here> /images/<EXACT image name here>[/CODE]

            Use the EXACT name you see on your image in here:
            ImagePath.png

            For above, something like this:
            [CODE]mv /images/dev/<MAC ADDRESS> /images/EliteBookWin7BaseApril2015Test[/CODE]

            You might ought to reset permissions after this, too:
            [CODE]chmod -R 777 /images[/CODE]

            You’ll have to do this for every image you upload… or you can just let computers use FTP.

            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/

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

              You know, this could be just a simple FTP credentials issue.

              The troubleshooting article covers that…

              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
              • S
                szecca1 @Wayne Workman
                last edited by

                @Wayne-Workman So I just realized that FTP access setting on my Synology box is not turned on. So I just turned that on and started another upload of the image. Would this possibly be the issue or do you think that was only partially the reason.
                I did check the directory and saw exactly what you said I would see. Now, /images was a mount point for my synology box. Now because FTP on my Synology box was inactive, it could not write the file it needed to move the image to the proper place. The Synology box is where all my images should be stored.

                I am probably being very confusing and if you need me to draw out how I have it set up I definitely will. I apologize, this is new to me and I am trying to figure everything out.

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

                  Lets just wait and see if your upload completes. Tell us what happens.

                  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/

                  S 2 Replies Last reply Reply Quote 0
                  • S
                    szecca1 @Wayne Workman
                    last edited by

                    @Wayne-Workman Ok, sounds good. Sorry about that and I’ll keep you posted. It may be tomorrow as I leave work at 4 but I really do appreciate your patience and assistance.

                    1 Reply Last reply Reply Quote 0
                    • S
                      szecca1 @Wayne Workman
                      last edited by

                      @Wayne-Workman Good morning. So the image finished uploading and I am currently getting this error message:
                      IMG_20150527_101543.jpg

                      Clearly I am using the wrong ftp log in, where would I find the correct one?

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

                        It’s saying that it’s trying to use fog / password for the credentials.

                        Is that the actual password of your Linux fog user?

                        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/

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          szecca1 @Wayne Workman
                          last edited by

                          @Wayne-Workman My username and password to log on to the Linux server is administrator/ch@ng3
                          I typed that into the storage management and I get the same error message.

                          Wayne WorkmanW ch3iC 2 Replies Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @szecca1
                            last edited by

                            @szecca1 said:

                            @Wayne-Workman My username and password to log on to the Linux server is administrator/ch@ng3
                            I typed that into the storage management and I get the same error message.

                            You also have to change it inside FOG Configuration -> FOG Settings -> TFTP -> TFTP_FTP credentials.

                            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/

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              szecca1 @Wayne Workman
                              last edited by

                              @Wayne-Workman Ok did that and even created an administrator account on the Synology box with the same credentials just in case and still getting the same issue.

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

                                It’s still trying to use “fog” as the user and “password” as the password?

                                Try creating a fog user on the NAS box, and set the password to password.

                                This doesn’t have to be permanent. We are simply troubleshooting.

                                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
                                • ch3iC
                                  ch3i Moderator @szecca1
                                  last edited by

                                  @szecca1 said:

                                  @Wayne-Workman My username and password to log on to the Linux server is administrator/ch@ng3
                                  I typed that into the storage management and I get the same error message.

                                  If your NAS have the ip 10.1.220.240, you need to have a user fog in your NAS with NFS and FTP access.

                                  S 1 Reply Last reply Reply Quote 1
                                  • S
                                    szecca1 @ch3i
                                    last edited by

                                    @ch3i what password does it need to have??

                                    ch3iC 2 Replies Last reply Reply Quote 0
                                    • ch3iC
                                      ch3i Moderator @szecca1
                                      last edited by ch3i

                                      @szecca1 The same you have in your fog settings and storage settings.

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

                                        @szecca1 In your installation, the PXE client push/get image directly on the NAS, not on the FOG Server > /images.

                                        After upload task the image is move via FTP directly on your NAS.

                                        S 1 Reply Last reply Reply Quote 1
                                        • S
                                          szecca1 @ch3i
                                          last edited by

                                          @ch3i Just so I understand, the password I have in Storage management -> management password should be the same password that is on the NAS box?

                                          If thats the case I just did that and still getting the same message.

                                          I set the fog user on my NAS box to password and in the storage management -> management username/password I put fog/password to match the NAS.

                                          Is this how that should be setup?

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

                                            @szecca1 Yep

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 3 / 5
                                            • First post
                                              Last post

                                            249

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project