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

Manually import image files on newly installed Fog server

Scheduled Pinned Locked Moved
FOG Problems
3
9
4.0k
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.
  • G
    greenfog
    last edited by Feb 4, 2016, 9:32 PM

    I have a fog server 1.2.0 running on Ubuntu desktop 14.04. I was able to upload a coupple of images previously. After a few days, I got an update, don’t know which, wherein when I tried to login to Fog web console, I got the Database schema update. I tried to update it but I kept getting failures so I decided to create a different Fog server, same versions with same OS. I manually copied the /images folder to an external HDD. I then copied back the contents of the /images from my USB hard drive to the new one. I don’t have a backup of my MySQL database. I was able to login to Fog web console and tried to recreate the same image name from Images. It shows the Image sizes on server which are correct but my Image sizes on client are all zero. I tried to download the image to a new device but it just kept on restarting saying task completed.

    Have I missed any steps here or done something wrong? Is there a way for me to import my old images manually?

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Feb 4, 2016, 7:00 PM Feb 5, 2016, 12:57 AM

      Most likely permissions is the issue.

      sudo chown -R fog:root /images
      sudo chmod -R 777 /images
      

      If it still fails after that, please post pictures of what happens from when the ASCII art “FOG” appears until it’s finished, or take a short video and upload to YouTube and then post here - that way we can see what you’re seeing.

      also - instead of rebuilding your server next time this happens, maybe follow the fixes in the wiki for it: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL There is a section in there just for your issue.

      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
      • G
        greenfog
        last edited by Feb 5, 2016, 2:58 AM

        Hi,

        I actually did try some of the tips suggested on the Fog troubleshooting site but none of them worked for me. Below are some screenshots from my setup and the bootup where it loops on reboot process. The last screenshot just shows database updated then it reboots and the task is automatically removed from Fog without actually downloading the image to the device

        0_1454640963862_upload-d6e1c3c6-c913-441e-81bb-a506c2801fa0

        0_1454640978207_upload-19312035-a85f-465a-bd90-de1ddfa2f240

        0_1454640991325_upload-8034c292-a693-45de-8cca-a106f0c7e603

        0_1454641042979_upload-62b31cbd-1cb5-49f8-9f3e-b252fe22ee20
        0_1454641000839_upload-1383df2d-353e-4fdf-9835-6e4c03ee59d2

        W 1 Reply Last reply Feb 5, 2016, 4:04 AM Reply Quote 0
        • W
          Wayne Workman @greenfog
          last edited by Feb 5, 2016, 4:04 AM

          @greenfog Thanks for the screen shots. Can you post the output of
          ls -lahRt /images/Win7PreSysprepv20;echo ----------------------------;ls -lahRt /images/dev

          Also - normally this error is seen when the destination HDD is blank. Have you tried on another system yet?

          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/

          G 1 Reply Last reply Feb 5, 2016, 4:21 AM Reply Quote 0
          • G
            greenfog @Wayne Workman
            last edited by Feb 5, 2016, 4:21 AM

            @Wayne-Workman

            below is the screenshot Wayne. I was trying to download the image from my fog to a new notebook so there is definitely an HDD drive on that which is not blank as well.

            0_1454646032115_upload-e7e2b2ae-9334-45cd-96fe-026d19df4872

            W 1 Reply Last reply Feb 5, 2016, 4:28 AM Reply Quote 0
            • W
              Wayne Workman @greenfog
              last edited by Wayne Workman Feb 4, 2016, 10:29 PM Feb 5, 2016, 4:28 AM

              @greenfog Ok, good information. You tried imaging a notebook. What is it’s model? What sort of HDD/SSD does it have in it? Is it in UEFI mode? Is the disk currently laid out as GPT or MBR? and… what is the drive’s capacity? Also, what is the capacity of the drive you uploaded this image from?

              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/

              G 1 Reply Last reply Feb 5, 2016, 10:35 AM Reply Quote 0
              • G
                greenfog @Wayne Workman
                last edited by Feb 5, 2016, 10:35 AM

                @Wayne-Workman

                Notebook is an HP Elitebook Folio 1040 G2 with 128GB SSD. It is in UEFI mode. The image size is around 17GB. Notebook is laid out as MBR.

                W 1 Reply Last reply Feb 5, 2016, 1:21 PM Reply Quote 0
                • Q
                  Quazz Moderator
                  last edited by Quazz Feb 5, 2016, 5:28 AM Feb 5, 2016, 11:18 AM

                  Are you sure you chose the correct image type when adding the images to the database?

                  I believe “size on client” is something generated when capturing the image, by the way.

                  1 Reply Last reply Reply Quote 1
                  • W
                    Wayne Workman @greenfog
                    last edited by Feb 5, 2016, 1:21 PM

                    @greenfog The image is not a resizable image type. If it was taken from a computer with a HDD capacity larger than 128GB (which it likely was), then that’s why the image download is failing.

                    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
                    • 1 / 1
                    1 / 1
                    • First post
                      8/9
                      Last post

                    217

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project