Failed to create image capture path (prepareUploadLocation)
i had fogserver installed on Ubuntu with a mounted image store.
I installed it (fog 1.5.6) new on debian 9 and mounted the image store.
I changed the settings in the exports file.
The deployment of images works.
The capturing is the problem :
I get this error message
The exports settings are:
The Storage node settings are:
I also manipulated the config.class.php:
Maybe it is easy, but i am not able to solve the prob.
I request help.
Thanks in advance
@Quazz Such a simple mistake and yet so hard to see. Thanks for seeing it for sure.
Hi… You are my hero :))))
So a simple mistake made by myself…
Really embarrassed… Sorry
Thanks for support.
@BSZAdmin Your export file is wrong, /datastore/images/dev needs rw permissions, not ro.
In fact, you seem to have copied over the /images line for it, rather than /images/dev
Fix /etc/fstab, and re export
the rights are as following:
The result didnt change.
I also took a screenshot when the client boots. Is there a problem to solve? I Dont know.
Thx again :)
@BSZAdmin As far as I can see there is no
/datastore/images/devdirectory. Not sure if that information was lost while poyting only the first few lines.
See what you get from
ls -al mkdir /datastore/images/devand if it tells you that it doesn’t exist, then try manually creating the directory and files needed:
mkdir /datastore/images/dev chmod 777 /datastore/images/dev touch /datastore/images/dev/.mntcheck touch /datastore/images/.mntcheck chown -R fogproject:root /datastore/images
BSZAdmin last edited by Sebastian Roth
the output has too many characters for uploading.
Is the beginning enough?
root@fogserver:/# ls -alR /datastore /datastore: insgesamt 32 drwxrwxrwx 5 itcadmin plugdev 4096 Mai 23 17:47 . drwxr-xr-x 27 root root 4096 Mai 20 13:16 .. drwxrwxrwx 87 fogproject www-data 4096 Mai 23 16:11 images drwxrwxrwx 2 itcadmin plugdev 16384 Sep 28 2017 lost+found drwxrwxrwx 3 fogproject www-data 4096 Mai 6 12:44 snapins /datastore/images: insgesamt 9272 drwxrwxrwx 87 fogproject www-data 4096 Mai 23 16:11 . drwxrwxrwx 5 itcadmin plugdev 4096 Mai 23 17:47 .. drwxrwxrwx 2 fogproject www-data 4096 Sep 3 2015 001broseHPEPkleinwin7x64M drwxrwxrwx 2 fogproject www-data 4096 Dez 14 10:43 001-HPx2Tablets-
here is the outout
The worry I see then,
/datastore/imagesis mounted how on the system?
What’s output of:
@Sebastian-Roth he has 4 shares. The FSid fields are copied thus likely causing the issue.
EDIT: Never mind, was on cell phone looking at the file didn’t see the commented out for the /images lines.
@BSZAdmin Please run
ls -alR /datastoreand post output here.