Reply
 
Thread Tools Display Modes
  #1  
Old 12-27-07, 11:36 AM
riishkid riishkid is offline
Member
 
Join Date: Dec 2007
Posts: 53
Resolved: Updating A2Billing to 1.3.1
there is a new a2billing 1.3.1 thats out is there a pain free way to update it
Reply With Quote
  #2  
Old 12-27-07, 11:42 AM
jroper jroper is offline
Guru
 
Join Date: Oct 2007
Posts: 3,333
The initial install script I wrote installed from the SVN, and the script with later versions of PiaF use the released version 1.3.1, so there is little difference between them.

If you want the latest, then simply swap out: -

A2Billing_UI
A2BCustomer_UI
a2billing.php in /var/lib/asterisk/agi
and the AGI files in the same place.

The database is the same.

Joe
Reply With Quote
  #3  
Old 01-02-08, 10:55 AM
riishkid riishkid is offline
Member
 
Join Date: Dec 2007
Posts: 53
how to
i am not that good with swapping out this stuff how do you do this
Reply With Quote
  #4  
Old 01-02-08, 01:29 PM
hernanp hernanp is offline
Junior Member
 
Join Date: Dec 2007
Posts: 4
error during a2billing install - how to reinstall it?
I ran the scipt to install a2billing, but entered an incorrect password when prompted during the instalation.

What password should I have used?

How can I install it now that is partially installed but failed due to the incorrect password?

Thanks!
Reply With Quote
  #5  
Old 01-03-08, 09:55 PM
Bruce Bruce is offline
Senior Member
 
Join Date: Nov 2007
Posts: 106
Default password is "passw0rd" without the quotation marks. Since you have not entered the right password (assuming) then you should be fine as the script never had access to mysql to create the database. Only if the database is created already then you will see double entries.
Reply With Quote
  #6  
Old 01-04-08, 04:04 AM
jroper jroper is offline
Guru
 
Join Date: Oct 2007
Posts: 3,333
Hi

It's double entries in the cron jobs and conf files that are a problem, not the database.

Joe
Reply With Quote
  #7  
Old 01-04-08, 10:47 AM
riishkid riishkid is offline
Member
 
Join Date: Dec 2007
Posts: 53
small error when installing a2billing
there is a error when installing a2billing
Reply With Quote
  #8  
Old 01-23-08, 10:41 AM
timd3 timd3 is offline
Junior Member
 
Join Date: Dec 2007
Posts: 7
BTW...for newbies like me, I found double intries in:
extensions_custom.conf
iax_custom.conf
manager_custom.conf
sip_custom.conf
You may want to check a2billing.conf and extensions_a2billing.conf, as well.
Still trying to find the "cron jobs".
Reply With Quote
  #9  
Old 02-15-08, 01:59 AM
marc1 marc1 is offline
Junior Member
 
Join Date: Nov 2007
Posts: 11
Originally Posted by hernanp View Post
I ran the scipt to install a2billing, but entered an incorrect password when prompted during the instalation.
I did the same thing.

The solution is...

1. Re-run the script.

2. Look for double entries in:

extensions_custom.conf
iax_custom.conf
manager_custom.conf
sip_custom.conf
a2billing.conf
extensions_a2billing.conf
additional_a2billing_iax.conf
additional_a2billing_sip.conf

3. Cron jobs?


Can anyone confirm or add anymore insight? In particular how to fix the cron jobs.

Last edited by marc1 : 02-15-08 at 09:49 AM.
Reply With Quote
  #10  
Old 02-15-08, 02:18 AM
tel0p tel0p is offline
Guru
 
Join Date: Nov 2007
Location: Seattle, WA
Posts: 195
cron
the way to list your cron jobs is (and check for dup's):
Code:
crontab -l
Reply With Quote
  #11  
Old 02-15-08, 09:26 AM
marc1 marc1 is offline
Junior Member
 
Join Date: Nov 2007
Posts: 11
I found that Webmin also has an interface for cron jobs:

http://localhost:9001/cron/


After deleting/updating the conf files, I re-ran the install-a2billing script. I then deleted the any duplicated cron jobs using webmin.


However, as the script was running, I got the following error after I entered mySQL password:

ERROR 1062 (23000) at line 19: Duplicate entry '246' for key 1


I am not sure what that means.


I also got:

mv: cannot move `libs_a2billing' to a subdirectory of itself, `/var/lib/asterisk/agi-bin/libs_a2billing'
mv: cannot move `/usr/src/a2billing/addons/sounds/br' to a subdirectory of itself, `/var/lib/asterisk/sounds/br'
mv: cannot move `/usr/src/a2billing/addons/sounds/en' to a subdirectory of itself, `/var/lib/asterisk/sounds/en'
mv: cannot move `/usr/src/a2billing/addons/sounds/es' to a subdirectory of itself, `/var/lib/asterisk/sounds/es'
mv: cannot move `/usr/src/a2billing/addons/sounds/fr' to a subdirectory of itself, `/var/lib/asterisk/sounds/fr'
mv: cannot move `/usr/src/a2billing/addons/sounds/g729' to a subdirectory of itself, `/var/lib/asterisk/sounds/g729'
mkdir: cannot create directory `/var/lib/asterisk/a2billing/': File exists

Last edited by marc1 : 02-15-08 at 10:02 AM.
Reply With Quote
  #12  
Old 02-17-08, 11:37 AM
jroper jroper is offline
Guru
 
Join Date: Oct 2007
Posts: 3,333
Hi

The mv problems are simply because the files are aleady in place from your last effort.

Don't worry about the 246 error.

If you don't get the password right (passw0rd) then the only thing that happens is that you don't get the database set up, which you can do manually later.

Joe
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:01 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2007-2008, Ward Mundy & Associates