Config.php not being changed
-
OS: Ubuntu 12.10
Fog: 0.33b r1441When 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.
[QUOTE]
#sudo usermod -G root fog
#groups
fog root adm cdrom sudo dip plugdev lpadmin sambashare
[/QUOTE]Any ideas?
-
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.
-
ah thank you. I had no idea.
-
So how do I change the FTP password and not the TFTP password since they are listed separately?
-
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.
-
nvm…(facepalm)
[SIZE=12px][FONT=Arial][COLOR=#000000]"FIX: FTP password, on the other hand, is on “storage management” menu " [/COLOR][/FONT][/SIZE]
[SIZE=12px][FONT=Arial][COLOR=#000000]~[/COLOR][/FONT][/SIZE][FONT=Arial][COLOR=#000000][SIZE=12px][url]http://community.spiceworks.com/how_to/show/51863-ultimate-fog-0-32-server-on-ubuntu-12-10-instructions[/url][/SIZE][/COLOR][/FONT][FONT=Arial][COLOR=#000000][SIZE=12px]I will update when my next upload is complete to verify this.[/SIZE][/COLOR][/FONT]
-
Yes a change of the Credentials in the Storage node fixed the issue.