Updating Database...failed while updating an existing Image
-
Let me tell you about the process here.
When FOG captures a target system, during the capture process the images are uploaded by the FOS target engine to the FOG server using NFS to the /images/dev/<mac_address> directory.
This part seems to be working for you
Once the capture is complete, FOS connects to the FOG server using FTP to move the captured image from /images/dev/<mac_address> to the /images/<image_name> directory. It does this since the move happens on the FOG server and only the file pointer is changed to the new directory. This is done very fast.
Now the issue (and I believe yours) is if the linux
fog
user’s password is not in line with the account defined in the storage configuration setting for the master node.If this linux
fog
account password was changed for some reason the image capture process will fail.My second recommendation would be to update from RC1 to the latest RC release (RC10).
-
Thanks for the answer.
Unfortunately that is not the solution. I checked the password for the user fog, the one stored in .fog_settings and the one in the web interface storage note configuration are identical and working fine.Logged into ftp with the credentials successfully.
On top of this if the Image doesn`t exist before capturing or the directory /image/P_Studi_HP650_2016_aktuell is empty everything works fine and the vsftpd.log states “230 Login successful”
-
@p0Ldi Is this your first image capture? i.e. new fog server?
-
@george1421 Also one test would be to connect via ftp to the fog server. Change to the /images/dev directory and see if you can create a text file. Then try to move (mv) the file to the /images directory.
-
We updated from Version 1.2.0 and at first everything seemed fine, until we tried a recapture.
-
@p0Ldi While I don’t think this is your issue, I’m going to ask you to update to RC10 first. I want to make sure we are not working on a problem that already has been solved.
-
@george1421
I tried to put a file via ftp into /image/dev (worked) and then mv it to /image but it seems that there ist no move command known to the ftp server (vsftpd: version 3.0.2).I will try the update to RC10 tomorrow.
-
@p0Ldi What OS is your fog server running on?
-
@Wayne-Workman
It´s running on CentOS Linux release 7.3.1611 -
@p0Ldi Update to rc10 please first, then try again.