• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Failed to create image capture path (prepareUploadLocation)

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    11
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sebastian Roth Moderator
      last edited by

      @BSZAdmin Please run ls -alR /datastore and post output here.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      Tom ElliottT B 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @Sebastian Roth
        last edited by Tom Elliott

        @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.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          The worry I see then,

          /datastore/images is mounted how on the system?

          What’s output of:

          cat /etc/fstab
          

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          B 1 Reply Last reply Reply Quote 0
          • B
            BSZAdmin @Tom Elliott
            last edited by

            @Tom-Elliott
            Hi…
            here is the outout
            43b0230c-d6ab-48b0-ba72-4ff99b9a317a-grafik.png

            1 Reply Last reply Reply Quote 0
            • B
              BSZAdmin @Sebastian Roth
              last edited by Sebastian Roth

              @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-
              
              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth

                @BSZAdmin As far as I can see there is no /datastore/images/dev directory. Not sure if that information was lost while poyting only the first few lines.

                See what you get from ls -al mkdir /datastore/images/dev and 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
                

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                B 1 Reply Last reply Reply Quote 0
                • B
                  BSZAdmin @Sebastian Roth
                  last edited by

                  @Sebastian-Roth
                  Hello again,
                  the rights are as following:
                  a26c4c46-dad9-4313-a4be-98cbae1ba460-image.png
                  The result didnt change.
                  I also took a screenshot when the client boots. Is there a problem to solve? I Dont know.
                  739bc2de-eb22-40a7-8326-8bff94384a02-image.png
                  Thx again 🙂
                  Greets
                  JT

                  Q 1 Reply Last reply Reply Quote 0
                  • Q
                    Quazz Moderator @BSZAdmin
                    last edited by Quazz

                    @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

                    B Tom ElliottT 2 Replies Last reply Reply Quote 2
                    • B
                      BSZAdmin @Quazz
                      last edited by

                      @Quazz
                      Hi… You are my hero :))))
                      So a simple mistake made by myself…
                      Really embarrassed… Sorry
                      Thanks for support.
                      Greets
                      JT

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @Quazz
                        last edited by

                        @Quazz Such a simple mistake and yet so hard to see. Thanks for seeing it for sure.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        141

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project