Unable to locate image store
-
@Sebastian-Roth Yes, on the same machine. Also, was using a different pc (Dell optiplex 990) and even when deleting all the data, it fails with a non boot device found error. But it does copy everything to disk.
This is a uefi system using a uefi image.
Also, when I make a new image, the folder is not created under /images, it does save it somewhere, no idea where.
-
@iekozz said in Unable to locate image store:
Also, when I make a new image, the folder is not created under /images, it does save it somewhere, no idea where.
This is a different issue. Images are stored in subfolder in /images/dev/… named like the client MAC address. The folder should be renamed/moved to /images/<IMAGENAME> after it finished uploading. As this does not happen I am fairly sure your FTP connection is not setup properly anymore. The installer does this for you but if you changed the
fog
user password it will cause that kind of problem. Do you know that user’s password? See if it matches the one you have in the config files /var/www/html/fog/lib/fog/config.class.php and /opt/fog/.fogsettings -
@Sebastian-Roth I see the password I made at the installation, never changed a thing from the default. I see my password in those two files, they are the same, or do you mean the mysql password? I left that blank, easier for me.
Did some further digging:
1: ftp password is set in the tftp settings and my storage settings
2: ftp path is set to /images
3: everything is owned by the fog server
4: the firewall is allowing all traffic
5: the ftp service is runningOnly thing I have not tested it a test file to send to the ftp server. The one thing I did notice though is that when the image capture is done, it can’t update the database because the utc time is not set (or something like that) could that be it?
-
@iekozz said in Unable to locate image store:
Only thing I have not tested it a test file to send to the ftp server.
Please do exactly that to see if you really have the right credentials. From what you said I have the feeling that we are talking about different things. The installer creates a web interface user called fog but that is not the same. The FTP user fog is a local Linux account and has a different password set. A longer random password not displayed by the installer.
The one thing I did notice though is that when the image capture is done, it can’t update the database because the utc time is not set (or something like that) could that be it?
Could play a role. See here: https://forums.fogproject.org/topic/12036/centos7-fog-1-5-3-image-capture-fails-with-incorrect-date-timezone-info/2
-
@Sebastian-Roth Now that you mention it, there is another user on my fog server, named fog. I’ve never set-up a password for that account though? Where can I find/change it?
-
@iekozz The account
fog
is create by the FOG installed and should not be touched.Password reset is done as usually in Linux
passwd fog
. But if you change the password FTP will cause issues which is used in the background. -
@Sebastian-Roth Ok, so I can just change the password from the terminal and then enter that password everywhere in the ftp settings?
Strange that this is not displayed in the installer or you can choose it somehow.
-
@iekozz said in Unable to locate image store:
Change that this is not displayed in the installer or you can choose it somehow.
You should not use that
fog
Linux account at all! It’s FOGs service account and you shouldn’t need to mess with it. This is why we don’t prompt you to change the password (it’s very strong auto-generated). Don’t use that account to login and work on the machine.Ok, so I can just change the password from the terminal and then enter that password everywhere in the ftp settings?
Yes it is possible to change but I would not advice you to do so. If you still want to you need to change that in various places like
/opt/fog/.fogsettings
,/var/www/html/fog/lib/fog/config.class.php
, Web Interface -> FOG Configuration -> FOG Settings -> TFTP Server -> FOG_TFTP_FTP_PASSWORD, Web Interface -> Storage Management -> DefaultStorage -> Management Password (That’s just a quick list from the top of my head, unsure if I missed something) -
@Sebastian-Roth Alright, i’ll test the ftp server. So best not to mess with any of the passwords, just leave everything at default., don’t want to break it :).
Digged around to find a logfile so I could see what was causing the issue, just have not found it yet. Is that in a config file? Found the imaging log, but that just says the duration and the image used.
Btw, I also figured out what was causing the no boot device errors. The image does not link the new install with the efi.boot file. When I linked it in the bios, it all works. Should I update the host bios exit type and host efi exit type and then make a new image?
-
@iekozz I am not too sure where we are at with this multi culti topic here. I’ve just read the whole lot again. We started by fixing your image name possibly along with some other image settings, then got the non bootable media error (FOG is not able to transfer the UEFI firmware boot entries from one machine to another yet!) and talked about timezone and FTP issues.
May I kindly ask you to open a new topic and explain the current issue you are seeing at the moment. We’ll focus on fixing that and move on from there (probably in just another topic). The less we mix up topics the more other people can profit from the things we find out and write to fix their own issues.
So I am marking this solved now as we have solved the initial issue (and more). Please open a new topic and explain where you are at.