New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

Could not create directory

Started by gailclark80, October 08, 2024, 01:34:04 AM

Previous topic - Next topic

gailclark80

My VPS running on CWPpro version: 0.9.8.1187

I want to upgrade the plugin for WordPress, but after clicking upgrade I get the following error

Update failed: Could not create directory. /home/*/public_html/wp-content/upgrade/classic-editor.1.6.5

I checked the permissions on the /upgrade/ directory and it is 755, which should be fine!

In addition, before, I could upgrade the plugin normally, but recently I suddenly got such an error.

I checked the site's error logs again and found a number of error records as follows
AH01071: Got error 'PHP message: PHP Warning: file_put_contents(): only -1 of 78424 bytes written, possibly out of free disk space in /home/*/public_ html/wp-content/plugins/wp-cache/inc/cache.php on line 1226'


This seems to be running out of space, but my VPS has 160G and I'm only using 41G so far, what's wrong with this and how should I fix it?

BeZazz

Maybe the home partition is a separate partition to / ?

gailclark80

CentOS 7 Disk   ext4   162218 MB
512 MB Swap Image   swap   512 MB


Here is my VPS partition

BeZazz

Do df -h and see what it says. The disk space may be over committed.

gailclark80

This command returns the following:

Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        3.9G     0  3.9G   0% /dev
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           3.9G   17M  3.9G   1% /run
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/sda        157G   41G  109G  28% /
tmpfs           783M     0  783M   0% /run/user/0


Please check!

BeZazz

Space looks fine.

Under User Accounts
try Fix Permissions on that account.

gailclark80

I checked, and in the user account, its permissions are 755, which seems to be okay.

I create a directory through FileZilla, and it shows the following error

Status:   Retrieving directory listing of "/public_html/wp-content/upgrade"...
Status:   Directory listing of "/public_html/wp-content/upgrade" successful
Status:   Creating directory '/public_html/wp-content/upgrade/66'...
Command:   MKD 66
Response:   550 Can't create directory: Disk quota exceeded


FileZilla also shows that the disk space is exhausted.

BeZazz

QuoteFileZilla also shows that the disk space is exhausted.

I would contact your host and make sure everything is ok their end.

gailclark80

I found the problem, my VPS space is 160, but the space allocated to the current user is only 20G, how do I increase the space for the current user. In User Accounts-> List Accounts->Edit Account I didn't find the option to modify the disk space.

BeZazz

You will need to create or edit a Package (under Packages)  and assign it to the account.

gailclark80


BeZazz