Introduction
This article aims to provide some troubleshooting steps when an issue occurs and a user has CageFS enabled.
Note: This article is aimed at systems administrators of servers that run the CloudLinux OS. To learn more about CloudLinux, see How to Purchase CloudLinux™.
Procedure
Typically the following commands can be used when a system-wide change has been made, and users are not able to use them. Often, a system file is changed or fixed, but users still only see the old data because of how CageFS works.
To confirm that the issue only occurs in CageFS, disable CageFS for the user temporarily:
cagefsctl --disable user
To enable it again:
cagefsctl --enable user
To fix an issue for all users on the server
Remount CageFS, then force an update:
cagefsctl -M
cagefsctl --force-update
If all else fails, reinitialize CageFS:
cagefsctl --reinit