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

Database update failure after image capture

Scheduled Pinned Locked Moved Solved
FOG Problems
3
18
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.
  • M
    MikeBC @Sebastian Roth
    last edited by Oct 5, 2020, 8:55 AM

    @Sebastian-Roth I have attached logs as requested
    Screenshot from 2020-10-05 10-48-23.png
    Screenshot from 2020-10-05 10-47-49.png
    Screenshot from 2020-10-05 10-48-10.png

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Oct 5, 2020, 9:32 AM

      @MikeBC What time did you run the task? I only see a few log messages for today. Which error did you get on the screen this time?

      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

      M 1 Reply Last reply Oct 5, 2020, 10:19 AM Reply Quote 0
      • M
        MikeBC @Sebastian Roth
        last edited by Oct 5, 2020, 10:19 AM

        @Sebastian-Roth I ran the task at about 10H30 or so. I wasn’t in front of the PC at the time to verify error on completion. I will run it again shortly and provide error message again.

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Oct 5, 2020, 11:24 AM

          @MikeBC Looking through the logs again I saw this at the bottom end:

          [Mon Oct 05 10:29:844700 2020] [proxy_fcgi:error] [pid 55573] (70007)The timeout specified has expired: [client 10.0.3.129:45100] AH01075: Error dispatching request to :
          

          I can’t make sense of this as you don’t seem to have many clients or others sending in requests that would cause I high load on Apache and PHP-FPM. Searching the forum a bit I found this similar sounding topic that seems to never have been solved: https://forums.fogproject.org/topic/14563/snapin-problem-on-fog-1-5-9-rc1-and-1-5-9-rc2

          The other error messages we see from today are related to the FTP commands used to rename /images/dev/f8bc1265c913 to it’s destination in /images/.... I really wonder if /images/dev/f8bc1265c913 really exists at this point?? It should be created when the machine runs the task to temporarily store the uploaded image files. Please run ls -al /images/dev/f8bc1265c913 and post output here.

          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

          M 1 Reply Last reply Oct 6, 2020, 6:33 AM Reply Quote 0
          • M
            MikeBC @Sebastian Roth
            last edited by Oct 6, 2020, 6:33 AM

            @Sebastian-Roth I ran the capture twice once to the /images/Client directory and then to the /images/ directory both times same error occurred that I have been experiencing. I have attached output.
            Screenshot from 2020-10-06 08-29-59.png

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth Oct 6, 2020, 12:39 AM Oct 6, 2020, 6:38 AM

              @MikeBC Seems like it’s not creating the upload directory or maybe it does but in a different place. Please run these commands (again) and post output here:

              ls -al /images/dev
              cat /etc/exports
              

              We can also switch to chat for faster turnaround - chat bubble in the right top corner.

              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

              M 1 Reply Last reply Oct 6, 2020, 6:50 AM Reply Quote 0
              • M
                MikeBC @Sebastian Roth
                last edited by Sebastian Roth Oct 6, 2020, 12:52 AM Oct 6, 2020, 6:50 AM

                @Sebastian-Roth

                [root@imagingout ~]# ls -al /images/dev
                total 0
                drwxrwxrwx.  6 fogproject root 130 Oct  6 08:20 .
                drwxrwxrwx. 10 fogproject root 186 Oct  6 08:21 ..
                drwxrwxrwx   2 fogproject root 190 Mar 20  2020 082e5f1dface
                drwxrwxrwx   2 fogproject root 222 Jan 14  2020 64006a486167
                drwxrwxrwx   2 fogproject root   6 Apr 30 15:39 ecf4bb70a96c
                -rwxrwxrwx.  1 fogproject root   0 Oct 11  2019 .mntcheck
                drwxrwxrwx.  2 fogproject root  34 Oct 11  2019 postinitscripts
                [root@imagingout ~]# cat /etc/exports
                /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)
                [root@imagingout ~]#
                
                G 1 Reply Last reply Oct 7, 2020, 9:51 AM Reply Quote 0
                • M
                  MikeBC
                  last edited by Oct 7, 2020, 8:05 AM

                  Looks there was finally as solution. I ran yum update -y today and after a server reboot the image capture with database update worked 100%. I must thank @Sebastian-Roth for assisting me in the chat bubble running various scripts and looking many possible fixes to try remedying the issue experienced. The support received was fantastic, thank you kindly.

                  1 Reply Last reply Reply Quote 0
                  • G
                    george1421 Moderator @MikeBC
                    last edited by Oct 7, 2020, 9:51 AM

                    @MikeBC In your last picture of /images/dev directory. There are several directories there with mac looking addresses. These are botched uploads. You can delete the directories and its contents they are just taking up space.

                    rm -rf /images/dev/082e5f1dface
                    rm -rf /images/dev/64006a486167
                    rm -rf /images/dev/ecf4bb70a96c
                    

                    unless you are currently capturing an image you should never have mac style named directories in /images/dev

                    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!

                    M 1 Reply Last reply Oct 7, 2020, 3:03 PM Reply Quote 0
                    • M
                      MikeBC @george1421
                      last edited by Oct 7, 2020, 3:03 PM

                      @george1421 Thank you. I will delete them shortly to avoid any further issues.

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

                      165

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project