Hi all.
Sorry, new here. Please forgive me if anything is out of protocol.
I’m running into what appears to be a fairly common issue. Seemingly out of nowhere (I’m unable to determine what could have changed between yesterday when it was working and today when I receive this error), attempted image uploads are failing at the point of updating the database after the pxe boot happens and the image is captured.
Error message :
Error returned: Type: 2 File: /var/www/html/fog/lib/fog/fogftp.class.php Line: 708, Message: ftp_put(): Could not create file., Host: x.x.x.x, Username: fog
I wanted to do my due diligence before asking for help, so I found the sections in the wiki regarding testing the tftp server (successful), and more to the point, the sections on troubleshooting the permissions and credentials.
I’ve verified the permissions and ownership of the /images folder using the following :
sudo chmod -R 777 /images
sudo chown -R fog:root /images
ls -laR /images appears to be correct to me as far as I can tell. Every item has drwxrwxrwx, and appears to be owned by the local fog user.
Additionally, I’ve attempted to verify credentials at all listed possible trouble spots, including :
Storage Management > Storage Node > Management Username & Management Password
Web Interface > Fog Configuration > Fog Settings > TFTP Server > Fog_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD
I’ve used sudo passwd fog to re-enter the local fog user’s password in Centos.
Lastly, I’ve ensured that the username and password of the fog user in /opt/fog/.fogsettings.
Is there anything I’m missing? Most posts I can find are resolved after looking into those settings. My current version is 1.4.4.
Please let me know if you require any screenshots or logs, I’d be happy to provide any information that assists with getting this issue resolved.
Thank you very much to anybody who took the time to read this, and especially to anybody who may be able to assist me with this issue.
Regards,
Joshua