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

config dir does not exists #860

Open
miton18 opened this issue Dec 5, 2024 · 0 comments · May be fixed by #861
Open

config dir does not exists #860

miton18 opened this issue Dec 5, 2024 · 0 comments · May be fixed by #861
Assignees

Comments

@miton18
Copy link
Contributor

miton18 commented Dec 5, 2024

when using env vars to pass credentials, the "clever-cloud" directory is not created,

So part of the code like id-cache did not works

docker run -it -e CLEVER_SECRET=**secret** -e CLEVER_TOKEN=**token** clevercloud/clever-tools:latest restart --app app_**id**
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
[ERROR] Cannot write IDs cache to /root/.config/clever-cloud/ids-cache.json
ENOENT: no such file or directory, open '/root/.config/clever-cloud/ids-cache.json' 
@miton18 miton18 self-assigned this Dec 5, 2024
miton18 added a commit that referenced this issue Dec 5, 2024
@miton18 miton18 linked a pull request Dec 5, 2024 that will close this issue
miton18 added a commit that referenced this issue Dec 5, 2024
miton18 added a commit that referenced this issue Dec 5, 2024
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

Successfully merging a pull request may close this issue.

1 participant