Page 1 of 1

Python Repo not working + Certbot broken

PostPosted: Sat Feb 27, 2021 3:20 am
by covarrubiasgg
Today I made a fresh install with Vicibox 9.0.3, since last week I noticed the Repo: openSUSE-Leap-15.1-Devel-Languages-Python Is no longer available for 15.1

Usually when I install a new server I run "zypper update" but this time after the update certbot is broken. I was on hurry so I didn't save the error log, but it was asking for a Python Library, since the Python repo is no longer available maybe something went wrong. Anyway, I installed the Python repo for 15.2 but it said there were no packages to update when I ran "zypper update".

The official documentation for Certbot recommends using Snap as installation method. So I installed Snap using the official repos

Code: Select all
$ sudo zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.1 snappy
$ sudo zypper --gpg-auto-import-keys refresh
$ sudo zypper install snapd
$ sudo systemctl enable --now snapd

--- At this point I logged out my session, and login again, in order to update my $PATH ---



Than I installed cerbot using Snap

Code: Select all
$ sudo snap install core; sudo snap refresh core
$ sudo snap install --classic certbot


Finally I replace the original certbot with the Snappy Copy

Code: Select all
sudo rm /usr/bin/certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot



After doing this I was able to run vicibox-certbot as usual. I know is ugly but it did work, i hope this helps someone

Re: Python Repo not working + Certbot broken

PostPosted: Sat Feb 27, 2021 1:07 pm
by carpenox
yea 15.1 went EOL feb 20th, good post on a fix

Re: Python Repo not working + Certbot broken

PostPosted: Sun Mar 14, 2021 8:08 am
by LC2003
Good
Thanks

Re: Python Repo not working + Certbot broken

PostPosted: Thu Mar 18, 2021 8:23 am
by Kumba
I'd recommend just switching to the acme.sh script. The certbot script itself has proven to be a raging dumpster fire in practice.

In ViciBox v.10 it's no longer there and instead there's going to be vicibox-ssl which uses the acme.sh script to manage certs.

Re: Python Repo not working + Certbot broken

PostPosted: Thu Mar 18, 2021 8:30 am
by carpenox
lol kumba, yea its pretty temperamental

Re: Python Repo not working + Certbot broken

PostPosted: Mon May 31, 2021 4:15 pm
by LC2003
working for me , thank you