0
Not a bug

filerun fatal error: Uncaught Error: Class 'FileRun\Utils\L'

Richard B 11 months ago updated 11 months ago 8

Attempts to upgrade to FileRun Update 2021.12.07 yield this output:

Developer info: de:1 met:30 ml:128M
-------------------------------------
Cleaning after previous update...Done
Extracting update...Done
Running update:
-------------------------------------
Upgrading license...
Fatal error: Uncaught Error: Class 'FileRun\Utils\L' not found in /var/www/html/system/data/temp/_unzipped_update/update.php:19 Stack trace: #0 /var/www/html/system/modules/software_update/sections/cpanel/php/install.php(75): unknown() #1 /var/www/html/index.php(181): unknown() #2 {main} thrown in /var/www/html/system/data/temp/_unzipped_update/update.php on line19

Centos7,  PHP 7.4.28 (cli) (built: Feb 15 2022 13:23:10) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with the ionCube PHP Loader + ionCube24 v11.0.1, Copyright (c) 2002-2022, by ionCube Ltd.

Upgrade to previous versions has worked fine.

Under review

I recommend you to restore a backup if you have one or reinstall.

If you go this way: https://docs.filerun.com/updating#recovering_a_broken_installation you can contact us via e-mail (https://filerun.com/contact) for a download link of the needed FileRun version (as I see you have an Enterprise license - even if it is a license without support service, we do provide download links of older versions)

To be clear, the upgrade attempt did *not* break my installation.  It just doesn't upgrade it.  I'm currently running 2021.06.27 and would like to upgrade to 2021.12.07.  What is

Class 'FileRun\Utils\L"

...and what am I missing?

A cursory internet search indicates at least one other person has had this issue:


[18-Dec-2021 17:19:16 UTC] PHP Fatal error: Uncaught Error: Class ...

https://feedback.filerun.com › uploaded › file... 17:20:48 UTC] PHP Fatal error: Uncaught Error: Class 'FileRun\Utils\L' not found in /var/www/html/system/data/temp/_unzipped_update/update.php:19 Stack ...

My guess is that the update installed partially. Which means there is old and new code currently in use. At this stage, I would label the installation broken (even if it might look like working fine) and the manual replacement of the application files would be needed, as that is the only way to fix the updater.

Is there an URL where I can download a copy of release 2021.12.07?

Just to close the loop on this:  My attempted upgrade from 2021.06.27 to 2021.12.07 would not work for love nor money, not from the console, not by executing a manual upgrade from the shell.  What ultimately did work is a clean install--saved my existing html directory off to the side, created a fresh schema, new user and reinstalled cleanly.  Since I keep all my user-based info in /opt/filerun, I was able to easily add my users back and my branding and then cleanly go through automatic upgrades all the way to 20220202 with no issues.


Vlad's quick responses and assistance made this much less of a pain in the tuchus than I was fearing.  Thanks, big V!