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

    ECL does not restore packages

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    10 Posts 3 Posters 991 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
      demux
      last edited by

      Hi!

      Full restore of a pfSense plus machine:

      We start with installing 2.7.0. At initial start we set up LAN to be DHCP and we upgrade to plus version what now reboots the machine...
      We let it finalize the upgrade. Then we reboot again and now we insert the USB stick with /config/config.xml (*)
      ECL grabs the config and restores config

      But packages do not get restored. /conf/needs_package_sync is missing.
      Docu states that package restore is only possible at first boot. So it may be normal.

      (1) Should packages be restored before going to plus version?
      (2) Or is it ok to touch /conf/needs_package_sync after upgrade when/before inserting USB with config.xml (like above *)?

      Tried (2) and everything seems to be ok. Is really everything ok if setting the flag afterwards?

      What is the first boot in this sequence? Is it while installing 2.7.0 or during upgrade?

      And another question here: Is there a way to disable ECL?
      It takes quite a long time at boot for ECL to check/mount the USB stick.

      Thanks!
      -demux

      1 Reply Last reply Reply Quote 0
      • provelsP
        provels
        last edited by

        In my experience, the base install should just be configured enough to get it online, then be upgraded to Plus.
        When that is done, you can reinstall your previous Plus backup and packages should be installed.

        Can't help with ECL. I use a backup held on a network PC.

        Peder

        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

        D 1 Reply Last reply Reply Quote 0
        • D
          demux @provels
          last edited by

          @provels
          Yes, as decribed above.

          But how does ECL fit in there?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            So you're seeing this in 23.05.1 and not at the first boot after upgrading?

            D 1 Reply Last reply Reply Quote 0
            • D
              demux @stephenw10
              last edited by

              @stephenw10
              Could you please clearify your question.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                You are upgrading from 2.7 to 23.05.1?

                You then reboot into 23.05.1 and then reboot again in order to pull in the config from USB?

                D 1 Reply Last reply Reply Quote 0
                • D
                  demux @stephenw10
                  last edited by demux

                  @stephenw10
                  yes, 2.7 to 23.5.1

                  install 2.7
                  (1st boot) start/boot into network setup, set lan to dhcp
                  enter gui and start upgrade to plus
                  (2nd boot) auto-reboot by upgrade
                  let machine come up again
                  (3rd boot) now insert usb stick and reboot
                  -- here I expect ECL to run and install the packages

                  the (3rd boot) is the first boot in 23.5.1 (except 23.5.1 install/upgrade boot)
                  so, what is the first boot in that scenario?
                  where do we have to insert the usb stick to get the packages installed?
                  and is it ok to set the file flag for package installation by hand as we did? it seems to have worked.

                  config is ok, it is about missing package installation only.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Yes you can set the flag manually, I wouldn't expect any issues there. But I also wouldn't expect to have to. Let me try to replicate....

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Ok, I see what you're saying here. I initially tested this by resetting the config and then restoring it but that sets the package sync flag hiding the issue.

                      It seems that was a specific decision though: https://redmine.pfsense.org/issues/7914

                      Let me see....

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Opened a bug to track it: https://redmine.pfsense.org/issues/14921

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