Comments (7)
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.
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.
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.
Same for me. Running Ubuntu Linux (ubuntu 20.04 with all package upgrades), fresh install of Linux,.
from lemmy-ansible.
I googled your error, its an old python3 version on your system:
from lemmy-ansible.
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.
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)
- issue with postgree password with playbook 1.2.0 ? HOT 13
- Consider enabling nginx caching HOT 11
- Upcoming 1.3.0 Release (Lemmy v0.19) HOT 8
- Update to 0.19.0 failed HOT 1
- pictrs v0.5 configuration migration
- Recommended/default config should include pg_stat_statements and auto_explain HOT 2
- Unable to get postfix/smtp to use a different smtp authentication user then `noreply@{{ domain }}` HOT 1
- Add tag for Lemmy 0.19.2 HOT 9
- Issues upgrading from 0.18.3 to 0.18.5 - Failed to lock apt for exclusive operation HOT 4
- Error connecting to postgres after fresh install (ubuntu, raspberry pi4) HOT 4
- lemmy.yml giving syntax error (I think) when trying to run HOT 2
- [Bug]: Getting nginx 502 bad gateway error when deploying lemmy with ansible HOT 3
- aptitude install? HOT 2
- Lemmy-ui ports configuration when setting up with docker and reverse proxy is a bit confusing. HOT 1
- no indication to where the vars.yml file is HOT 1
- When you try to create a post with bad word that's in bad words filter regex, request returns 400 and website freezes
- On next release, include upgrade instructions for postgres 15 -> 16 HOT 3
- Alma linux 9 DO droplet doesn't run through HOT 6
- not currently on a branch HOT 2
- Postgres docker container refusing connection HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lemmy-ansible.