Hi,
I have still the problem that my htables are not written into a sqlite db when I shutdown kamailio. Manual writing via:
kamcmd htable.store ...
is working. As I can see in the logs with highest loglevel, the function destroy() is never called.
ht_db_url.len is > 0 ht_db_init_con() should work, else nothing would work with the db. But I can not see the debug messages from ht_db_open_con()
Any ideas?
Best regards,
Bernd
Hello!
Kamailio 5.6 is not saving data to the DB on shutdown on CentOS 7 for me too.
вт, 1 серп. 2023 р., 09:47 користувач bkk@ednt.de пише:
Can someone confirm this?
Or even better: is there a solution? __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Hello,
Thanks for the confirmation. If its affect multiple users on different platforms, maybe you can create a github issue, to not forget about it during the vacation period.
Cheers,
Henning
From: Володимир Іванець volodyaivanets@gmail.com Sent: Dienstag, 1. August 2023 09:15 To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: [SR-Users] Re: 5.6.4 debian htable dbmode=1 not writing at shutdown
Hello!
Kamailio 5.6 is not saving data to the DB on shutdown on CentOS 7 for me too.
вт, 1 серп. 2023 р., 09:47 користувач <bkk@ednt.demailto:bkk@ednt.de> пише: Can someone confirm this?
Or even better: is there a solution? __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.orgmailto:sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
I had a similar problem today. I know I'm replying months later. My problem was that I had an incorrect structure in the database. Neither the database (postgres) nor kamailo complained about the error. I upgraded from 5.6.1 to 5.7.2 and then the errors were obvious from kamailio. I changed the structure of the database (I had key_value as INTEGER instead of VARCHAR, etc) and then it worked perfectly. It would have been easy for me to blame kamailio, but it wasn't a kamailio bug. Maybe instead I might have changed the debugging level to find the cause; I skipped that because I had planned to upgrade kamailio to 5.7.2 anyway.
James
On Tue, 1 Aug 2023 at 07:27, Володимир Іванець volodyaivanets@gmail.com wrote:
Hello!
Kamailio 5.6 is not saving data to the DB on shutdown on CentOS 7 for me too.
вт, 1 серп. 2023 р., 09:47 користувач bkk@ednt.de пише:
Can someone confirm this?
Or even better: is there a solution? __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Hi!
After updating from version 5.6.2 to 5.7.3, Kamailio now stores htable records to the DB on CentOS 7.
чт, 16 лист. 2023 р. о 16:54 James Browne via sr-users < sr-users@lists.kamailio.org> пише:
I had a similar problem today. I know I'm replying months later. My problem was that I had an incorrect structure in the database. Neither the database (postgres) nor kamailo complained about the error. I upgraded from 5.6.1 to 5.7.2 and then the errors were obvious from kamailio. I changed the structure of the database (I had key_value as INTEGER instead of VARCHAR, etc) and then it worked perfectly. It would have been easy for me to blame kamailio, but it wasn't a kamailio bug. Maybe instead I might have changed the debugging level to find the cause; I skipped that because I had planned to upgrade kamailio to 5.7.2 anyway.
James
On Tue, 1 Aug 2023 at 07:27, Володимир Іванець volodyaivanets@gmail.com wrote:
Hello!
Kamailio 5.6 is not saving data to the DB on shutdown on CentOS 7 for me
too.
вт, 1 серп. 2023 р., 09:47 користувач bkk@ednt.de пише:
Can someone confirm this?
Or even better: is there a solution? __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only
to the sender!
Edit mailing list options or unsubscribe:
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe:
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: