• 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 Mounting in multiple disks to one domain

Snix

New Pleskian
Server operating system version
Red Hat Enterprise Linux Server release 7.9
Plesk version and microupdate number
18.0.44
Hello!
I haven't found a thread about my issue that seems to solve my need.

To start off, i have set up a wordpress application in plesk with bedrock in the backend.
Everything is basically up and running and seems a lot faster compared to the old hosting but i have an issue with mounted storage volumes.

Symlinks within the same site directory works
I've tested with symlinks inside the plesk application and that works fine as long as it is inside of the installation
example /var/www/vhosts/<site>/uploads symlinks have a created symlink at /var/www/vhosts/<same_site>/httpdoc/html/web/wp/uploads

Mounted volumes outside of site directory into the the site directory gives URL rejected
The issue comes with the mounted volumes. the volumes are mounted at /mnt/<folder_name> and then linked into /var/www/vhosts/<same_site>/httpdoc/html/web/wp/<folder_name>

The issue with this, is that when i go out on the site and try to access the files, so <site_name>.com/<folder_name>/<file_name>.pdf ill get greeted with
"The requested URL was rejected. Please consult with your administrator."
Is there another way to solve this issue on the plesk? we would love to not need to add 140gb of files directly to the site.

Kind regards.
 
That's working as intended. A subscription is not supposed to break out of /var/www/vhosts/whatever, and a symlink requires that the link target path be accessible.
Use mount --bind instead.
 
Back
Top