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

"Unable to check for updates" in GUI, update in CLI working fine

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
26 Posts 7 Posters 4.1k 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.
  • K
    kepak
    last edited by Jul 29, 2022, 6:02 PM

    I have Netgate SG-2440 with firmware 22.01 recently updated to 22.05 ( the issue persist on both versions) I had a problem with upgrading from GUI. On dashboard and Upgrade tab i got a message "Unable to check for updates", package upgrade from GUI works fine and upgrade branch is correct. I try to upgrade via console (pfSense-upgrade) and it works without any issues. In version 22.05 i still see "Unable to check for updates" message on dashboard.

    It can connect with one more issue, in my netgate service "Auto Config Backup" dosen't work. I can queue a backup but no backups is shown on restore tab.

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Jul 29, 2022, 8:35 PM

      Try running at the command line: pkg -d update
      Does it return errors?

      Are you able to see and install pfSense packages?

      You can always install 22.05 clean and restore you config to be sure.
      Open a ticket with us to get the image: https://www.netgate.com/tac-support-request

      Steve

      1 Reply Last reply Reply Quote 0
      • S
        SprockTech
        last edited by Aug 22, 2022, 1:34 PM

        @stephenw10 I have a 3100 with the same problem as @kepak where updating from the GUI doesn't work but via SSH does. I was on 22.01 and just updated to 22.05 via SSH. Still says "Unable to check for updates" in the GUI after rebooting.

        F 1 Reply Last reply Aug 22, 2022, 1:45 PM Reply Quote 0
        • F
          fireodo @SprockTech
          last edited by Aug 22, 2022, 1:45 PM

          @sprocktech said in "Unable to check for updates" in GUI, update in CLI working fine:

          @stephenw10 I have a 3100 with the same problem as @kepak where updating from the GUI doesn't work but via SSH does. I was on 22.01 and just updated to 22.05 via SSH. Still says "Unable to check for updates" in the GUI after rebooting.

          After a Power failure I had this problem too - in my case this helped:

          pkg-static upgrade -f
          

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.7.2 CE
          Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

          S 1 Reply Last reply Aug 22, 2022, 2:11 PM Reply Quote 0
          • S
            SprockTech @fireodo
            last edited by Aug 22, 2022, 2:11 PM

            @fireodo Thanks for the suggestion. Unfortunately that didn't help either. I haven't done the full backup/reset/restore procedure yet. I'll update this thread later if that works for me.

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Aug 22, 2022, 2:20 PM

              Try running pkg -d update at the command line and see what errors it shows.

              S 2 Replies Last reply Aug 22, 2022, 3:52 PM Reply Quote 0
              • S
                SprockTech @stephenw10
                last edited by Aug 22, 2022, 3:52 PM

                @stephenw10 I ran that before and don't recall seeing any errors. I just ran it again and still don't see any errors. Also, when I ran the command that @fireodo suggested, I don't recall seeing any errors there either.

                [22.05-RELEASE][admin@firewall.home.local]/root: pkg -d update
                DBG(1)[7090]> pkg initialized
                Updating pfSense-core repository catalogue...
                DBG(1)[7090]> PkgRepo: verifying update for pfSense-core
                DBG(1)[7090]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
                DBG(1)[7090]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/meta.conf
                DBG(1)[7090]> opening libfetch fetcher
                DBG(1)[7090]> Fetch > libfetch: connecting
                DBG(1)[7090]> Fetch: fetching from: https://pkg01-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/meta.conf with opts "i"
                DBG(1)[7090]> Fetch: fetcher chosen: https
                DBG(1)[7090]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.pkg
                DBG(1)[7090]> opening libfetch fetcher
                DBG(1)[7090]> Fetch > libfetch: connecting
                DBG(1)[7090]> Fetch: fetching from: https://pkg01-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.pkg with opts "i"
                DBG(1)[7090]> Fetch: fetcher chosen: https
                DBG(1)[7090]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.txz
                DBG(1)[7090]> opening libfetch fetcher
                DBG(1)[7090]> Fetch > libfetch: connecting
                DBG(1)[7090]> Fetch: fetching from: https://pkg01-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.txz with opts "i"
                DBG(1)[7090]> Fetch: fetcher chosen: https
                pfSense-core repository is up to date.
                Updating pfSense repository catalogue...
                DBG(1)[7090]> PkgRepo: verifying update for pfSense
                DBG(1)[7090]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
                DBG(1)[7090]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/meta.conf
                DBG(1)[7090]> opening libfetch fetcher
                DBG(1)[7090]> Fetch > libfetch: connecting
                DBG(1)[7090]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/meta.conf with opts "i"
                DBG(1)[7090]> Fetch: fetcher chosen: https
                DBG(1)[7090]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.pkg
                DBG(1)[7090]> opening libfetch fetcher
                DBG(1)[7090]> Fetch > libfetch: connecting
                DBG(1)[7090]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.pkg with opts "i"
                DBG(1)[7090]> Fetch: fetcher chosen: https
                DBG(1)[7090]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.txz
                DBG(1)[7090]> opening libfetch fetcher
                DBG(1)[7090]> Fetch > libfetch: connecting
                DBG(1)[7090]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.txz with opts "i"
                DBG(1)[7090]> Fetch: fetcher chosen: https
                pfSense repository is up to date.
                All repositories are up to date.
                
                1 Reply Last reply Reply Quote 0
                • S
                  SprockTech @stephenw10
                  last edited by Aug 22, 2022, 3:56 PM

                  @stephenw10 I have a suspicion that this is could be a DNS issue. Does the GUI handle DNS lookups differently than when updating via the command line?

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Aug 22, 2022, 4:10 PM

                    No it doesn't.
                    Try pkg-static -d update instead. That's what the GUI actually runs. It should be identical but...

                    S 2 Replies Last reply Aug 22, 2022, 4:22 PM Reply Quote 0
                    • S
                      SprockTech @stephenw10
                      last edited by Aug 22, 2022, 4:22 PM

                      @stephenw10 Yes, identical output with that command. Are there logs that correspond with the update checking?

                      1 Reply Last reply Reply Quote 0
                      • S
                        SprockTech @stephenw10
                        last edited by SprockTech Aug 22, 2022, 4:59 PM Aug 22, 2022, 4:57 PM

                        @stephenw10 I've tried several things, still no luck.

                        • Removed an old OpenVPN S2S interface that I wasn't using
                        • Added IPv6 DNS servers under General Setup
                        • Removed pfBlockerNG

                        So far nothing has helped. Any other idea besides resetting to factory defaults?

                        FYI, I've got several VLANs and I'm using Avahi, Wireguard and Suricata.

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Aug 22, 2022, 6:10 PM

                          Are you able to see packages available in the Package Manager?

                          S 1 Reply Last reply Aug 22, 2022, 6:31 PM Reply Quote 0
                          • S
                            SprockTech @stephenw10
                            last edited by Aug 22, 2022, 6:31 PM

                            @stephenw10 Yes, I can see a full list of available packages. And even though this might make things more confusing, I will note that I actually saw a message like "your system is up to date" on the firmware update one time just now. I've tried refreshing the page multiple times after that and it goes back to saying "unable to check for updates". But refreshing the list of available packages loads every time.

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Aug 22, 2022, 9:36 PM

                              Hmm, odd.

                              I would probably try switching the update branch in System > Update. Wait a few minutes then switch it back again and recheck. That will force it reinstall the repo pkg.

                              Or do that manually using the command shown here:
                              https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors

                              S 1 Reply Last reply Aug 22, 2022, 10:02 PM Reply Quote 0
                              • S
                                SprockTech @stephenw10
                                last edited by Aug 22, 2022, 10:02 PM

                                @stephenw10 Thanks for the continued suggestions. Unfortunately the update branch switch trick didn't work. I got the DEV branch to give me a response once, but that's it. Every other time I tried switching I got nothing. Also, I ran the manual command from the link and rebooted, still no update status is showing in the GUI.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Aug 22, 2022, 10:17 PM

                                  Hmm, very odd. Well you could try one of the more drastic options further down on that trouble shooting doc.

                                  As a last resort you can always reinstall 22.05 clean and restore your config into it. Doing that is relatively quick if you already have console access. Open a ticket with us to get the image:
                                  https://www.netgate.com/tac-support-request

                                  Steve

                                  S 1 Reply Last reply Aug 22, 2022, 10:27 PM Reply Quote 0
                                  • S
                                    SprockTech @stephenw10
                                    last edited by Aug 22, 2022, 10:27 PM

                                    @stephenw10 Thanks. I can go through with the re-image. But before I do that I'd like to look at debug logs. Where should I look for logged information related to the update check?

                                    K 1 Reply Last reply Sep 17, 2022, 10:12 AM Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Aug 22, 2022, 10:36 PM

                                      The only thing that is stored regularly are two files in /conf. Those detail the last successful upgrade and the output of the last check. But I'd expect that to show as successful since it does at the CLI.

                                      Otherwise errors would be in the main system log or potentially in the DNS logs if it was failing to resolve something.

                                      Steve

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        kepak @SprockTech
                                        last edited by Sep 17, 2022, 10:12 AM

                                        @sprocktech @stephenw10 I don't reply cause I was waiting to have a opportunity for make fresh install and restore a backup. I have done this right now, and I didn't help. I have idea, if this could be DNS issue, maybe it's because I'm using Named package with custom config?

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          Diver 0
                                          last edited by Sep 17, 2022, 3:06 PM

                                          Hello,

                                          Novice user here.

                                          Orange square flashing.
                                          Netgate 6100
                                          Current Ver 22.05
                                          Internet is up.
                                          Previous updates leading up to 22.05 were successful.
                                          I did not diddle with anything afterwards.

                                          GUI:
                                          Rebooting System didn't help.

                                          Status ---> Dashboard --->
                                          Netgate Services and Support --->
                                          "Retrieving Support Information" is orange
                                          text, and is not retrieving.

                                          System ---> Update ---> Retrieving
                                          "Unable to check for updates"

                                          A website says I am supposed to use Package Manager.
                                          Accordingly,
                                          System ---> Package Manager ---> Available Packages
                                          it says,
                                          " * Unable to retrieve package information"

                                          Search engine search results tell me to
                                          "Update URL" at "System:Firmware:Settings"
                                          Unable to locate this menu option, or I
                                          need new eyeglasses.

                                          Upon console in

                                          Option 13 returned error
                                          "ERROR: It was not possible to identify which pfSense kernel is installed"

                                          I have no idea how to fix the above error.

                                          Tried, Option 8, then typed pkg -d update
                                          Error was returned
                                          "pkg: invalid url: /pfsense_plus-v22_05_amd64-core
                                          pkg: Cannot parse configuration file!"

                                          I did not try "pkg-static upgrade -f"
                                          and I did not try "pkg-static -d update"
                                          'cause I don't know if doing that will break things.

                                          Advice will be most highly appreciated.
                                          Thanks very much
                                          Jack

                                          bingo600B 1 Reply Last reply Sep 17, 2022, 3:12 PM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]