• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. altitudehack
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 15
    • Posts 118
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: HTML content missing from some pages

      @sebastian-roth Here’s the URL of a page that correctly displays html:
      https://fogserver.domain.com/fog/management/index.php?node=host&sub=list
      text.png

      And here’s one that is just plain text:
      https://fogserver.domain.com/fog/management/index.php?node=host&sub=edit&id=49
      graphics.png

      posted in Bug Reports
      A
      altitudehack
    • RE: FOG Client Authentication after cloning Windows

      @sebastian-roth Yes, you’re absolutely right! The original had a secondary MAC matching the clone. I deleted it and expect the clone to show up shortly. Thanks for your patience! 🙂

      posted in FOG Problems
      A
      altitudehack
    • RE: Daily wake-up routine not working after update

      @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.

      posted in FOG Problems
      A
      altitudehack
    • RE: FOG Client Authentication after cloning Windows

      @sebastian-roth I searched the forums for duplicate MAC and found this thread that pointed to the database maintenance commands, which I ran. I replaced DELETE with SELECT * to get some idea of what would change, however all results were Empty set:

      MariaDB [fog]> select * FROM `hosts` WHERE `hostID` = '0';
      Empty set (0.000 sec)
      
      MariaDB [fog]> select * FROM `hostMAC` WHERE hmID = '0' OR `hmHostID` = '0';
      Empty set (0.000 sec)
      
      MariaDB [fog]> select * FROM `groupMembers` WHERE `gmID` = '0' OR `gmHostID` = '0' OR `gmGroupID` = '0';                                                   
      Empty set (0.000 sec)
      
      MariaDB [fog]> SELECT * FROM `snapinGroupAssoc` WHERE `sgaID` = '0' OR `sgaSnapinID` = '0' OR `sgaStorageGroupID` = '0';                                   
      Empty set (0.001 sec)
      
      MariaDB [fog]> SELECT * from `snapinAssoc` WHERE `saID` = '0' OR `saHostID` = '0' OR `saSnapinID` = '0';                                                   
      Empty set (0.015 sec)
      
      MariaDB [fog]> SELECT * FROM `hosts` WHERE `hostID` NOT IN (SELECT `hmHostID` FROM `hostMAC` WHERE `hmPrimary` = '1');                                     
      Empty set (0.001 sec)
      
      MariaDB [fog]> SELECT * FROM `hostMAC` WHERE `hmhostID` NOT IN (SELECT `hostID` FROM `hosts`);
      Empty set (0.000 sec)
      
      MariaDB [fog]> SELECT * FROM `snapinAssoc` WHERE `saHostID` NOT IN (SELECT `hostID` FROM `hosts`);
      Empty set (0.000 sec)
      
      MariaDB [fog]> SELECT * FROM `groupMembers` WHERE `gmHostID` NOT IN (SELECT `hostID` FROM `hosts`);
      Empty set (0.000 sec)
      
      MariaDB [fog]> SELECT * FROM `tasks` WHERE `taskStateID` IN ("1","2","3");
      Empty set (0.000 sec)
      
      MariaDB [fog]> SELECT * FROM `snapinTasks` WHERE `stState` in ("1","2","3");
      Empty set (0.000 sec)
      
      MariaDB [fog]> TRUNCATE TABLE multicastSessions; 
      Query OK, 0 rows affected (0.011 sec)
      
      MariaDB [fog]> TRUNCATE TABLE multicastSessionsAssoc;
      Query OK, 0 rows affected (0.020 sec)
      
      MariaDB [fog]> SELECT * FROM tasks WHERE taskTypeId=8;
      Empty set (0.000 sec)
      
      MariaDB [fog]> TRUNCATE TABLE history;
      Query OK, 0 rows affected (0.025 sec)
      
      MariaDB [fog]> TRUNCATE TABLE userTracking;
      Query OK, 0 rows affected (0.016 sec)
      

      I also found my old thread on adding exclusions to the MAC table and added an entry for the VPN software, however the newly cloned host is still not showing up.

      posted in FOG Problems
      A
      altitudehack
    • RE: FOG Client Authentication after cloning Windows

      I followed the steps here to reset encryption data for all clients:
      https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#Reset_encryption_data

      [Cent-7:root@fog ~]# mysql -uroot -p
      Enter password: 
      Welcome to the MariaDB monitor.  Commands end with ; or \g.
      Your MariaDB connection id is 184497
      Server version: 10.5.9-MariaDB MariaDB Server
      
      Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
      
      Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
      
      MariaDB [(none)]> use fog;
      Reading table information for completion of table and column names
      You can turn off this feature to get a quicker startup with -A
      
      Database changed
      MariaDB [fog]> UPDATE hosts SET hostPubKey="", hostSecToken="", hostSecTime="0000-00-00 00:00:00";
      Query OK, 61 rows affected (0.001 sec)
      Rows matched: 66  Changed: 61  Warnings: 0
      
      MariaDB [fog]> quit
      Bye
      

      and waited a couple hours but still don’t see the client under pending.

      posted in FOG Problems
      A
      altitudehack
    • FOG Client Authentication after cloning Windows

      Cloned a VM through ESXi and can’t get the FOG service to register the new clone. I reset the authentication token on the original VM, uninstalled/reinstalled the client on the clone, but get this in the fog.log:

      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       4/1/2021 7:59:14 AM Client-Info Version: 0.12.0
       4/1/2021 7:59:14 AM Client-Info OS:      Windows
       4/1/2021 7:59:14 AM Middleware::Authentication Waiting for authentication timeout to pass
       4/1/2021 8:01:14 AM Middleware::Communication Download: https://fogserver.my-domain.com/fog/management/other/ssl/srvpublic.crt
       4/1/2021 8:01:14 AM Data::RSA FOG Server CA cert found
       4/1/2021 8:01:14 AM Middleware::Authentication Cert OK
       4/1/2021 8:01:14 AM Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       4/1/2021 8:01:14 AM Middleware::Authentication ERROR: Could not get security token
       4/1/2021 8:01:14 AM Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
       4/1/2021 8:01:14 AM Middleware::Communication POST URL: https://fogserver.my-domain.com/fog/management/index.php?sub=requestClientInfo&authorize&newService
       4/1/2021 8:01:14 AM Middleware::Response Invalid host
       4/1/2021 8:01:14 AM Middleware::Communication URL: https://fogserver.my-domain.com/fog/service/register.php?hostname=hostname&mac=00:50:56:xx:xx:xx|54:31:FA:xx:xx:xx&newService&json
      
      
       4/1/2021 8:01:14 AM Middleware::Communication URL: https://fogserver.my-domain.com/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       4/1/2021 8:01:14 AM Middleware::Response Success
       4/1/2021 8:01:14 AM Middleware::Communication URL: https://fogserver.my-domain.com/fog/management/index.php?sub=requestClientInfo&mac=00:50:56:xx:xx:xx|54:31:FA:xx:xx:xx&newService&json
       4/1/2021 8:01:14 AM Middleware::Response Invalid host
       4/1/2021 8:01:14 AM Middleware::Communication URL: https://fogserver.my-domain.com/fog/service/getversion.php?clientver&newService&json
       4/1/2021 8:01:14 AM Middleware::Communication URL: https://fogserver.my-domain.com/fog/service/getversion.php?newService&json
      
       4/1/2021 8:01:14 AM Service Creating user agent cache
       4/1/2021 8:01:14 AM Middleware::Response Module is disabled on the host
       4/1/2021 8:01:14 AM Middleware::Response Module is disabled on the host
       4/1/2021 8:01:14 AM Middleware::Response Module is disabled globally on the FOG server
       4/1/2021 8:01:14 AM Service Initializing modules
      
      ------------------------------------------------------------------------------
      ---------------------------------ClientUpdater--------------------------------
      ------------------------------------------------------------------------------
       4/1/2021 8:01:15 AM Client-Info Client Version: 0.12.0
       4/1/2021 8:01:15 AM Client-Info Client OS:      Windows
       4/1/2021 8:01:15 AM Client-Info Server Version: 1.5.9.63
       4/1/2021 8:01:15 AM Middleware::Response Success
      ------------------------------------------------------------------------------
      
      posted in FOG Problems
      A
      altitudehack
    • RE: Daily wake-up routine not working after update

      @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
      
      posted in FOG Problems
      A
      altitudehack
    • RE: Daily wake-up routine not working after update

      @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

      posted in FOG Problems
      A
      altitudehack
    • RE: network boot

      Hi Luke,

      You need two important things to network boot - DHCP with the correct “options” set (or IP Helper configured on your routers), and the target port/files need to be accessible.

      Where are you running DHCP? On the FOG server itself, or another server? What are your DHCP Options for 66 & 67?
      And I think you need these open on the FOG server, which hosts the pxeboot target boot file:
      port 67, port 68, port 69 & port 4011

      I might recommend doing a search on this forum or the wiki for “pxe port”
      Good luck!

      posted in General Problems
      A
      altitudehack
    • RE: Daily wake-up routine not working after update

      @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.
      
      posted in FOG Problems
      A
      altitudehack
    • RE: Daily wake-up routine not working after update

      @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
      
      posted in FOG Problems
      A
      altitudehack
    • RE: Daily wake-up routine not working after update

      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!

      posted in FOG Problems
      A
      altitudehack
    • HTML content missing from some pages

      HTML content seems to be sporadic. The main page looks fine:
      main.png

      But some pages return plain text instead:
      html.png

      Found this in the ssl logs:

      [Thu Mar 25 14:33:35.087212 2021] [php7:error] [pid 3778] [client xxx.xxx.xxx.19:34716] PHP Fatal error:  Uncaught Exception: DateTime::__construct(): Failed to parse time string (not finished yet) at position 0 (n): The timezone could not be found in the database in /var/www/html/fog/lib/fog/fogbase.class.php:1113\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(1113): DateTime->__construct('not finished ye...', Object(DateTimeZone))\n#1 /var/www/html/fog/lib/fog/fogbase.class.php(1194): FOGBase::niceDate('not finished ye...')\n#2 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3073): FOGBase::validDate('not finished ye...')\n#3 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3242): HostManagementPage->hostSnapinHistory()\n#4 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): HostManagementPage->edit()\n#5 /var/www/html/fog/management/index.php(58): FOGPageManager->render()\n#6 {main}\n  thrown in /var/www/html/fog/lib/fog/fogbase.class.php on line 1113, referer: https://fogserver.domain.com/fog/management/index.php?node=host&sub=list
      

      date.timezone is configured in php.ini. I did update to the latest dev-branch earlier this week. Also noticed I was using MariaDB 5.5 so updated that to 10.4.
      Thank you!

      posted in Bug Reports
      A
      altitudehack
    • Daily wake-up routine not working after update

      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!

      posted in FOG Problems
      A
      altitudehack
    • RE: RecursiveDirectoryIterator preventing snapin uploads

      @altitudehack Confirmed this was caused by running out of disk space. Growing the disk and retrying it worked, so this is solved. Thank you for your time!

      posted in FOG Problems
      A
      altitudehack
    • RE: RecursiveDirectoryIterator preventing snapin uploads

      @sebastian-roth Looks typical to me:

      ;;;;;;;;;;;;;;;;
      ; File Uploads ;
      ;;;;;;;;;;;;;;;;
      
      ; Whether to allow HTTP file uploads.
      ; http://php.net/file-uploads
      file_uploads = On
      
      ; Temporary directory for HTTP uploaded files (will use system default if not
      ; specified).
      ; http://php.net/upload-tmp-dir
      ;upload_tmp_dir =
      
      ; Maximum allowed size for uploaded files.
      ; http://php.net/upload-max-filesize
      upload_max_filesize = 3000M
      
      ; Maximum number of files that can be uploaded via a single request
      max_file_uploads = 20
      

      Wait a second… I’m at 91% consumed on / . I think the package I’m uploading may exceed the available 580MB available on the partition. It may be a little premature of me, but it looks like this one is solved!

      posted in FOG Problems
      A
      altitudehack
    • RE: RecursiveDirectoryIterator preventing snapin uploads

      Thanks for taking a look, @Sebastian-Roth. I encountered this issue on a previous version (I think it was 1.5.4 but can’t swear to that.) Figured the first suggestion was going to be to update it, so I did a full yum update including a reboot for a new kernel, followed by an upgrade to dev-branch and now I’m on 1.5.9.63.
      Is there a verbose logging option to enable?

      posted in FOG Problems
      A
      altitudehack
    • RecursiveDirectoryIterator preventing snapin uploads

      I was creating a snapin and it uploaded fine. It didn’t work for an unrelated reason, so I made a change, deleted the snapin and tried to re-upload it and keep getting this error in the notification pop-up:

      RecursiveDirectoryIterator::__construct(//boot/grub2): failed to open dir: Permission denied
      

      SELinux is in permissive mode. I don’t see anything interesting in either FOG’s or Apache’s logfiles.

      posted in FOG Problems
      A
      altitudehack
    • progress bar for snapin upload missing

      When saving a snapin, there’s no indication that the file is being uploaded. Not a spinning “refresh” icon, nada. Also, there is no indication when it completes; so if you happen to look away for a moment and miss the ‘toaster’ display at the top of the screen, you might just think - did I forget to click Add?

      posted in FOG Problems
      A
      altitudehack
    • Smart Installer caching credentials causing AD lockouts - maybe?

      Is it possible that when installing the FOG service using the SmartInstaller, something in the process cached my active directory credentials and is attempting authentication? I ask because a user has this laptop at home, and when she connects to our VPN, my AD account gets locked. Looking at the AD server logs I see that the lockouts are happening because of failed logins from this particular laptop.

      It’s especially weird because I wouldn’t have been able to actually run the installer as a non-admin, but my non-admin account is the only one being affected.

      Sorry for pointing the finger at FOG but it’s the only non-commercial software installed on this particular laptop that I installed under my non-admin account. I’m going to look at it tomorrow and perhaps disable the FOG service in an attempt to prevent the password locks.

      posted in Windows Problems
      A
      altitudehack
    • 1 / 1