FOG Failing to Capture and Deploy image.



  • Hello,
    I am having a issue during capturing and deploying images, I tried deploying a image I captured, It gives me a “Unable to locate image store (/bin/fog.download)”

    Here is the error it gives me.

    Fog Error.PNG

    I am using a Storage Node on a 1TB drive on the Fog Server.

    This is when I capture a image after it’s done.

    Capture111.PNG


  • Moderator

    @FuriousGamer065 said in FOG Failing to Capture and Deploy image.:

    @george1421
    Are you saying I have to reset the password from the config files of fog and grab the password and reset it from there?

    Well if you intentionally changed the fogproject password, I have a tutorial on resyncing it. https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

    I you never messed with the password, then I would first confirm that it exists and then see if you can ftp from a windows computer into your FOG server using the user ID of fogproject and the password found in the hidden file /opt/fog/.fogsettings, because that is the step where the picture says its failing.


  • Moderator

    @FuriousGamer065 You probably should run through the tutorial to ensure that all of the bits are in the right spot and then rerun the fog installer.

    Understand this will only address the ftp issue. There still may be the issue related to unable to find the storage node. That’s on the NFS site of the image upload.



  • @george1421 I went into the config file and found the password, I put it in the storage node and changed it to the password I found in the config file, it works now. I think one of the technicians screwed with it.


  • Moderator

    @FuriousGamer065 said in FOG Failing to Capture and Deploy image.:

    @george1421
    Are you saying I have to reset the password from the config files of fog and grab the password and reset it from there?

    Well if you intentionally changed the fogproject password, I have a tutorial on resyncing it. https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

    I you never messed with the password, then I would first confirm that it exists and then see if you can ftp from a windows computer into your FOG server using the user ID of fogproject and the password found in the hidden file /opt/fog/.fogsettings, because that is the step where the picture says its failing.



  • @george1421
    Are you saying I have to reset the password from the config files of fog and grab the password and reset it from there?

    I’m using FOG 1.5.7


  • Moderator

    @FuriousGamer065 Ok we see that your have a 8TB root partition and that is where your images should go. Just a side bar here, typically you would/should setup your root partition to be somewhere in the 50-70GiB range and then on a separate partition or disk create a partition and mount it over /images. That will keep your dynamically growing data away from your root partition (your OS). Its akin to in windows installing your OS on the 😄 drive and then user data on the E: drive. If the users go crazy and fill up the data drive that’s trouble, but if they filled up the 😄 drive it may be impossible to recover.

    But anyway. You didn’t happen to mention the version of FOG you are using. I can tell by ftp user name fogproject you are using fog 1.5.6 or later.

    Secondly, when we see the error message about fogproject unable to login, that’s typically because someone has “messed” with the linux service account called fogproject. This is a service account that is managed and controlled by FOG. If this password is changed in the OS and the password is not resync’d with the FOG web ui that can cause problems. Now I’m not saying you changed this account, but if you have then this is the first place we need to look.

    I do have to say with Debian 10.2 there was an issue where the fogproject linux user wasn’t being created because the necessary linux commands were not present. So if you have not touched the linux user fogproject (maybe also by installing FOG using different install directories or having a botched install) let run this command to see if the fogproject user exists: grep -e fogproject /etc/passwd



  • This post is deleted!

  • Senior Developer

    @FuriousGamer065 said in FOG Failing to Capture and Deploy image.:

    I am using a Storage Node on a 1TB drive on the Fog Server.

    Can you please explain this a bit more? Is this drive within your master FOG server? Wow exactly was it setup? We need more details. Run lsblk and mount, post output here. As well take a picture of the settings in the Web UI.

    As a quick fix you can manually move the captured image from /images/dev/00:16:d4:90:ca:f0/ to /images/Win7MasterNoIEv1/

    About the FTP error you want to read this: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP


Log in to reply
 

370
Online

7.4k
Users

14.5k
Topics

136.7k
Posts