• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Question Can't access Shopware 6 Staging Area within Plesk Server

Altan

New Pleskian
Server operating system version
Ubuntu 20.04.4 LTS
Plesk version and microupdate number
Plesk Obsidian Version 18.0.44
Hey, we used a PlugIn to create the Staging Area. All the configuration within the PlugIn and the Server are correct, however, we still can't access the Staging Area. This is what my colleague sent me and I am running out of questions.

We use a current Plesk server. This is correctly configured so that the Shopware 6 store is located in httpdocs/ and the web server for the host points to httpdocs/public/, so that the store runs correctly in the frontend. So far, so the standard. If now a new staging environment is created, the folder e.g. staging/ is created in httpdocs/. This is obviously how the PlugIn provides for it. If I now call domain.tld/staging/ etc. in the browser, we get a 404. We have now also tried to put a symlink from httpdocs/public/staging/ to httpdocs/staging/, but this contradicts the security settings, because it is not possible to call publicly what is behind the public root. So we tried it the other way around, and moved the created staging folder to public/ and put a symlink from httpdocs/staging/ to httpdocs/public/staging/. Then we get at least so far in the browser that we get a Phusion Passenger error message. However, not the staging environment either. Via subdomain to the staging folder works, but then we have no more licensed plugins, because it is a different domain. So it does not work either. How should we proceed here? Do you already have a solution for Plesk Server? It is the most used server system in the world and actually it only adheres to security standards.

Thanks
 
There are two ways to get around this:
  • add another location to nginx which points to the staging directory
  • instead of a symlink, use mount --bind
 
Back
Top