• 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.
    • george1421G
      george1421 Moderator
      last edited by

      @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 Reply Quote 0
      • Z
        Zerpie @george1421
        last edited by

        @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

          @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

            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

              @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

                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!

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

                  @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 Reply Quote 0
                  • Z
                    Zerpie @george1421
                    last edited by

                    @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?

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

                      @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 Reply Quote 0
                      • Z
                        Zerpie @george1421
                        last edited by

                        @george1421 No problem. Thanks for looking.

                        1 Reply Last reply Reply Quote 0
                        • Z
                          Zerpie
                          last edited by

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

                          141

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project