For the database, just make sure not using a relative path to its location.
Calculate an absolute path as otherwise it placement will be dictated what the
current working directory Apache runs as, which may not be a desirable
location. See:
Now I removed the virtual environment and change wsgi-file to this:
[image: Screenshot 2023-04-17 170647.png]
and the config file accordingly and the application starts!
Now I am struggeling with my sqlite db. Obviously it not enough to just
have in the document root like in the test system. If
Hi Graham, thank you very much for your comments and recommendations.
1. I do not have AppArmor enabled - at least I am not aware of
2. I have checked my installation implementing the suggested test
applicationn "myapp" described here