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

External Configuration Locator (ECL) not working in /config

Problems Installing or Upgrading pfSense Software
2
3
601
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.
  • M
    micro8765
    last edited by Oct 25, 2018, 2:24 AM

    I have just recovered pfsense to new hardware using the 'External Configuration Location (ECL)' method, as documented here:

    https://www.netgate.com/docs/pfsense/backup/automatically-restore-during-install.html

    The documentation claims that the process will work if config.xml is located in either the root folder of the USB (/config.xml) or in a folder named config (/config/config.xml).

    In practice, I found it only to work from the root folder. Placing the file in /config/config.xml resulted in the installed config file not being replaced by the USB config file.

    If others experience the same, I think the link above should be updated to reflect that config.xml must be placed in the root folder. This is especially vital in an emergency recovery situation when time is short and trial & error not an option.

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Oct 25, 2018, 6:16 PM

      Looks like it might be a bug

      https://github.com/pfsense/pfsense/blob/master/src/etc/ecl.php#L59

      It's trying to check /config but the way the path is formed, it should have a trailing slash when it's defined.

      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
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Oct 25, 2018, 6:30 PM

        https://redmine.pfsense.org/issues/9066

        Just pushed a fix. Should be simple to make the same change locally and see if it works for you.

        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
        2 out of 3
        • First post
          2/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.