Failed to create image capture path (prepareUploadLocation)
- 
 Hi Folks, 
 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
 Greets
 Jürgen
- 
 @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 
- 
 @BSZAdmin Please run ls -alR /datastoreand post output here.
- 
 @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. 
- 
 The worry I see then, /datastore/imagesis mounted how on the system?What’s output of: cat /etc/fstab
- 
 @Tom-Elliott 
 Hi…
 here is the outout
  
- 
 @Sebastian-Roth 
 Hi,
 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-
- 
 @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
- 
 @Sebastian-Roth 
 Hello again,
 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 
 Greets
 JT
- 
 @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 
- 
 @Quazz 
 Hi… You are my hero :))))
 So a simple mistake made by myself…
 Really embarrassed… Sorry
 Thanks for support.
 Greets
 JT
- 
 @Quazz Such a simple mistake and yet so hard to see. Thanks for seeing it for sure. 
