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

    Trouble with Deploying an image

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    9
    3.6k
    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.
    • E
      ebcsupport
      last edited by

      Hey everyone,

      Need some help with my FOG server. Set it up, uploaded an image, but I can’t deploy an image.

      1. If I try to Deploy and image to a host vai the web interface, it says:
      Failed to create deployment tasking for the following hosts
      You must first upload an image to create a download task
      

      (So far, I think this actually still does start the task.)

      1. Once the host connects to FOG to grab the image, I get:
      Cannot access /images/HP/dl.mbr: No such file or directory
       Image Store Corrupt: Unable to locate MBR. 
      

      I double checked the permisssions by following this post: https://forums.fogproject.org/topic/1475/image-store-corrupt-unable-to-locate-mbr

      My images folder:

      ls /images
      dev  postdownloadscripts
      

      and my /images/dev folder:

      ls /images/dev/
      d48564bb7172
      

      Any help is appreciated. I think my error is something to do with the image not moving to the /images folder? But I’m not entirely sure. Thank you.

      1 Reply Last reply Reply Quote 0
      • I
        ITSolutions Testers
        last edited by

        Can you please post what version of FOG and what OS you are using?

        1 Reply Last reply Reply Quote 1
        • N
          nengelhardt
          last edited by

          What’s the name of the image you’re trying to deploy?

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

            FOG stores images in /images/dev/<mac-address> temporarly while upload is going on. This image is usually moved to /images/<image-name> (/images/HP in your case I guess) after upload was finished successfully.

            But this did not happen in your case. Hard to say why as I don’t have any more information about this. As a quick fix you could try uploading again or moving the image by hand (mv /images/dev/d48564bb7172 /images/HP).

            Did you see any error message at the end when uploading the image? Maybe your FTP settings are boged: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

            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 2
            • E
              ebcsupport
              last edited by

              The name of the image in Fog is HP-Compaq8000-Win7PRo

              OS is ubuntu 14.04 and Fog version is 4870

              My FTP looks good on the server. I’ll try manually moving the image and see what happens.

              1 Reply Last reply Reply Quote 0
              • E
                ebcsupport
                last edited by

                Ok so moving the file from /images/dev to /images/HP worked. Thanks everyone.

                What is causing it to not move it automatically?

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • JunkhackerJ
                  Junkhacker Developer
                  last edited by

                  are you able to connect to your server with an FTP client using the credentials stored in the storage management page?

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                    @ebcsupport said:

                    What is causing it to not move it automatically?

                    2 out of 3 times it’s FTP credentials related - and the fix for this is very easy. The article Uncle Frank posted below has steps for it.

                    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
                      Sebastian Roth Moderator
                      last edited by

                      Either a FTP issue as Junkhacker already said or possibly an ext3 filesystem issue (which is a bit unlikely in your case using ubuntu). If all FTP tests on your machine are working great then you might want send us the output of sudo mount

                      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

                      151

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project