All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by pdraganov » Thu Dec 19, 2019 10:04 am
I tried to update openSUSE of ViciBox 8.1.2 with zypper dup but it downgraded mariadb from 10.2.24 to 10.0.35 which made it unuasable as databases could not be downgraded. Then I decided to upgrade openSUSE from 42.3 to 15.0. and then to 15.1. I found out that the best method is to use openSUSE DVD .iso files and select Upgrade. This fixed mariadb version but some packages were deinstalled and I installed manually subversion, perl-DBI and perl-DBD-mysql. This allowed me to update vicidial to revision 3180 and everything looks OK with exception of missing asterisk package. Tried "cnf asterisk", but received "asterisk: command not found".
What is the best method to install asterisk package and are there other packages which I should install manually in order to upgrade to viciBox 9? What repositories I need to add to do this?
-
pdraganov
-
- Posts: 8
- Joined: Thu Dec 19, 2019 9:06 am
by pdraganov » Fri Dec 20, 2019 3:29 am
OK, I mounted ViciBox_v9.x86_64-9.0.1.iso, then ViciBox_v9.raw.squashfs inside it and then partition 3 of ViciBox_v9.raw inside it and copied all files from /etc/zypp/repos.d/. Then started "zypper ref", trusted 2 keys and installed asterisk.
Now I need information how to start asterisk automatically, what other packages I need to install and what other configuration changes I need to do.
If there a how-to "VICIdial Scratch Install openSUSE & Asterisk 13" similar to
https://anwer.home.blog/2019/05/23/vici ... terisk-13/ for openSUSE?
-
pdraganov
-
- Posts: 8
- Joined: Thu Dec 19, 2019 9:06 am
by pdraganov » Fri Dec 20, 2019 3:47 am
I also started "zypper dup" and updated manu packages but one failed:
Installing: python2-urllib3-1.25.3-lp151.75.1.noarch ...........................................................................................[error]
Installation of python2-urllib3-1.25.3-lp151.75.1.noarch failed:
Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname: cpio: File from package already exists as a directory in system
error: python2-urllib3-1.25.3-lp151.75.1.noarch: install failed
error: python2-urllib3-1.24-lp151.2.6.1.noarch: erase skipped
ll /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname
total 36
-rw-r--r-- 1 root root 688 Oct 16 2018 __init__.py
-rw-r--r-- 2 root root 608 Sep 20 19:13 __init__.pyc
-rw-r--r-- 2 root root 608 Sep 20 19:13 __init__.pyo
-rw-r--r-- 1 root root 5683 Oct 16 2018 _implementation.py
-rw-r--r-- 2 root root 4214 Sep 20 19:13 _implementation.pyc
-rw-r--r-- 2 root root 4214 Sep 20 19:13 _implementation.pyo
-
pdraganov
-
- Posts: 8
- Joined: Thu Dec 19, 2019 9:06 am
by Kumba » Fri Dec 20, 2019 11:34 am
This is why we never recommend doing a distribution upgrade. It is almost uninstalling every package and reinstalling a new one. The way we recommend doing an upgrade is to take a backup of the system then reinstall with the ISO.
As far as why the package won't install, I don't know. I am guessing if you move or delete the directories it's looking at it might work? I do know that nothing in ViciDial uses python so it won't cause a problem that way. As far as something else using python I have no clue.
We don't do any testing of distribution upgrades because they are so problematic even if things go 'right'.
Also, when MariaDB was downgraded, it likely only wouldn't start because of a couple settings in my.cnf that it didn't understand. If you had simply commented out these config options it would have started with no issues. Unfortunately you are too far past that point now.
-
Kumba
-
- Posts: 939
- Joined: Tue Oct 16, 2007 11:44 pm
- Location: Florida
Return to Support
Who is online
Users browsing this forum: No registered users and 164 guests