FYI Module Admin Update Fails on Digium Addons

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
Ran module update this morning and received:

Digium Addons 2.11.0.3 Digium Disabled; Pending upgrade to 2.11.0.4
Reran as a single update and received:
This Module Requires The Digium RPM to be installed (php-digium_register-3.0.5-1_centos6.i686.rpm). Please see this page for more information: http://wiki.freepbx.org/display/F2/Digium+Addons Error(s) installing digiumaddoninstaller:
I'm sure others will run in to this as well. The wiki page doesn't really explain the root problem or solution.

│ PIAF Installed Version = 2.0.6.5 under *HARDWARE* │
│ FreePBX Version = 2.11.0.30 │
│ 2.11 │
│ Running Asterisk Version = 11.7.0 │
│ Asterisk Source Version = 11.7.0 │
│ Dahdi Source Version = 2.8.0.1 │
│ Libpri Source Version = 1.4.14 │
│ IP Address = 192.168.1.123 on eth0 │
│ Operating System = CentOS release 6.5 (Final) │
│ Kernel Version = 2.6.32-431.1.2.0.1.el6.i686 - 32 Bit
 

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,892
Reaction score
98
The root problem is with freepbx insisting that you install via rpm instead of source that piaf uses. I would recommend you post over on the fpbx forums and see what they have to say.


Tom
 

james

Guru
Joined
Oct 18, 2007
Messages
374
Reaction score
38
The wiki page linked above explains the fix with yum. Assuming PIAF still loads the FreePBX yum repos then the instructions will work.
 

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
Left a post, but fails.. once I find the answer, I'll post here for reference.

Code:
yum install -y php-digium_register
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: centos.mirror.lstn.net
 * extras: centos.hostingxtreme.com
 * piaf64: 192.210.137.132
 * updates: ftp.osuosl.org
Setting up Install Process
No package php-digium_register available.
Error: Nothing to do
 

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,892
Reaction score
98
you should have a smooze.repo in your /etc/yum.repos.d it is distributed with PIAF. If not let me know. I will make it available on our own repo server soon as I can. We included the smooze.repo file to make things work more easily with fpbx..... Originally we kept the few files that needed to be installed in our repo however smooze kept updating the files so it became a chore to maintain it with our repo.

Tom
 

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
Tom: This is what I see in /etc/yum.repos.d

drwxr-xr-x. 2 root root 4096 Feb 7 14:32 .
drwxr-xr-x. 144 root root 12288 Mar 30 03:38 ..
-rw-r--r-- 1 root root 2092 Feb 7 14:32 CentOS-Base.repo
-rw-r--r--. 1 root root 638 Dec 8 18:10 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 630 Dec 8 18:10 CentOS-Media.repo
-rw-r--r--. 1 root root 3664 Dec 8 18:10 CentOS-Vault.repo
-rw-r--r--. 1 root root 759 Dec 8 18:10 piaf64.repo
-rw-r--r--. 1 root root 293 Dec 8 18:10 schmooze.repo
 

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,892
Reaction score
98
sorry misspelled schmooze. you have the repo... When you posted your yum output I did not see it listed so that is why I was wondering if you had it. You can look inside and see if the line enabled=1 is present.

I will try to get the file it in our repo this weekend.


Tom
 

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,892
Reaction score
98

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
Tom:

Executed the above after creating digium.repo and received:

root@pbx:/etc/yum.repos.d $ yum install -y php-digium_register
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirrors.greenmountainaccess.net
* extras: bay.uchicago.edu
* piaf64: 192.210.137.132
* updates: mirror.es.its.nyu.edu
digium-11 | 951 B 00:00
digium-11/primary | 2.2 kB 00:00
digium-11 9/9
Setting up Install Process
No package php-digium_register available.
Error: Nothing to do

Steve
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
Here are the 32-bit and 64-bit RPMs for anyone that wants to manually install with rpm -ivh php-dig*


These should be in our repos shortly.
 

Attachments

  • php-digium_register-3.0.5-1_centos6.i686.rpm
    25.6 KB · Views: 95
  • php-digium_register-3.0.5-1_centos6.x86_64.rpm
    29.3 KB · Views: 114

yajrendrag

Member
Joined
Sep 17, 2010
Messages
83
Reaction score
8
:) - installed per above - rebooted; then module admin to process the enable & upgrade worked just fine.
thanks.
 

phoneguy

Guru
Joined
Jan 13, 2008
Messages
285
Reaction score
54
For clarification this is not a Schmooze/FreePBX thing. The requirement in the module is a Digium thing and they maintain that module not us. Also they publish those RPMs not us.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
phoneguy: Just thinking out loud, but would it make more sense to add these to the schmooze-commercial repo rather than to ours since it's a dependency for one of your RPMs. That's the real advantage of RPMs. i.e. having all dependencies resolved automatically. Or we can add yet another repo, I suppose.
 

phoneguy

Guru
Joined
Jan 13, 2008
Messages
285
Reaction score
54
Ward

Its not a dependency of any of our RPMs. Its a dependency of the FreePBX module that Digium writes and manages. I can add the packages to our commercial repos but its really not a schmooze commercial product. Its part of Digium and their module. But like I said I would be happy to add it since PIAF users have our commercial RPM repos already installed correct?
 

phoneguy

Guru
Joined
Jan 13, 2008
Messages
285
Reaction score
54
Ward

I went ahead and added those to our commercial repos so as long as your users have our commercial yum repos enabled they can yum install that package from us.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
lakecoder: The newest Digium Addon is apparently encrypted so it's never going to work with Ubuntu. Sorry.
 

Members online

Forum statistics

Threads
25,825
Messages
167,848
Members
19,250
Latest member
mark-curtis
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top