• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Petěrko
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 21
    • Groups 0

    Petěrko

    @Petěrko

    3
    Reputation
    2
    Profile views
    21
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Petěrko Unfollow Follow

    Best posts made by Petěrko

    • Snapin Update in Snapin Management Edit changes snapin File Name to "1"

      Hi guys,
      when I try to update a snapin in Snapin Management Edit and upload new file (ps1 or zip or whatever) the file got renamed to “1” and stored in /opt/fog/snapins. If I edit two snapins, they share file “1”.

      The only workaround now is to delete end recreate snapin to get proper filename.

      I would love to debug but I need to know where to look 😉
      I am on updated Debian 11.4, FOG 1.5.9.154

      Thanks for help
      Peter Michalčík

      posted in Bug Reports
      P
      Petěrko
    • RE: Slow computer listing and high CPU with version 1.5.1.01798

      Hi,
      dev-branch 1.5.10.1754 was OK.
      dev-branch and stable 1.5.10.1798 is not OK.

      Running on Debian VM 13.4 in Proxmox.
      Everything is OK until I click “Hosts” . PHP-FPM starts eating taking 100% of CPU for minutes but gives no errors in apache2 or php8.4-fpm logs.
      Other listings and dashboard are OK. Report/Pending Mac List is slow too.

      Approve All Pending MACs for All Hosts returned the speed of server back to normal. Thanks @rogalskij!

      Host IDs are showed in front of names like this: (271) - DELL-AT-WORK

      Installed PlugIns
      accesscontrol
      persistentgroups
      site
      tasktypeedit

      I have got a plenty of these warnings but it is problem of old plugin, I suppose:
      [Sat Mar 21 06:28:04.452523 2026] [proxy_fcgi:error] [pid 781:tid 781] [client 172.28.99.2:54436] AH01071: Got error ‘PHP message: PHP Warning: Undefined array key 0 in /var/www/html/fog/lib/plugins/site/hooks/addsitefiltersearch.hook.php on line 220’, referer: https://**********/fog/management/index.php?node=task&sub=active

      posted in FOG Problems
      P
      Petěrko
    • RE: Snapin Update in Snapin Management Edit changes snapin File Name to "1"

      Thanks a lot,
      @Sebastian-Roth !

      Can confirm. In 1.5.9.159 Snapin update is working as expected.

      Peter

      posted in Bug Reports
      P
      Petěrko

    Latest posts made by Petěrko

    • RE: Slow computer listing and high CPU with version 1.5.1.01798

      Unfortunately solved just for a moment.
      No pending MACs but the Hosts listing is very slow again.
      Peter

      posted in FOG Problems
      P
      Petěrko
    • RE: issue with updating / isntall script

      My workarounds for update on Debian Trixie are:

      A)
      git checkout master ; git pull
      userdel fogproject
      cd bin ; ./installfog.sh

      or
      B)
      apt install lastlog2
      git checkout master ; git pull
      ln -s /usr/bin/lastlog2 /usr/bin/lastlog
      cd bin ; ./installfog.sh

      Peter

      posted in FOG Problems
      P
      Petěrko
    • RE: Kernel Update Failed transfer

      @george1421 I probably found the reason of disSYNC of fog password and FOG settings. My old fog generated password included an & char (password looked like q&Y**********) but after some updates I found q&#38#38#38…********** in FOG_TFTP_FTP_PASSWORD and Storage Management Password.

      To solve thi issue , I used https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password bit first I changed password in /opt/fog/.fogsettings.

      Then update

      • update FOG_TFTP_FTP_PASSWORD
      • update Storage Management Password,
      • delete fogproject user (debian 13 installer bug lastlog vs. lastlog2)
      • rerun installfog.sh

      Now kernel update (tftp access) is working again.

      posted in FOG Problems
      P
      Petěrko
    • RE: Slow computer listing and high CPU with version 1.5.1.01798

      Hi,
      dev-branch 1.5.10.1754 was OK.
      dev-branch and stable 1.5.10.1798 is not OK.

      Running on Debian VM 13.4 in Proxmox.
      Everything is OK until I click “Hosts” . PHP-FPM starts eating taking 100% of CPU for minutes but gives no errors in apache2 or php8.4-fpm logs.
      Other listings and dashboard are OK. Report/Pending Mac List is slow too.

      Approve All Pending MACs for All Hosts returned the speed of server back to normal. Thanks @rogalskij!

      Host IDs are showed in front of names like this: (271) - DELL-AT-WORK

      Installed PlugIns
      accesscontrol
      persistentgroups
      site
      tasktypeedit

      I have got a plenty of these warnings but it is problem of old plugin, I suppose:
      [Sat Mar 21 06:28:04.452523 2026] [proxy_fcgi:error] [pid 781:tid 781] [client 172.28.99.2:54436] AH01071: Got error ‘PHP message: PHP Warning: Undefined array key 0 in /var/www/html/fog/lib/plugins/site/hooks/addsitefiltersearch.hook.php on line 220’, referer: https://**********/fog/management/index.php?node=task&sub=active

      posted in FOG Problems
      P
      Petěrko
    • RE: Snapin Update in Snapin Management Edit changes snapin File Name to "1"

      Thanks a lot,
      @Sebastian-Roth !

      Can confirm. In 1.5.9.159 Snapin update is working as expected.

      Peter

      posted in Bug Reports
      P
      Petěrko
    • RE: How to remove fog safely

      Hi,
      I force computers (with UEFI) to boot from HDD (Windows bootloader) with this command in snapin:

      #Booot from HDD
      #Snapin works only with Powershell x64 Snapin Template?
      #Use at your own risk! No warranty!
      c:\windows\system32\bcdedit.exe /set “{fwbootmgr}” displayorder “{bootmgr}”

      We use it after imaging because PXE boot is too slow.
      Peter

      posted in Windows Problems
      P
      Petěrko
    • RE: Snapin Update in Snapin Management Edit changes snapin File Name to "1"

      Thanks for looking into it @Sebastian-Roth and @JJ-Fullmer:
      Updated to 1.5.9.156 and this issue still exists:

      1. Go to existing Snapin
      2. Browse and upload new file
      3. Snapin gets updated
      4. Open Snapin again and it says (unfortunately) the attached file name is 1.
      5. In /opt/fog/snapins: original file stays (with original name), new file is named 1.
      6. After update I see one difference, in a group:
        v154: fogproject:www-data
        v156: fogproject:fogproject
      7. If you update more Snapins, the file named 1 get rewritten again and again as all updated Snapins refer to this file.
      posted in Bug Reports
      P
      Petěrko
    • Snapin Update in Snapin Management Edit changes snapin File Name to "1"

      Hi guys,
      when I try to update a snapin in Snapin Management Edit and upload new file (ps1 or zip or whatever) the file got renamed to “1” and stored in /opt/fog/snapins. If I edit two snapins, they share file “1”.

      The only workaround now is to delete end recreate snapin to get proper filename.

      I would love to debug but I need to know where to look 😉
      I am on updated Debian 11.4, FOG 1.5.9.154

      Thanks for help
      Peter Michalčík

      posted in Bug Reports
      P
      Petěrko
    • RE: Daily wake-up routine not working after update

      @altitudehack
      Hi again,
      Apache+PHP are creating WOL packets. We had problems with HTTPS on. Now (1.5.9.78) Scheduled and Power Tasks are working. I am on Debian 10.

      I always reboot fogserver after dev-branch upgrade and all services are running properly as far as I know.

      I kept Tasks from MASTER before fog upgrade and fogscheduler picked them up with no hiccup (after restart).

      Peter

      posted in FOG Problems
      P
      Petěrko
    • RE: Scheduled Wake On Lan

      @tom-elliott
      @Sebastian-Roth

      Thank you all. It is solved now in 1.5.9.78 with HTTPS on.

      /var/log/apache2/other_vhosts_access.log

      80 "POST /fog/management/index.php?node=client&sub=wakeEmUp HTTP/1.1" 302 599 
      443 "GET //fog/management/index.php?node=client&sub=wakeEmUp HTTP/1.1" 200 9111 
      443 "POST /fog/management/index.php?node=client&sub=wakeEmUp HTTP/1.1" 200 9111 
      

      /opt/fog/log/fogscheduler.log for Power Management Task

      [04-29-21 6:16:25 am]  * 1 task found.
      [04-29-21 6:16:25 am]  * 0 scheduled task(s) to run.
      [04-29-21 6:16:25 am]  * 1 power management task(s) to run.
      [04-29-21 6:16:25 am]  * Power Management Task run time: Thu, 29 Apr 2021 06:16:00 +0000
      [04-29-21 6:16:25 am]  * This is a cron style task that should run at: 1619676960.
      [04-29-21 6:16:25 am]  * Found a wake on lan task that should run.
      [04-29-21 6:16:25 am]  | Task sent to fcaa-https
      

      /opt/fog/log/fogscheduler.log for Scheduled Task:

      [04-29-21 6:22:26 am]  * 1 task found.
      [04-29-21 6:22:26 am]  * 1 scheduled task(s) to run.
      [04-29-21 6:22:26 am]  * 0 power management task(s) to run.
      [04-29-21 6:22:26 am]  * Scheduled Task run time: Thu, 29 Apr 2021 06:22:00 +0000
      [04-29-21 6:22:26 am]  * This is a cron style task that should run at: 1619677320
      [04-29-21 6:22:26 am]  * Found a scheduled task that should run.
      [04-29-21 6:22:26 am]            - Is a host based task.
      [04-29-21 6:22:26 am]            - Unicaset task found!
      [04-29-21 6:22:26 am]            - Host fcaa-https
      [04-29-21 6:22:26 am]            - Task started for host fcaa-https!
      

      Thank you again! Now our school can wake-up on Schedule 😉

      Peter

      posted in FOG Problems
      P
      Petěrko