• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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