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

    Autoconfig Backup Device Key

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 3 Posters 566 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.
    • B
      bhjitsense
      last edited by

      I had an issue with my XG-7100 being unable to update. During troubleshooting, I rebooted the firewall. Then I was unable to access the GUI. See post related to updates here if curious.. Now, I obviously need to get my GUI access restored. When restarting the GUI from console, I get this error;

      rc.restart_webgui: The command '/usr/local/sbin/nginx -c /var/etc/nginx-webConfigurator.conf' returned exit code '127', the output was 'sh: /usr/local/sbin/nginx: not found
      

      So I think I need to blow it away and reimage the firewall. My question is, when I restore my AutoConfig Backup to the firewall, will the device key already be inserted? Or do I need to actually know my device key? Is there a way to view it in the console since my GUI won't function?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The key is calculated based on the SSH key on the device at the time. So if you reinstall, that key will change. You will need to know the current key to restore to a future/different system.

        The SSH key is not stored in config.xml, so that would not be altered by restoring a backup.

        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
        • S
          serbus
          last edited by

          Hello!

          This might be an option if you can grab the current config.xml :

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

          John

          Lex parsimoniae

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