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

    Unable to check for updates from dashboard

    Scheduled Pinned Locked Moved General pfSense Questions
    51 Posts 7 Posters 12.0k 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.
    • N
      Nibblet @SteveITS
      last edited by

      @SteveITS there doesn't seem to be anything wrong with the package manager, but its very hard to actual diagnose why it is saying it cant check for upgrades.
      I don't want to go too far down the list of commands in that guide as it looks like it might try to force an upgrade, which, while that will be the ultimate endgame, I cant do without scheduling - and if I'm going to do that then I'll just do an ISO based upgrade from the console.

      The pkg-static tool seems to work fine though, as in my previous post, and all other packages except the 'upgrade notification' dashboard widget (and whatever is detecting things in the upgrade GUI option) seem to work fine. It even detects the pfSense-upgrade package..

      [2.6.0-RELEASE][admin@pfSense-firewall]/root: pkg-static info -x pfSense-upgrade
      pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
      pfSense-upgrade-1.0_15

      and the list of 'branch' options display the Latest as 2.7.0 as would be expected.

      I'm just trying to work out what the widget is trying to do to see where it is failing, as whatever it is seems unrelated to the pkg tool as everything there seems to be working as expected.

      This is the result from a 'clean' and then an 'update' and then using the cli pfSense update check..

      [snip]
      /var/cache/pkg/pfSense-repo-2.6.0_13.pkg
      /var/cache/pkg/pfSense-repo-2.7.0~9baeeb3c04.pkg
      /var/cache/pkg/pfSense-repo-2.7.0.pkg
      /var/cache/pkg/pfSense-repo-2.7.0_1~49556d0d54.pkg
      /var/cache/pkg/pfSense-repo-2.7.0_1.pkg
      The cleanup will free 236 MiB
      Deleting files: 100%
      All done
      [2.6.0-RELEASE][admin@pfSense-firewall]/root: pkg-static update
      Updating pfSense-core repository catalogue...
      pfSense-core repository is up to date.
      Updating pfSense repository catalogue...
      pfSense repository is up to date.
      All repositories are up to date.
      [2.6.0-RELEASE][admin@pfSense-firewall]/root: pfSense-upgrade -d -c

      Updating repositories metadata...
      Updating pfSense-core repository catalogue...
      pfSense-core repository is up to date.
      Updating pfSense repository catalogue...
      pfSense repository is up to date.
      All repositories are up to date.
      2.7.0 version of pfSense is available
      [2.6.0-RELEASE][admin@pfSense-firewall]/root:

      Just doesn't work in the dashboard widget and the GUI 'upgrade' option isn't available (but the latest branch still shows 2.7.0)

      N 1 Reply Last reply Reply Quote 0
      • N
        Nibblet @Nibblet
        last edited by

        Well, that paste didnt work, let me remove the quoting doo-dads)

        [2.6.0-RELEASE][admin@pfSense-firewall]/root: pfSense-upgrade -d -c
        Updating repositories metadata...
        Updating pfSense-core repository catalogue...
        pfSense-core repository is up to date.
        Updating pfSense repository catalogue...
        pfSense repository is up to date.
        All repositories are up to date.
        2.7.0 version of pfSense is available

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

          You also see that in System > Update?

          Try resaving the update branch in System > Update > Update Settings.
          If that doesn't work try chnaging the branch to 2.6 (Previous) and then back to 2.7 (Current Stable).

          N 1 Reply Last reply Reply Quote 0
          • N
            Nibblet @stephenw10
            last edited by

            @stephenw10 After doing that I end up with the same "Unable to check for updates"

            This all seems to respond very quickly, like it isn't reaching out to anything across the network to come to the conclusion that it is unable to check for updates.

            On a firewall I have on my home network that IS working, the update checks seem to take seconds, and a small gear cog is spinning while this happens, on these 'internal' firewalls the 'unable to check for updates' is near on immediate.

            Is there something other than the SRV records that it would be trying to check for? Keeping in mind, the cli pkg-static is working fine and can happily download data, and updating packages from the GUI also works as expected - it is just the OS checks that are failing to detect a new version available, and only then partially, as the branch availability shows "Previous stable version (2.6.0 DEPRECIATED)" as well as "Current Stable Release (2.7.0-RELEASE)"

            One thing I did notice though, was using pkg rather than pkg-static results in a library failure..
            [2.6.0-RELEASE][admin@pfSense-firewall]/root: pkg
            ld-elf.so.1: /lib/libc.so.7: version FBSD_1.7 required by /usr/local/sbin/pkg not found
            [2.6.0-RELEASE][admin@pfSense-firewall]/root:

            Could the widget be using pkg rather than pkg-static?

            N 1 Reply Last reply Reply Quote 0
            • N
              Nibblet @Nibblet
              last edited by

              OK, that wasn't the case either - deciding that pkg was broken I renamed it then symlinked pkg-static to /usr/sbin/pkg and still get the same behaviour.
              If I were to try to look through the sources of this widget, would anyone know where to start? (I.e - is it a separate package maybe? or is it part of the core build..?)

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

                Does it upgrade to 2.7 as expected if you just run pfSense-upgrade -d ?

                N 1 Reply Last reply Reply Quote 0
                • N
                  Nibblet @stephenw10
                  last edited by

                  @stephenw10 I can confirm that running the pfSense-upgrade -d from the CLI does indeed work :-)
                  To be fair, this is probably good enough for me - as I have other methods that do work to let me know there is a new version pending

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    Nibblet @Nibblet
                    last edited by

                    Also to add - version 2.7.0 also seems to have the same problem - package management works, CLI package stuff works, but the update widget immediately fails with no indication as to why.

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

                      And also on the System > Update page?

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        Nibblet @stephenw10
                        last edited by

                        @stephenw10 That is correct, post upgrade neither the dashboard or system -> updates completes an update check and shows the same error message.

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

                          Check the version of repoc you have:

                          pkg info -x pfsense
                          
                          N C 2 Replies Last reply Reply Quote 0
                          • N
                            Nibblet @stephenw10
                            last edited by Nibblet

                            @stephenw10
                            [2.7.0-RELEASE][admin@pfSense]/root: pkg info -x pfsense
                            pfSense-2.7.0
                            pfSense-Status_Monitoring-php82-1.8_3
                            pfSense-base-2.7.0
                            pfSense-boot-2.7.0
                            pfSense-default-config-2.7.0
                            pfSense-kernel-pfSense-2.7.0
                            pfSense-pkg-API-1.6
                            pfSense-pkg-Open-VM-Tools-10.1.0_5,1
                            pfSense-pkg-openvpn-client-export-1.8
                            pfSense-pkg-pfBlockerNG-3.2.0_5
                            pfSense-pkg-squid-0.4.46
                            pfSense-rc-2.7.0
                            pfSense-repo-2.7.0_2
                            pfSense-repoc-20230616
                            pfSense-upgrade-1.0_33
                            php82-pfSense-module-0.95

                            (Sorry it took a while, work got busy)

                            1 Reply Last reply Reply Quote 0
                            • C
                              callinectes @stephenw10
                              last edited by callinectes

                              @stephenw10 I am having the same problem. Upgrade response was working fine a few weeks ago - before 2.7.0 came out. Now, if I run pkg info -x pfsense I get: ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg"

                              If I run pkg-static info -x pfSense-upgrade I get: pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
                              pfSense-upgrade-1.0_15

                              If I run pfSense-upgrade -d -c I get:

                              Updating repositories metadata...
                              pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
                              Updating pfSense-core repository catalogue...
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              repository pfSense-core has no meta file, using default settings
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              Unable to update repository pfSense-core
                              Updating pfSense repository catalogue...
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              repository pfSense has no meta file, using default settings
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              Unable to update repository pfSense
                              Error updating repositories!
                              Upgrading pkg...
                              pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
                              Updating pfSense-core repository catalogue...
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              repository pfSense-core has no meta file, using default settings
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              Unable to update repository pfSense-core
                              Updating pfSense repository catalogue...
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              repository pfSense has no meta file, using default settings
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              Unable to update repository pfSense
                              Error updating repositories!

                              Any ideas? This is happening on two separate systems - one running 2.6.0 and one running 2.7.0-devel.

                              GertjanG S 2 Replies Last reply Reply Quote 0
                              • GertjanG
                                Gertjan @callinectes
                                last edited by

                                @callinectes said in Unable to check for updates from dashboard:

                                If I run pfSense-upgrade -d -c I get:

                                Updating repositories metadata...
                                pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended

                                Can you tell us what happens when you executed the recommend action ?

                                No "help me" PM's please. Use the forum, the community will thank you.
                                Edit : and where are the logs ??

                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  callinectes @Gertjan
                                  last edited by

                                  @Gertjan Thanks for the response. I assume you mean running "pkg bootstrap -f"? I cannot do that right now but will attempt later and post back.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    SteveITS Galactic Empire @callinectes
                                    last edited by

                                    @callinectes said in Unable to check for updates from dashboard:

                                    Shared object "libssl.so.30" not found, required by "pkg"

                                    That error often means you have tried to install or update a package with the update branch set to a later pfSense version. (it defaults to Current) That tries to update any required libraries.

                                    https://redmine.pfsense.org/issues/10464

                                    There are a couple suggestions in that redmine but otherwise one can reinstall and restore from backup.

                                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                    Upvote 👍 helpful posts!

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

                                      Seeing that lib error usually only means the version of pkg has been updated. That's normal as it checks for a new version every time it looks for pfSense updates.
                                      It shouldn't be a problem since the pfSense pkg commands all use pkg-static.

                                      @callinectes said in Unable to check for updates from dashboard:

                                      Updating repositories metadata...
                                      pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
                                      Updating pfSense-core repository catalogue...
                                      pkg-static: An error occured while fetching package

                                      Seeing that I would try running pkg-static -d update to see what error is shown there.

                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        callinectes @stephenw10
                                        last edited by

                                        @stephenw10 Thanks for the suggestion. I received a lot of the following (too many similar entries to paste in but happy to if it would help:

                                        • Hostname pkg00-atx.netgate.com was found in DNS cache

                                        • Trying 208.123.73.207:443...

                                        • Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 (#9)

                                        • ALPN: offers http/1.1

                                        • CAfile: none

                                        • CApath: /etc/ssl/certs/

                                        • SSL certificate problem: self-signed certificate in certificate chain

                                        • Closing connection 9
                                          DBG(1)[86277]> CURL> attempting to fetch from , left retry 2

                                        • Hostname pkg01-atx.netgate.com was found in DNS cache

                                        • Trying 208.123.73.209:443...

                                        • Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 (#10)

                                        • ALPN: offers http/1.1

                                        • CAfile: none

                                        • CApath: /etc/ssl/certs/

                                        • SSL certificate problem: self-signed certificate in certificate chain

                                        • Closing connection 10
                                          DBG(1)[86277]> CURL> attempting to fetch from , left retry 1

                                        • Hostname pkg00-atx.netgate.com was found in DNS cache

                                        • Trying 208.123.73.207:443...

                                        • Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 (#11)

                                        • ALPN: offers http/1.1

                                        • CAfile: none

                                        • CApath: /etc/ssl/certs/

                                        • SSL certificate problem: self-signed certificate in certificate chain

                                        • Closing connection 11
                                          pkg-static: An error occured while fetching package
                                          Unable to update repository pfSense
                                          Error updating repositories!

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

                                          Ah, what pfSense version are you running? That output is from the new development pkg version.

                                          C 1 Reply Last reply Reply Quote 0
                                          • C
                                            callinectes @stephenw10
                                            last edited by

                                            @stephenw10 Per the dashboard "Version 2.6.0-RELEASE (amd64)"

                                            But it was set to watch the 2.7.0 devel versions

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