Image Capture FTP Failure - Could Not Create File
-
-
Ok, does not seem to be the old ext3 issue I had years ago. What if you delete
/images/<IMAGENAME>
by hand on the FOG server before uploading a new one. Do you still get the same error messages?As well please post the output (or a picture) of
ls -al /images /images/dev
, just to make sure we don’t miss anything important here. -
When I first got this error message, I was trying to update an existing image. I thought maybe it was having trouble overwriting the current image, so I created a new image in the fog web interface, and told it to capture, but still received the error message.
Here is the output of ls -al /images /images/dev
-
What the heck!!! Why didn’t I see this earlier? Trying to find out the name of the image in the picture you posted first I might have found the issue… In that screenshot it says
img=WPS/WESTeacherSyspreppedImage2
. There is a linux directory seperator/
in that image name?!? Sure enough this will cause trouble at some point. -
@Sebastian-Roth said in Image Capture FTP Failure - Could Not Create File:
There is a linux directory seperator / in that image name
Its a feature not a bug.
Just giving some background info here:
FOG was updated to allow creating subdirectories as part of the image path. i.e. in /images you create a directory called lab01, lab02 and so on. Then in your image definition you would give the image path to lab01/<image_name> and FOS will store the file in /images/lab01/<image_name>. Now, I’m not sure what will happen if you define a image path name of lab01/<image_name> without having /images/lab01 directory created. That may be the case here. -
HAHA… Ok so this is twice now that I have asked for help on the forums and it has been a stupid simple fix. I am going home.
I changed the name, and it pushed up successfully.
Thanks for your help!
-
@jaoyer So it’s safe to solve this thread? Sorry I didn’t poke my neck in. I didn’t notice the / in the image path as passed either.
Glad @george1421 and @Sebastian-Roth were able to help.
-
@jaoyer said in Image Capture FTP Failure - Could Not Create File:
HAHA… Ok so this is twice now that I have asked for help on the forums and it has been a stupid simple fix.
Don’t worry. This is what a forum is about! More eyes looking at it and hopefully finding the issue. You are welcome to post any question/issue and together we’ll figure it out.
@george1421 said:
Its a feature not a bug.
I am not sure about this… Surely enough I have been offline for some time and missed some things. But having slashes in your image name to me seems problematic nevertheless. Please let me know if this is really possible.
-
@Sebastian-Roth This is really possible. The “feature” is to allow you to put images into sub folders of the root images folder.
-
Yes. Taking the “/” out of the name fixed my issue.
Thank you guys for all the hard work in developing and maintaining this awesome project.
-
@jaoyer said in Image Capture FTP Failure - Could Not Create File:
Yes. Taking the “/” out of the name fixed my issue.
I think we should reconsider, maybe we should filter out the
/
's in the image name, but allow them in the image path. If they were in the image name I can see bad things happening. (I haven’t confirmed if they are allowed in the image name or not, I’m only suggesting based on this discussion)