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

Reinstating Images to the Web UI

Scheduled Pinned Locked Moved
FOG Problems
3
7
496
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.
  • M
    mgoh
    last edited by May 20, 2022, 12:19 AM

    Hello. I’ve recently tested image transfer from FOG server to another FOG server. I deleted/overwritten the SQL(?) info of the target FOG server, so the Web UI now shows only the transferred image. That’s the bad news.

    The good news is that the old images are still in the target FOG server, but they’re not listed in the Web UI.

    Is there a way to reinstate these images back to Web UI? If so how? I see the import image capability but that requires a CSV that I don’t know what content is needed.

    Thanks

    W 1 Reply Last reply May 20, 2022, 1:56 AM Reply Quote 0
    • W
      Wayne Workman @mgoh
      last edited by May 20, 2022, 1:56 AM

      @mgoh If you don’t have a DB backup, or a recent snapshot of your fog server, you’ll need to recreate the image definitions manually. You must recreate them exactly as they were before:

      • The image path must be exact and is case sensitive.
      • The image OS and image type must be set exactly as well.

      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/

      M 1 Reply Last reply May 20, 2022, 3:50 AM Reply Quote 0
      • M
        mgoh @Wayne Workman
        last edited by May 20, 2022, 3:50 AM

        @wayne-workman Thank you. Where can one recreate the image definitions?

        1 Reply Last reply Reply Quote 0
        • M
          mgoh
          last edited by May 20, 2022, 4:10 AM

          Oh wait. Is it literally “Create New Image” in the Web UI and fill in all the parameters you mentioned earlier? I tried that, and the size of the image is 0 GB. Is that expected?

          G 1 Reply Last reply May 20, 2022, 2:44 PM Reply Quote 0
          • G
            george1421 Moderator @mgoh
            last edited by May 20, 2022, 2:44 PM

            @mgoh said in Reinstating Images to the Web UI:

            I tried that, and the size of the image is 0 GB. Is that expected?

            This is expected if you manually create the image definition. If you were to upload an image then that field gets populated. Its only used for display and not for any imaging activity. So it can stay at 0B forever.

            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
            • M
              mgoh
              last edited by May 20, 2022, 9:35 PM

              Thank you all. That works.

              In short, the easiest solution is to “Create a New Image” from Web UI and make sure the OS type, image type, and image path must be exact (i.e. case sensitive). Downside is that the size will be shown as 0.

              W 1 Reply Last reply May 21, 2022, 4:53 AM Reply Quote 0
              • W
                Wayne Workman @mgoh
                last edited by Wayne Workman May 20, 2022, 10:54 PM May 21, 2022, 4:53 AM

                @mgoh You could probably update the size with a sql command if you wanted. Not really a need to do it though.

                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
                  2/7
                  Last post

                291

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project