[Spce-user] ERROR: accounting.cdr is too big on localhost:3306 for an upgrade: 6945390 rows

Jon Bonilla (Manwe) manwe at sipdoc.net
Tue Apr 18 05:02:17 EDT 2023


El Mon, 10 Apr 2023 16:28:14 -0400
Dhaniels Nieto <dhanielsnieto at gmail.com> escribió:

> Thanks Oscar, but the issue still persists, and looks like the table "cdr"
> of the "accounting" database is the main reason for the error.
> 
> 

You can either edit the upgrade script to ignore it (which will make your
upgrade insanely long) or you can rotate your cdrs.

Edit config.yml to adjust your cdr rotation/retention months (check the cleanup
section) and run ngcp-cleanup-acc inside a screen. It will take avery long time
and it might fail if you do not have anough space and memory but if it works it
will rotate your cdrs acording to you policy. Check the handbook for the
explanation of the parameters. 



-- 
PekePBX, the multitenant PBX solution
https://pekepbx.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Firma digital OpenPGP
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20230418/b528a7e3/attachment.sig>


More information about the Spce-user mailing list