An --**warning**-- occurred while installing profile “--**warning**--: failed to create directory /home/cPanel_username/.cagefs”.

While updating Easy Apache 3 to Easy Apache 4 on CloudLinux server using below command -

cd ~;
wget https://repo.cloudlinux.com/cloudlinux/sources/cloudlinux_ea3_to_ea4;
sh cloudlinux_ea3_to_ea4 --convert

I'd received below error message -

An --**warning**-- occurred while installing profile “--**warning**--: failed to create directory /home/cPanel_username/.cagefs”.
Please select from the following options:
1) Revert to EasyApache 3
2) Abort.
3) Install the cPanel Default profile.

Solution :-

Please make sure, if you've removed/deleted any user recently from server then there should not be any entry in below files -

1. Please check the user entry in /var/cpanel/users, if the user exist there then remove it.
2. Please check /etc/named.conf and the corresponding .db file from /var/named, there should not be any entry of user.
3. Check entry in /etc/httpd/conf/httpd.conf.
4. Check the entry in /etc/localdomains or /etc/remotedomains. If you'll find any entry then remove it from the file.
5. Remove the cPanel user entry from /etc/passwd

You can remove the entry using -
userdel username

It fixed my issue!
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Error displaying the error page: The cachelite Cache Storage is not supported on this platform. (Joomla error)

While accessing the Joomla site, I was getting error as - Error displaying the error page: The...

How to check the PHP version and configuration for your website?

'phpinfo.php' is the file which is used for checking the PHP version and configuration on cPanel...

Error: Website not found. If the website was recently renamed or moved please edit the install to save the new location (Files & Tables tab).

I was getting below error when opening installatron for all installs - Error message - Error:...

How to resolve the issue of WordPress site which downloads PHP files instead of parsing after cPanel migration?

After migrating the WordPress site on the cPanel server, the website was not loading, it was...

MySQL server is currently offline. Error: Too many connections at /usr/local/cpanel/Cpanel/Mysql.pm line 173.

phpMyAdmin and MySQL Databases in cPanel were displaying me the below error -...

Powered by WHMCompleteSolution