• 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

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