Netgate 3100- PHP-FPM inaccessible after 22.01 upgrade
-
I've done "Reset to factory defaults" followed by "Update from console".
I've assigned a static IP to LAN and things look good at the first glance:
FreeBSD/arm (pfSense.home.arpa) (ttyu0) Netgate 3100 - Serial: xxxxxxxxxx - Netgate Device ID: xxxxxxxxxxxxxxxxxxxx *** Welcome to Netgate pfSense Plus 22.01-RELEASE (arm) on pfSense *** WAN (wan) -> mvneta2 -> v4/DHCP4: 192.168.1.217/24 v6/DHCP6: fd74:6c6:6892:0:208:a2ff:fe0d:9a11/64 LAN (lan) -> mvneta1 -> v4: 192.168.5.1/24 OPT1 (opt1) -> mvneta0 -> 0) Logout (SSH only) 9) pfTop 1) Assign Interfaces 10) Filter Logs 2) Set interface(s) IP address 11) Restart webConfigurator 3) Reset webConfigurator password 12) PHP shell + Netgate pfSense Plus tools 4) Reset to factory defaults 13) Update from console 5) Reboot system 14) Enable Secure Shell (sshd) 6) Halt system 15) Restore recent configuration 7) Ping host 16) Restart PHP-FPM 8) Shell Enter an option: 13 >>> Updating repositories metadata... Updating pfSense-core repository catalogue... Fetching meta.conf: . done Fetching packagesite.pkg: . done Processing entries: . done pfSense-core repository update completed. 8 packages processed. Updating pfSense repository catalogue... Fetching meta.conf: . done Fetching packagesite.pkg: .......... done Processing entries: .......... done pfSense repository update completed. 504 packages processed. All repositories are up to date. Your packages are up to date
When I connect a laptop directly to LAN and browse to http://192.168.5.1 and provide the factory default web GUI credentials I get:
PHP ERROR: Type: 64, File: /usr/local/www/widgets/include/disks.inc, Line: 22, Message: require_once(): Failed opening required 'vendor/autoload.php' (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/')
How can I fix this?
-
@adamw I don't have a direct answer for you but if you can't get anywhere fixing it, you can get the install image from Netgate and reinstall:
https://docs.netgate.com/pfsense/en/latest/solutions/sg-3100/reinstall-pfsense.html
That might be safer if you think the upgrade didn't complete successfully. Which, it kind of sounds like it didn't. -
It didn't work with the first memory stick I've tried:
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... Device not responding to set address. USB device not accepting new address (error=80000000) 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found ** Bad device usb 0 ** ## Starting application at 0x00200000 ...
But worked with the second one:
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 228648 bytes read in 32 ms (6.8 MiB/s) ## Starting application at 0x00200000 ... Consoles: U-Boot console Compatible U-Boot API signature found @0x7f4dc280 FreeBSD/armv6 U-Boot loader, Revision 1.2 (Tue Jul 10 10:26:23 EDT 2018 root@buildbot3) DRAM: 2048MB Number of U-Boot devices: 5 U-Boot env: loaderdev not set, will probe all devices. Found U-Boot device: disk
Posting both unsuccessful and successful sequence in case somebody runs into similar problems in the future.
-
@adamw said in Netgate 3100- PHP-FPM inaccessible after 22.01 upgrade:
1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) foundThis is the indicator that the Marvell BIOS hasn't found the plugged-in ethernet device. It's not the panacea indicator (there really isn't one) but it's a leading indicator that there's going to be an issue trying to install.
Tips for others when they hit this:
You do not need to power-cycle the pf (this applies to all ARM-based Netgate products).
Re-image the USB and try again with the command usb reset and if the storage devices pop-up with 1 (or more) you can proceed with the recovery command.You can also try to change ports and use the same command. The USB ports aren't hot-swappable at the BIOS level so the usb reset command will reload the devices plugged in and re-present them to the loader.
-