• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Apr 21, 2016, 9:31 AM

    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
    • T
      Tom Elliott
      last edited by Apr 21, 2016, 10:47 AM

      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 Apr 21, 2016, 10:53 AM

        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

        T 1 Reply Last reply Apr 21, 2016, 11:02 AM Reply Quote 0
        • T
          Tom Elliott @Duncan
          last edited by Apr 21, 2016, 11:02 AM

          @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 Apr 21, 2016, 11:17 AM

            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
            1 / 1
            • First post
              1/5
              Last post

            177

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project