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

    Failed to upload Image to Storage Node

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    5
    1.2k
    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.
    • D
      Duncan
      last edited by

      Just setup a new fog server 7208 and storage node.

      The storage node was updated from 1.2.0 and the fog server was fresh install.

      Uploaded database backup from old fog server to new one.

      Added the storage node and i can build ok, i just cant upload any images.

      I get error “failed to create image upload past (prepareUpLoadLocation)”

      I have checked permissions and i think they are correct.

      Anyone else came across this and able to advise?

      Thanks Duncan![alt text](1_1461231037404_storage noe 3.PNG 0_1461231037403_IMG_0348 (Medium).JPG

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

        What does your /etc/exports look like?

        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
        • D
          Duncan
          last edited by

          On the Node:

          /images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
          /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
          

          On the Fog Server:

          /images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
          /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
          

          So both the same

          Thanks

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

            @Duncan There’s your problem.

            Your node shows with /images/storage

            Your exports shows with /images.

            Edit the exports for them so their /images path is the proper path you need.

            In the one screenshoot you have make the system exports file have:

            /images/storage *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
            /images/storage/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)

            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 1
            • D
              Duncan
              last edited by

              Nice, changed the exports and rebooted.

              Looks to be uploading the image now, folder with mac has appeared in the /images/storage/dev folder.

              Many thanks for the speedy help!

              Duncan

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

              154

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project