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

Checkin failure?

Scheduled Pinned Locked Moved FOG Problems
18 Posts 2 Posters 3.1k Views
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
    Sebastian Roth Moderator
    last edited by Dec 9, 2020, 9:45 PM

    @jim-holcomb said in Checkin failure?:

    Well nothing changed, auto updates are not on, and it worked before without the timezone settings?

    Sorry to say this but I can’t see why FOG should stop working like this with nothing having changed whatsoever.

    Please check the apache and PHP-FPM logs to see if you have any hint on what could be wrong in there.

    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
    • J
      Jim Holcomb
      last edited by Dec 10, 2020, 8:10 PM

      @jim-holcomb said in Checkin failure?:

      (N): The timezone could not be found in the database (In line for 10)

      This has me thinking? The error says "…(N): The timezone could not be found IN the database (In line for 10)

      So is this an issue with the database itself?? Seems to me it is looking for a TZ “value” in the database that is missing?

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth Dec 10, 2020, 2:53 PM Dec 10, 2020, 8:51 PM

        @Jim-Holcomb The (N) is just saying it does not accept “N” from “No Data” as a valid first character when parsing a time string. Take a look at the link to the code I posted and you’ll see what I mean.

        Did you take a look at the apache and PHP-FPM logs?

        By the way, the error message “not found in the database” is not specific to our code. Search the web and you’ll find many people with the same error.

        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

        J 1 Reply Last reply Dec 10, 2020, 9:25 PM Reply Quote 0
        • J
          Jim Holcomb @Sebastian Roth
          last edited by Dec 10, 2020, 9:25 PM

          @sebastian-roth What link?

          1 Reply Last reply Reply Quote 0
          • J
            Jim Holcomb
            last edited by Dec 10, 2020, 9:30 PM

            The current timezone is EST:

            root@fog:~# date
            Thu Dec 10 16:29:02 EST 2020
            root@fog:~#

            1 Reply Last reply Reply Quote 0
            • J
              Jim Holcomb @Jim Holcomb
              last edited by Dec 10, 2020, 9:41 PM

              @jim-holcomb said in Checkin failure?:

              find /etc -type f -exec grep “date.timezone” {} /dev/null ;

              Now today when running this command: find /etc -type f -exec grep “date.timezone” {} /dev/null ;
              find: missing argument to `-exec’

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Dec 11, 2020, 11:45 AM

                @Jim-Holcomb Link I meant is: https://github.com/FOGProject/fogproject/blob/dev-branch/packages/web/lib/fog/fogbase.class.php#L1124

                The find command is missing the \ as second last character: find /etc -type f -exec grep "date.timezone" {} /dev/null \;

                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
                • J
                  Jim Holcomb
                  last edited by Dec 11, 2020, 3:27 PM

                  Sebastian, now the output looks like this:
                  find /etc -type f -exec grep “date.timezone” {} /dev/null ;
                  /etc/php/7.1/apache2/php.ini:; http://php.net/date.timezone
                  /etc/php/7.1/apache2/php.ini:;date.timezone =
                  /etc/php/7.1/cli/php.ini:; http://php.net/date.timezone
                  /etc/php/7.1/cli/php.ini:;date.timezone =
                  /etc/php/7.1/fpm/php.ini.ucf-dist:; http://php.net/date.timezone
                  /etc/php/7.1/fpm/php.ini.ucf-dist:;date.timezone =
                  /etc/php/7.1/fpm/php.ini:; http://php.net/date.timezone
                  /etc/php/7.1/fpm/php.ini:date.timezone = America/New_York

                  Still getting the checkin failure

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jim Holcomb
                    last edited by Dec 11, 2020, 4:13 PM

                    Well, not sure why this happened but I took the job out for the task queue and ran the image manually - this worked!

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth Dec 11, 2020, 10:38 AM Dec 11, 2020, 4:38 PM

                      @Jim-Holcomb What do you mean by “manually” - through the FOG PXE boot menu?

                      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
                        18/18
                        Last post

                      173

                      Online

                      12.4k

                      Users

                      17.5k

                      Topics

                      156.0k

                      Posts
                      Copyright © 2012-2025 FOG Project