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

Could not complete tasking (/bin/fog.upload)

Scheduled Pinned Locked Moved Solved
FOG Problems
2
16
1.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.
  • Z
    Zerpie @Zerpie
    last edited by Aug 24, 2018, 7:09 PM

    Unfortunately this did not fix it. I ended up with the exact same error.

    G 1 Reply Last reply Aug 24, 2018, 7:12 PM Reply Quote 0
    • G
      george1421 Moderator @Zerpie
      last edited by Aug 24, 2018, 7:12 PM

      @Zerpie Did you hit all of the spots mentioned in this document? https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

      The undefined offset is a bit strange though. the error makes me thing you were multicasting when this happened?

      Are you running FOG version 1.5.4? If so did you / have you updated www.conf file?

      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!

      Z 1 Reply Last reply Aug 24, 2018, 7:20 PM Reply Quote 0
      • Z
        Zerpie @george1421
        last edited by Aug 24, 2018, 7:20 PM

        @george1421 I did indeed hit all of those sections. The tftp settings is the only place that had the wrong password.

        It doesn’t appear to be multicasting. When I go to Tasks > Active Multicast Tasks it does not show my capture task.

        1 Reply Last reply Reply Quote 0
        • G
          george1421 Moderator
          last edited by Aug 24, 2018, 7:20 PM

          @Zerpie said in Could not complete tasking (/bin/fog.upload):

          “Error returned: Type: 8, File: /var/www/html/fog/lib/fog/fogcontroller.class.php, Line: 975, Message: Undefined offset: 3, Host: 153.86.19.10, Username: fog”

          What was fog doing when it threw this 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!

          Z 2 Replies Last reply Aug 24, 2018, 7:24 PM Reply Quote 0
          • Z
            Zerpie @george1421
            last edited by Aug 24, 2018, 7:24 PM

            @george1421 It was finishing up capturing an image from a host. Other than that error at the end, it looked like it finished capturing the image. Then I got the error and the host machine rebooted. The task still shows that it’s running and is sitting at 97%.

            1 Reply Last reply Reply Quote 0
            • Z
              Zerpie @Zerpie
              last edited by Aug 27, 2018, 1:26 PM

              @Zerpie Based on the error message I checked /var/www/html/fog/lib/fog/fogcontroller.class.php line 975 and the line is

              if ($fields[3]) {
                             	array_walk($fields[3], $whereInfo);
              

              Anybody have any clue what that means?

              1 Reply Last reply Reply Quote 0
              • Z
                Zerpie
                last edited by Aug 27, 2018, 1:34 PM

                I have a feeling there might be a permissions issue with /bin/fog.upload, but I can’t find fog.upload anywhere in /bin/.

                1 Reply Last reply Reply Quote 0
                • Z
                  Zerpie @george1421
                  last edited by Aug 27, 2018, 6:03 PM

                  @george1421 Sorry, George. I had to go ahead and try and run an image capture task again to see specifically what it was doing. I receive the error when it attempts to update the database. It shows

                  UPDATING DATABASE…FAILED
                  Error returned: Type: 8, File: /var/www/html/fog/lib/fog/fogcontroller.class.php, Line: 975, Message: Undefined offset: 3, Host: 153.86.19.10, Username: fog

                  1 Reply Last reply Reply Quote 0
                  • Z
                    Zerpie
                    last edited by Aug 27, 2018, 7:58 PM

                    Everything about my issue is still pointing to credentials not matching, but I’ve gone through the troubleshooting for that over, and over, and over again. Fresh installs and all. What else can I do? I never touched the credentials in the first place!

                    G 1 Reply Last reply Aug 27, 2018, 8:03 PM Reply Quote 0
                    • G
                      george1421 Moderator @Zerpie
                      last edited by Aug 27, 2018, 8:03 PM

                      @Zerpie While I’m not a programmer, I guess I need to look at that specific line and see if I can identify why this issue is only impacting you. Considering that you reinstalled FOG again and have the same issue (my inner voice is saying that its something you are doing or something that the FOG UI is allowing you to do). That’s not to say you are specifically doing something wrong, but its more unique to your install.

                      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!

                      Z 1 Reply Last reply Aug 27, 2018, 8:14 PM Reply Quote 0
                      • Z
                        Zerpie @george1421
                        last edited by Aug 27, 2018, 8:14 PM

                        @george1421 I think I’m going to go ahead and do a fresh install of the OS again tomorrow. Maybe Fedora Server isn’t the way to go. Is there a recommended Linux distro I should use instead?

                        G 1 Reply Last reply Aug 27, 2018, 8:37 PM Reply Quote 0
                        • G
                          george1421 Moderator @Zerpie
                          last edited by Aug 27, 2018, 8:37 PM

                          @Zerpie I personally would use centos. But let me look at the code tonight to make sure before you build a new FOG server.

                          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!

                          Z 1 Reply Last reply Aug 27, 2018, 8:42 PM Reply Quote 0
                          • Z
                            Zerpie @george1421
                            last edited by Aug 27, 2018, 8:42 PM

                            @george1421 No problem. Thanks for looking.

                            1 Reply Last reply Reply Quote 0
                            • Z
                              Zerpie
                              last edited by Aug 29, 2018, 5:56 PM

                              I decided to go ahead and start all over with CentOS7 instead of Fedora this time. I setup the server as well as Fog the same exact way. This time I didn’t run into any issues with the Fog server’s firewall like I did on the Fedora server. And I was able to successfully capture an image from my test laptop with no errors.

                              I’m running another test right now with deploying the image to the laptop to make sure there’s no issues there, but it looks like switching to CentOS worked for me.

                              I know the most recent wiki on installing fog on Fedora is specifically for Fedora 25 so maybe a lot has changed between Fedora 25 and Fedora 28 that the same instructions won’t work, but I’m just guessing.

                              1 Reply Last reply Reply Quote 1
                              • 1 / 1
                              1 / 1
                              • First post
                                12/16
                                Last post

                              268

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project