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

    Schema/Installer Doesn't Ask For Update/Can't Upload Image

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    11
    3.3k
    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.
    • ch3iC
      ch3i Moderator @RobTitian16
      last edited by

      @RobTitian16 Hi, Installer always ask for DB update via Web GUI, but it’s not always necessary.

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

        What’s the message when it tries to mount /dev/sda1?

        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

        RobTitian16R 1 Reply Last reply Reply Quote 0
        • RobTitian16R
          RobTitian16 @Tom Elliott
          last edited by

          @Tom-Elliott Failed to mount /dev/sda1
          I’ll see if I can get a photo of it when it comes up so you can see the full thing.

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

            @RobTitian16 said:

            I’ve attempted to update my FOG install to the latest version of Trunk as that normally fixes the issue, but when I do it doesn’t present me with the schema update page, but instead asks me to log-in.

            Not every trunk update comes along with a new DB schema version.

            Picture of the exact error is needed as we need to know where exactly things go wrong.

            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

            RobTitian16R 1 Reply Last reply Reply Quote 0
            • RobTitian16R
              RobTitian16 @Sebastian Roth
              last edited by

              @Sebastian-Roth

              Here’s the picture as requested!

              0_1466170293939_Capture.PNG

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

                @RobTitian16 While this “Failed Mounting Partition” should not be a show stopper I am still wondering why FOG cannot test-mount and read your sda1 partition. Please give this a try: Schedule another upload task but select debug just before creating it in the web gui. Boot up the client and hit ENTER twice when asked to do so till you get to a linux shell. Run the following commands there and post a picture here:

                mkdir -p /mnt
                ntfs-3g -o ro /dev/sda1 /mnt
                ls /mnt
                umount /mnt
                ntfs-3g -o rw /dev/sda1 /mnt
                ls /mnt
                umount /mnt
                ntfs-3g -o remove_hiberfile,rw /dev/sda1 /mnt
                ls /mnt
                umount /mnt
                

                @Tom-Elliott Should we really return from the function beginUpload if something goes wrong with mounting the NTFS partitions to find a BCD file (fog.upload line 103 and 89)? Let’s see why Rob’s partition cannot be mounted and then see what we can do about it.

                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

                RobTitian16R 2 Replies Last reply Reply Quote 0
                • RobTitian16R
                  RobTitian16 @Sebastian Roth
                  last edited by

                  @Sebastian-Roth Morning gents,

                  This is what I get:

                  0_1466410447317_image1.JPG

                  1 Reply Last reply Reply Quote 0
                  • RobTitian16R
                    RobTitian16 @Sebastian Roth
                    last edited by

                    @Sebastian-Roth Doh… I think I’ve resolved it by turning off fast startup. I’m currently on ‘Resizing File System’, but that always takes a little bit of time. If it doesn’t go through, I’ll post back. Your suggestions lead me to this post, which gave me the answer:

                    http://askubuntu.com/questions/145902/unable-to-mount-windows-ntfs-filesystem-due-to-hibernation

                    Many thanks for your help 🙂

                    Is there a place on the wiki that mentions imaging windows 10? If not, it might be helpful for others in the future just so they know.

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

                      @RobTitian16 You are probably looking for this:
                      https://wiki.fogproject.org/wiki/index.php/Windows_8_UEFI_Imaging_Tips
                      https://forums.fogproject.org/topic/5903/windows-8-1-dirty-bit-in-uefi

                      @Tom-Elliott Maybe we should even fail at this point when mounting the partition does not work. Otherwise sooner or later people will run into problems when partclone is trying to read the data off that NTFS partition.

                      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

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

                        @Sebastian-Roth Updated to fail in the case we can’t create the mount directory OR the partition cannot be mounted. Because I write the data to a log, I am also able to output the “reasoning” behind the failure too to try to help people hone in on the issue.

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

                        233

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project