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

etc/sealos/.env: No such file or directory #5065

Closed
Qiuqi777 opened this issue Sep 11, 2024 · 3 comments · Fixed by #5079
Closed

etc/sealos/.env: No such file or directory #5065

Qiuqi777 opened this issue Sep 11, 2024 · 3 comments · Fixed by #5079
Assignees
Labels
kind/bug Something isn't working

Comments

@Qiuqi777
Copy link

Sealos Version

v5.0.0

How to reproduce the bug?

  1. bash /tmp/install.sh --cloud-version=v5.0.0 --image-registry=registry.cn-shanghai.aliyuncs.com --zh --proxy-prefix=https://mirror.ghproxy.com
  2. ip change
  3. sealos reset --force
  4. rm -rf /usr/bin/sealos
  5. rm -rf /root/.sealos
  6. rm -rf /etc/kubernetes /var/lib/kubelet /var/lib/etcd /root/.kube
  7. sudo apt-get remove --purge docker-ce docker-ce-cli containerd.io
  8. sudo rm -rf /var/lib/docker /var/lib/containerd
  9. rm find / -name "sealos" 2>/dev/null
  10. sudo reboot
  11. bash /tmp/install.sh --cloud-version=v5.0.0 --image-registry=registry.cn-shanghai.aliyuncs.com --zh --proxy-prefix=https://mirror.ghproxy.com
  12. ERROR: No such file or directoryscripts/init.sh:line 18:etc/sealos/.env

What is the expected behavior?

No response

What do you see instead?

No response

Operating environment

- Sealos version:
- Docker version:
- Kubernetes version:
- Operating system:
- Runtime environment:
- Cluster size:
- Additional information:

Additional information

I thought etc/sealos/.env was created by the script, but during execution it showed that there was no such file.

@Qiuqi777 Qiuqi777 added the kind/bug Something isn't working label Sep 11, 2024
@sealos-ci-robot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Uploading WeChat053ba47b86ba7f492a1deb58053f6b86.jpg…

@Qiuqi777
Copy link
Author

WeChat053ba47b86ba7f492a1deb58053f6b86

@sealos-ci-robot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


WeChat053ba47b86ba7f492a1deb58053f6b86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants