Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Solved: Is a direct (unproxied) Internet Connection needed to upgrade to 2.3 ??

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    16 Posts 8 Posters 8.3k Views
    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.
    • G
      GuruNot
      last edited by

      @YonNomNom:

      I have attempted to add a proxy to the pkg configuration but that has not helped it does not even attempt to contact the proxy.

      pkg_env: {
        http_proxy: "http://10.xxx.xxx.xxx:8080"
      }

      As I was watching the console, I hadnt realised the upgrade had actually worked and the GUI was accessible.

      So , taking your lead I CTRL+C to break in to the console, copied pkg.conf.sample to pkg.conf and modified the pkg_env sections as follows:

      pkg_env: {
      http_proxy=http://proxy:port
      https_proxy=http://proxy:port
      HTTP_PROXY=http://proxy:port
      HTTPS_PROXY=http://proxy:port
      }

      Obviously replacing the proxy and port with my details.

      Rebooted and all is good it pulled down the packages. Not sure if it is the upper case or the https entries that helped, but it is working and it wont hurt to keep both in the file.

      1 Reply Last reply Reply Quote 0
      • Y
        YonNomNom
        last edited by

        @GuruNot:

        So , taking your lead I CTRL+C to break in to the console, copied pkg.conf.sample to pkg.conf and modified the pkg_env sections as follows:

        So how do we get this fixed for the next release?

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          It was working at one point earlier in 2.3, but may have regressed. We're looking into it again. https://redmine.pfsense.org/issues/6149

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • R
            robi
            last edited by

            Just created a new ticket: https://redmine.pfsense.org/issues/6151
            Edit: we were working both in the same time  ???

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              @robi:

              Just created a new ticket: https://redmine.pfsense.org/issues/6151

              See my message just above yours. I'd already created a ticket for it. :-)

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • R
                robi
                last edited by

                Lots of tickets these days, isn't it  :-\

                1 Reply Last reply Reply Quote 0
                • X
                  xhark
                  last edited by

                  @GuruNot:

                  So , taking your lead I CTRL+C to break in to the console, copied pkg.conf.sample to pkg.conf and modified the pkg_env sections

                  For people who read this, path is /usr/local/etc/pkg.conf :)

                  No need to copy pkg.conf.sample, juste create pkg.conf and add

                  @GuruNot:

                  pkg_env: {
                  http_proxy=http://proxy:port
                  https_proxy=http://proxy:port
                  HTTP_PROXY=http://proxy:port
                  HTTPS_PROXY=http://proxy:port
                  }

                  Rebooted and all is good it pulled down the packages.

                  SysNetAdmin & Blogger on http://blogmotion.fr

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    Editing that file is kind of ugly.

                    Try the patch I just added to https://redmine.pfsense.org/issues/6149

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • K
                      kernel-panic
                      last edited by

                      What would be the right time to apply this patch without having trouble in the update process from the previous version?

                      regards

                      1 Reply Last reply Reply Quote 0
                      • M
                        McGlenn
                        last edited by

                        the patch from https://redmine.pfsense.org/issues/6149 worked for me, but only after changing the uppercase HTTP_PROXY to lowercase http_proxy

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.