Changes

From SME Server
Jump to navigationJump to search
4,850 bytes added ,  05:28, 28 March 2022
Line 76: Line 76:  
- then  click check online
 
- then  click check online
 
- select 2.x "Upgrade Tool", install by clicking "process" and follow the instructions ( basically doing the same previous process, but by first updating only the FreePBX Framework, and after applying and reloading all update all other modules)
 
- select 2.x "Upgrade Tool", install by clicking "process" and follow the instructions ( basically doing the same previous process, but by first updating only the FreePBX Framework, and after applying and reloading all update all other modules)
 +
 +
== known issues for obsolete versions ==
 +
 +
===SME8: Sounds===
 +
you might have some trouble with sounds not playing, after updates of freepbx.
 +
The problem is that freepbx in new release configures asterisk to search for sounds in /usr/share/asterisk/sounds but all rpm for centos will install them in  /var/lib/asterisk/sounds
 +
 +
create a symlink for each folder in it and everything will works.
 +
 +
===SME8: Dahdi-linux-kmdl===
 +
 +
be carrefull to keep the kernel module up to date every time you have a new kernel release ( wait if they are not available)
 +
 +
===SME8: FOP could not reload ===
 +
if after installation you get this message just do a
 +
service freepbx restart
 +
and everything will get fine !
 +
 +
===SME9: warnings during yum install ===
 +
you can safely ignore any of the following warnings during the installation :
 +
Installing : asterisk-sounds-extra-en-ulaw-1.4.11-1_centos6.noarch                                                                                                        22/45
 +
warning: user asterisk does not exist - using root
 +
 +
and
 +
Installing : kmod-dahdi-linux-fwload-vpmadt032-2.9.0-1_centos6.2.6.32_279.14.1.el6.x86_64.x86_64                                                                          15/45
 +
WARNING: /lib/modules/2.6.32-573.26.1.el6.x86_64/weak-updates/dahdi-linux-fwload-vpmadt032/dahdi_vpmadt032_loader.ko needs unknown symbol vpmadtreg_unregister
 +
WARNING: /lib/modules/2.6.32-573.26.1.el6.x86_64/weak-updates/dahdi-linux-fwload-vpmadt032/dahdi_vpmadt032_loader.ko needs unknown symbol vpmadtreg_register
 +
WARNING: /lib/modules/2.6.32-573.8.1.el6.x86_64/weak-updates/dahdi-linux-fwload-vpmadt032/dahdi_vpmadt032_loader.ko needs unknown symbol vpmadtreg_unregister
 +
WARNING: /lib/modules/2.6.32-573.8.1.el6.x86_64/weak-updates/dahdi-linux-fwload-vpmadt032/dahdi_vpmadt032_loader.ko needs unknown symbol vpmadtreg_register
 +
WARNING: /lib/modules/2.6.32-642.1.1.el6.x86_64/weak-updates/dahdi-linux-fwload-vpmadt032/dahdi_vpmadt032_loader.ko needs unknown symbol vpmadtreg_unregister
 +
WARNING: /lib/modules/2.6.32-642.1.1.el6.x86_64/weak-updates/dahdi-linux-fwload-vpmadt032/dahdi_vpmadt032_loader.ko needs unknown symbol vpmadtreg_register
 +
 +
they are only the result of the order choosen by yum for doing the install, and they do not impact the final result.
 +
 +
in /var/log/asterisk/freepbx.log
 +
you might see the following
 +
[2016-06-10 12:14:08] ERROR[11265] res_pjsip_config_wizard.c: Unable to load config file 'pjsip_wizard.conf'
 +
you can safely ignore it, or refer to https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard in order to create your own.
 +
 +
 +
===SME9: install more language pack manually ===
 +
In 2019, language sound module stop displaying available language packs. It seems that freepbx team has issue or stop populating their $xml = $this->getRemoteFile("/sounds-" . $base_version . ".xml"); file  for fpbx13 : http://mirror1.freepbx.org/sounds-13.0.xml As a result sound lang module will display an empty list.
 +
 +
Just change MYLANG='fr' to your desired language. <syntaxhighlight lang="bash">
 +
mkdir /root/soundpacks
 +
cd /root/soundpacks
 +
MYLANG='fr'
 +
wget -r -l 1 -c --no-directories --no-parent -A 'asterisk-*-sounds-'$MYLANG'-*' -R '*.txt,*sha1' http://downloads.asterisk.org/pub/telephony/sounds/
 +
rm -f robots.txt
 +
for OUTPUT in $(ls *-$MYLANG-* )
 +
do
 +
tar -xzf $OUTPUT -C /var/lib/asterisk/sounds/$MYLANG
 +
done
 +
chown asterisk:asterisk -R /var/lib/asterisk/sounds/$MYLANG
 +
</syntaxhighlight>After that login to freepbx and add a custom language for your lang to be able to use it.
 +
 +
===SME9: difficulty to upgrade ===
 +
if you installed this contrib before  8/4/2017, you should issue the following command to exclude the php packages from asterisk-current repo. They could conflict with upstream packages and block your updates (php-pear(DB) = 1.7.13 Updated By: php-pear-DB-1.7.14-1_centos6.noarch (asterisk-current) Not found).
 +
db yum_repositories setprop asterisk-current Exclude php-*
 +
signal-event yum-modify
 +
 +
===SME9: CDR logging not enabled by default===
 +
CDR logging is not enabled by default. To enable one must manually load the ''cdr_mysql.so'' module:
 +
Admin -> Asterisk Modules -> Manually loaded Modules -> Add module and enter the module name ''cdr_mysql.so''
 +
 +
===SME9: /tmp owned by asterisk:asterisk===
 +
update to a version of smeserver-freepbx >=13.3 and this will be fixed
 +
 +
===SME9: freepbx modules ===
 +
if you need to install the digium addons from freepbx, you will first need to install the following RPM:
 +
yum install php-digium_register --enablerepo-digium-current
 +
 +
Firewall addons does not work on SME, it requires Sysadmin RPM.
 +
 +
You may need to manually install the manager module. It should be a default module but I could not find it installed, and nothing appeared in the Module Admin.
 +
 +
fwconsole moduleadmin listonline
 +
 +
fwconsole ma downloadinstall manager
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu