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

    Unable to check for updates (SOLVED)

    Scheduled Pinned Locked Moved General pfSense Questions
    104 Posts 31 Posters 104.6k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Ah, OK. That manual fix should not be required for any users any longer but also it would never have applied to the 3100 because it's an armv7 device not amd64. Hence the errors you see there. You need to revert that change did you keep a copy of the original file?

      It should be:

      FreeBSD: { enabled: no }
      
      pfSense-core: {
        url: "pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core",
        mirror_type: "srv",
        signature_type: "fingerprints",
        fingerprints: "/usr/local/share/pfSense/keys/pkg",
        enabled: yes
      }
      
      pfSense: {
        url: "pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05",
        mirror_type: "srv",
        signature_type: "fingerprints",
        fingerprints: "/usr/local/share/pfSense/keys/pkg",
        enabled: yes
      }
      

      What error are you seeing trying to update with that file in place?

      D 1 Reply Last reply Reply Quote 0
      • D
        dedskwirl @stephenw10
        last edited by

        @stephenw10
        That seems to have worked. Thanks!

        1 Reply Last reply Reply Quote 1
        • S
          SHoover80
          last edited by

          Is it too much to ask for, to just release the installer for the latest version of pfsense plus. Here I am trying to resolve an issue with PFSense Plus 22.5 resulting in me having to do a fresh install. As other recovery methods aren't working, And in normal circumstances with my situation, The easiest method would be to just do a fresh install, and use my backup config to recover and go on with my day. But I cant simply install PFSense Plus, restore my backup. and get back to where I was and what I was working on. Instead I have to install an out outdated version of CE, upgrade that, Then upgrade that to PFSense Plus, 22.1 Then upgrade that again to 22.5. But for whatever reason, CE is having issues unable to check for updates. So, 5 fresh installs failed attempts later, multiple issues during one required update process or the next. An hour+ of my time wasted dealing with update issues trying to get an outdated version of CE to update Just so I can get to the point where I get PFSense Plus to install, so I can update that and Finally get to the current Non BETA version.

          1 Reply Last reply Reply Quote 2
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            It should be possible to go from 2.6 to 23.01 directly once it's released. It will probably be possible to go from 2.7 but that is a moving target.
            Other options are in development.

            W 1 Reply Last reply Reply Quote 0
            • W
              wifi-will @stephenw10
              last edited by

              @stephenw10 im in the same boat where i have remote sites, and to backdate firmware, i have to travel to site, backup, and install firmware from USB. I think it should be as easy to roll back firmware as it is to update. PS Sense is constantly informing you that there is an update, only to update and them find out there are issues.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                If you're running a ZFS install and update from 22.05 to 23.01 it will automatically create a snapshot before the update and you can roll back it simply by selecting it.

                1 Reply Last reply Reply Quote 0
                • D
                  DanTappan @techpro2004
                  last edited by

                  @techpro2004 This just worked for me also. Was on 22.01-RELEASE and getting the "unable to check" error, 22.05 now shows as available.

                  1 Reply Last reply Reply Quote 1
                  • J
                    Jossk
                    last edited by Jossk

                    I am having a similar issue on 5100. The difference being, I can see my installed packages, but the Available Packages is empty, nor is it able to check for system updates.

                    I have checked the pfSense.conf file. It looks to be correct (from what others have posted).

                    I have also tried switching to the development branch, then back.

                    pkg -d update
                    

                    DBG(1)[96943]> pkg initialized
                    Updating pfSense-core repository catalogue...
                    DBG(1)[96943]> PkgRepo: verifying update for pfSense-core
                    DBG(1)[96943]> PkgRepo: need forced update of pfSense-core
                    DBG(1)[96943]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
                    DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.conf
                    DBG(1)[96943]> opening libfetch fetcher
                    DBG(1)[96943]> Fetch > libfetch: connecting
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.conf with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.conf with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.conf with opts "i"
                    DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.txz
                    DBG(1)[96943]> opening libfetch fetcher
                    DBG(1)[96943]> Fetch > libfetch: connecting
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.txz with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.txz with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.txz with opts "i"
                    pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.txz: No address record
                    repository pfSense-core has no meta file, using default settings
                    DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.pkg
                    DBG(1)[96943]> opening libfetch fetcher
                    DBG(1)[96943]> Fetch > libfetch: connecting
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.pkg with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.pkg with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.pkg with opts "i"
                    pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.pkg: No address record
                    DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.txz
                    DBG(1)[96943]> opening libfetch fetcher
                    DBG(1)[96943]> Fetch > libfetch: connecting
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.txz with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.txz with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.txz with opts "i"
                    pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.txz: No address record
                    Unable to update repository pfSense-core
                    Updating pfSense repository catalogue...
                    DBG(1)[96943]> PkgRepo: verifying update for pfSense
                    DBG(1)[96943]> PkgRepo: need forced update of pfSense
                    DBG(1)[96943]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
                    DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.conf
                    DBG(1)[96943]> opening libfetch fetcher
                    DBG(1)[96943]> Fetch > libfetch: connecting
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.conf with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.conf with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.conf with opts "i"
                    DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.txz
                    DBG(1)[96943]> opening libfetch fetcher
                    DBG(1)[96943]> Fetch > libfetch: connecting
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.txz with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.txz with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.txz with opts "i"
                    pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.txz: No address record
                    repository pfSense has no meta file, using default settings
                    DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.pkg
                    DBG(1)[96943]> opening libfetch fetcher
                    DBG(1)[96943]> Fetch > libfetch: connecting
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.pkg with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.pkg with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.pkg with opts "i"
                    pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.pkg: No address record
                    DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.txz
                    DBG(1)[96943]> opening libfetch fetcher
                    DBG(1)[96943]> Fetch > libfetch: connecting
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.txz with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.txz with opts "i"
                    DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.txz with opts "i"
                    pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.txz: No address record
                    Unable to update repository pfSense
                    Error updating repositories!

                    I also made sure ".pfsense.org" & ".netgate.com" were in the DNSBL whitelist.

                    Any ideas for me to try?

                    Thanks

                    stephenw10S 1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator @Jossk
                      last edited by

                      @jossk said in Unable to check for updates (SOLVED):

                      pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.txz: No address record
                      Unable to update repository pfSense
                      Error updating repositories!

                      No address record means it cannot resolve the repo server so you have a DNS issue on the firewall. Go to Diag > DNS Lookup and resolving firmware.netgate.com. Make sure you are seeing results from the configures servers.

                      Steve

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jossk @stephenw10
                        last edited by

                        @stephenw10

                        Host "firmware.netgate.com" could not be resolved.

                        Name Servers:
                        127.0.0.1 ----> No Response

                        System > Gen. Setup set to "Use Local DNS, ignore remote DNS Servers".

                        So I guess I have a misconfiguration in the DNS Resolver, then?

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Yes, I would think so. And you have no other servers configured or being passed? They won't be used with that setting in general setup though.

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Jossk @stephenw10
                            last edited by

                            @stephenw10

                            I added all of my interfaces as DNS servers in General Setup. Only 2 interfaces are having issues, the loopback (127.0.0.1), and one other network.

                            With any of those added, pfS can check for system updates, and the Package Manager can load the Available Packages.

                            Knowing that, I'm more inclined to think that the more likely cause is a firewall config.

                            Cursory glance at my firewall rules doesn't show anything that should block these 2 interfaces.

                            I'll have to keep investigating.

                            Thank you for the idea. Now I have a direction and a stop-gap solution until I get it working properly.

                            stephenw10S 1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator @Jossk
                              last edited by

                              @jossk said in Unable to check for updates (SOLVED):

                              I added all of my interfaces as DNS servers in General Setup.

                              Not sure exactly what you did but that's probably not what you want. The list there should contain other remote DNS servers that pfSense itself can use. It doesn't need to contain localhost, that is used anyway. The behaviour it uses those in can be set there but by default it will try localhost (Unbound on the firewall) and fall back to others in the list or servers passed by dhcp.

                              But since making any change there allowed it to work it's definitely a DNS problem.

                              Steve

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                Jossk @stephenw10
                                last edited by

                                @stephenw10

                                Sorry, I should have clarified. I did that just to test all of my interfaces to see if my other interfaces were working or not. After verifying they worked, I deleted those from the list.

                                Also, changing to "Use local DNS (127.0.0.1), fall back to remote DNS", it tests localhost without me having to add it manually.

                                If that's the case, here is screenshots of my DNS Resolver config. Is there anything that stands out that could be the cause?

                                Note: I have a firewall rule to block external DNS servers. Mostly so IoT devices with hard coded DNS will be forced to use mine.

                                pfSense-DNS_Resolver-General_Options.png

                                pfSense-DNS_Resolver-Advanced_Options.png

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Try disabling SSL/TLS for outgoing queries. That should only ever be set in conjunction with forwarding mode.
                                  Also you are filtering responses there using pfBlocker/DNSBL. Check the pfBlocker alerts.

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    Jossk @stephenw10
                                    last edited by

                                    @stephenw10

                                    Disabled SSL/TLS for outgoing. No change in DNS Lookup (will leave off).

                                    To be honest, I don't know what I should be looking for in the alerts.

                                    I did try disabling pfBlocker. No change in DNS Lookup.

                                    I can try turning off "Keep Settings", and uninstalling the pfBlocker package.

                                    I'm still confused as to why DNS resolution works on my VLAN interfaces work, while not working on my LAN and loopback.

                                    0bdd2c04-5ba6-4e03-b0f5-c2a4ae2a6b6a-image.png
                                    c76fbb9b-c644-4a54-a0c8-da5bcbd0418d-image.png

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      Check Status > DNS Resolver after you try to look it up. You should see entries for netgate.com.

                                      Otherwise you can try turning up the logging in Unbound to see the individual queries and failures.

                                      Steve

                                      J 2 Replies Last reply Reply Quote 0
                                      • J
                                        Jossk @stephenw10
                                        last edited by

                                        @stephenw10

                                        I see 2 entries for netgate.com.

                                        535267c4-f638-47a4-8b0a-49c47f938ead-image.png

                                        2d6eb863-b24a-4875-a4b0-cb01d86e29b5-image.png

                                        I also turned up logging to Level 3: Query level information in DNS Resolver > Advanced Settings.

                                        (Keep in mind I still have one of my (working) VLANs in my DNS servers list)

                                        stephenw10S 1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator @Jossk
                                          last edited by

                                          @jossk said in Unable to check for updates (SOLVED):

                                          I also turned up logging to Level 3: Query level information in DNS Resolver > Advanced Settings.

                                          Do you see failures in the DNS logs?

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            Jossk @stephenw10
                                            last edited by

                                            @stephenw10

                                            I think I found the issue. It was this floating firewall rule.

                                            9731a951-a5bb-42a4-a349-ccdefcaacfb6-image.png

                                            I disabled it (as shown), then tested via DNS Lookup (I also added Quad9 DNS as external DNS to test). All interfaces, including the loopback and the LAN interface are now connecting.

                                            the IP_PublicDNS Alias (link contains list of public IPs). Unfortunately, it also appears to contain a number of private IPs, including 192.168.0.1, & loopback (127.0.0.1).

                                            Now that I think of it, I know of a better way that doesn't use an arbitrary list.

                                            I feel like an idiot for blindly using the list and not properly vetting before using.

                                            Thank you. I appreciate your assistance and patients.

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