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

    Intermittent error 504

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    24
    6.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.
    • K
      Kagashe @Sebastian Roth
      last edited by

      @Sebastian-Roth All servers are Ubuntu 16.04, below are the logs

      /usr/bin/lsb_release
      /bin/systemctl
      Reading package lists...
      Building dependency tree...
      Reading state information...
      ntpdate is already the newest version (1:4.2.8p4+dfsg-3ubuntu5.9).
      software-properties-common is already the newest version (0.96.20.7).
      python-software-properties is already the newest version (0.96.20.7).
      The following packages were automatically installed and are no longer required:
        libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libbrotli1
        libgd3 libjansson4 libjbig0 liblua5.2-0 libnghttp2-14 libtiff5 libwebp6
        php-common
      Use 'sudo apt autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      29 Nov 13:40:51 ntpdate[8213]: adjust time server 46.17.63.196 offset -0.019258 sec
      Generating locales (this might take a while)...
        en_US.UTF-8... done
      Generation complete.
      gpg: keyring `/tmp/tmpr79_9sh8/secring.gpg' created
      gpg: keyring `/tmp/tmpr79_9sh8/pubring.gpg' created
      gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
      Error: retrieving gpg key timed out.
      gpg: /tmp/tmpr79_9sh8/trustdb.gpg: trustdb created
      gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
      gpg: Total number processed: 1
      gpg:               imported: 1  (RSA: 1)
      OK
      gpg: keyring `/tmp/tmp0z4tf8uy/secring.gpg' created
      gpg: keyring `/tmp/tmp0z4tf8uy/pubring.gpg' created
      gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
      Error: retrieving gpg key timed out.
      gpg: /tmp/tmp0z4tf8uy/trustdb.gpg: trustdb created
      gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
      gpg: Total number processed: 1
      gpg:               imported: 1  (RSA: 1)
      OK
      
      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @Kagashe said in Intermittent error 504:

        gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
        Error: retrieving gpg key timed out.

        There is nothing we can do. It’s not able to retrieve the key from the server. Probably a firewall is blocking that request?

        To get around this you can edit the script code fogproject/lib/common/functions.sh, jump to line 601 and comment that so it looks like this.

        ...
                    esac
                    ;;
            esac
        #    errorStat $?
            dots "Preparing Package Manager"
            $packmanUpdate >>$workingdir/error_logs/fog_error_${version}.log 2>&1
        ...
        
        Now rerun the installer and you should get past the repo stuff.

        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

        K 1 Reply Last reply Reply Quote 0
        • K
          Kagashe @Sebastian Roth
          last edited by

          @Sebastian-Roth Weird I figured that was the issue, so I whitelisted the machine on my firewall just to test but still didn’t work and there’s nothin in the firewall logs to suggest that it’s blocking anything, it’s a strange one…
          Will give your suggestion a go now.

          K 1 Reply Last reply Reply Quote 0
          • K
            Kagashe @Kagashe
            last edited by

            @Kagashe Editing the script solved it, thanks Sebastian.

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

            199

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project