We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From the heroku logs:
2020-08-02T18:12:41.473090+00:00 app[web.1]: File "./optimade/server/logger.py", line 39, in <module> 2020-08-02T18:12:41.473090+00:00 app[web.1]: LOGS_DIR.mkdir(exist_ok=True) 2020-08-02T18:12:41.473093+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/pathlib.py", line 1268, in mkdir 2020-08-02T18:12:41.473093+00:00 app[web.1]: self._accessor.mkdir(self, mode) 2020-08-02T18:12:41.473136+00:00 app[web.1]: OSError: [Errno 30] Read-only file system: '/var/log/optimade' 2020-08-02T18:13:38.829133+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
So it seems we should "simply" try and catch a more general OSError instead of PermissionError when trying to make the directory.
OSError
PermissionError
The text was updated successfully, but these errors were encountered:
CasperWA
Successfully merging a pull request may close this issue.
From the heroku logs:
So it seems we should "simply" try and catch a more general
OSError
instead ofPermissionError
when trying to make the directory.The text was updated successfully, but these errors were encountered: