-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
Failure to Uninstall Docker-Compose #6153
Comments
It looks like parts of Python are uninstalled already, at least the apt install python3-distutils Afterwards you can purge this package again, or Python all together if you do not need it for something else. |
Thanks, that did the trick. Really appreciate your help! |
Was that |
I'm not sure exactly. Just curious, why did the restore of my backup fail? I used dietpi-backup and performed a restore from the menu. Additionally is there a guide on how to restore a backup if my dietpi installation becomes unbootable? Thanks, just trying to make sure I'm doing all of this properly. |
Ok, so I tried reinstalling docker and docker compose. It looks like I can no longer install docker compose. Any way to fix this?
|
docker compose has been installed from apt package now |
When I type: docker-compose, I get this message: bash: docker-compose: command not found Why can I not access this command? |
Jep, all perfectly fine. It needs to be called now without the dash, as it is a Docker plugin: docker compose |
Gotcha, that appears to be working. I could have sworn docker-compose is what I've used in the past. Odd. |
Yes, it was installed as standalone binary before, now as APT package and Docker plugin. See changelog: https://github.com/MichaIng/DietPi/blob/3a98e7b/CHANGELOG.txt#L25 |
Yeah Docker introduced some changes and Compose is becoming a plugin now https://docs.docker.com/compose/compose-v2/ |
Ahh...that's what I get for upgrading and not reading the changelog first. Go figure that change occurred when I logged this issue. I'll review, thank you :-) |
In regards to my restore failure from a backup, should I log as a separate ticket? Additionally, if I want to understand how to restore my backup if for some reason my dietpi server no longer boots, should that be a forum question? Thanks. |
Usually |
Regarding restore errors, probably a dedicated issue is easier. Add some info, error logs/output you get. Restoring a dietpi-backup when the system does not boot can be done from another system. But one needs to call
That is also a good hint. You can flash a new image, attach it together with the backup, either copied to the same filesystem or onto a dedicated drive, set a related flag in |
Fixed with: 90127ec |
Issue:
Questions Are As Follows:
Diet-Pi Restore Backup Failure
File: dietpi-backup failure.txt
Docker-Compose Uninstall Errors
Linux DietPi 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux
pip3 uninstall -y docker-compose
The text was updated successfully, but these errors were encountered: