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

    Stop at boot.php when creating capture task

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    27
    4.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.
    • christianuC
      christianu
      last edited by christianu

      This comes when creating the task

      PHP Warning: curl_setopt_array() expects exactly 2 parameters, 1 given in /var/www/html/fog/lib/fog/fogurlrequests.class.php on line 107, referer: http://fog.mgmt.offber/fog/management/index.php?node=host&sub=deploy&id=2&type=2

      george1421G 1 Reply Last reply Reply Quote 1
      • christianuC
        christianu
        last edited by christianu

        And this when calling the url

        PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Type: 2, File: /var/www/html/fog/lib/fog/fogurlrequests.class.php, Line: 108, Message: curl_multi_add_handle() expects parameter 1 to be resource, null given, Host: fogserver, Username: fog’ in /var/www/html/fog/lib/fog/fogftp.class.php:51\nStack trace:\n#0 /var/www/html/fog/lib/fog/storagenode.class.php(102): FOGFTP->connect()\n#1 /var/www/html/fog/lib/fog/fogcontroller.class.php(245): StorageNode->loadImages()\n#2 /var/www/html/fog/lib/fog/fogcontroller.class.php(48): FOGController->loadItem(‘images’)\n#3 /var/www/html/fog/lib/fog/storagenode.class.php(41): FOGController->get(‘images’)\n#4 /var/www/html/fog/lib/fog/storagegroup.class.php(44): StorageNode->get(‘images’)\n#5 [internal function]: StorageGroup->{closure}(Object(StorageNode))\n#6 /var/www/html/fog/lib/fog/storagegroup.class.php(52): array_map(Object(Closure), Array)\n#7 /var/www/html/fog/lib/fog/bootmenu.class.php(641): StorageGroup->getOptimalStorageNode(‘1’)\n#8 /var/www/html/fog/lib/fog/bootmenu.class.php(1 in /var/www/html/fog/lib/fog/fogftp.class.php on line 51

        I call it a night and will continue tomorrow 🙂

        1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @christianu
          last edited by

          @christianu said in Stop at boot.php when creating capture task:

          This comes when creating the task

          PHP Warning: curl_setopt_array() expects exactly 2 parameters, 1 given in /var/www/html/fog/lib/fog/fogurlrequests.class.php on line 107, referer: http://fog.mgmt.offber/fog/management/index.php?node=host&sub=deploy&id=2&type=2

          That may be what is know and an unexpected programming occurrence. @Senior-Developers ?

          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!

          1 Reply Last reply Reply Quote 0
          • christianuC
            christianu
            last edited by christianu

            Actually this is strange

             parameter 1 to be resource, null given, Host: fogserver, Username: fog
            

            “fogserver” is in this case the old fogserver ip instead of the new one - where can i change this?

            Update: Found it - the nfsGroubmembers where still using the old ip.

            On a side note - your boot menu config is gone (no bg nothing just blue and red) where can i restore this with bg and all?

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

              @christianu said:

              On a side note - your boot menu config is gone (no bg nothing just blue and red) where can i restore this with bg and all?

              In the code you posted below you can see that the image filename is missing:

              :get_console
              console --picture http://192.168.22.76/fog/service/ipxe/ --left 100 --right 80 && goto console_set || goto alt_console
              :MENU
              

              Check FOG_IPXE_BG_FILE in the FOG configuration on the web GUI.

              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
              • christianuC
                christianu
                last edited by

                Yeah the settings are completely gone … even with the colors 😄

                1 Reply Last reply Reply Quote 0
                • christianuC
                  christianu
                  last edited by

                  You can actually solve this issue - the problem was the wrong ip address - thanks guys for the support 🙂

                  1 Reply Last reply Reply Quote 1
                  • 1
                  • 2
                  • 2 / 2
                  • First post
                    Last post

                  154

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project