Giter Site home page Giter Site logo

Comments (4)

binkleyz2 avatar binkleyz2 commented on July 18, 2024 1

Actually, yes, I did just recently upgrade to bookworm using the script here: https://dietpi.com/blog/?p=3128

I ran the two commands provided and it seems to be fine now.

Created a post-install debug report in case you want to see it - d974e242-9339-477c-9c94-fb614a3fa65d

from dietpi.

binkleyz2 avatar binkleyz2 commented on July 18, 2024 1

I don't recall installing Docker Compose via the dietpi-software route before, and I also do not recall installing it manually, though that is a possibility..I've had this box up and running for a few years now and early on I was kind of just hacking at it to get functionality. I use the box primarily for a VPN server and PiHole/Unbound setup, but have recently wanted to expand what the box is doing so figured Docker would be a good path forward.

from dietpi.

MichaIng avatar MichaIng commented on July 18, 2024

Hmm, did you upgrade this system from Bullseye to Bookworm? I am wondering how pip and the docker-compose module were installed in the first place without the related override for this pip block in place.

However, do the following and then retry:

grep -q '\[global\]' /etc/pip.conf 2> /dev/null || printf '%b' '[global]\n' | sudo tee -a /etc/pip.conf > /dev/null
sudo sed -i '/^\[global\]/a\break-system-packages=true' /etc/pip.conf

from dietpi.

MichaIng avatar MichaIng commented on July 18, 2024

Did you install Docker Compose via dietpi-software before or manually? Python 3 should have been reinstalled, adding this setting to /etc/pip.conf, but not if Python was installed manually. And now Docker Compose does not require Python anymore.

EDIT: Ah thanks for the debug upload. I'll have a look. We should be able to prevent this error when knowing the circumstances which lead to it.

from dietpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.