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

    Misconfigured 3100 will not reset to factory defaults

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    3 Posts 2 Posters 456 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.
    • 04CC400
      04CC40
      last edited by 04CC40

      Hello, I tried to use a backup to configure a 3100 but failed during the process (in 23.09-Release). The router was working fine before my intervention.

      I cannot access the GUI because the DHCP server does not appear to assign IP's.

      Whenever I try to use console access to use option 4 I get the following message:

      Fatal error: Uncaught TypeError: array_path_enabled(): Argument #1 ($arr) must be of type array, null given, called in /etc/inc/config.lib.inc on line 1264 and defined in /etc/inc/util.inc:3741
      Stack trace:
      #0 /etc/inc/config.lib.inc(1264): array_path_enabled(NULL, 'notifications/s...', 'disable')
      #1 /etc/inc/notices.inc(379): config_path_enabled('notifications/s...', 'disable')
      #2 /etc/inc/notices.inc(662): notify_via_smtp('No config.xml f...')
      #3 /etc/inc/notices.inc(151): notify_all_remote('No config.xml f...')
      #4 /etc/inc/config.lib.inc(95): file_notice('config.xml', 'No config.xml f...', 'pfSenseConfigur...', '')
      #5 /etc/inc/config.inc(137): parse_config()
      #6 /etc/inc/gwlb.inc(25): require_once('/etc/inc/config...')
      #7 /etc/inc/functions.inc(35): require_once('/etc/inc/gwlb.i...')
      #8 /etc/rc.initial.defaults(32): require_once('/etc/inc/functi...')
      #9 {main}
        thrown in /etc/inc/util.inc on line 3741
      PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 3741, Message: Uncaught TypeError: array_path_enabled(): Argument #1 ($arr) must be of type array, null given, called in /etc/inc/config.lib.inc on line 1264 and defined in /etc/inc/util.inc:3741
      Stack trace:
      #0 /etc/inc/config.lib.inc(1264): array_path_enabled(NULL, 'notifications/s...', 'disable')
      #1 /etc/inc/notices.inc(379): config_path_enabled('notifications/s...', 'disable')
      #2 /etc/inc/notices.inc(662): notify_via_smtp('No config.xml f...')
      #3 /etc/inc/notices.inc(151): notify_all_remote('No config.xml f...')
      #4 /etc/inc/config.lib.inc(95): file_notice('config.xml', 'No config.xml f...', 'pfSenseConfigur...', '')
      #5 /etc/inc/config.inc(137): parse_config()
      #6 /etc/inc/gwlb.inc(25): require_once('/etc/inc/config...')
      #7 /etc/inc/functions.inc(35): require_once('/etc/inc/gwlb.i...')
      #8 /etc/rc.initial.defaults(32): require_once('/etc/inc/functi...')
      #9 {main}
        thrown
      Fatal error: Uncaught TypeError: array_path_enabled(): Argument #1 ($arr) must be of type array, null given, called in /etc/inc/config.lib.inc on line 1264 and defined in /etc/inc/util.inc:3741
      Stack trace:
      #0 /etc/inc/config.lib.inc(1264): array_path_enabled(NULL, 'notifications/s...', 'disable')
      #1 /etc/inc/notices.inc(379): config_path_enabled('notifications/s...', 'disable')
      #2 /etc/inc/notices.inc(662): notify_via_smtp('PHP ERROR: Type...')
      #3 /etc/inc/notices.inc(151): notify_all_remote('PHP ERROR: Type...')
      #4 /etc/inc/config.lib.inc(1168): file_notice('phperror', 'PHP ERROR: Type...', 'PHP errors')
      #5 [internal function]: pfSense_clear_globals()
      #6 {main}
        thrown in /etc/inc/util.inc on line 3741
      
      Fatal error: Uncaught ValueError: Path cannot be empty in /etc/inc/notices.inc:135
      Stack trace:
      #0 /etc/inc/notices.inc(135): fopen('', 'w')
      #1 /etc/inc/config.lib.inc(95): file_notice('config.xml', 'No config.xml f...', 'pfSenseConfigur...', '')
      #2 /etc/inc/config.gui.inc(53): parse_config()
      #3 /etc/inc/auth.inc(34): require_once('/etc/inc/config...')
      #4 /etc/inc/openvpn.inc(36): require_once('/etc/inc/auth.i...')
      #5 /etc/inc/filter.inc(30): require_once('/etc/inc/openvp...')
      #6 /etc/inc/ipsec.inc(25): require_once('/etc/inc/filter...')
      #7 /etc/inc/gwlb.inc(27): require_once('/etc/inc/ipsec....')
      #8 /etc/inc/functions.inc(35): require_once('/etc/inc/gwlb.i...')
      #9 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...')
      #10 /etc/inc/config.inc(37): require_once('/etc/inc/notice...')
      #11 /etc/rc.banner(27): require_once('/etc/inc/config...')
      #12 {main}
        thrown in /etc/inc/notices.inc on line 135
      PHP ERROR: Type: 1, File: /etc/inc/notices.inc, Line: 135, Message: Uncaught ValueError: Path cannot be empty in /etc/inc/notices.inc:135
      Stack trace:
      #0 /etc/inc/notices.inc(135): fopen('', 'w')
      #1 /etc/inc/config.lib.inc(95): file_notice('config.xml', 'No config.xml f...', 'pfSenseConfigur...', '')
      #2 /etc/inc/config.gui.inc(53): parse_config()
      #3 /etc/inc/auth.inc(34): require_once('/etc/inc/config...')
      #4 /etc/inc/openvpn.inc(36): require_once('/etc/inc/auth.i...')
      #5 /etc/inc/filter.inc(30): require_once('/etc/inc/openvp...')
      #6 /etc/inc/ipsec.inc(25): require_once('/etc/inc/filter...')
      #7 /etc/inc/gwlb.inc(27): require_once('/etc/inc/ipsec....')
      #8 /etc/inc/functions.inc(35): require_once('/etc/inc/gwlb.i...')
      #9 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...')
      #10 /etc/inc/config.inc(37): require_once('/etc/inc/notice...')
      #11 /etc/rc.banner(27): require_once('/etc/inc/config...')
      #12 {main}
        thrown
      Fatal error: Uncaught ValueError: Path cannot be empty in /etc/inc/notices.inc:135
      Stack trace:
      #0 /etc/inc/notices.inc(135): fopen('', 'w')
      #1 /etc/inc/config.lib.inc(1168): file_notice('phperror', 'PHP ERROR: Type...', 'PHP errors')
      #2 [internal function]: pfSense_clear_globals()
      #3 {main}
        thrown in /etc/inc/notices.inc on line 135
      

      If I try to boot from the USB (I have tried with an 8GB USB2.0 and a 32GB USB3.0 unsuccessfully) to reinstall I get the following error:

      Marvell>> usb reset
      (Re)start USB...
      USB0:   mvBoardUsbVbusSet: gppNo = 35
      Port (usbActive) : 1    Interface (usbType = 3) : USB XHCI 1.00
      scanning bus 0 for devices... 2 USB Device(s) found
             scanning usb for storage devices... 1 Storage Device(s) found
             scanning usb for ethernet devices... 0 Ethernet Device(s) found
      Marvell>> run recovery
      (Re)start USB...
      USB0:   mvBoardUsbVbusSet: gppNo = 35
      Port (usbActive) : 1    Interface (usbType = 3) : USB XHCI 1.00
      scanning bus 0 for devices... 2 USB Device(s) found
             scanning usb for storage devices... 1 Storage Device(s) found
             scanning usb for ethernet devices... 0 Ethernet Device(s) found
      reading ubldr.bin
      ** Unable to read file ubldr.bin **
      ## Starting application at 0x00200000 ...
      

      Thanks for any help.

      Edit: Apparently the downloadable img is not suitable for booting the 3100, so I have filed a ticket.

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @04CC40
        last edited by

        @04CC40
        If Dhcpd fails on one of your LANs, assign static IP, dns, gateway and network temporarily to your device. From then in you have GUI access. When all is ok again, switch back to the dhcp cliënt on your device.

        You can’t use the public x86 pfSEnse CE version. You’ll be needing the arm based pfSense plus version.
        Fill in the TAC form, and you have your firmware within a minute.

        See the doc how to create the USB drive to have your 3100 boot from it.

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

        04CC400 1 Reply Last reply Reply Quote 0
        • 04CC400
          04CC40 @Gertjan
          last edited by 04CC40

          @Gertjan Yes, the correct img has been supplied by support. My problem trying to assign interfaces from the console was that no matter which option I chose from the menu, it would cycle through the "fatal error" above and return to the menu. I'll try to use the USB boot and report back (I have already downloaded the img and checked the sha256).

          Edit: Took me a couple of usb resets but issue has been resolved. Thanks.

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