Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    -sh: /etc/rc.initial: not found

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    11 Posts 3 Posters 4.0k Views 3 Watching
    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.
    • H Offline
      hack3rcon
      last edited by

      Hello,
      I tried to upgrade pfSense 2.7. I did:

      pfSense-upgrade
      

      After rebooting the system, I received the following error:

      Screenshot at 2026-05-17 14-20-54.png

      Any idea to solve it?

      Thank you.

      patient0P 1 Reply Last reply Reply Quote 0
      • patient0P Offline
        patient0 @hack3rcon
        last edited by

        @hack3rcon I don't think that this the way to upgrade, at least I have not heard of that.

        You either do it via the WebGUI 'System / Upgrade' or connected to the console, in the console menu, point '13) Update from console'.

        You probably have to reinstall, have you a backup of the pfSense config?

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          hack3rcon @patient0
          last edited by

          Hello @patient0,
          I did it via shell.

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

            You should be be able manually like that. It's the same upgrade process that is invoked by menu option 13 or the GUI.

            What version were you upgrading from and to?

            Did you see any errors during the upgrade?

            The quickest way to recover is probably to reinstall. If you have a config backup it's trivial. If not you can almost certainly recover the config during the install.

            H 1 Reply Last reply Reply Quote 1
            • H Offline
              hack3rcon @stephenw10
              last edited by

              Hello @stephenw10,
              I had pfSense 2.7.0 and I just executed that command. My VM rebooted and I got that error.

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

                What happens if you run it again? Does it see an update still? Do you know what version it was offering initially?

                H 1 Reply Last reply Reply Quote 0
                • H Offline
                  hack3rcon @stephenw10
                  last edited by

                  Hello @stephenw10,
                  When I reboot my VM, I got that screen.

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

                    So you can't reach the command line?

                    Can you roll back the VM to an earlier snapshot and just run the upgrade again?

                    H 1 Reply Last reply Reply Quote 0
                    • H Offline
                      hack3rcon @stephenw10
                      last edited by

                      @stephenw10 Not really. I copied my configuration during the new installation and install pfSense again.

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

                        Oh so you're back up and running on 2.8.1?

                        H 1 Reply Last reply Reply Quote 0
                        • H Offline
                          hack3rcon @stephenw10
                          last edited by

                          @stephenw10 Yes.

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post
                          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                          Privacy Policy · Cookie Policy