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

Some issues with FTP on a FreeNAS

Scheduled Pinned Locked Moved Unsolved
FOG Problems
freenas ftp
3
5
919
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.
  • T
    tandersb
    last edited by Jun 6, 2019, 7:14 PM

    I’m attempting to use a FreeNAS box as my storage node. I’ve followed the instructional Wiki for this process with moderate success. Unfortunately, after the image has been resized and captured I receive the following error on the client.

    • Reattempting to update database…Failed
    • Error returned: Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 708, Message: ftp_put(/mnt/Galaxy/data/images/dev/d850e63eca64): failed to open stream: No such file or directory, Host: 10.0.0.160, Username: Free

    ####################
    An error has been detected
    ####################

    Could not complete tasking (/bin/fog.upload)

    I’m guessing this is an FTP authentication error, but I haven’t been able to hunt it down on my own. I appreciate any help.

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Jun 6, 2019, 1:50 PM Jun 6, 2019, 7:50 PM

      I don’t advise you to use a non-FOG server as a storage node. Its an unsupported configuration.

      With that said…
      I’m going to speak from a supported solution point of view so you know how it should work. Once the image has been uploaded to the /images/dev/<mac_address> directory on the fog server, the FOS Linux client will then connect to the storage node using the values in the storage node configuration. These credentials Management Username and Management Password must be defined on the storage node. Because that is what FOS Linux will use to connect to the storage node. Once logged in via FTP, the FOS Linux client will issue a FTP move command from /images/dev/<mac_address> to /images/<image_name> directory.

      The error from your OP might indicate that

      1. This path doesn’t exist on your storage node: /mnt/Galaxy/data/images/dev/d850e63eca64
      2. The user name Free doesn’t have read/write access to this directory
      3. The user name Free doesn’t have read/write access to /mnt/Galaxy/data/images (guess)

      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!

      J 1 Reply Last reply Jun 6, 2019, 9:11 PM Reply Quote 0
      • T
        tandersb
        last edited by Jun 6, 2019, 8:26 PM

        Well, I checked permissions on those directories, and verified the path exists on my storage node. I think I’ll just need to buy bigger hard drives and do a local storage node. I really had hoped to use the FreeNAS but I’ve been after this for weeks and at this point it’s just worthless to keep wasting time.

        G 1 Reply Last reply Jun 6, 2019, 9:13 PM Reply Quote 0
        • J
          Joe Gill @george1421
          last edited by Jun 6, 2019, 9:11 PM

          @george1421
          @tandersb

          I agree with George… I had one setup for a bit when I first started with FOG… It was a nightmare. I had nothing but issues. I switched to just using the server as the storage node. Works great!

          1 Reply Last reply Reply Quote 0
          • G
            george1421 Moderator @tandersb
            last edited by Jun 6, 2019, 9:13 PM

            @tandersb If you want to debug the issue, the best advice on debugging I can provide is here: https://forums.fogproject.org/post/124470 This is a fog admin that is trying to use a qnap and is getting a similar result.

            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
            • 1 / 1
            1 / 1
            • First post
              3/5
              Last post

            177

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project