freePBX upgrade 15 > 16 - conflicts with asterisk-configs version and a php error (all my fault)

I was curious and ran the upgrade from 15 to 16, using the upgrade tool. Unfortunately it failed…maybe because I updated the freePBX-15 system to the latest version before the upgrade to 16.

Here it is:

Transaction check error:
  file /etc/asterisk/amd.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/ari.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/asterisk.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/cdr_adaptive_odbc.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/cel.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/cel_odbc.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/confbridge.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/dnsmgr.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/enum.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/extconfig.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/extensions.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/features.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/http.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/iax.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/indications.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/logger.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/manager.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/meetme.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/modules.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/musiconhold.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/pjsip.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/pjsip_notify.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/queuerules.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/queues.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/res_odbc.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/res_parking.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/rtp.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/sip.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/sip_notify.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/udptl.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64
  file /etc/asterisk/voicemail.conf from install of freepbx16-16.1-1.sng7.x86_64 conflicts with file from package asterisk16-configs-16.20.0-1.sng7.x86_64

Is there anything I can do?

On this machine I previously had a patched Asterisk, but I updated Asterisk to the latest version through “yum update” (before the upgrade 15 > 16) and any patches should be gone now.

What is the problem?

Looks like Freepbx16 rpm is conflicting with asterisk16_configs rpm ,raised [FREEPBX-23332] 15 to 16 upgrade - freepbx rpm dependency issue - Sangoma Issue Tracker to track of this issue. will try to reproduce this issue in-house asap.
thanks

Ok, thanks!

I could circumvent the problem with the asterisk-configs (it might be related to the fact that I patched Asterisk):

rpm --erase --nodeps asterisk16-configs-16.19.0-1.sng7.x86_64 && yum update

Started with a fresh VM image, but now I see this error in the log:

Unable to connect to the PBX!PHP Warning: PHP Startup: Unable to load dynamic library ‘tidy.so’ (tried: /usr/lib64/php/modules/tidy.so (/usr/lib64/php/modules/tidy.so: undefined symbol: zval_used_for_init), /usr/lib64/php/modules/tidy.so.so (/usr/lib64/php/modules/tidy.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Can anybody help? If not, I will stay with the freePBX-15 version…no problem :wink:
It could well be that my machine originally was a freePBX-14 system, which I already upgraded to freePBX-15…can’t remember…

Regarding the PHP-error…when I look for the locations of the files, I find two versions of php…which one is it? zts? and why is it still php56w (yum list installed | grep php*)…after the upgrade?

[[email protected] ~]# rpm -ql php56w-tidy.x86_64
/etc/php-zts.d/tidy.ini
/etc/php.d/tidy.ini
/usr/lib64/php-zts/modules/tidy.so
/usr/lib64/php/modules/tidy.so

Somehow…everything is php 7.4 after the upgrade, just tidy is still 5.4 :thinking:

Fehler: Paket: php-tidy-5.4.16-9.el7.x86_64 (sng-epel)

What are you using php-tidy for? I don’t believe it is used by FreePBX.

I will check on another system, where I didn’t mess around…but I can’t remember that I did something on the current system, except the asterisk patching.

I removed the php54w-tidy and did

yum reinstall php

it seems the php problems are gone now…

Unlikely cause as Asterisk does not use PHP in any manner.

Thanks…we will see if others report any problems during the freePBX 15 > 16 upgrade.
Just one more thing, my Firefox browser lost the connection during the upgrade…I had to read the log file to know, what’s going on :wink:

ok…I did something :wink:
For the Ciscos to be able to display an image from the door-station-camera I had to install ImageMagick stuff. This might be the reason for the problems…

I am sorry…it’s all my fault! :frowning_with_open_mouth:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.