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

    Upload image to FOG not working

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    10
    1.9k
    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.
    • G
      greggill
      last edited by

      Getting mount: permission denied error when trying to upload image to FOG

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        @greggill said:

        image to FOG

        Check your /etc/exports file to be sure entries are created for both the /images directory and the /images/dev directory. The installer does this for you automatically. Also, you cannot re-export a directory that is already imported.

        Also, you can temporarily recursively set your images permissions to world-writable for troubleshooting purposes.

        These things are all outlined here: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_NFS

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator
          last edited by

          Another quick command you can run from a linux command shell would be

          showmount -e localhost
          

          That should show you the nfs shares currently enabled. If the /images share is available, then check into directory file ownership and permissions.

          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!

          1 Reply Last reply Reply Quote 1
          • G
            greggill
            last edited by

            How do I check into directory file ownership and permissions, I am a week into using Ubuntu.

            1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator
              last edited by

              Are these directories shared via nfs (using the command I provided)?

              and to answer your question if you cd to the /images folder then issue a

              ls -la *   
              

              command that will show you file ownership and access rights.

              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!

              1 Reply Last reply Reply Quote 0
              • G
                greggill
                last edited by

                I have also tried to recursively set images permissions to world-writable, chmod -R 777 to my images folder but now Ubuntu says that the file or directory doesn’t exist. Spent 4 days trying to get this to work, why is this so difficult?

                S 1 Reply Last reply Reply Quote 0
                • G
                  greggill
                  last edited by

                  Another thing I have noticed when trying the upload from the client, the “using disk device” is /dev/sda. The images folder I am trying to upload to is on /dev/sdb. How do I change this on the client, and is why I am getting the permission denied errors?

                  1 Reply Last reply Reply Quote 0
                  • G
                    greggill
                    last edited by

                    The directories are shared via nfs

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator @greggill
                      last edited by

                      @greggill said:

                      I am a week into using Ubuntu. … Spent 4 days trying to get this to work, why is this so difficult?

                      I am sure you need to spend a lot more days! Take it one step at a time. I don’t know anyone who learned linux and FOG in just a couple of days.

                      Please post the exact (copy&paste) commands and output you get. We won’t be able to help if we don’t know exactly what you did and saw!

                      When a client boots up to upload an image “using disk device” means the local disk in that client. Most likely sda (first hard drive). This has nothing to do with the disk you have your images stored on the server.

                      To me this sounds like something is wrong with your mounts and/or NFS exports. Please post the contents of /etc/exports and cat /proc/mounts

                      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

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @Sebastian Roth
                        last edited by

                        @Sebastian-Roth said:

                        I am sure you need to spend a lot more days! Take it one step at a time. I don’t know anyone who learned linux and FOG in just a couple of days.

                        Took me 3 weeks just to get the web interface functional with 1.2.0 on Fedora 21 Workstation… Prior Linux experience, basically zilch. Another 2 weeks to figure out the FTP secomp_sandbox setting needed set… a few more weeks to understand the client and BEGIN to grasp how easy fog can make my job.

                        This whole FOG ordeal started in February this year (2015) for me. Still learning. And I still occasionally royally screw up too, thank you snapshots and hyper-V!

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

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

                        111

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project