flight_review icon indicating copy to clipboard operation
flight_review copied to clipboard

IsADirectoryError When Running Production

Open brennan-toofon opened this issue 2 years ago • 3 comments

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

brennan-toofon avatar May 23 '23 01:05 brennan-toofon

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

bkueng avatar May 24 '23 05:05 bkueng

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.

brennan-toofon avatar Jul 06 '23 14:07 brennan-toofon