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

    Mounting /images/dev on /images failed - permissions denied

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    22
    1.5k
    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.
    • E
      El-Fogito @Tom Elliott
      last edited by

      @Tom-Elliott at the point where I am, no problem starting over with a new installation.

      Could you give me a link to install this version? that I am sure to do what you asked me

      E Tom ElliottT 2 Replies Last reply Reply Quote 0
      • E
        El-Fogito @Tom Elliott
        last edited by

        @Tom-Elliott said in Mounting /images/dev on /images failed - permissions denied:

        sudo chmod 777 -R /images/Nuc7i5BNKSDC-AC001-C000-win11

        I moved it manually, gave rights etc. The problem continues 🙂

        1 Reply Last reply Reply Quote 0
        • E
          El-Fogito @El-Fogito
          last edited by

          @Tom-Elliott I can’t find the installation of FOG working-1.6

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @El-Fogito
            last edited by

            @El-Fogito

            You can get fog from github:

            git clone https://github.com/fogproject/fogproject.git --branch=working-1.6
            

            Normally you’d be in the users root directory (typically /home/<username> or /root if you’re the root user)

            After it’s cloned cd to the newly downloaded fogproject folder:

            cd fogproject
            git pull
            cd bin
            sudo ./installfog.sh -y
            

            That should do all the work. If you already have a branch of github fogproject on your machine run:

            cd /path/to/fogproject/installer
            git pull
            git fetch --all
            git checkout working-1.6
            git pull
            cd bin
            sudo ./installfog.sh -y
            

            it’s basically the same thing.

            as for “Same issue after moving folder” can you describe what you mean? Unless I got a typo of the location for the image path an error may be there, but it should definitely be a different error.

            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

            E 1 Reply Last reply Reply Quote 0
            • E
              El-Fogito @Tom Elliott
              last edited by El-Fogito

              @Tom-Elliott Here is…

              I typed these commands:

              apt-get -y install git -y
              apt install wget

              cd/root
              git clone https://github.com/fogproject/fogproject.git --branch=working-1.6

              fog project cd
              git pull
              CD bin
              ./installfog.sh -y

              I got this error when loading packages:

              error: Installing package: php-mysql…………Failed! (Will try later)

              The interface changes a little but I get the hang of it.
              I’ll capture an image and get back to you

              757b9428-3128-47a5-867d-75ac94b0c4fa-image.png

              Tom ElliottT E 2 Replies Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @El-Fogito
                last edited by

                @El-Fogito Interesting that you got the error for php-mysql, though I suppose if it completed the “will try again later” actually worked.

                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

                E 1 Reply Last reply Reply Quote 0
                • E
                  El-Fogito @El-Fogito
                  last edited by El-Fogito

                  @Tom-Elliott

                  So I launched a task to capture my image and it was in principle a success, here is the screen:

                  302bb8f4-8b3e-4d26-9ee6-c1918a03e23c-image.png

                  BUT… once the download is complete, this is the error I receive:

                  fe195fa1-83a4-43ff-aeca-0f8349c92b4f-image.png

                  Here again, the “second task” remains stuck at 1%

                  41789822-cf49-4888-9bfc-4b5dc3589b33-image.png

                  My capture is still stuck in \images\dev with my computer’s macadress

                  I’m helpless 😄 (I’m in production at the moment)

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • E
                    El-Fogito @Tom Elliott
                    last edited by

                    @Tom-Elliott d903e098-ecd4-4d5f-8232-37ccc85dd622-image.png

                    FYI

                    1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @El-Fogito
                      last edited by

                      @El-Fogito So, can you please manually edit the “failed” image from the /images/dev location and manually move it where it needed to go? (as well adjust the permissions again.

                      Also, can you please look at your /etc/ssh/sshd_config file and look for the line that has “Subsystem” and “sftp”

                      I am just guessing, but it likely looks like:
                      Subsystem sftp /usr/libexec/openssh/sftp-server

                      If you can change it to:
                      Subsystem sftp internal-sftp and restart ssh services on the server, this should address the “Unable to start SFTP” error you were seeing.

                      To restart ssh service you would run:

                      sudo systemctl restart sshd
                      

                      We’re getting closer I think, but it’s just a guess at this point. I apologize for it seeming kind of hit and miss, but thus is the approach we must take on forums.

                      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

                      E 1 Reply Last reply Reply Quote 0
                      • E
                        El-Fogito @Tom Elliott
                        last edited by

                        @Tom-Elliott no problem, thank you for helping me ! We hope this will be useful to users reading this post.

                        I edited the line in /etc/ssh/sshd_config
                        I restarted the capture, here is the error, directly when I boot on IPV4:

                        3897e5c6-fba7-4503-81d4-488e29e98fa2-image.png

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @El-Fogito
                          last edited by

                          @El-Fogito So with that can you reboot the machine (outside of the task) and perform a chkdisk /f on it, then disable the hibernation:
                          powercfg.exe /h off

                          Then attempt again? I apologize in advance

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

                          141

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project