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

Unable to locate image store

Scheduled Pinned Locked Moved
FOG Problems
3
10
1.5k
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.
  • J
    Jim Holcomb
    last edited by Oct 7, 2020, 5:01 PM

    Hello team I am suddenly having an issue deploying a standard image. “…Unable to locate image store” yet I am imaging another machine right now of a different type. I am scratching my head on this one. Can anyone help? The image exists in the /images folder.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Oct 7, 2020, 5:54 PM

      The “Unable to locate image store” message comes from not finding the image in the location it’s expected.

      Meaning: The path you have set for the image is not the true path expected for the image.

      Look at the host that’s giving this error, what image is associated. Look at that image, and find out the path it’s expected to exist at.

      I have seen this with you setup in the past. I know you move images off and on from the datastore to a backup, and then put them back when needed. My guess is there’s a typo on the path that you restored.

      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      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

      J 1 Reply Last reply Oct 7, 2020, 11:15 PM Reply Quote 1
      • J
        Jim Holcomb @Tom Elliott
        last edited by Oct 7, 2020, 11:15 PM

        @Tom-Elliott Hi Tom., Thanks for your response. In this case I did not do anything but change the image name, but I used the FoG interface to do it. I can see in the /images folder that the correct image folder exists and the files inside are proper. So when I go to do a “deploy image” I see the image I want and it is named properly. I select it, and that is when I get that error. 20201007_114147_resized.jpg Any thoughts?

        T 1 Reply Last reply Oct 7, 2020, 11:46 PM Reply Quote 0
        • T
          Tom Elliott @Jim Holcomb
          last edited by Oct 7, 2020, 11:46 PM

          @Jim-Holcomb the image name isn’t the problem, what is the image path? Both according to the UI and the actual image location?

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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
          • S
            Sebastian Roth Moderator
            last edited by Oct 8, 2020, 4:40 AM

            @Jim-Holcomb Also make sure the case of the image path/name does match to the point! While Windows doesn’t care on Linux /images/M78Win10r4 and /images/m78win10r4 are two different paths!

            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

            J 1 Reply Last reply Oct 8, 2020, 7:19 PM Reply Quote 0
            • J
              Jim Holcomb @Sebastian Roth
              last edited by Oct 8, 2020, 7:19 PM

              @Sebastian-Roth @Tom-Elliott Well guys, that was the issue. I updated my image, and because I updated it, I wanted to change the version number (from …r3 to …r4) I went into the fog gui, found the image and chose to rename the image using the menu option in the fog gui.
              20201008_101753_resized.jpg

              Yet in the /images folder it was still called the original filename of m78win10r3 and was never renamed. I went into terminal and renamed it manually, and that worked. But why does the FoG GUI have the option to rename an image file, but doesn’t actually perform that option and rename the file as requested?

              As always guys, thanks for what you do. You al make my life so much easier.

              T 1 Reply Last reply Oct 8, 2020, 9:11 PM Reply Quote 0
              • T
                Tom Elliott @Jim Holcomb
                last edited by Tom Elliott Oct 8, 2020, 3:15 PM Oct 8, 2020, 9:11 PM

                @Jim-Holcomb I don’t follow?

                The name of the image is just that, a name.

                The path to the image is a never changing thing, in theory.

                So when you first create an image within the GUI, it sets up a path based on the image name, but it’s not a hard set rule. When updating an image in the GUI, maybe you want to rename it something simpler. Say instead of r4 you just want it called golden master. But when you first captured it it was stored to /images/win10gi

                Just renaming the image shouldn’t change the path to reach it. Make sense?

                Also the items in the GUI are stored in a database. I highly doubt you’d want a web based utility capable of renaming entire folder structures. Imagine the security issues such a thing would cause? The GUI and database are reflections of one another. We use the database info to get and populate data we need to use later on. The path is just saying where to look for data. Actually changing an old path to your new path? Yeah I wouldn’t want to imagine the security implications. If not done properly you lose control of fog server. Not gonna try to add that.

                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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                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

                J 1 Reply Last reply Oct 9, 2020, 10:15 PM Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Oct 9, 2020, 5:06 AM

                  @Jim-Holcomb said in Unable to locate image store:

                  Yet in the /images folder it was still called the original filename of m78win10r3 and was never renamed. I went into terminal and renamed it manually, and that worked.

                  @Tom-Elliott This sentence below the picture might explain it a but more.

                  But why does the FoG GUI have the option to rename an image file, but doesn’t actually perform that option and rename the file as requested?

                  Exactly the situation you describe is enough of explanation to show that it’s very hard to get this right. We never know if people mess with the image folders manually. Trying to rename things can only end in a mess.

                  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
                  • J
                    Jim Holcomb @Tom Elliott
                    last edited by Oct 9, 2020, 10:15 PM

                    @Tom-Elliott Thanks Tom. If this is the case, then why have the rename feature at all?

                    T 1 Reply Last reply Oct 9, 2020, 10:32 PM Reply Quote 0
                    • T
                      Tom Elliott @Jim Holcomb
                      last edited by Tom Elliott Oct 9, 2020, 4:42 PM Oct 9, 2020, 10:32 PM

                      @Jim-Holcomb I still don’t fully understand. The database is just a point to store and pull the data from. Nothing more.

                      If you manually rename the folder in Linux, would you expect the database to automatically update when now it has no reference point? It’s the same reason in reverse. Why allow the folder to be renamed in the terminal if it won’t update the database that may be referencing it?

                      The folder doesn’t get automatically created when you define a new image. This only happens after the image is defined and captured. The pieces handling it are all after the database information is pulled. The GUI is not creating the folder. FTP is.

                      If you manually change the folder name in the terminal, you will still need to change the folder in the GUI. It’s the same for updating the path in the GUI. While you could temporarily store the change, but what about you are changing the path when the image hasn’t been captured 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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      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
                      1 / 1
                      • First post
                        3/10
                        Last post

                      158

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project