More quirks after upgrade
-
Just upgraded to version 8155 SVN 5705, Can’t seem to upload an image, Image goes all the way though and then I get the error;
Error type 2: File: /var/www/fog/lib/fog/fogftp.class.php, Line 153, Message: ftp_put (): Could not create File., Host 10.1.0.134
your typical FTP error it seems.
I have read the troubleshooting FTP Wiki and did a search on the fog Forum but nothing exactly matched my problem. I verified all passwords in Web GUI, Storage Node, Fog user on Server,and TFTP_Server settings all have the same username and password.
I am probably overlooking something maybe one of you guys can see?
-
Tried:
chown fog -R /images
chmod -R 777 /imagesDo i need to set the permission o the /images/dev in order to get them out of there? It seems like it’s copying them to that folder fine. just not FTP’ing them to the /images folder.
-
When you were going through the “Troubleshoot FTP” article, did you run the tests to see if the credentials work? Use the credentials exactly as they appear inside storage management -> node -> user and pass.
-
@Arsenal101 Using -R with chown and chmod already applied those same settings to that folder. (it’s recursive)
I would check your storage node ftp credentials once more, since that seems to be the one tripping up here at a guess.
-
@Wayne-Workman Yep didn’t say that but I have tried a browser on a windows machine to ftp with the fog user and my set password.
I have also tried WinSCP to tftp as a test
-
@Arsenal101 Don’t use a browser, use Command Prompt, or Terminal from NOT the fog server.
-
@Wayne-Workman I just double check again using WinSCP, I connected with the fog username and password and I was able to create a TEST directory on the fog server from my windows machine and then delete the /TEST folder
Its got to be that I am missing a password somewhere…
-
@Arsenal101 And you are absolutely 100% using the password and username set in storage management for this test? Don’t assume you are, please check there.
-
@Arsenal101 Have you checked /opt/fog/.fogsettings ? Not that that would cause this issue mind you.
-
@Quazz Yep, though I don’t see anything about FTP user/pass in there. Only for the mySQL stuff.
@Wayne-Workman Yes I am as sure as Ctrl + C and Ctrl + V. Thats how I connected with WinSCP and i double checked by hand using Windows command line.
-
@Arsenal101 double-check the FTP Path?
@tom-elliott could it possibly be a bug?
-
@Wayne-Workman Thats what I got, Looks rtight to me. Thats what it has look like previously
-
@Arsenal101 Can you check /images and see if there’s anything in the destination folder you were trying to upload to
-
there are two slashes in ftp path.
-
@Quazz There is not in /images but there is in the the /images/dev/“macaddress”
@Wayne-Workman Is there not supposed to be two // in it?
-
@Arsenal101 no. Only supposed to be one.
-
@Wayne-Workman I’ll take it out and see what it does. Would it not save to /images/dev/ though? Just curious
-
@Arsenal101 images go to dev via NFS, so it wouldn’t impact that, but would impact moving them via FTP just as you described.
-
@Wayne-Workman You’re probably right! I just compared with my storage Node and there was only one / in the FTP_Path on the storage node.
Man I am learning all kinds of things.
-
Uploading Image now as a test.