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

    Recurring Crash after upgrade to latest pfSense version.

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 4 Posters 1.8k 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.
    • GertjanG
      Gertjan @tribina
      last edited by

      @tribina

      This :

      #0 /etc/inc/notices.inc(101): fopen('', 'w')
      

      has an empty string = '' : this means a file needed to be opened, without a file name.

      So error is clear enough :

      [15-Aug-2023 21:34:00 America/Chicago] PHP Fatal error:  Uncaught ValueError: Path cannot be empty in /etc/inc/notices.inc:101
      

      Don't look any further. Re install.

      If your not using ZFS as a file system : Goto Youtube, visit the Netgate channel, and have a look at the 'repair the file system' video.
      Execute a file system repair.
      If this was the issue : take a post-it, write on it "Never remove the power without proper shutdown", and stick it on your pfSense.
      Or get an UPS ;)
      ( or do both )

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

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

        Mmm, it's trying to open a file and failing. And by the looks of that other error it's somehow trying to use an invalid file type (or none).

        Is there anything specific that triggers it?

        1 Reply Last reply Reply Quote 0
        • lindheL
          lindhe
          last edited by

          I just got this exact error after an abrupt reboot! May the latest version of pfSense have a bug that makes it more sensitive to this?

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

            What error did you see exactly? Anything else logged?

            lindheL 1 Reply Last reply Reply Quote 0
            • lindheL
              lindhe @stephenw10
              last edited by

              This is what I get in the console:

              console

              Most of the menu options does not work. If I, for example, press 4+Enter for factory reset or 5+Enter to reboot, it just reloads the console with the same error (no reboot or anything). The only option I found to be working is 8 (Shell).

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

                Are you able to access the GUI? Is there a crash report shown?

                That sort of error at the console usually means an incomplete upgrade though. You can probably still drop to the shell there. Try running at the command line: pkg-static update

                If that returns without error try: pkg-static upgrade and see if it offers you any upgrades for packages. You can usually accept them to complete the upgrade.

                However make sure you have a config backup because you may need to reinstall.

                Steve

                lindheL 1 Reply Last reply Reply Quote 1
                • lindheL
                  lindhe @stephenw10
                  last edited by

                  Are you able to access the GUI? Is there a crash report shown?

                  No, I don't even get an IP so I cannot access the GUI. I am pretty sure I tried with DHCP and static on different interfaces yesterday, and neither let me get an IP and browse the GUI.

                  I can probably access logs in /var/log, I'll try to look there.

                  That sort of error at the console usually means an incomplete upgrade though.

                  I have not performed an update very recently. I upgraded about a month ago, and since then then router has been working fine. Yesterday I rebooted multiple times and it went fine. Then I went into the GUI and edited a firewall rule. Saved it and then pulled the plug. Then I got to this state.

                  Try running at the command line: pkg-static update

                  Thank you so much for the suggestion! I'll try that as soon as I'm home from work!

                  I have a complete backup file on disk from fairly recently, so it is alright if it comes down to reinstalling.

                  lindheL 1 Reply Last reply Reply Quote 0
                  • lindheL
                    lindhe @lindhe
                    last edited by

                    This is what I got running the command:

                    photo_2024-01-31_21-18-23.jpg

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

                      Well I'd probably just reinstall but you could try: pkg-static -d upgrade to get more info on the error.

                      lindheL 1 Reply Last reply Reply Quote 0
                      • lindheL
                        lindhe @stephenw10
                        last edited by

                        Thanks. I reinstalled yesterday evening. Seems to be booting fine now after the fresh installation. Just have to restore the backup and I'm good.

                        Thank you so much for the input though!

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