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

New Image Upload - Stuck on Updating Database

Scheduled Pinned Locked Moved Unsolved
FOG Problems
uploading image database
3
9
1.1k
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.
  • S
    Scott B
    last edited by May 28, 2019, 5:45 PM

    Pushing up a new image and everything seems to go fine until the very end where it updates the database. It will sit for a long time, eventually retry, and eventually fail and reboot.

    FOG 1.5.6.2
    Ubuntu 18.04.2

    alt text

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by May 28, 2019, 6:56 PM

      @Scott-B Are you able to access the FOG web UI just fine while it hangs at that stage? Also check the PHP FPM log (see my signature).

      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

      S 1 Reply Last reply May 28, 2019, 6:58 PM Reply Quote 0
      • S
        Scott B @Sebastian Roth
        last edited by May 28, 2019, 6:58 PM

        @Sebastian-Roth said in New Image Upload - Stuck on Updating Database:

        @Scott-B Are you able to access the FOG web UI just fine while it hangs at that stage? Also check the PHP FPM log (see my signature).

        GUI is working great during that time. Error on using the command in your sig.

        root@fogserver:/# php-fpm log (/var/log/php*-fpm.log)
        -bash: syntax error near unexpected token `('
        
        
        G 1 Reply Last reply May 28, 2019, 7:03 PM Reply Quote 0
        • G
          george1421 Moderator @Scott B
          last edited by May 28, 2019, 7:03 PM

          @Scott-B Can you manually look at the end of the php-fpm error log for any signs of an error. The error may be on multiple lines. You should not normally see html code in the console screen.

          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!

          S 1 Reply Last reply May 28, 2019, 7:06 PM Reply Quote 0
          • S
            Scott B @george1421
            last edited by May 28, 2019, 7:06 PM

            @george1421 said in New Image Upload - Stuck on Updating Database:

            php-fpm error log

            root@fogserver:/# tail /var/log/php7.2-fpm.log
            
            [28-May-2019 18:58:44] NOTICE: [pool www] child 820 exited with code 0 after 989.730318 seconds from start
            [28-May-2019 18:58:44] NOTICE: [pool www] child 11586 started
            [28-May-2019 18:58:44] NOTICE: [pool www] child 813 exited with code 0 after 990.608738 seconds from start
            [28-May-2019 18:58:44] NOTICE: [pool www] child 11587 started
            [28-May-2019 18:58:47] NOTICE: [pool www] child 836 exited with code 0 after 991.969990 seconds from start
            [28-May-2019 18:58:47] NOTICE: [pool www] child 11632 started
            [28-May-2019 19:04:56] NOTICE: [pool www] child 4953 exited with code 0 after 990.381560 seconds from start
            [28-May-2019 19:04:56] NOTICE: [pool www] child 15598 started
            [28-May-2019 19:05:41] NOTICE: [pool www] child 5491 exited with code 0 after 983.723588 seconds from start
            [28-May-2019 19:05:41] NOTICE: [pool www] child 16055 started
            
            
            G 1 Reply Last reply May 28, 2019, 7:16 PM Reply Quote 0
            • G
              george1421 Moderator @Scott B
              last edited by george1421 May 28, 2019, 1:17 PM May 28, 2019, 7:16 PM

              @Scott-B Yeah that’s not helpful (not you, but the errors). You will need to look back in time to see when that error was created (or make a new error) and correlate the error with the action.

              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!

              S 1 Reply Last reply May 28, 2019, 7:17 PM Reply Quote 0
              • S
                Scott B @george1421
                last edited by May 28, 2019, 7:17 PM

                @george1421 said in New Image Upload - Stuck on Updating Database:

                I have an image going up now. I’ll see what it does.

                S 1 Reply Last reply May 28, 2019, 7:27 PM Reply Quote 1
                • S
                  Scott B @Scott B
                  last edited by May 28, 2019, 7:27 PM

                  @Scott-B said in New Image Upload - Stuck on Updating Database:

                  @george1421 said in New Image Upload - Stuck on Updating Database:

                  I have an image going up now. I’ll see what it does.

                  Well those two images just completed successfully, so I don’t know what the deal was. The 4 test images before them all had the error.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Sebastian Roth May 28, 2019, 2:08 PM May 28, 2019, 8:06 PM

                    @Scott-B Pleas run find /var -type f -name "*fpm*log*" and post results here.

                    Ahhh, forget about that. Ubuntu has the errors in apache error log as far as I remember. Please take a look at /var/log/apache2/error.log and maybe paste the whole log messages from yesterday and today 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

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

                    229

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project