[Spce-user] ngcp-cleanup-acc (9.5.4)

Adam Clark aclark at structuredcommunications.co.uk
Fri May 17 18:31:09 EDT 2024


Have fixed that by amending:

        $self->error("Cannot delete: $DBI:errstr") if $DBI::err;

To


        if ($dbh->err) {

            $self->error("Cannot delete: " . $dbh->errstr);

            last;

        }





Which now allows cleanup to run, but new problem:



Failed to insert into monthly table cdr_group_202204: you have an error in your sql syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near `` at line 5 at  /usr/share/per5/NGCP/Cleanup.pm<http://cleanup.pm/> line 519.



I assume this is all a bug.


Regards,

Adam



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20240517/1ae2128b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 48118 bytes
Desc: image001.png
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20240517/1ae2128b/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 784 bytes
Desc: image002.png
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20240517/1ae2128b/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1078 bytes
Desc: image003.png
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20240517/1ae2128b/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 2071 bytes
Desc: image004.png
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20240517/1ae2128b/attachment-0007.png>


More information about the Spce-user mailing list