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

    [RESOLVED] 2.2.6 to 2.3 beta upgrade full install package issues

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    21 Posts 3 Posters 6.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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      try this:

      pkg install -f pfSense-kernel-pfSense
      

      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
      • X
        xbipin
        last edited by

        after that even option 13 gives

        Enter an option: 13
        
        >>> 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.
        return: Illegal number: -1
        Your packages are up to date
        
        
        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          You would be up-to-date until a new snap comes out โ€“ the pkg install commands would have pulled the latest from the repo. Give it a bit until a new update comes out and then see what happens.

          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
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Tried this locally, breaking the pkg db intentionally, and this got things going again:

            
            /bin/mkdir -p /var/db/pkg/ /root/var/db/pkg/
            /usr/sbin/pkg update -f
            /usr/sbin/pkg install -yf pkg pfSense pfSense-kernel-pfSense
            sort -u /usr/local/etc/php/extensions.ini > /tmp/extensions.ini
            mv /tmp/extensions.ini /usr/local/etc/php/extensions.ini
            
            

            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
            • X
              xbipin
              last edited by

              i tried today option 13 and it did update the system so seems fine now but saving in squid causes the page to timeout. i tried clearing squid cache, reinstalling but its same still, what could be wrong, no errors come up in log even

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

                even after updating to latest snap the dashboard says this

                2.3-BETA (i386)
                built on Tue Mar 01 05:40:01 CST 2016
                FreeBSD 10.3-BETA3
                

                also when i try to install pfsense-kernel-pfsense pkg i keep getting this, the first time it installed but now it says the below

                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.
                pkg: No packages available to install matching 'pfSense-kernel-pfSense' have been found in the repositories
                
                
                1 Reply Last reply Reply Quote 0
                • X
                  xbipin
                  last edited by

                  any snap update still doesnt increment the build on date so no idea if its even updating, but in summary i think upgrades from 2.2.6 to 2.3 with packages installed would be deadly, other than packages the system updates just fine.

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

                    just an addition to this, the dashboard wasnt showing proper build dates and some of the GUI components were not updating, i even did a gitsync, the thing that resolved all that was by using the below modified commands given by jimp, use this if u messed up the pkg db or deleted the db during upgrade from 2.2.6 to 2.3 on a full install, hope it helps others

                    /bin/mkdir -p /var/db/pkg/ /root/var/db/pkg/
                    /usr/sbin/pkg update -f
                    /usr/sbin/pkg install -yf pkg pfSense pfSense-kernel-pfSense pfSense-base pfSense-default-config
                    sort -u /usr/local/etc/php/extensions.ini > /tmp/extensions.ini
                    mv /tmp/extensions.ini /usr/local/etc/php/extensions.ini
                    

                    this even gets rid of the below message during option 13 from console

                    return: Illegal number: -1
                    

                    it even fixes GUI update saying cant retrieve system version

                    1 Reply Last reply Reply Quote 0
                    • P
                      papadeeh
                      last edited by

                      For me, the above fixes the ability to update through option 13.
                      The webgui still says that it is not able to check for updates and the build information shows "built on Tue Mar 01 23:43:51 CST 2016" allthough it did update.
                      The problems for me started when I enabled the ramdrives, so no update from an older version.

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

                        there is a redmine related to ramdisk so no idea if the above would solve that, installing the pfsense-base package solved the GUI not showing updates for me.
                        u can run the above commands again and see if it solves for u, it wont harm the system but if something is broken it might fix it

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