-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
nethvoiceBug or features releted to the NethVoice projectBug or features releted to the NethVoice project
Milestone
Description
When a nethvoice is moved two times, the second one fails
Steps to reproduce
- move a nethvoice from one node to another
- move it again
Expected behavior
module should be cloned
Actual behavior
- this step fails with the following error:
<7>podman exec mariadb mysql asterisk -u root -pvncrKp2j60ryZUuFns48XUI4YN8POzKq -e '
UPDATE `kvstore_Sipsettings`
SET `val` = CASE
WHEN `key` = '"'"'bindport'"'"' THEN '"'"'20468'"'"'
WHEN `key` = '"'"'tlsbindport'"'"' THEN '"'"'20469'"'"'
END
WHERE `key` IN ('"'"'bindport'"'"', '"'"'tlsbindport'"'"');
'
<7>podman exec mariadb mysql asterisk -u root -pvncrKp2j60ryZUuFns48XUI4YN8POzKq -e '
UPDATE `iaxsettings`
SET `data` = '"'"'20470'"'"',
`seq` = 1,
`type` = 0
WHERE `keyword` = '"'"'bindport'"'"';
'
ERROR 1062 (23000) at line 2: Duplicate entry 'bindport-1-0' for key 'PRIMARY'
Traceback (most recent call last):
File "/home/nethvoice18/.config/actions/clone-module/22set_db_services_ports", line 66, in <module>
See also
https://mattermost.nethesis.it/nethesis/pl/irhfqrfa1pdy7n6t8ge5upn8yh
https://helpdesk.nethesis.it/a/tickets/191647
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
nethvoiceBug or features releted to the NethVoice projectBug or features releted to the NethVoice project
Type
Projects
Status
Done