Python Repo not working + Certbot broken

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Python Repo not working + Certbot broken

Postby covarrubiasgg » Sat Feb 27, 2021 3:20 am

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
covarrubiasgg
 
Posts: 390
Joined: Thu Jun 10, 2010 10:20 am
Location: Tijuana, Mexico

Re: Python Repo not working + Certbot broken

Postby carpenox » Sat Feb 27, 2021 1:07 pm

yea 15.1 went EOL feb 20th, good post on a fix
Leap 15.2 | Version: 2.14-814a | BUILD: 210608-2108 | SVN Version: 3452 | DB Schema Version: 1635 | Asterisk 16.17.0-vici
www.CyburityLLC.com -:- 844-PC-SATA-2 -:- My Blog: the.cyburhacker.com -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1347
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Python Repo not working + Certbot broken

Postby LC2003 » Sun Mar 14, 2021 8:08 am

Good
Thanks
LC2003
 
Posts: 8
Joined: Wed Mar 04, 2015 4:48 am

Re: Python Repo not working + Certbot broken

Postby Kumba » Thu Mar 18, 2021 8:23 am

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.
Kumba
 
Posts: 886
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Re: Python Repo not working + Certbot broken

Postby carpenox » Thu Mar 18, 2021 8:30 am

lol kumba, yea its pretty temperamental
Leap 15.2 | Version: 2.14-814a | BUILD: 210608-2108 | SVN Version: 3452 | DB Schema Version: 1635 | Asterisk 16.17.0-vici
www.CyburityLLC.com -:- 844-PC-SATA-2 -:- My Blog: the.cyburhacker.com -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1347
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Python Repo not working + Certbot broken

Postby LC2003 » Mon May 31, 2021 4:15 pm

working for me , thank you
LC2003
 
Posts: 8
Joined: Wed Mar 04, 2015 4:48 am


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 17 guests