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

    rc 13 uploading image problem.

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    6
    1.3k
    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.
    • I
      irishfoguser
      last edited by

      Server
      • FOG Version: 1.3.0 rc13
      • OS: unbuntu 14.04
      Client
      • Service Version: na
      • OS: na
      Description

      i am uploading images from a PC i have here on my bench called testpc in the hosts table to the fog server, i plug in various harddrives and image from it, but when i image back down using deploy image its replacing the computername on the image with “testpc” . I dont want this to happen. Anyway to stop it?

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

        @irishfoguser Is the FOG client installed on the image before you captured the reference image? The FOG Client will do this if that option is turned on.

        If the FOG client is not in stalled there is a early host name change option in fog that might be doing this.

        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!

        I 1 Reply Last reply Reply Quote 1
        • I
          irishfoguser @george1421
          last edited by

          @george1421 Yeah i found that and disabled it.

          just trying it now.

          another issue i am having is i cant update an image i have already created, its gives the following error in apache

          PHP Warning: ftp_delete(): Delete operation failed in /var/www/html/fog/lib/fog/fogftp.class on line 243
          PHP Warning: ftp_rmdir(): remove directory operation failed in /var/www/html/fog/lib/fog/fogftp.class on line 784

          george1421G Wayne WorkmanW 2 Replies Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @irishfoguser
            last edited by

            @irishfoguser This second error sounds like your FTP user is not setup correctly.

            There is a linux user account that FOG uses called fog this unfortunately is the same name as the default admin user for FOG (fog). They are not the same in function. You need to ensure the linux fog user account password matched what you have setup for the ftp account. This is access in the storage node configuration.

            How this works is that when you capture an image to the FOG server, the image is sent via NFS to the /image/dev/<mac_address> directory. When the image upload is complete the files are move to /images/<image_name> directory. Instead of copying these huge files around, the developers use FTP running on the FOG server to just change the pointer location of the files. This saves time and effort to physically move around multi GB of data. That is how FTP comes into the process. Its only used to quickly change the file pointers after the upload is complete.

            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
            • Wayne WorkmanW
              Wayne Workman @irishfoguser
              last edited by

              @irishfoguser There’s also this wiki article for your problem: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_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/

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

                as for the “replacing the computer name” issue check the testpc primary mac address for “Ignore client” and this should prevent changing the hostname to testpc.

                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

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

                140

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project