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

Error when upgrading to version 2.7

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
20 Posts 2 Posters 2.2k Views 2 Watching
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.
  • C Offline
    cairoapcampos @stephenw10
    last edited by Oct 16, 2023, 2:42 PM

    @stephenw10 said in Error when upgrading to version 2.7:

    Mmm, OK. Try: pkg-static -d update

    Command output: pkg-static -d update

    Tela.png

    Should I run the pfSense-upgrade command now?

    1 Reply Last reply Reply Quote 0
    • S Online
      stephenw10 Netgate Administrator
      last edited by Oct 16, 2023, 2:52 PM

      Yes try: pfSense-upgrade -d

      C 1 Reply Last reply Oct 16, 2023, 3:21 PM Reply Quote 0
      • C Offline
        cairoapcampos @stephenw10
        last edited by Oct 16, 2023, 3:21 PM

        @stephenw10 said in Error when upgrading to version 2.7:

        Yes try: pfSense-upgrade -d

        When executing the above command the problem returned:

        tela4.png

        1 Reply Last reply Reply Quote 0
        • S Online
          stephenw10 Netgate Administrator
          last edited by Oct 16, 2023, 3:55 PM

          Ok try: ls /var/cache/pkg/pkg*

          If it shows you have a cached version of pkg-1.17.5_4.pkg then try:
          pkg-static install -Uf /var/cache/pkg/pkg-1.17.5_4.pkg

          Then try upgrading again.

          C 1 Reply Last reply Oct 17, 2023, 8:23 PM Reply Quote 0
          • C Offline
            cairoapcampos @stephenw10
            last edited by Oct 17, 2023, 8:23 PM

            @stephenw10

            The versions shown are as follows:

            tela8.png

            Should I use some of these versions, instead of the pkg-1.17.5_4.pkg version?

            1 Reply Last reply Reply Quote 0
            • S Online
              stephenw10 Netgate Administrator
              last edited by Oct 17, 2023, 8:35 PM

              Yes try: pkg-static install -Uf /var/cache/pkg/pkg-1.17.5_3.pkg

              C 1 Reply Last reply Oct 17, 2023, 8:47 PM Reply Quote 0
              • C Offline
                cairoapcampos @stephenw10
                last edited by Oct 17, 2023, 8:47 PM

                @stephenw10

                Package update screens:

                tela10.png

                tela11.png

                tela12.png

                Should I really remove the "pkg.conf" file before running the pfSense-upgrade -d command?

                1 Reply Last reply Reply Quote 0
                • S Online
                  stephenw10 Netgate Administrator
                  last edited by Oct 17, 2023, 8:52 PM

                  Nope just try upgrading from there.

                  Though it's interesting that now it was able to see the updated 1.19.1_2 version of package anyway. It will probably just upgrade to that again first, which is correct.

                  C 1 Reply Last reply Oct 17, 2023, 9:13 PM Reply Quote 0
                  • C Offline
                    cairoapcampos @stephenw10
                    last edited by cairoapcampos Oct 17, 2023, 9:15 PM Oct 17, 2023, 9:13 PM

                    @stephenw10

                    I tried updating using version "pkg-1.17.5_3.pkg" but it didn't work:

                    tela15.png

                    Later I checked the downloaded packages, installed the 1.19.1_2 package and tried to update, but it didn't work either:

                    tela16.png

                    tela17.png

                    tela18.png

                    tela19.png

                    tela20.png

                    1 Reply Last reply Reply Quote 0
                    • S Online
                      stephenw10 Netgate Administrator
                      last edited by Oct 17, 2023, 9:25 PM

                      Hmm. pkg -d update still succeeds?

                      And pfSense-repoc fails?

                      C 1 Reply Last reply Oct 17, 2023, 9:30 PM Reply Quote 0
                      • C Offline
                        cairoapcampos @stephenw10
                        last edited by cairoapcampos Oct 17, 2023, 10:02 PM Oct 17, 2023, 9:30 PM

                        @stephenw10

                        Still using version 1.19.1_2 of the package I have the following outputs:

                        tela21.png

                        tela22.png

                        I will restore the PfSense snapshot. It is a VM. Can we do another test?

                        Even changing to the snapshot does not update to version 2.7. However, we can start a new attempt without any previous tests.

                        1 Reply Last reply Reply Quote 0
                        • S Online
                          stephenw10 Netgate Administrator
                          last edited by Oct 17, 2023, 11:30 PM

                          Ah sorry try: pkg-static -d update and pfSense-repoc-static

                          C 1 Reply Last reply Oct 18, 2023, 9:16 PM Reply Quote 0
                          • C Offline
                            cairoapcampos @stephenw10
                            last edited by cairoapcampos Oct 18, 2023, 9:17 PM Oct 18, 2023, 9:16 PM

                            @stephenw10

                            I reinstalled the pkg- 1.19.1_2.pkg package.

                            I executed the following commands, but one of them failed.

                            tela25.png

                            tela26.png

                            1 Reply Last reply Reply Quote 0
                            • S Online
                              stephenw10 Netgate Administrator
                              last edited by Oct 18, 2023, 9:33 PM

                              Hmm, I assume pfSense-upgrade still fails the same way?

                              At this point I think I would just reinstall 2.7 clean to be sure.

                              C 1 Reply Last reply Oct 18, 2023, 9:42 PM Reply Quote 0
                              • C Offline
                                cairoapcampos @stephenw10
                                last edited by Oct 18, 2023, 9:42 PM

                                @stephenw10 said in Error when upgrading to version 2.7:

                                NETGATE
                                ADMINISTRATOR
                                8 minutes ago

                                Hmm, I assume pfSense-upgrade still fails the same way?

                                At this point I think I would just reinstall 2.7 clean to be sure.

                                Is it possible to backup all of pfSense (firewall rules, OpenVPN settings, etc?) and then restore to a clean install of pfSense 2.7?

                                1 Reply Last reply Reply Quote 0
                                • S Online
                                  stephenw10 Netgate Administrator
                                  last edited by Oct 18, 2023, 9:46 PM

                                  Yes, just download the config from Diag > Backup/Restore then restore it into 2.7.

                                  1 Reply Last reply Reply Quote 0
                                  20 out of 20
                                  • First post
                                    20/20
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                    This community forum collects and processes your personal information.
                                    consent.not_received