Symptoms

When a website is published with Sitejet it will delete any custom directories not related to Sitejet in the website’s document root. This can include whole websites that are stored in subdirectories.

 

Description

Sitejet replaces all content related to the website, regardless of if the content is related to Sitejet or not.

We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-46599. Follow this article to receive an email notification when a solution is published in the product. 

 

Workaround

Move the directory outside of the document root:

mv -vit /home/$USER /home/$USER/public_html/$MYDIRECTORY

Publish your website in Sitejet.

Move the directory back in place:

mv -vit /home/$USER/public_html /home/$USER/$MYDIRECTORY

In the examples above, remember to replace /home/$USER with the full path to your cPanel user's home directory and /home/$USER/public_html/$MYDIRECTORY with the full path to your custom directory.