Unable to upload images
-
@Tom-Elliott Here ya go.
-
Mind trying:
chmod -R 777 /images chown -R fog:root /images
Also, is somebody in a terminal sitting in /images/LABNURS236?
If somebody is cded to the directory it would also explain why it’s unable to remove/move things. The folder is “busy” and can’t be removed.
Another test of things might be to run
chattr -i /images/LABNURS236
-
@Doctrg Might be worth trying https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP#Try_to_get_a_file_with_Windows:
I found my fog user password had changed, showed up on a simple ftp open test.Also under storage management on the web GUI, double-check your paths.
-
@Tom-Elliott I did some poking around last night and I changed a couple of things. The first thing I changed was in my .fogsettings. My default and one of my storage nodes did not have the username= entry. I added that and instead of “username” “password”, changed the quotes to apostrophes ‘username’ ‘password’. This gave me a different error this morning, which I did not expect so I did not capture the error. However, the error pointed saying that the ftp location did not exist. So I went into the Fog Settings through the web gui and saw that ftp path on all of the storage nodes was set to \images. I changed that to \images and I was able to get my capture task to clear out and the uploaded files are in the correct image folder and not sitting in dev.
-
@Doctrg I think you’re trying to say you changed to
\images
to/images
? -
@Tom-Elliott Sorry, no. I changed it from double \ to a single \ .
-
@Doctrg Why are there backslashes? Is the images location on a windows server? For FTP, even on windows boxes, the slashes should be
/
not\
. -
@Tom-Elliott Whoops… You’re right. They are forward slashes.
-
@Doctrg So FTP is a fickle creature. Linux, itself, doesn’t care about
//images
vs./images
but FTP apparently does.This shouldn’t occur on new installs, though I can’t guarantee it won’t.
Is it then safe to solve the thread? You’ve provided all the details for others to look for and show that things appear to at least work for now.
-
@Tom-Elliott I believe everything else is working fine for now.