not possible to edit snapin
-
@Tom-Elliott apache error log says: PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 104, Message: ftp_login(): Login incorrect.’ in /var/www/html/fog/lib/fog/fogftp.class.php:51\nStack trace:\n#0 /var/www/html/fog/lib/pages/snapinmanagementpage.class.php(209): FOGFTP->connect()\n#1 [internal function]: SnapinManagementPage->edit()\n#2 /var/www/html/fog/lib/fog/fogpagemanager.class.php(67): call_user_func(Array)\n#3 /var/www/html/fog/management/index.php(24): FOGPageManager->render()\n#4 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 51, referer: http://192.168.68.254/fog/management/index.php?node=snapin
-
@pmonstad Please check your FOG’s ftp information.
-
-
@Tom-Elliott I cannot find any missing ftp information. My server has worked perfectly until a svn update recently. I cannot say which svn version worked OK.
Now I suddenly get an error while uploading an image. See screenshot. Seems to be a ftp issue. Can this be related to the snapin problem?
-
I had to give the fog user the password once again: passwd fog I have no idea why this was necessary as I have not done anything on the server except updating/installing the svn version.
-
@pmonstad Did you read the Troubleshoot_FTP article?
Yes, changes are made. You’re running trunk. While I try my hardest not to break things, sometimes it makes more sense to break one little thing for the betterment of all.
-
@pmonstad said:
I had to give the fog user the password once again: passwd fog
Sounds like your password is incorrectly set inside of the
/opt/fog/.fogsettings
file. If it’s incorrect in there, then yes the installer will set the fog user’s password with this incorrect password every time you install fog. This is one of the things listed in the Troubleshoot FTP article that Sebastian posted. -
@pmonstad Any update? Is it now fixed? I know what “caused” the issue, but I don’t know if your troubleshooting as per our attempts to assist have been fruitful yet.
Like I said, sometimes I make changes and sometimes it inadvertently breaks things. (Sometimes it is on purpose in which case I try to make a posting about what it’s going to break.)
As @Wayne-Workman stated, the installer now reset’s the password per the .fogsettings file every install. If it’s not set properly there, it will change it and would cause the problem. This is specific to the linux fog user as that’s what FTP uses to login.
-
Anything? Anything at all?
-
@Tom-Elliott same problem. Double checked passwords.
Using WinSCP as ftp client connection to ftp works and I can see the snapins.
Using Linux cmdline the ftp server redirects me to the users home directory.fog r6809
Here the error I get when trying to edit snapins in browser.
[Fri Mar 18 13:41:20.467648 2016] [:error] [pid 16486] [client x.x.x.x:60355] PHP Fatal error: Call to a member function chdir() on null in /var/www/fog/lib/fog/fogbase.class.php on line 73
-
@mp12 Please try the latest.
I moved the ftpfiles only to the snapin management page rather than make it a fog base element in an attempt to see if that helps correct the error.
-