Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsADirectoryError When Running Production #259

Open
brennan-toofon opened this issue May 23, 2023 · 3 comments
Open

IsADirectoryError When Running Production #259

brennan-toofon opened this issue May 23, 2023 · 3 comments

Comments

@brennan-toofon
Copy link

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
Copy link
Member

bkueng commented May 24, 2023

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

@brennan-toofon
Copy link
Author

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.

@bkueng
Copy link
Member

bkueng commented Dec 16, 2024

Hi did you ever resolve this? The user config is just a file to insert your customizations, like a map key. This is why it's outside of docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants