Config.php not being changed
OS: Ubuntu 12.10
Fog: 0.33b r1441
When I change the FOG_TFTP_FTP_PASSWORD the file /var/www/fog/commons/config.php does not change. user is part of root. See below. I received this after uploading a new image and got the error of “[SIZE=16px][FONT=Ubuntu][COLOR=#ff0000]FOGFTP: Login failed. Host: 10.0.0.252, Username: fog, Password: <password>, Error: ftp_login(): Login incorrect.”[/COLOR][/FONT][/SIZE]
I then proceeded to check the password that was listed in the password in the error and that was wrong even for the FOG Encrypted password. I then looked up the location of the FTP password and found that if I change any value in FOG SETTINGS–>FOG_TFTP_FTP_USERNAME; FOG_TFTP_FTP_PASSWORD those changes did not reflect in the config.php file.
#sudo usermod -G root fog
fog root adm cdrom sudo dip plugdev lpadmin sambashare
Yes a change of the Credentials in the Storage node fixed the issue.
[SIZE=12px][FONT=Arial][COLOR=#000000]"FIX: FTP password, on the other hand, is on “storage management” menu " [/COLOR][/FONT][/SIZE]
[FONT=Arial][COLOR=#000000][SIZE=12px]I will update when my next upload is complete to verify this.[/SIZE][/COLOR][/FONT]
unfortunately you cant if the node is a part of the same server.
However, if the node is separate, you change the “ftp username and password” from the Storage management page.
So how do I change the FTP password and not the TFTP password since they are listed separately?
ah thank you. I had no idea.
It shouldn’t be reflected in the config.php file. The values in config.php are only there for the initial setup procedure of FOG. Otherwise everything is pulled directly from the database.