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

    2.4.4-p3 restore - libreadline crash (on every reboot)

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    11 Posts 3 Posters 811 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.
    • RicoR
      Rico LAYER 8 Rebel Alliance
      last edited by

      A clean install should always be the latest and greatest pfSense version, you are running into problems with installing Packages on old versions.

      -Rico

      1 Reply Last reply Reply Quote 0
      • bingo600B
        bingo600
        last edited by bingo600

        I was simulating a 2.4.4-p3 restore.
        If i had a crash on one of those i still haven't upgraded.

        That would be sensible to support , at least for the previous version.

        If i had chosen a 2.4.5-p1 , could i use the 2.4.4-p3 config without running into trouble ?

        Else i can see a serious issue here.

        Could i reinstall the packages ?
        Or somehow restore the older config wo. packages ?

        /Bingo

        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

        pfSense+ 23.05.1 (ZFS)

        QOTOM-Q355G4 Quad Lan.
        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

        1 Reply Last reply Reply Quote 0
        • bingo600B
          bingo600
          last edited by bingo600

          Could i have edited the XML config to point at the previous 2.4.4 package repos ?

          System --> Update --> Branch

          Shouldn't it already be on that one when i'm running 2.4.4-p3 ?

          I'm open for suggestions , to be able to restore a system , when all i have is a 2.4.4-p3 config backup.

          Going directly to "Latest" is ok by me, if "latest" will take the "older" config

          Or even (cumbersome) after restore having to delete all packages , point it at the "previous branch" , and reinstall the packages.

          /Bingo

          If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

          pfSense+ 23.05.1 (ZFS)

          QOTOM-Q355G4 Quad Lan.
          CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
          LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

          1 Reply Last reply Reply Quote 0
          • bingo600B
            bingo600
            last edited by

            I need to be able to restore a 2.4.4-p3 system that i haven't upgraded to the "latest" yet.

            I'm waiting for spare disks, to ship out to my remote sites.
            Before i can upgrade those to "latest".

            I hope i can get a tech user to swap an existing 2.4.4-p3 ssd with a 2.4.5-p1 ssd on the remote site.

            And that i'm not BITTEN by UEFI/Secure boot, if doing that.

            Next i'm going to ship "Cold standby" machines to my two most critical sites.

            /Bingo

            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

            1 Reply Last reply Reply Quote 0
            • bingo600B
              bingo600
              last edited by

              Can i use (restore) a 2.4.4-p3 config , if installing a 2.4.5-p1 image ?

              That would solve the above issue

              /Bingo

              If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

              pfSense+ 23.05.1 (ZFS)

              QOTOM-Q355G4 Quad Lan.
              CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
              LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

              1 Reply Last reply Reply Quote 0
              • RicoR
                Rico LAYER 8 Rebel Alliance
                last edited by Rico

                Sure, you can always restore an old config to the latest version.

                -Rico

                1 Reply Last reply Reply Quote 0
                • bingo600B
                  bingo600
                  last edited by bingo600

                  @Rico
                  Thank you for that usefull info.

                  I tried the "force 2.4.4 repos" trick by editing the config file directly (still using 2.4.4-p3 image)

                  -		<pkg_repo_conf_path>/usr/local/share/pfSense/pkg/repos/pfSense-repo.conf</pkg_repo_conf_path>
                  +		<pkg_repo_conf_path>/usr/local/share/pfSense/pkg/repos/pfSense-repo-244.conf</pkg_repo_conf_path>
                  

                  Works partially, as in no crashes , but all packages are gone.
                  And i cant locate any pachages in the repos , besides it can't see the new 2.4.5-p1 update.

                  My def-gw + dns was FSCK'ed up (Not Pfsense issue)

                  Now i see packages

                  Will toy a bit more ...

                  But in the end i'll prob. just install the 2.4.5-p1 , and restore my 2.4.4-p3 config , as you told me would work šŸ‘

                  /Bingo

                  If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                  pfSense+ 23.05.1 (ZFS)

                  QOTOM-Q355G4 Quad Lan.
                  CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                  LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                  1 Reply Last reply Reply Quote 0
                  • bingo600B
                    bingo600
                    last edited by

                    Well the pfSsense Restore util , strips away the -244 repos modificaton above , so still crash if doing that.

                    Ugly workaround on restore:
                    Disconnect WAN , and wait a looooong time for the package installer to timeout & give up.

                    Switch to 2.4.4 (Deprecated) under System --> Update

                    Reboot , Insert Wan, and install the missing packages manually.
                    When wan becomes available, the package manager should have updated packages from the 2.4.4 repos.
                    Seems like the config for uhe missing packages (for the few i have) is retained.

                    I did that during a test , and the installed 2.4.4-p3 w. manually installed packages , updated to 2.4.5-p1 flawlessly.

                    Suggested :
                    Do as Rico says , and install 2.4.5-p1 , and restore the 2.4.3-p3 config.

                    Todo (test):
                    Do as Rico says , and install 2.4.5-p1 , and restore the 2.4.3-p3 config.

                    Might be on monday.

                    If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                    pfSense+ 23.05.1 (ZFS)

                    QOTOM-Q355G4 Quad Lan.
                    CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                    LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                    1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan
                      last edited by Gertjan

                      @bingo600 said in 2.4.4-p3 restore - libreadline crash (on every reboot):

                      5: Restore Config backup from 1:

                      Check this : Netgate > Blog > pfSense 2.4.5-RELEASE-p1 Now Available :

                      See under "Upgrade Notes".

                      Do not update packages before upgrading pfSense! Either remove all packages or do not update packages before running the upgrade.

                      The words "do not" are not optional. They are mandatory.

                      This means that, even if you have a 2.4.4-old somewhere on USB on as your "go back if the new version doesn't meet your needs" plan B, you can not use the backed up config file, as it will install the latest packages.

                      Re installing 2.4.4-old and importing the (any !) config file will auto install packages : chances are good that you will break things.

                      To be more precise : package written by the Netgate authors will probably work just fine.
                      But packages written by me, you and everybody else : they works with the latest pfSense version, this the latest Perl version, C lib versions, etc .

                      To keep a workable 2.4.4-old vesrion, you should :
                      First : backup your config.
                      Then :
                      Image the disk.
                      Or,
                      Swap the drive for another disk.

                      This way you can go back without issues.

                      Another option would be :
                      Before importing the backed up config file, remove the list with installed packages. it's a simple XML file after all.

                      I guess one could say that, if you want to use packages you have to use the latest pfSense version.
                      If a new pfSense version comes out, you freeze all package updates (they still work - that is, if that was not the reasons for some update.
                      First, upgrade pfSense,
                      Then you continue to update packages as they are released.

                      Btw : I'm writing this as 'just another pfSense user'. I might be wrong / not explaining things 100 % correct.

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

                      1 Reply Last reply Reply Quote 0
                      • bingo600B
                        bingo600
                        last edited by bingo600

                        @Gertjan

                        This was a purely academic excercise (for now).

                        What i would like to see is a "Tick box" on the "Restore" page , that says : Strip (exclude install of) packages, from the restored config.

                        Not the package config , just the physical package entry in the xml.

                        That would IMHO solve a lot of trouble, and especially now. Since Netgate already have given the possibility to to use the previous repos (2.4.4 Deprecated).

                        But you are right , as I'm getting the hang of the xml file , i could just strip the physical package section my self.

                        But a tickbox would be much more elegant.

                        /Bingo

                        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                        pfSense+ 23.05.1 (ZFS)

                        QOTOM-Q355G4 Quad Lan.
                        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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