Strange error after update

All of a sudden my page stopped working, and I surfing to the cockpit admin only renders
"Warning: require(/volume1/web/blaljus/admin/modules/@eaDir/bootstrap.php): failed to open stream: No such file or directory in /volume1/web/blaljus/admin/lib/Lime/App.php on line 1349 Fatal error: require(): Failed opening required ‘/volume1/web/blaljus/admin/modules/@eaDir/bootstrap.php’ (include_path=’.:/usr/share/pear’) in /volume1/web/blaljus/admin/lib/Lime/App.php on line 1349 "

I’ve been stuck here for two days now without being able to figure out what’s wrong.

I have updated the server to PHP 7.4, and believe that it started then.

Anyone with a clue? :frowning:

There are multiple strange things…

What is that @eaDir folder? I’m not sure, if @ is an allowed character. And why is it in /modules and not inside /addons? Did you create that by accident?

If that module has a reason to be there, does it have a bootstrap.php file?

Also Lime/App.php doesn’t have 1349 lines anymore since version 0.10.1, so you should update your cockpit version. With that update, cockpit doesn’t break anymore if a module (addon) has no bootstrap.php file.

see: https://github.com/agentejo/cockpit/issues/1314
and: https://github.com/agentejo/cockpit/blob/next/lib/Lime/App.php#L1141

@raffaelj you are my hero!
You pointed me in the right direction.

Of some reason, which I cannot understand, some files have been corrupt.
I downloaded a new version of Cockpit, and copied the storagefolder from my old setup (and a few other files) and now it works!

Again, thank you!! :smiley:
/Jonah