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

Error "Undefined index: pass" in capture

Scheduled Pinned Locked Moved Solved
FOG Problems
3
11
2.7k
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.
  • F
    Frank
    last edited by Apr 6, 2017, 11:32 AM

    Server
    • FOG Version: 1.3.5
    • OS: Ubuntu 14.04
    Client
    • Service Version:
    • OS: Windows
    Description

    I’m capturing an image and in one of the last steps, after uploading image, in “Updating database…” phase I get:
    “Error returned: Type: 8. File: /var/www/html/lib/fog/fogbase.clas.php. Line: 837. Message: Undefined index: pass.Host: xx.xx.xx.xx. Username: fog”

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Apr 6, 2017, 11:36 AM

      https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

      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

      F 1 Reply Last reply Apr 6, 2017, 11:53 AM Reply Quote 0
      • F
        Frank @Tom Elliott
        last edited by Apr 6, 2017, 11:53 AM

        @Tom-Elliott Thanks for your answer.
        I guess you mean issues with ftp credentials, but the message points to code. I have not changed any storage settings but I am going to double-check it anyway.

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Apr 6, 2017, 12:05 PM

          The message “undefined” typically comes when a storage node is not running. This is just from my experience though. The reason I suggest running through the troubleshoot ftp is because it’s a good basis to start looking and finding the cause.

          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

          F 1 Reply Last reply Apr 7, 2017, 10:53 AM Reply Quote 0
          • F
            Frank @Tom Elliott
            last edited by Apr 7, 2017, 10:53 AM

            @Tom-Elliott I’ve monitoring de “database updating” with wireshark and I see an http dialog between fog main server an the client. This seems to go OK, but after clients seems to wait something for half a minute until the error appears.
            Does this tell something to you?

            F 1 Reply Last reply Apr 7, 2017, 10:59 AM Reply Quote 0
            • F
              Frank @Frank
              last edited by Apr 7, 2017, 10:59 AM

              @Frank said in Error "Undefined index: pass" in capture:

              @Tom-Elliott I’ve monitoring de “database updating” with wireshark and I see an http dialog between fog main server an the client. This seems to go OK, but after clients seems to wait something for half a minute until the error appears.
              Does this tell something to you?

              I’m going to try to be more explicit:
              First come a http dialog between fog main server and client.
              Then clients waits on “Updating database…” half a minute.
              “Failed” is shown.
              Another http dialog happens between main server and client.

              W 1 Reply Last reply Apr 15, 2017, 2:45 AM Reply Quote 0
              • W
                Wayne Workman @Frank
                last edited by Apr 15, 2017, 2:45 AM

                @Frank Can you please do the basic steps in the troubleshooting article?

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                F 1 Reply Last reply Apr 19, 2017, 9:10 AM Reply Quote 0
                • F
                  Frank @Wayne Workman
                  last edited by Frank Apr 19, 2017, 3:23 AM Apr 19, 2017, 9:10 AM

                  @Wayne-Workman After rebooting all implied servers now its working !?!
                  Let’s left it as another IT mystery. Thanks to all for your help anyway.
                  Problem can be closed as well.

                  My God! I was on holiday and I have confused myself! sorry!
                  Its still failing at the same point

                  W 1 Reply Last reply Apr 19, 2017, 1:01 PM Reply Quote 0
                  • W
                    Wayne Workman @Frank
                    last edited by Wayne Workman Apr 19, 2017, 7:01 AM Apr 19, 2017, 1:01 PM

                    @Frank I still need you to do the troubleshooting. This is what I would do if I were there.

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    F 1 Reply Last reply Apr 20, 2017, 6:07 AM Reply Quote 0
                    • F
                      Frank @Wayne Workman
                      last edited by Apr 20, 2017, 6:07 AM

                      @Wayne-Workman I’ve followed the troubleshooting guide in case of “Update database…failed” and tftpd passwords are OK.
                      The error happens in fog.imgcomplete script, in “curl” line. If I do the curl at command prompt I get this:

                      curl -ks --data ‘mac=98:90:96:d8:29:4d&type=up&osid=9’ http://<ip_of_main_fog_server>/fog/service/Post_Stage2.php

                      Type: 8, File: /var/www/html/fog/lib/fog/fogbase.class.php, Line: 837, Message: Undefined index: pass. Host: <storage_node_ip>, Username:fog

                      F 1 Reply Last reply Apr 20, 2017, 8:57 AM Reply Quote 0
                      • F
                        Frank @Frank
                        last edited by Apr 20, 2017, 8:57 AM

                        @Frank said in Error "Undefined index: pass" in capture:

                        @Wayne-Workman I’ve followed the troubleshooting guide in case of “Update database…failed” and tftpd passwords are OK.
                        The error happens in fog.imgcomplete script, in “curl” line. If I do the curl at command prompt I get this:

                        curl -ks --data ‘mac=98:90:96:d8:29:4d&type=up&osid=9’ http://<ip_of_main_fog_server>/fog/service/Post_Stage2.php

                        Type: 8, File: /var/www/html/fog/lib/fog/fogbase.class.php, Line: 837, Message: Undefined index: pass. Host: <storage_node_ip>, Username:fog

                        SOLVED!! So simple as a firewall rule! Shame on me.
                        Fog main server was unable to contact client to port 21.
                        What had made me crazy was log messages, which seemed to have no sense.
                        Thanks anyway.

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

                        168

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project