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

    Reinstating Images to the Web UI

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    7
    491
    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

      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

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

        @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 Reply Quote 0
        • M
          mgoh @Wayne Workman
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • M
            mgoh
            last edited by

            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?

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

              @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

                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.

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

                  @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
                  • First post
                    Last post

                  229

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project