Documentation

Visit Our xCloud Knowledge Base

Here is your one-stop source for in-depth articles, FAQs, and tutorials for you to excel at hosting & managing your websites.


How to Fix Plugin or Theme Upload/Update 500 Errors on OpenLiteSpeed Servers With xCloud

When a WordPress site on an OpenLiteSpeed (OLS) server fails while uploading or updating a plugin/theme, the issue may be related to incorrect ownership of OpenLiteSpeed temporary files.

This guide explains how to identify the issue and apply the known fix.

Symptoms #

A customer may report one or more of the following:

  • Plugin upload fails
  • Plugin update fails
  • Theme upload fails
  • Theme update fails
  • WordPress shows a 500 Internal Server Error
  • The issue happens during upload/update actions only
  • The site is hosted on an OpenLiteSpeed / OLS stack server

Example customer message: #

 I cannot update the theme. It is showing a 500 error on your server

Affected Stack #

This issue is related to servers using the OpenLiteSpeed (OLS) stack.

It does not usually happen on NGINX stack servers.

In customer-friendly language:

 Your server is using the OpenLiteSpeed stack. This issue is related to OpenLiteSpeed temporary file handling and is not related to Redis or cache settings.

Error to Look For #

Open the server logs in xCloud:

Server โ†’ Logs #

Or use the direct server logs URL:

https://app.xcloud.host/server/{server_id}/logs

Look for this error:

Failed to obtain or reinitialize VMemBuf.

Example: #

2026-05-13 06:27:02.750619 [ERROR] [269567] [192.128.217.123:13925:H2-1]

Failed to obtain or reinitialize VMemBuf.

If this error appears while the customer is uploading or updating a plugin/theme, apply the fix below.

Likely Cause #

OpenLiteSpeed uses temporary swap/report files under:

/tmp/lshttpd/

In some cases, these files or folders may have incorrect ownership. When OpenLiteSpeed cannot write to or reinitialize these temporary buffers properly, WordPress actions such as plugin/theme upload or update can fail with a 500 error.

The fix is to restore ownership to the correct server user:

xcloud:xcloud

Fix #

SSH into the server or use the xCloud Command Runner.

Run: #

๐Ÿ“„
filename.js
chown -R xcloud:xcloud /tmp/lshttpd/swap

chown -R xcloud:xcloud /tmp/lshttpd/.rtreport*

Using xCloud Command Runner #

If you are using the xCloud dashboard:

1. Open the xCloud dashboard.

2. Go to Servers.

3. Select the affected server.

4. Open Command Runner.

5. Run the following commands:

chown -R xcloud:xcloud /tmp/lshttpd/swap

chown -R xcloud:xcloud /tmp/lshttpd/.rtreport*

6. Wait for the command to finish.

7. Ask the customer to test the plugin/theme upload or update again.

Verification #

After applying the fix, ask the customer to retry the same action:

– Upload the plugin again

If successful, the issue is resolved.

Also, check the server logs again and confirm that the same error is no longer appearing during the upload/update attempt:

Failed to obtain or reinitialize VMemBuf.

What are your feelings

Updated on May 13, 2026

Server Name

RAM

SSD

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Newcomer

1GB

25GB

$4.50

$5.00

$6.00

Basic

2GB

55GB

$9.00

$10

$12.00

Standard

4GB

80GB

$18.00

$20

$24.00

Professional

8GB

160GB

$36.00

$40

$48.00

Business

16GB

320GB

$72.00

$80

$96.00

Server Name

RAM

SSD/NVMe

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Lite

1GB

32GB

$5.40

$6.00

$8.00

Personal

2GB

88GB

$16.20

$18.00

$24.00

Growing

4GB

128GB

$21.60

$24.00

$32.00

Elite

8GB

256GB

$43.20

$48.00

$64.00

Titanium

8GB

384GB

$86.40

$96.00

$96.00

Ultimate

32GB

512GB

$172.80

$192.00

$192.00