• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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