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

    Weird problem when deploying to groups

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    4
    476
    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.
    • C
      Campig
      last edited by

      Hello everyone, I’m having problems when deploying to groups, if the group contains more than one computer the imaging fails with “Invalid OS ID (0) (determineOS) Args Passed:0”.
      I looked at the tasks in the database and they have, in fact, taskImageId set to 0.
      Single hosts or groups with only one host are imaged correctly.
      Image association is right and I have already “cleaned” the db with db maintenance queries, I also truncated tables groups, imageGroupAssoc and snapinGroupAssoc and recreated groups from fog UI.
      Every time I start a group imaging task an error is added to apache error log:

      [Fri Aug 28 10:09:15.572858 2020] [proxy_fcgi:error] [pid 22678] [client ] AH01071: Got error 'PHP message: PHP Warning:  trim() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 595', referer: https://xxxxxxx/fog/management/index.php?node=group&sub=deploy&type=1&id=3
      
      

      fog version is 1.5.9 RC 2.11 running on Debian 10 in a virtual machine, I only have the master storage node

      1 Reply Last reply Reply Quote 0
      • C
        Campig
        last edited by

        Ok, seems like I solved, I reverted fix #393 and now deploying to groups works as expected.

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          Moved to bug reports. @Campig Thanks for these details as well.

          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
          • S
            Sebastian Roth Moderator
            last edited by

            @Campig This is fixed in the latest. For the commit see here. Thanks again!

            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
            • First post
              Last post

            281

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project