Fatal error: Uncaught Error: Class "OPNsense\Core\Backend" not found

Started by dstr, August 25, 2026, 12:16:39 PM

Previous topic - Next topic
cleaned everything related to zenarmor, package and ini. still lost in the single boot shell.

which lead me to this one:
"There seems to be a race with unpacking files and including them below. So an explicit exec() is used to force a sync to make sure the files have their new content ready on the FS."

unfortuantly it seems this workaround does not apply to OPNsense\Core\Backend

I would bet my money on an unstable disk.  Why would so many random things occur to you that relate to data loss?

> which lead me to this one:
> "There seems to be a race with unpacking files and including them below. So an explicit exec() is used to force a sync to make sure the files have their new content ready on the FS."

But not on a clean boot where files were already established.  Besides, this comment/workaround was introduced a decade ago:

https://github.com/opnsense/core/commit/2bc0ea0f0a20


Cheers,
Franco