• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!

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