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

Daily wake-up routine not working after update

Scheduled Pinned Locked Moved Solved
FOG Problems
3
91
13.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.
  • A
    altitudehack
    last edited by altitudehack Apr 22, 2021, 6:42 AM Mar 25, 2021, 2:27 PM

    Hi Team,

    I updated to the latest dev branch earlier this week and now our scheduled WoL isn’t working. I can still trigger it manually so I know the WoL packets are not the issue.
    I tried deleting the task and creating a new one but no change.

    Just looked at the /var/log/fog/fogscheduler.log and the latest entry is from the date I updated the system:

    [03-22-21 10:30:55 am] * Task run time: Tue, 23 Mar 2021 06:00:00 -0500
    

    Looks like a service isn’t running, but checking the scheduler it appears fine:

    [Cent-7:root@fog ~]# systemctl status FOGScheduler.service
    ● FOGScheduler.service - FOGScheduler
       Loaded: loaded (/usr/lib/systemd/system/FOGScheduler.service; enabled; vendor preset: disabled)
       Active: active (running) since Fri 2021-03-19 14:31:56 CDT; 5 days ago
     Main PID: 2955 (php)
       Memory: 16.6M
       CGroup: /system.slice/FOGScheduler.service
               ├─2955 php /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
               └─3124 php /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
    

    Using my favorite command I restarted the FOG services:

    for i in FOGSnapinHash.service FOGScheduler.service  FOGImageSize.service FOGSnapinReplicator.service FOGMulticastManager.service FOGImageReplicator.service FOGPingHosts.service;do systemctl restart $i; done
    

    Now I have this at the beginning of the log:

    [03-25-21 9:06:22 am] * Starting TaskScheduler Service
    [03-25-21 9:06:22 am] * Checking for new items every 60 seconds
    [03-25-21 9:06:22 am] * Starting service loop
    [03-25-21 9:06:22 am] * 61 tasks found.
    

    Anything else I need to check to keep the service active?

    Thank you!

    A T 3 Replies Last reply Mar 30, 2021, 12:01 PM Reply Quote 0
    • A
      altitudehack @altitudehack
      last edited by Mar 30, 2021, 12:01 PM

      Nothing has processed since the service restart on the 25th. This is the entirety of the scheduler log as of March 30th:

      /var/log/fog/fogscheduler.log
      [03-25-21 2:39:17 pm] 
      ==================================
      === ==== ===== ====
      === ========= == === == ===
      === ======== ==== == ==== ===
      === ======== ==== == =========
      === ==== ==== == =========
      === ======== ==== == === ===
      === ======== ==== == ==== ===
      === ========= == === == ===
      === ========== ===== ====
      ==================================
      ===== Free Opensource Ghost ======
      ==================================
      ============ Credits =============
      = https://fogproject.org/Credits =
      ==================================
      == Released under GPL Version 3 ==
      ==================================
      
      
      [03-25-21 2:39:17 pm] Interface Ready with IP Address: [privateIP]
      [03-25-21 2:39:17 pm] Interface Ready with IP Address: 127.0.0.1
      [03-25-21 2:39:17 pm] Interface Ready with IP Address: 127.0.1.1
      [03-25-21 2:39:17 pm] Interface Ready with IP Address: [fqdn]
      [03-25-21 2:39:17 pm] * Starting TaskScheduler Service
      [03-25-21 2:39:17 pm] * Checking for new items every 60 seconds
      [03-25-21 2:39:17 pm] * Starting service loop
      [03-25-21 2:39:17 pm] * 61 tasks found.
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 05:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      [03-25-21 2:39:17 pm] * Task run time: Fri, 26 Mar 2021 06:00:00 -0500
      

      Is there anywhere else I can look?
      Thanks!

      T 1 Reply Last reply Mar 30, 2021, 2:16 PM Reply Quote 0
      • T
        Tom Elliott @altitudehack
        last edited by Mar 30, 2021, 2:16 PM

        @altitudehack I’m not quite sure whats going on but it feels like a php-fpm error.

        Can you restart FOGScheduler (systemctl restart FOGScheduler) while tailing the output of:
        /var/log/php-fpm/www-error.log ( at least that’s where it is on Centos, unsure for debian )

        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

        A 1 Reply Last reply Mar 30, 2021, 2:36 PM Reply Quote 0
        • A
          altitudehack @Tom Elliott
          last edited by Mar 30, 2021, 2:36 PM

          @tom-elliott said in Daily wake-up routine not working after update:

          log/php-fpm/www-error.log

          There was no output from this or any logfile in that directory during a restart of the service, which happened at 09:24:36:

          # ls -lht /var/log/php-fpm/
          total 276K
          -rwxr-xr-x. 1 root   root    15K Mar 30 07:50 error.log
          -rwxr-xr-x. 1 root   root    59K Mar 28 06:59 error.log-20210328
          -rwxr-xr-x. 1 root   root    58K Mar 21 03:27 error.log-20210321
          -rwxr-xr-x. 1 root   root    60K Mar 14 07:53 error.log-20210314
          -rwxr-xr-x. 1 root   root    60K Mar  7 06:20 error.log-20210307
          -rwxr-xr-x. 1 apache apache    0 Mar  4 05:13 www-error.log
          -rwxr-xr-x. 1 apache apache 1.6K Mar  3 08:03 www-error.log-20210304
          -rwxr-xr-x. 1 apache apache 5.6K Feb 19 11:25 www-error.log-20210221
          -rwxr-xr-x. 1 apache apache 1.6K Feb 16 08:17 www-error.log-20210217
          -rwxr-xr-x. 1 apache apache 1.6K Jan 31 17:07 www-error.log-20210201
          
          T 1 Reply Last reply Mar 30, 2021, 2:38 PM Reply Quote 0
          • T
            Tom Elliott @altitudehack
            last edited by Mar 30, 2021, 2:38 PM

            @altitudehack What about output of:

            systemctl status -l FOGScheduler.service?

            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

            A 1 Reply Last reply Mar 30, 2021, 4:48 PM Reply Quote 0
            • A
              altitudehack @Tom Elliott
              last edited by Mar 30, 2021, 4:48 PM

              @tom-elliott

              # systemctl status -l FOGScheduler.service
              ● FOGScheduler.service - FOGScheduler
                 Loaded: loaded (/usr/lib/systemd/system/FOGScheduler.service; enabled; vendor preset: disabled)
                 Active: active (running) since Tue 2021-03-30 09:24:36 CDT; 2h 20min ago
               Main PID: 14299 (php)
                 Memory: 13.6M
                 CGroup: /system.slice/FOGScheduler.service
                         ├─14299 php /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
                         └─14300 php /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
              
              Mar 30 09:24:36 fog.my.domain.com systemd[1]: Started FOGScheduler.
              
              1 Reply Last reply Reply Quote 0
              • A
                altitudehack
                last edited by altitudehack Mar 31, 2021, 5:29 AM Mar 31, 2021, 11:27 AM

                @Tom-Elliott I rebooted the server this morning about six minutes prior to the scheduled wake-up time. Still nothing showing in the schedule log:

                /var/log/fog/fogscheduler.log
                [03-31-21 5:54:00 am] 
                ==================================
                === ==== ===== ====
                === ========= == === == ===
                === ======== ==== == ==== ===
                === ======== ==== == =========
                === ==== ==== == =========
                === ======== ==== == === ===
                === ======== ==== == ==== ===
                === ========= == === == ===
                === ========== ===== ====
                ==================================
                ===== Free Opensource Ghost ======
                ==================================
                ============ Credits =============
                = https://fogproject.org/Credits =
                ==================================
                == Released under GPL Version 3 ==
                ==================================
                
                
                [03-31-21 5:54:00 am] Interface Ready with IP Address: [privateIP]
                [03-31-21 5:54:00 am] Interface Ready with IP Address: 127.0.0.1
                [03-31-21 5:54:00 am] Interface Ready with IP Address: 127.0.1.1
                [03-31-21 5:54:00 am] Interface Ready with IP Address: fog.domain.com
                [03-31-21 5:54:00 am] * Starting TaskScheduler Service
                [03-31-21 5:54:00 am] * Checking for new items every 60 seconds
                [03-31-21 5:54:00 am] * Starting service loop
                [03-31-21 5:54:00 am] * 61 tasks found.
                [03-31-21 5:54:00 am] * Task run time: Thu, 01 Apr 2021 05:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                [03-31-21 5:54:00 am] * Task run time: Wed, 31 Mar 2021 06:00:00 -0500
                

                I still have the entries showing up in scheduled tasks:
                scheduled.png

                T 2 Replies Last reply Mar 31, 2021, 11:56 AM Reply Quote 0
                • T
                  Tom Elliott @altitudehack
                  last edited by Mar 31, 2021, 11:56 AM

                  @altitudehack All of the tasks are purely WOL tasks, correct?

                  Just want clarification as I want to try to clear out the DB of erroneous entries that I suspect are playing a bit of a role in 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 0
                  • T
                    Tom Elliott @altitudehack
                    last edited by Mar 31, 2021, 11:58 AM

                    @altitudehack If you can try:

                    UPDATE tasks SET taskStateID=5 WHERE taskStateID IN ('0','',NULL,'1','2','3') AND taskTypeID=14;
                    

                    Then restart FOGScheduler

                    If you can let us know what your log shows?

                    Thank you,

                    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

                    A 1 Reply Last reply Mar 31, 2021, 12:07 PM Reply Quote 0
                    • A
                      altitudehack @Tom Elliott
                      last edited by Mar 31, 2021, 12:07 PM

                      @tom-elliott

                      MariaDB [fog]> UPDATE tasks SET taskStateID=5 WHERE taskStateID IN ('0','',NULL,'1','2','3') AND taskTypeID=14;
                      Query OK, 0 rows affected, 1 warning (0.000 sec)
                      Rows matched: 0  Changed: 0  Warnings: 1
                      

                      And the logs after restarting the service:

                      /var/log/fog/fogscheduler.log
                      [03-31-21 7:04:29 am] 
                      ==================================
                      === ==== ===== ====
                      === ========= == === == ===
                      === ======== ==== == ==== ===
                      === ======== ==== == =========
                      === ==== ==== == =========
                      === ======== ==== == === ===
                      === ======== ==== == ==== ===
                      === ========= == === == ===
                      === ========== ===== ====
                      ==================================
                      ===== Free Opensource Ghost ======
                      ==================================
                      ============ Credits =============
                      = https://fogproject.org/Credits =
                      ==================================
                      == Released under GPL Version 3 ==
                      ==================================
                      
                      
                      [03-31-21 7:04:29 am] Interface Ready with IP Address: [localIP]
                      [03-31-21 7:04:29 am] Interface Ready with IP Address: 127.0.0.1
                      [03-31-21 7:04:29 am] Interface Ready with IP Address: 127.0.1.1
                      [03-31-21 7:04:29 am] Interface Ready with IP Address: fog.domain.com
                      [03-31-21 7:04:29 am] * Starting TaskScheduler Service
                      [03-31-21 7:04:29 am] * Checking for new items every 60 seconds
                      [03-31-21 7:04:29 am] * Starting service loop
                      [03-31-21 7:04:29 am] * 61 tasks found.
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 05:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      [03-31-21 7:04:29 am] * Task run time: Thu, 01 Apr 2021 06:00:00 -0500
                      
                      A 1 Reply Last reply Apr 8, 2021, 6:17 PM Reply Quote 0
                      • A
                        altitudehack @altitudehack
                        last edited by Apr 8, 2021, 6:17 PM

                        @Tom-Elliott any other places to check? I don’t mind clearing out all scheduled tasks since I don’t have much in there. Just not sure how to do a safe reset.

                        1 Reply Last reply Reply Quote 0
                        • A
                          altitudehack
                          last edited by Apr 22, 2021, 12:22 PM

                          Seems similar to @Petěrko’s issue over at:
                          https://forums.fogproject.org/topic/15342/scheduled-wake-on-lan

                          A 1 Reply Last reply Apr 23, 2021, 12:01 PM Reply Quote 0
                          • A
                            altitudehack @altitudehack
                            last edited by Apr 23, 2021, 12:01 PM

                            @Tom-Elliott Just an update that this is still occurring after the latest update to dev branch 1.5.9.67. The scheduler log spits out a one-time block of text upon service start, but nothing else:

                            /var/log/fog/fogscheduler.log
                            
                            [04-21-21 4:38:37 pm] 
                            ==================================
                            === ==== ===== ====
                            === ========= == === == ===
                            === ======== ==== == ==== ===
                            === ======== ==== == =========
                            === ==== ==== == =========
                            === ======== ==== == === ===
                            === ======== ==== == ==== ===
                            === ========= == === == ===
                            === ========== ===== ====
                            ==================================
                            ===== Free Opensource Ghost ======
                            ==================================
                            ============ Credits =============
                            = https://fogproject.org/Credits =
                            ==================================
                            == Released under GPL Version 3 ==
                            ==================================
                            
                            
                            [04-21-21 4:38:37 pm] Interface Ready with IP Address: [localIP]
                            [04-21-21 4:38:37 pm] Interface Ready with IP Address: 127.0.0.1
                            [04-21-21 4:38:37 pm] Interface Ready with IP Address: 127.0.1.1
                            [04-21-21 4:38:37 pm] Interface Ready with IP Address: fog.my.domain.com
                            [04-21-21 4:38:37 pm] * Starting TaskScheduler Service
                            [04-21-21 4:38:37 pm] * Checking for new items every 60 seconds
                            [04-21-21 4:38:37 pm] * Starting service loop
                            [04-21-21 4:38:37 pm] * 61 tasks found.
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 05:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            [04-21-21 4:38:37 pm] * Task run time: Thu, 22 Apr 2021 06:00:00 -0500
                            
                            T 2 Replies Last reply Apr 23, 2021, 12:05 PM Reply Quote 0
                            • T
                              Tom Elliott @altitudehack
                              last edited by Apr 23, 2021, 12:05 PM

                              @altitudehack From the sounds of things, the scheduled task is essentially generating subsequent scheduled tasks which then causes a weird freeze to the system.

                              I base this on the fact that it appears to generate the task (in scheduled tasks) as a host task, when the originating “creator” is a group task?

                              I haven’t delved into the code for 1.5.x in a while as I’ve been working mainly with the 1.6 code base.

                              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
                              • T
                                Tom Elliott @altitudehack
                                last edited by Apr 23, 2021, 12:40 PM

                                @altitudehack While I’m not holding my breath too much, please try installing the latest. I’ve tried to be a bit more verbose in the logging to hopefully narrow down where the error is happening.

                                If you can run the update and post the logs after the service is restarted?

                                Thank you,

                                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

                                A 1 Reply Last reply Apr 23, 2021, 1:03 PM Reply Quote 0
                                • A
                                  altitudehack @Tom Elliott
                                  last edited by Apr 23, 2021, 1:03 PM

                                  @tom-elliott Good morning Tom! Thanks for your thoughts on this, and for checking into the scheduler’s code. There were two scheduled tasks - one for a group and one for an individual PC. I deleted both of them before seeing your latest update, so now there are zero scheduled tasks:

                                  scheduled.png
                                  I ran the upgrade to version 1.5.9.69 and this is the contents of my log file:

                                  /var/log/fog/fogscheduler.log
                                  
                                  [04-23-21 7:57:42 am] 
                                  ==================================
                                  === ==== ===== ====
                                  === ========= == === == ===
                                  === ======== ==== == ==== ===
                                  === ======== ==== == =========
                                  === ==== ==== == =========
                                  === ======== ==== == === ===
                                  === ======== ==== == ==== ===
                                  === ========= == === == ===
                                  === ========== ===== ====
                                  ==================================
                                  ===== Free Opensource Ghost ======
                                  ==================================
                                  ============ Credits =============
                                  = https://fogproject.org/Credits =
                                  ==================================
                                  == Released under GPL Version 3 ==
                                  ==================================
                                  
                                  
                                  [04-23-21 7:57:42 am] Interface Ready with IP Address: [privateIP]
                                  [04-23-21 7:57:42 am] Interface Ready with IP Address: 127.0.0.1
                                  [04-23-21 7:57:42 am] Interface Ready with IP Address: 127.0.1.1
                                  [04-23-21 7:57:42 am] Interface Ready with IP Address: fog.my.domain.com
                                  [04-23-21 7:57:42 am] * Starting TaskScheduler Service
                                  [04-23-21 7:57:42 am] * Checking for new items every 60 seconds
                                  [04-23-21 7:57:42 am] * Starting service loop
                                  [04-23-21 7:57:42 am] * 59 tasks found.
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  [04-23-21 7:57:42 am] * Task run time: Mon, 26 Apr 2021 06:00:00 -0500
                                  

                                  Thank you!

                                  T 1 Reply Last reply Apr 23, 2021, 3:19 PM Reply Quote 0
                                  • T
                                    Tom Elliott @altitudehack
                                    last edited by Apr 23, 2021, 3:19 PM

                                    @altitudehack I know I’m asking a lot, but please bare with me.

                                    Can you upgrade and try again?

                                    I added more logging and all that too. No real change in operation, just more logging to try to narrow further.

                                    Thank you,

                                    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

                                    A 1 Reply Last reply Apr 23, 2021, 4:46 PM Reply Quote 0
                                    • A
                                      altitudehack @Tom Elliott
                                      last edited by Apr 23, 2021, 4:46 PM

                                      @tom-elliott said in Daily wake-up routine not working after update:

                                      I know I’m asking a lot, but please bare with me.

                                      You are so generous with your time and resources, and polite to boot. I can’t tell you how much I appreciate you digging into this particular issue for me.
                                      I’ve been waking up early to click the WakeUp link for all our employees once the functionality stopped working.

                                      Here’s what’s in the logs after updating to the .70 branch:

                                      ...
                                      ===== Free Opensource Ghost ======
                                      ==================================
                                      ============ Credits =============
                                      = https://fogproject.org/Credits =
                                      ==================================
                                      == Released under GPL Version 3 ==
                                      ==================================
                                      
                                      
                                      [04-23-21 11:37:32 am] Interface Ready with IP Address: [privateIP]
                                      [04-23-21 11:37:32 am] Interface Ready with IP Address: 127.0.0.1
                                      [04-23-21 11:37:32 am] Interface Ready with IP Address: 127.0.1.1
                                      [04-23-21 11:37:32 am] Interface Ready with IP Address: fog.my.domain.com
                                      [04-23-21 11:37:32 am] * Starting TaskScheduler Service
                                      [04-23-21 11:37:32 am] * Checking for new items every 60 seconds
                                      [04-23-21 11:37:32 am] * Starting service loop
                                      [04-23-21 11:37:32 am] * 59 tasks found.
                                      

                                      Again, I deleted the scheduled tasks I had in there so I’m not sure where the 59 task count is coming from.

                                      T 1 Reply Last reply Apr 23, 2021, 4:53 PM Reply Quote 0
                                      • T
                                        Tom Elliott @altitudehack
                                        last edited by Apr 23, 2021, 4:53 PM

                                        @altitudehack One more time please?

                                        Yes I try to be polite. I realize this isn’t a scenario anybody wants and also understand peoples work lives.

                                        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

                                        A 1 Reply Last reply Apr 23, 2021, 5:02 PM Reply Quote 0
                                        • A
                                          altitudehack @Tom Elliott
                                          last edited by altitudehack Apr 23, 2021, 11:04 AM Apr 23, 2021, 5:02 PM

                                          @tom-elliott Well this is getting interesting:

                                          [04-23-21 11:58:31 am] 
                                          ==================================
                                          === ==== ===== ====
                                          === ========= == === == ===
                                          === ======== ==== == ==== ===
                                          === ======== ==== == =========
                                          === ==== ==== == =========
                                          === ======== ==== == === ===
                                          === ======== ==== == ==== ===
                                          === ========= == === == ===
                                          === ========== ===== ====
                                          ==================================
                                          ===== Free Opensource Ghost ======
                                          ==================================
                                          ============ Credits =============
                                          = https://fogproject.org/Credits =
                                          ==================================
                                          == Released under GPL Version 3 ==
                                          ==================================
                                          
                                          
                                          [04-23-21 11:58:31 am] Interface Ready with IP Address: [privateIP]
                                          [04-23-21 11:58:31 am] Interface Ready with IP Address: 127.0.0.1
                                          [04-23-21 11:58:31 am] Interface Ready with IP Address: 127.0.1.1
                                          [04-23-21 11:58:31 am] Interface Ready with IP Address: fog.my.domain.com
                                          [04-23-21 11:58:31 am] * Starting TaskScheduler Service
                                          [04-23-21 11:58:31 am] * Checking for new items every 60 seconds
                                          [04-23-21 11:58:31 am] * Starting service loop
                                          [04-23-21 11:58:31 am] * 59 tasks found.
                                          [04-23-21 11:58:31 am] * Running loop of all tasks.
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          [04-23-21 11:58:31 am] * 52 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          [04-23-21 11:58:31 am] * 54 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          [04-23-21 11:58:31 am] * 62 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          [04-23-21 11:58:31 am] * 65 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          [04-23-21 11:58:31 am] * 67 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          [04-23-21 11:58:31 am] * 81 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          [04-23-21 11:58:31 am] * 82 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          [04-23-21 11:58:31 am] * 83 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          [04-23-21 11:58:31 am] * 84 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          [04-23-21 11:58:31 am] * 85 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          [04-23-21 11:58:31 am] * 86 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          [04-23-21 11:58:31 am] * 87 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          ...
                                          [04-23-21 11:58:31 am] * 94 Does not appear to be valid
                                          [04-23-21 11:58:31 am] * Attempting to run checks for PowerManagement
                                          

                                          It also helps that you guys have made the upgrade process so painless 🙂

                                          T 2 Replies Last reply Apr 23, 2021, 5:25 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 1 / 5
                                          • First post
                                            Last post

                                          213

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project