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

Error when creating capture/deploy task

Scheduled Pinned Locked Moved Solved
Bug Reports
3
14
3.2k
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.
  • D
    darius
    last edited by darius Mar 5, 2016, 12:57 PM Mar 5, 2016, 6:51 PM

    Hi
    I am new to FOG, I first installed FOG 1.2 and it worked great!

    I have now installed FOG 6563 on Ubuntu 14.04
    When I try to create a capture or deploy task instant, I get the following error

    The website encountered an error while retrieving http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&sub=deploy&type=2&id=1. It may be down for maintenance or configured incorrectly.

    Creating the task as delayed works fine. Creating advanced actions also works great.

    In the apache error log I get the following error:
    [Sat Mar 05 19:47:10.368432 2016] [:error] [pid 21132] [client 172.16.0.250:54091] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&sub=deploy&type=2&id=1

    At first I upgraded from 1.2 to 6563 and got the same error. the I did a fresh install of Ubuntu and installed 6563. same problem.
    Can somebody help?

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Mar 5, 2016, 7:23 PM

      The error should be fixed, but your still going to run into a problem. You need to ensure your image is associated to a storage group.

      This means, selecting your image, then click on Storage Groups, it will show one being defined but this is solely so you can actually edit the image.

      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

      D 1 Reply Last reply Mar 5, 2016, 7:59 PM Reply Quote 0
      • D
        darius @Tom Elliott
        last edited by darius Mar 5, 2016, 2:01 PM Mar 5, 2016, 7:59 PM

        Thanks for taking the time to answer @Tom-Elliott

        @Tom-Elliott said:

        The error should be fixed, but your still going to run into a problem.

        What do you mean? Is this a known error that you are going to fix? But I will still have this problem.

        You need to ensure your image is associated to a storage group.

        This means, selecting your image, then click on Storage Groups, it will show one being defined but this is solely so you can actually edit the image.

        I did not understand this, I choose the “default” storage group by cliking on it, that did now work. Do I need to at a new group?

        T 1 Reply Last reply Mar 5, 2016, 8:02 PM Reply Quote 0
        • T
          Tom Elliott @darius
          last edited by Tom Elliott Mar 5, 2016, 2:02 PM Mar 5, 2016, 8:02 PM

          @darius said:

          Thanks for taking the time to answer @Tom-Elliott

          @Tom-Elliott said:

          The error should be fixed, but your still going to run into a problem.
          What do you mean? Is this a known error that you are going to fix? But I will still have this problem.

          What I mean by this is the error will not give you a blank page, but it could’ve still caused an issue in generating the task.

          @darius said:

          You need to ensure your image is associated to a storage group.

          This means, selecting your image, then click on Storage Groups, it will show one being defined but this is solely so you can actually edit the image.

          I did not understand this, I choose the “default” storage group by cliking on it, that did now work. Do I need to at a new group?

          If you added the image to the storage group you should be fine.

          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
          • D
            darius
            last edited by Mar 5, 2016, 9:25 PM

            Adding the storage group to the image didn’t make any difference. Any other suggestions?

            T 1 Reply Last reply Mar 5, 2016, 9:40 PM Reply Quote 0
            • T
              Tom Elliott @darius
              last edited by Mar 5, 2016, 9:40 PM

              @darius How didn’t it make any difference? Are you still seeing the same error or is it presenting another error?

              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

              D 1 Reply Last reply Mar 5, 2016, 9:47 PM Reply Quote 0
              • D
                darius @Tom Elliott
                last edited by Mar 5, 2016, 9:47 PM

                @Tom-Elliott I get the same error 😞

                T 1 Reply Last reply Mar 5, 2016, 9:49 PM Reply Quote 0
                • T
                  Tom Elliott @darius
                  last edited by Mar 5, 2016, 9:49 PM

                  @darius Then do me a favor.

                  Run:

                  sudo rm -rf /var/www/fog
                  sudo rm -rf /var/www/html/fog
                  sudo ln -s /var/www/html/fog /var/www/fog
                  

                  Then rerun the installer.

                  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

                  D 1 Reply Last reply Mar 5, 2016, 10:06 PM Reply Quote 0
                  • D
                    darius @Tom Elliott
                    last edited by darius Mar 5, 2016, 4:15 PM Mar 5, 2016, 10:06 PM

                    @Tom-Elliott

                    Deleted the directories and installed again. same error when trying to capture.

                    I run the installer with sudo. I read the manual again, and stated that i need to run the installer with root. Can it be a permission issue?

                    The website encountered an error while retrieving http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&sub=deploy&type=2&id=1. It may be down for maintenance or configured incorrectly.

                    T 1 Reply Last reply Mar 5, 2016, 10:22 PM Reply Quote 0
                    • T
                      Tom Elliott @darius
                      last edited by Mar 5, 2016, 10:22 PM

                      @darius What’s in the apache error logs?

                      Are you sure you’re updating the trunk folder? Does it show the proper version in the cloud? What is in the cloud?

                      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

                      D 1 Reply Last reply Mar 5, 2016, 10:42 PM Reply Quote 0
                      • D
                        darius @Tom Elliott
                        last edited by darius Mar 5, 2016, 4:43 PM Mar 5, 2016, 10:42 PM

                        @Tom-Elliott thanks for your patience

                        Not sure what a trunk folder is (im new to fog) but in the cloud is “FOG 6563”

                        This is my apache log:
                        [Sat Mar 05 19:14:40.572322 2016] [:error] [pid 18038] [client 172.16.0.250:53618] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&sub=deploy&type=2&id=1
                        [Sat Mar 05 19:15:23.848370 2016] [:error] [pid 18082] [client 172.16.0.250:53772] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&sub=deploy&type=2&id=1
                        [Sat Mar 05 19:15:56.968386 2016] [:error] [pid 18038] [client 172.16.0.250:53819] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&sub=deploy&type=2&id=2
                        [Sat Mar 05 19:40:48.384507 2016] [:error] [pid 18036] [client 172.16.0.250:53903] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&sub=deploy&type=2&id=1
                        [Sat Mar 05 19:47:10.368432 2016] [:error] [pid 21132] [client 172.16.0.250:54091] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&sub=deploy&type=2&id=1
                        [Sat Mar 05 20:01:39.544315 2016] [:error] [pid 21133] [client 172.16.0.250:54723] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: https://172.16.0.10/fog/management/?node=host&sub=deploy&sub=deploy&type=2&id=1
                        [Sat Mar 05 20:10:42.944254 2016] [:error] [pid 21612] [client 172.16.0.250:56257] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: https://172.16.0.10/fog/management/index.php?node=host&sub=deploy&sub=deploy&type=2&id=2
                        [Sat Mar 05 20:46:49.563800 2016] [:error] [pid 18039] [client 172.16.0.104:59142] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&id=1&type=2
                        [Sat Mar 05 20:52:40.383518 2016] [:error] [pid 18037] [client 172.16.0.104:59242] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&id=1&type=2
                        [Sat Mar 05 21:14:56.659907 2016] [:error] [pid 21131] [client 172.16.0.104:59521] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&sub=deploy&type=2&id=1
                        [Sat Mar 05 21:18:13.632334 2016] [:error] [pid 21133] [client 172.16.0.104:59568] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&id=1&type=2
                        [Sat Mar 05 22:13:50.776286 2016] [:error] [pid 21133] [client 172.16.0.104:63508] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&id=1&type=2
                        [Sat Mar 05 22:15:36.462617 2016] [:error] [pid 18036] [client 172.16.0.104:63525] PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 87, referer: http://172.16.0.10/fog/management/index.php?node=image&sub=membership&id=5
                        [Sat Mar 05 22:15:44.073216 2016] [:error] [pid 18038] [client 172.16.0.104:63527] PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 87, referer: http://172.16.0.10/fog/management/index.php?node=image&sub=membership&id=5
                        [Sat Mar 05 23:01:58.529804 2016] [mpm_prefork:notice] [pid 18033] AH00169: caught SIGTERM, shutting down
                        [Sat Mar 05 23:02:27.457031 2016] [mpm_prefork:notice] [pid 5085] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured – resuming normal operations
                        [Sat Mar 05 23:02:27.457062 2016] [core:notice] [pid 5085] AH00094: Command line: ‘/usr/sbin/apache2’
                        [Sat Mar 05 23:03:43.679406 2016] [:error] [pid 5121] [client 172.16.0.250:57199] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/?node=host&sub=deploy&sub=deploy&type=2&id=1
                        [Sat Mar 05 23:05:43.331206 2016] [:error] [pid 5121] [client 172.16.0.250:57255] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/fog/host.class.php on line 547, referer: http://172.16.0.10/fog/management/index.php?node=host&sub=deploy&id=2&type=2

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tom Elliott
                          last edited by Mar 5, 2016, 10:46 PM

                          How did you install fog?

                          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
                          • S
                            Sebastian Roth Moderator
                            last edited by Mar 6, 2016, 12:29 PM

                            @darius Welcome to the forums. As you seam to be new I’ll give you a quick rundown on how things work with FOG trunk. Thanks a lot for letting us know about the error. This is very helpful! Tom found the issue and fixed it in the source code. So you need to “update” your local copy of the source code to see Tom’s change as well.

                            I guess you used svn or git command to checkout the FOG trunk code. Then you ran the installer. To update your local copy of FOG change to the folder (cd /fog/code/directory) and run svn up or git pull (depending on what you used earlier). Then run the installer 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

                            D 1 Reply Last reply Mar 6, 2016, 5:37 PM Reply Quote 0
                            • D
                              darius @Sebastian Roth
                              last edited by darius Mar 6, 2016, 11:42 AM Mar 6, 2016, 5:37 PM

                              @Sebastian-Roth Updatet to 6597 from Git and Success! 🙂 thanks to @Tom-Elliott for all the help and for fixing the code!

                              Looking forward to the final release. I Have one lab with 98 computers at work that need to be re imaged alot. Looking forwarded to trying out FOG there 🙂

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              1 / 1
                              • First post
                                4/14
                                Last post

                              213

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project