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

PHP errors with 2.7.0-DEVELOPMENT-amd64-20220512-1201 snapshot

Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
9 Posts 2 Posters 947 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.
  • N
    NRgia
    last edited by NRgia May 12, 2022, 4:10 PM May 12, 2022, 4:10 PM

    Did a clean reinstall and received this:
    md64
    12.3-STABLE
    FreeBSD 12.3-STABLE devel-12-n227369-faf3efce301 pfSense

    Crash report details:

    PHP Errors:
    [12-May-2022 18:31:16 ] PHP Warning: file_put_contents(/var/dhcpd/var/db/dhcpd.leases): failed to open stream: No such file or directory in /etc/inc/config.lib.inc on line 264

    No FreeBSD crash data found.

    Under /var/dhcpd/var/db/ I have two files named:
    dhcpd.leases
    dhcpd.leases~
    created today.

    Any ideas?

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by May 12, 2022, 4:32 PM

      Were you restoring a configuration that contained DHCP lease data?

      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!

      N 1 Reply Last reply May 12, 2022, 4:35 PM Reply Quote 0
      • N
        NRgia @jimp
        last edited by May 12, 2022, 4:35 PM

        @jimp Correct. The thing is I did not lose any lease data. Is there any impact here?

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by May 12, 2022, 4:39 PM

          I'd expect it to have failed to restore the data with that error so I'm not sure what might have happened. Likely the directory did not exist at first and then once it was created it could restore the data.

          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!

          N 1 Reply Last reply May 12, 2022, 4:45 PM Reply Quote 0
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by May 12, 2022, 4:41 PM

            One more question: How did you restore the configuration? Using the GUI? Copied from USB during the install? Or using the ECL method?

            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!

            N 1 Reply Last reply May 12, 2022, 4:50 PM Reply Quote 0
            • N
              NRgia @jimp
              last edited by NRgia May 12, 2022, 4:52 PM May 12, 2022, 4:45 PM

              @jimp Inspecting further I see that all leases were reassigned with today's date, besides the DHCP Static Mappings ones.

              1 Reply Last reply Reply Quote 0
              • N
                NRgia @jimp
                last edited by May 12, 2022, 4:50 PM

                @jimp I used both of them.
                I mean I had the config.xml in both locations:

                \config\config.xml
                and
                \conf\config.xml

                so I think the USB one triggered first.

                1 Reply Last reply Reply Quote 0
                • J
                  jimp Rebel Alliance Developer Netgate
                  last edited by May 12, 2022, 5:11 PM

                  So it probably didn't actually restore the lease data then.

                  We'll look into it

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

                  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!

                  N 1 Reply Last reply May 12, 2022, 5:31 PM Reply Quote 0
                  • N
                    NRgia @jimp
                    last edited by May 12, 2022, 5:31 PM

                    @jimp said in PHP errors with 2.7.0-DEVELOPMENT-amd64-20220512-1201 snapshot:

                    So it probably didn't actually restore the lease data then.

                    We'll look into it

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

                    Thanks,
                    I am available to reinstall and test, when the fix reaches a snapshot.

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