Skip to content

Cpanel

Website Developer Sydney

Magento File Size Keeps Growing

Running Magento 2 Files Growing You find that the file size keeps growing and that your web server is taking up GB of data. Magento keeps creating reports that can take up a lot of data. This can be a problem as web host for backup management and file system management. If you do not need the reports, it is safe to delete them from: /var/report https://magento.stackexchange.com/questions/58166/cleaning-up-magento-installation-which-files-folders-can-be-deleted

Website Developer Sydney

cPanel AutoSSL certificate expiry on Date – Cloudflare Enabled domain

CPanel AutoSSL Did Not Renew on a Domain with Cloudflare configured You may receive some warning in an email from your cPanel with error that look something like this after you have enabled and and moved your DNS servers over to Cloudflare. This occurs after enabling the option in Cloudflare to always use HTTPS. Errors in this case in cPanel reported:  DNS DCV: No local authority: “domain.com.au”; HTTP DCV: “cPanel (powered by Sectigo)” forbids DCV HTTP redirections. The Fix It is likely that you have enabled the feature in Cloudflare to “Always Use HTTPS” (which you would think is safe) but in this case it will cause this error. It needs to be disabled for a simple fix. In Cloudflare after logging in and selecting the domain in question, open up the SSL/TSL Menu and select Edge Certificates.   Then select “Always Use HTTPS” to Off.   Then return to… Read More »cPanel AutoSSL certificate expiry on Date – Cloudflare Enabled domain

Website Developer Sydney

WHM Nginx Manager Enabled Gives 413 Request Entity Too Large Error and Solution

With Nginx Manager Enabled in WHM Cpanel you receive a 413 Error when uploading to WordPress (or other sites) Recently WHM / Cpanel enabled an option for Nginx Manager With this option enabled in Cpanel you may receive a 413 Error when uploading large files like plugins to your WordPress Site.   Not it’s worth mentioning that there are potentially a couple of places that the size upload limit is set. This error relates specifically to the Nginx Manager options for caching in WHM and Cpanel that was added as an option in 2021.  There are also options in the MultiPHP INI Editor to se the upload_max_filesize that we are presuming you have already set in your WHM configuration panel. So assuming that you have previously set these limits and have had no trouble uploading things like large plugins for WordPress or images etc, then you will likely find that… Read More »WHM Nginx Manager Enabled Gives 413 Request Entity Too Large Error and Solution

Website Developer Sydney

How Clear Cache in Mautic 3x in cPanel

How Clear Cache in Mautic 3x in cPanel So if you are working with Mautic 3.1 like we are as of today, and you are installing modules that connect to the Mautic API, you will find that after you make Custom Fields Editable Or Enable the API for Mautic in CONFIGURATION / API SETTINGS   That you will then need to clear the Cache directory of Mautic before your other Applications will be able to connect to the API. Now we are using cPanel and have access in there to the File manager. Easier than running an SSH command is to go into the director: var/cache in the Mautic directory. In our case here we have it in a directory or folder named marketing. You will see a bunch of files here like this: Just delete all of these files from the cache folder.  That’s it. You should then be… Read More »How Clear Cache in Mautic 3x in cPanel

Website Developer Sydney

WHM Cpanel sshd: /var/empty/sshd must be owned by root and not group or world-writable

  Error: WHM Cpanel sshd: /var/empty/sshd must be owned by root and not group or world-writable is reported via email notifications. Note: Our server is running Centos   Server cpanel2.interactivewebs.com Primary IPAddress xxx.xxx.xxx.xxx Service Name sshd Service Status failed ⛔ Notification The service “sshd” appears to be down. Service Check Method The system’s command to check or to restart this service failed. Number of Restart Attempts 19 Service Check Raw Output (XID cg7fzv) The “sshd” service is down. The subprocess “/usr/local/cpanel/scripts/restartsrv_sshd” reported error number 3 when it ended. Startup Log Dec 07 02:34:37 xx.interactivewebs.com systemd[1]: Failed to start OpenSSH server daemon.Dec 07 02:34:37 xx.interactivewebs.com systemd[1]: Unit sshd.service entered failed state.Dec 07 02:34:37 xx.interactivewebs.com systemd[1]: sshd.service failed. Log Messages Dec 7 02:34:37 cpanel2 sshd: /var/empty/sshd must be owned by root and not group or world-writable. Memory Information Used 1.12 GB Available 14.01 GB Installed 15.13 GB Load Information 0.00 0.01 0.07 Uptime 1 hour, 30 minutes, and… Read More »WHM Cpanel sshd: /var/empty/sshd must be owned by root and not group or world-writable

Website Developer Sydney

Cpanel WordPress Site Error The uploaded file exceeds the upload_max_filesize directive in php.ini

cPanel WordPress Site Error The uploaded file exceeds the upload_max_filesize directive in php.ini While working with a Cpanel Website running WordPress, you attempt to upload a file and receive an error:  “The uploaded file exceeds the upload_max_filesize directive in php.ini” To fix for ALL Accounts in Cpanel Login to the WHM Administration system. Note that this is usually the HOST provider that has access to this. Softare >> MultiPHP INI Editor Then for the Different PHP Version in the Dropdown, selecting for example ea-php55  or ea-php56 Edit the post_max_size to something bigger that the default 8M AND or Edit the upload_max_filesize to something bigger than the default 2M To Fix for the Account you are working in. Loged in as the Account holder, Software MultiPHP INI Editor Select the location that you will apply this modification to. This should be the site or sub domain you are experiencing the problem… Read More »Cpanel WordPress Site Error The uploaded file exceeds the upload_max_filesize directive in php.ini