• 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.

Question python - how to change config?

s-light

New Pleskian
Server operating system version
linux
Plesk version and microupdate number
netcup shared hosting - Plesk Onyx 18.0
simple question:
how to change the python configurations ?
i tried to change the App root - but it seems the changes are not store.
is it possible to change it?

i try to get plesk to find my `passenger_wsgi.py` - but currently do not succeed...

i also found that the Mode is stuck at Production..
i tried to disable first then change and activate again.
but that did not help either...


this all is on a shared hosting (netcup) -
so iam just a user with limited options...
in the help link in top right it says it is *Plesk Onyx 18.0*

there own wiki says
Hinweis: Veränderte Einstellungen werden nur nach erneutem Einschalten übernommen. Ein Klick auf Anwendungs Neustart legt im Verzeichnis App Root/tmp/ die Datei restart.txt an. Damit lädt der Passenger Server die Applikation neu.
that means: you have to disable it and enable it again to get the new settings..

iam open for any tips :)
 
ok some more wild guess testing later i found that in one of my subdmoains i have the python app root set as /.
so i created a passenger_wsgi.py file in the root folder of my webspace.
and at least now it can find it -
i only missing some log-output now (as my app does not load yet...)
 
Back
Top