Coder Social home page Coder Social logo

Comments (7)

christopher-conley avatar christopher-conley commented on June 4, 2024 1

@DatGuyMcCaully @gribodyr

It's due to the version of urllib3 distributed with the "python3-pip" in Ubuntu 20.04 combined with the version that the docker-compose pip module wants. The version of urllib3 that gets installed alongside "python3-pip" is 1.25.8, whereas the docker-compose pip module wants something that is >=1.26.0. When the docker-compose pip module gets installed, to meet that requirement, pip installs a newer version of urllib3 which seems to be bugged (see here), which is causing the certbot error.

I amended my existing PR #88 to fix this as well. I tested it out on an Ubuntu 20.04 droplet in DigitalOcean and was able to reproduce the original issue, and the latest commit I made to my forked lemmy-ansible repo deployed a lemmy instance successfully.

from lemmy-ansible.

DatGuyMcCaully avatar DatGuyMcCaully commented on June 4, 2024 1

@DatGuyMcCaully

It's due to the version of urllib3 distributed with the "python3-pip" in Ubuntu 20.04 combined with the version that the docker-compose pip module wants. The version of urllib3 that gets installed alongside "python3-pip" is 1.25.8, whereas the docker-compose pip module wants something that is >=1.26.0. When the docker-compose pip module gets installed, to meet that requirement, pip installs a newer version of urllib3 which seems to be bugged (see here, which is causing the certbot error.

I amended my existing PR #88 to fix this as well. I tested it out on an Ubuntu 20.04 droplet in DigitalOcean and was able to reproduce the original issue, and the latest commit I made to my forked lemmy-ansible repo deployed a lemmy instance successfully.

worked like a charm.

from lemmy-ansible.

Nolram12345 avatar Nolram12345 commented on June 4, 2024 1

I would urge to re-open this issue as the issue continues to persist. Using a potentially non-maintained fork that is not merged into the main branch is not really a good option.

from lemmy-ansible.

gribodyr avatar gribodyr commented on June 4, 2024

Same for me. Running Ubuntu Linux (ubuntu 20.04 with all package upgrades), fresh install of Linux,.

from lemmy-ansible.

dessalines avatar dessalines commented on June 4, 2024

I googled your error, its an old python3 version on your system:

https://stackoverflow.com/questions/76175487/sudden-importerror-cannot-import-name-appengine-from-requests-packages-urlli

from lemmy-ansible.

DatGuyMcCaully avatar DatGuyMcCaully commented on June 4, 2024

Installed the following version of python on 20.04: python3, python3.8, python3.10 python3.11 and uncommited the following in the ansible.cfg:
#interpreter_python= /usr/bin/python3
None worked.

Also, spun up a new azure server with Ubuntu 22.04 and still running into the same issues.

from lemmy-ansible.

heigre avatar heigre commented on June 4, 2024

Great work @christopher-conley !
I must second @Nolram12345 that this issue is re-opened, and that the required changes gets fixed on the main branch.

from lemmy-ansible.

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.