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

    Could not mount images folder /bin/fog/.upload

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    18
    8.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.
    • JunkhackerJ
      Junkhacker Developer @Wayne Workman
      last edited by

      @Wayne-Workman i know that “back in the day” we had weird permissions issues that could happen if people created a user named “fog” when they set up the computer, and especially if they used that user to run the installer (this in spite of the instructions for setup explicitly saying not to create a user named “fog” because the installer would create one. of course, i discovered this bug the first time i set up a fog server, because that’s what i did…)

      perhaps this is related since OP mentions logging in as the user “fog” which is typically not done

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

      1 Reply Last reply Reply Quote 0
      • T
        thequicken @thequicken
        last edited by thequicken

        @junkhacker
        (i create an ‘foguser’ but not ‘fog’)
        Update - I rebuilt the server from the ground up again to ensure I did not miss anything.

        I did.

        This was still required:

        [root@FOG /]# chown -R fog images/
        

        But there was another posting with nfs-server references that I used as well
        0_1489185882948_post.png

        I needed to start the nfs server:

        [root@FOG /]# systemctl status nfs-server
        [root@FOG /]# systemctl start nfs-server
        [root@FOG /]# systemctl enable nfs-server
        

        Working great so far

        1 Reply Last reply Reply Quote 0
        • T
          thequicken @Wayne Workman
          last edited by

          @Wayne-Workman

          On build #4
          Did not create a user - logged in and installed all as root

          Build#5
          created my standard non-admin user to log into and install all using su.

          Both of these builds resulted in root:root permissions until corrected.

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

            @thequicken As I stated earlier, if the permissions are 777 all the way up the directory tree, the ownership of the /images folder doesn’t matter. 777 is essentially “Give everybody and the world full 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! 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

            Wayne WorkmanW T 2 Replies Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @Tom Elliott
              last edited by

              @Tom-Elliott said in Could not mount images folder /bin/fog/.upload:

              @thequicken As I stated earlier, if the permissions are 777 all the way up the directory tree, the ownership of the /images folder doesn’t matter. 777 is essentially “Give everybody and the world full permissions”.

              Apparently it does matter if all he did was change ownership and suddenly everything works. I’ll look into this more sometime soon.

              Saint Patrick’s day weekend is upon us and that’s a pretty big deal in my family. I’ll probably not have much time this weekend, probably early next week night can check it out.

              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
              • T
                thequicken @Tom Elliott
                last edited by

                @Tom-Elliott
                777 should be cut and dry-- I’m the first to suspect error to be mine.
                I am more than willing to do a fully documented build if you like. I have a shiny new Compellent with some top end ESXI hosts at my disposal- installation from OS to Fog takes no time at all.
                My build in my isolated home lab worked completely 1st try- building in our domain environment added a few extra mods as expected but I was not expecting these errors.

                1 Reply Last reply Reply Quote 0
                • L
                  lmorel12
                  last edited by

                  I am running into a similar issue. Or maybe not?

                  Tue Mar 28, 2017 20:53 pm
                  Running Version 1.4.0-RC-1
                  SVN Revision: 6069

                  Mounting File System: Failed
                  Could not mount images folder (/bin/fog.upload)
                  Args Passed:
                  Reason: mount: mounting [IP_ADDRESS_HERE]:/images/dev on /images failed: Permissions denied

                  I suck at linux. I am a Windoz admin. I always followed FOG tutorials and got my FOG server running for years. I typically never touch it. I had an issue a few months ago regarding UEFI based images and installed the latest trunk. Since then I got this issue trying to upload/capture images.

                  Again I apologize in advanced. I read this thread several times but I’m not even sure if there is a fix throughout those posts or not. I guess I need some “translation” or being told where to get help. Sorry…

                  1 Reply Last reply Reply Quote 0
                  • L
                    lmorel12
                    last edited by lmorel12

                    Anyone? Do I need to provide more information?

                    Using CentOS 7

                    JunkhackerJ 1 Reply Last reply Reply Quote 0
                    • JunkhackerJ
                      Junkhacker Developer @lmorel12
                      last edited by

                      @lmorel12 did you try the same things that solved the problem for OP?
                      for future reference, it’s best to create a new thread for issues unless you’re absolutely certain the issue is the same and it is still unsolved. new posts in a “solved” thread can get ignored very easily.

                      signature:
                      Junkhacker
                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        lmorel12 @Junkhacker
                        last edited by

                        @Junkhacker Thanks!! I do a lot of monkey-see-monkey-do stuff. So I assume I did what others did to make this work. I applied the chmod -R 777 stuff as well. I checked the NFS services and it’s running.

                        I can’t say I am troubleshooting because I am applying “fixes” I found through this tread. i know, I know, that’s scary.

                        I will follow your advice and create a new thread. I suspect some will point me to this thread for resolution but let’s see what happens.

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

                        155

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project