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

I'm having some issues with deployment #738

Open
ciscoivan opened this issue Feb 29, 2024 · 1 comment
Open

I'm having some issues with deployment #738

ciscoivan opened this issue Feb 29, 2024 · 1 comment

Comments

@ciscoivan
Copy link

[root@localhost conf.json]# docker logs bcaeada23707
2024-02-29 03:28:08,088 [root.INFO] Starting Script Server, v1.18.0
2024-02-29 03:28:08,090 [migrations.INFO] Applying migration add_execution_info_to_log_files
2024-02-29 03:28:08,090 [migrations.INFO] Applying migration introduce_access_config
Traceback (most recent call last):
File "/app/launcher.py", line 11, in
main.main()
File "/app/src/main.py", line 86, in main
migrations.migrate.migrate(TEMP_FOLDER, CONFIG_FOLDER, SERVER_CONF_PATH, LOG_FOLDER)
File "/app/src/migrations/migrate.py", line 388, in migrate
migration_descriptor.callable(context)
File "/app/src/migrations/migrate.py", line 210, in __introduce_access_config
content = file_utils.read_file(file_path)
File "/app/src/utils/file_utils.py", line 63, in read_file
with open(path, mode, newline=newline) as f:
IsADirectoryError: [Errno 21] Is a directory: '/app/conf/conf.json'
[root@localhost conf.json]#

@bugy
Copy link
Owner

bugy commented Feb 29, 2024

Hi @ciscoivan, the error is Is a directory: '/app/conf/conf.json'
So I guess you are assigning folder to file in 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