Closed deajan closed 1 month ago
Can confirm that v 24.7_5 isn't impacted.
@WRKT Nope, just found it "as is" in the forum. Is it a RTFM case ?
Hint: broken install
# opnsense-bootstrap
@fichtner Don't think so. A reboot later:
/usr/local/etc/rc.restart_webgui
Starting web GUI...done.
Generating RRD graphs...done.
I guess it's just the 100% disk space usage that did prevent (somehow ?) to load env variables. After making some disk space, I should have restarted another SSH session probably. Anyway, I'm closing this since there's no real issue.
Thanks.
ok then the include path was wrong, so maybe it didn't write the php.ini file. if this is disk space related then maybe, but how php.ini got lost in the first place is strange.
I have no idea, that was just my wild guess, especially because chdir to the inc dir made the php script complain about other files missing that the initial one. But apart from a reboot after cleaning disk space, I did nothing more.
Anyway, there's not much more data to analyse. Sorry for the noise.
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
I've hit a 100% disk space usage scenario, which in return prevented WebGUI access because of a CSRF token error. Once I've cleaned the log files, I've tried to reload the WebGUI using
The command failed the the following error message:
I've checked
/usr/local/etc/inc/config.inc
, the file exists, and it contains php code so it seems legit. If I chdir into/usr/local/etc/inc
, therc.restart_webgui
script complains about another missing file, so I think the environment PATH isn't loaded.Is there any env path to load before executing the script ?
To Reproduce
Steps to reproduce the behavior:
/usr/local/etc/rc.restart_webgui
Screenshots
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.1.8 (amd64). KVM VM Intel 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz Network Intel® I211-AT via PCI passthrough