Found a repeatable issue where three Menu entries fail on a new 24.1 install

Started by Retired Miner, March 11, 2024, 02:58:30 AM

Previous topic - Next topic
I have a repeatable issue I've encounter in a new 24.1 - 24.1.3_1 install that I want to sanity check here before reporting it in GitHub (which I've never done before). Does anyone else see this?

Three menu entries become inaccessible after I change the Static IP address of a LAN Interface.  If I roll back the Static IP to the default 192.168.1.1 the menu entries are accessible, i.e., normal operation.

The three menu entries and associated Fatal Error messages are:
o   system > Configuration > Backups
Fatal error: Failed opening required '/usr/local/www/diag_backup.php' (include_path='/usr/local/etc/inc:/usr/local/www:/usr/local/opnsense/mvc:/usr/local/opnsense/contrib:/usr/local/share/pear:/usr/local/share') in Unknown on line 0

o   Interfaces > Overview
o   interfaces > Assignment
Fatal error: Failed opening required '/usr/local/opnsense/www/index.php' (include_path='/usr/local/etc/inc:/usr/local/www:/usr/local/opnsense/mvc:/usr/local/opnsense/contrib:/usr/local/share/pear:/usr/local/share') in Unknown on line 0

Attached image shows the message.

My Notes:
- If I roll back the Static IP address to 192.168.1.1, and keep /16, the problem goes away and is not present.
- Issue occurs when you set the LAN Interface Static IP address via the Web GUI and via the Console Menu.
- Can be reproduced over and over, i.e. this sequence of changing the LAN Interface Static IP address:
  - 192.168.1.1/24  > Initial default configuration, no issues.
  - 192.168.41.1/16 > get Fatal Error
  - 192.168.1.1/16 > No issue, menu entries work as expected.
  - 192.168.41.1/16 > get Fatal Error
  - 192.168.1.1/16 > No issue, menu entries work as expected.
  - 192.168.41.1/16 > get Fatal Error
- An "in place" upgrade (23.7 > 24.1.3) does not get this error, have a device using 192.168.31.1/16 and all menu entries work as expected after upgrade.




Just do a heath audit. There are probably files missing or empty... just reinstall the missing files' package... done?


Cheers,
Franco