• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved Homepage on extra Storage

Hoerli

New Pleskian
Hello together!
I have now received a new Linux Ubuntu server with Plesk.
It has a 32GB SSD and a 1TB HDD.

Plesk has been pre-installed by my provider.
But i have a problem...

The folder /var/www/… is on the SSD.
The 1TB HDD is /storage/.

I have installed some WordPress-Sites which all load all files on the SSD (var/www/vhosts....).
I have moved the wp-content-folder of WordPress to the /storage/ and set a Hardlink to the folder in var/www/vhosts/URL/httpdocs/.
WordPress can now read all files of the storage.
But if i upload a file, i upload it to the SSD and not to the HDD.


In addition, I would like to install NextCloud.
If I install everything on the SSD and do the same (as with WordPress), he can't find a check-file.
If I install NextCloud with the data directly to /storage/..., he has no permission to write.

I have checked all rights and given the same rights to any folder like on the ssd.
I give all the same R+W-rights.

What am I doing wrong, or does anyone know of this problem?
Dr. Google delivers unfortunately no answers that are useful. :(
 
For relocation vhosts directory use transvhosts.pl utility:

# plesk bin transvhosts.pl --help
You should specify destination directory.
Utility to transfer vhosts content from HTTPD_VHOSTS_D directory to new place.

Usage:
--dest-dir <path> Destination path. Path to new vhosts directory.
Example: /path/to/new/vhosts.
If directory does not exist it will be created.

--correct-scripts Changes user scripts.
Old vhost path is replaced to new path in content of all files.
 
Back
Top