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

    Upgrade from 2.4.5 to 2.6 failed: Is remote re-install possible?

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    6 Posts 3 Posters 973 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.
    • D
      DANgerous25
      last edited by

      Shorter question:

      Is it possible to do a re-install remotely? I have physical access to the device, so can use a USB drive, but I can't get a screen/keyboard to it. I presume that I could use recovery.xml if I could somehow boot it through the install process non-interactively?

      Background problem:

      I've attempted to upgrade from 2.4.5 to 2.6 using the web console. The process fails after fetching all the packages with this error message.

      ...
      [216/216] Fetching libuv-1.42.0.pkg: 100%  117 KiB 119.7kB/s    00:01
      Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 386.
      Child process pid=81834 terminated abnormally: Abort trap
      

      I have the exact same problems as the person in this post. That person did a re-install to get around the error above, plus the additional error:

      [2.4.5-RELEASE][myuser@mydomain]/root: pkg check -s -a
      Shared object "libarchive.so.7" not found, required by "pkg"
      

      I didn't find a successful way to solve either problem, other than a clean re-install. However every other re-install case I found wasn't a remote one.

      Thanks in advance for your help.

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

        @dangerous25
        I have not heard about a non-interactive install , as the disklayout has to be specified interctively.

        What i have done is to use the "serial install image" , and have a "remote user" setup a "Teamviewer pc w. WiFi & USB->RS232 converter" on a "Mobile Data (Phone as Wifi hotspot) " connection , and then install that way.
        Teamviewer to Remote PC , Putty on Remote PC to pfSense Comport (Null modem cable).

        The PC should be able to "default" boot from the USB media (pfSense Stick), in order for this to succeed.

        My Qotoms can reroute Bios output to comport ..
        So i can even set USB Boot in Bios via Comport.

        But if it's set to Boot first from USB (then hdd) , then you wouldn't need the remote bios access.

        Ps: Some of the pfSense Boot "Character graphics" is a bit garbled , and some thing is written twice (echo on) , but none of the important stuff is garbled ......

        I used Putty VT100 emul , not ANSI , else i had keybord arrow issues.

        /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

        D 1 Reply Last reply Reply Quote 1
        • D
          DANgerous25 @bingo600
          last edited by DANgerous25

          @bingo600 thank you for the suggestion, seems like a smart approach. I don't have a remote PC or null modem cable so this wouldn't work for me [without some significant effort]. Unless I've really misunderstood what you are suggesting -> are you suggesting this can all be done virtually without cables?

          Cool_CoronaC 1 Reply Last reply Reply Quote 0
          • Cool_CoronaC
            Cool_Corona @DANgerous25
            last edited by

            @dangerous25 If you run it virtual, use the VM Console to install and recover via your config backup.

            D 1 Reply Last reply Reply Quote 0
            • D
              DANgerous25 @Cool_Corona
              last edited by

              @cool_corona it's physical in this case, in a cabinet that I can access but there's no screen (or no portable screen) that I can use.

              1 Reply Last reply Reply Quote 0
              • D
                DANgerous25
                last edited by

                I didn't manage to solve the upgrade issue, but I did manage to get to the device with a small portable screen and keyboard. So in the end, I did a clean install (using the existing config.xml to restore) and upgraded that way.

                With a screen, keyboard and 2.6-loaded thumb drive, the install was a piece of cake.

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