cPanel – File Manager not showing files, only “Fetching directory contents…”

I ran into an issue with cPanel in WHM 62 using the Paper Lantern theme, the “File Manager” option in cpanel would load, but it wouldn’t show any files, only “Fetching directory contents…”.

The cpanel error log (/usr/local/cpanel/logs/error_log) showed all sorts of errors relating to paper_lantern. like:

deprecated [cpanel] cptext() in Template Toolkit is deprecated as of 11.46 (its eventual removal is being tracked via PBI 27397). Use locale.maketext() instead. at /usr/local/cpanel/Cpanel/Template/Plugin/BaseDefault.pm line 232.
Cpanel::Template::Plugin::BaseDefault::cptext(“[output,strong,Back up the original file] before converting c”…) called at /usr/local/cpanel/base/frontend/paper_lantern/filemanager/popups/codeedit.auto.tmpl line 12
eval {…} called at /usr/local/cpanel/base/frontend/paper_lantern/filemanager/popups/codeedit.auto.tmpl line 12
eval {…} called at /usr/local/cpanel/base/frontend/paper_lantern/filemanager/popups/codeedit.auto.tmpl line 16
Template::Provider::__ANON__(Template::Context=HASH(0x55ba4f0)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163

This cpanel form article shows how to reinstall it:

https://forums.cpanel.net/threads/uninstall-and-re-install-paper_lantern.445531/

Here are the commands I ran through ssh:

cd /usr/local/cpanel/base/frontend
mv paper_lantern paper_lantern.bak
/usr/local/cpanel/scripts/upcp –force

That ran for a while and then the File Manager worked properly!

Add Comment