PX4 / flight_review

web application for flight log analysis & review
https://logs.px4.io/
BSD 3-Clause "New" or "Revised" License
193 stars 190 forks source link

IsADirectoryError When Running Production #259

Open brennan-toofon opened 1 year ago

brennan-toofon commented 1 year ago

Hello,

I am getting many IsADirectoryError: [Errno 21] Is a directory: '/opt/service/plot_app/../config_user.ini' in my docker logs when I build the site using ./init-letsencrypt.sh.

The app works locally and even when hosted using docker-compose up, so why would there be errors now? Has anyone come across this?

When accessing the site in the browser, I get the blank "500 Internal Server Error / nginx/1.23.4" page after logging in.

Thanks

bkueng commented 1 year ago

Hi I'm not using the container, so I have not come across this. Let me know if you find anything.

brennan-toofon commented 1 year ago

Deployment is successful if I don't read config_user.ini by commenting out lines 16 and 17 in plot_app/config.py. I am also not sure what "add app/config_user.ini with respective stages." means in the readme.