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

Crash Errors (think it is the API)

Scheduled Pinned Locked Moved General pfSense Questions
15 Posts 3 Posters 570 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.
  • J
    JonBigTelly
    last edited by Jan 20, 2025, 5:58 PM

    Hi,
    Any ideas what the problem is here please ? Router is remote so don't really want to chance rebooting unless necessary.
    Crash report begins. Anonymous machine information:

    amd64
    15.0-CURRENT
    FreeBSD 15.0-CURRENT #0 plus-RELENG_24_11-n256407-1bbb3194162: Fri Nov 22 05:08:46 UTC 2024 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-24_11-main/obj/amd64/AKWlAIiM/var/jenkins/workspace/pfSense-Plus-snapshots-24_11-main/sources/FreeBS

    Crash report details:

    PHP Errors:
    [20-Jan-2025 14:53:02 Etc/UTC] PHP Fatal error: Uncaught Error: Failed opening required 'RESTAPI/Forms/SystemRESTAPISettingsForm.inc' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /usr/local/www/system_restapi_settings.php:2
    Stack trace:
    #0 {main}
    thrown in /usr/local/www/system_restapi_settings.php on line 2
    [20-Jan-2025 14:54:17 Etc/UTC] PHP Fatal error: Uncaught Error: Failed opening required 'RESTAPI/Forms/SystemRESTAPISettingsForm.inc' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /usr/local/www/system_restapi_settings.php:2
    Stack trace:
    #0 {main}
    thrown in /usr/local/www/system_restapi_settings.php on line 2
    [20-Jan-2025 15:13:23 Etc/UTC] PHP Fatal error: Uncaught Error: Failed opening required 'RESTAPI/Forms/SystemRESTAPISettingsForm.inc' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /usr/local/www/system_restapi_settings.php:2
    Stack trace:
    #0 {main}
    thrown in /usr/local/www/system_restapi_settings.php on line 2
    [20-Jan-2025 16:52:36 Etc/UTC] PHP Fatal error: Uncaught Error: Failed opening required 'RESTAPI/Forms/SystemRESTAPISettingsForm.inc' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /usr/local/www/system_restapi_settings.php:2
    Stack trace:
    #0 {main}
    thrown in /usr/local/www/system_restapi_settings.php on line 2
    [20-Jan-2025 17:45:43 Etc/UTC] PHP Fatal error: Uncaught Error: Failed opening required 'RESTAPI/Forms/SystemRESTAPISettingsForm.inc' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /usr/local/www/system_restapi_settings.php:2
    Stack trace:
    #0 {main}
    thrown in /usr/local/www/system_restapi_settings.php on line 2
    [20-Jan-2025 17:47:19 Etc/UTC] PHP Fatal error: Uncaught Error: Failed opening required 'RESTAPI/Forms/SystemRESTAPISettingsForm.inc' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /usr/local/www/system_restapi_settings.php:2
    Stack trace:
    #0 {main}
    thrown in /usr/local/www/system_restapi_settings.php on line 2
    [20-Jan-2025 17:47:21 Etc/UTC] PHP Fatal error: Uncaught Error: Failed opening required 'RESTAPI/Forms/SystemRESTAPISettingsForm.inc' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /usr/local/www/system_restapi_settings.php:2
    Stack trace:
    #0 {main}
    thrown in /usr/local/www/system_restapi_settings.php on line 2

    No FreeBSD crash data found.

    Cheers for any help Jon

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Jan 20, 2025, 6:21 PM

      Hmm, I assume you have enabled MIM?

      And have a captive portal configured?

      Were you using that page via the MIM new gui?

      J 1 Reply Last reply Jan 20, 2025, 6:43 PM Reply Quote 0
      • J
        JonBigTelly @stephenw10
        last edited by JonBigTelly Jan 20, 2025, 6:45 PM Jan 20, 2025, 6:43 PM

        @stephenw10 I did indeed have MIM enabled as have 3 x instances.
        I am opening the GUI via IP address not the MIM but have just disabled MIM anyway and same issue.
        No Captive portal enabled.

        Regards Jon

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Jan 20, 2025, 6:49 PM

          Just trying to access the device? Do you have the captive portal widget on the dashboard?

          J 1 Reply Last reply Jan 20, 2025, 6:56 PM Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Jan 20, 2025, 6:54 PM

            Ah, wait do you have a 3rd party API installed? usr/local/www/system_restapi_settings.php is not an expected file.

            J 1 Reply Last reply Jan 20, 2025, 6:59 PM Reply Quote 0
            • J
              JonBigTelly @stephenw10
              last edited by Jan 20, 2025, 6:56 PM

              @stephenw10

              No do not have the widget on the Dash either.

              I get this message when I load the Dashboard

              Netgate pfSense Plus has detected a crash report or programming bug. Click here for more information.

              If I go to REST API I get a 50x Error

              The web server encountered an error processing this request.

              Check the Crash Reporter for details.

              and a link to return to dashboard

              1 Reply Last reply Reply Quote 0
              • J
                JonBigTelly @stephenw10
                last edited by Jan 20, 2025, 6:59 PM

                @stephenw10 Just this one which I thought was supported

                https://pfrest.org/INSTALL_AND_CONFIG/

                It was all working then I updated to 24.11 (to use MIM) and lots of issues

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Jan 20, 2025, 7:02 PM

                  Ah, OK. No that is not supported. The introduction of our own API in 24.11 seems to have broken it significantly.

                  J 1 Reply Last reply Jan 20, 2025, 7:04 PM Reply Quote 0
                  • J
                    JonBigTelly @stephenw10
                    last edited by Jan 20, 2025, 7:04 PM

                    @stephenw10 Makes sense , any idea how I go about deleting it please ?

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Jan 20, 2025, 7:13 PM

                      The pfrest pkg? I've never used it. Does it show as an installed package in pkg info?

                      Can you roll back to a 24.03 ZFS BE, uninstall it there and then upgrade again?

                      J 1 Reply Last reply Jan 20, 2025, 7:17 PM Reply Quote 0
                      • J
                        JonBigTelly @stephenw10
                        last edited by JonBigTelly Jan 20, 2025, 7:18 PM Jan 20, 2025, 7:17 PM

                        @stephenw10 It does not show as installed, I have removed it from the other 2 instances to avoid issues. When I use the command to uninstall on the problem 6100 it says not installed so maybe it just got corrupted.
                        I know not supported but any clever ideas please ?

                        Am in Dubai will have to wait until in UK to rollback in case of issues.

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Jan 20, 2025, 7:29 PM

                          Well if you upgraded recently and are running ZFS you should be able to just reboot back into 24.03 and go from there.

                          Otherwise if it doesn't show as an installed package you would have to manually remove the files and any settings the pkg install left behind. And that's very hard to recommend!

                          J 1 Reply Last reply Jan 20, 2025, 7:35 PM Reply Quote 0
                          • J
                            JonBigTelly @stephenw10
                            last edited by Jan 20, 2025, 7:35 PM

                            @stephenw10 OK will see what I can do thx for help

                            M 1 Reply Last reply Jan 24, 2025, 5:56 PM Reply Quote 0
                            • M
                              mdwoolweaver @JonBigTelly
                              last edited by mdwoolweaver Jan 24, 2025, 6:32 PM Jan 24, 2025, 5:56 PM

                              @JonBigTelly noticed this thread showed up in a github issue and figured i would link to what was mentioned as the fix

                              1 Reply Last reply Reply Quote 1
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Jan 24, 2025, 6:35 PM

                                Hmm, I not aware of any blacklisting there. Could be co-incidental I guess.

                                1 Reply Last reply Reply Quote 0
                                15 out of 15
                                • First post
                                  15/15
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                  This community forum collects and processes your personal information.
                                  consent.not_received