[Spce-user] Error during upgrade mr13.1.1 to mr13.4.1

Jose Antonio Su Ng jsung at sipwise.com
Fri Aug 29 10:32:14 EDT 2025


Dear Danny,

I have tested the same upgrade path as you did from mr13.1.1 to mr13.3.1 
and finally to mr13.4.1 and I did not get any errors.

Regarding the 1st problem you mentioned, the prosody_unique_index up 
script should not create any problems as this is only introduced in 
mr13.4.1. Maybe some leftover from prior attempts to mr13.4.1 that was 
not cleaned up?

Regarding the 2nd problem maybe some corrupted data present in the DB 
prior to upgrade?

Best regards,
Jose Su

On 8/20/25 21:02, Danny Cappellari via Spce-user wrote:
> Hi Marco, the upgrade process to 13.4.1 is still having some issues. I 
> managed to upgrade from 13.1.1 to 13.3.1 without any problems.
>
> When I try to upgrade from 13.3.1 to 13.4.1, I encounter several 
> issues during the second stage of the upgrade.
>
> *First problem:*
>
> CREATE UNIQUE INDEX prosody_unique_index ON prosody(`host`(20), 
> `user`(20), `store`(20), `key`(20)) USING BTREE
> --------------
>
> ERROR 1061 (42000) at line 5 in file: 
> '/usr/share/ngcp-db-schema/db_scripts/diff/15841.up': Duplicate key 
> name 'prosody_unique_index'
>
> ERROR: the step 'mr12.5/ngcp_update_db_schema' failed, upgrade aborted!
> Please fix the root of the issue and restart 'ngcp-upgrade'
> (see error details in log file 
> /ngcp-data/ngcp-upgrade/mr13.3.1-mr13.4.1/logs/ngcp-upgrade-mr13.3.1-mr13.4.1-1755716002.log 
> ).
>
> Bypass by comment DROP and CREATE in 
> /usr/share/ngcp-db-schema/db_scripts/diff/15841.up
>
> *Second problem:*
>
> After the update, some services won't start (including MariaDB). In 
> the MariaDB logs, I see:
>
>
> 2025-08-20 20:56:27 0 [ERROR] InnoDB: The change buffer is corrupted
> 2025-08-20 20:56:27 0 [ERROR] InnoDB: Plugin initialization aborted 
> with error Data structure corruption
> 2025-08-20 20:56:27 0 [Note] InnoDB: Starting shutdown...
> 2025-08-20 20:56:28 0 [ERROR] Plugin 'InnoDB' registration as a 
> STORAGE ENGINE failed.
> 2025-08-20 20:56:28 0 [Note] Plugin 'FEEDBACK' is disabled.
> 2025-08-20 20:56:28 0 [Note] Plugin 'wsrep-provider' is disabled.
> 2025-08-20 20:56:28 0 [ERROR] Unknown/unsupported storage engine: InnoDB
> 2025-08-20 20:56:28 0 [ERROR] Aborting
>
>
> */_I have reverted the VM to 13.3.1 for now_/*
> */_
> _/*
> */_
> _/*
>
> ------------------------------------------------------------------------
> *Da:* Marco Capetta <mcapetta at sipwise.com>
> *Inviato:* mercoledì 20 agosto 2025 17:16
> *A:* Danny Cappellari
> *Cc:* spce-user at lists.sipwise.com
> *Oggetto:* Re: [Spce-user] Error during upgrade mr13.1.1 to mr13.4.1
> Hi Danny,
>
> it seems that both SEMS and MARIADB services are failing.
> You can check the respective logs and identify what it going wrong.
>
> Regards
> Marco
>
> On Wed, Aug 20, 2025 at 2:23 PM Danny Cappellari via Spce-user 
> <spce-user at lists.sipwise.com> wrote:
>
>     Hi, we are unable to upgrade from mr13.1.1 to mr13.4.1. We detect
>     an error during the Second Stage of Update (ngcp-upgrade --target
>     mr13.4.1)
>
>     ngcp-service: info: Action restart skipped, service acpid is not
>     enabled
>     ngcp-service: info: Action restart skipped, service
>     kannel-bearerbox is not enabled
>     ngcp-service: info: Action restart skipped, service kannel-smsbox
>     is not enabled
>     ngcp-service: info: Action restart skipped, service
>     ngcp-logic-engine is not enabled
>     ngcp-service: info: Action restart skipped, service ntpd is not
>     enabled
>     ngcp-service: info: Action restart skipped, service prometheus is
>     not enabled
>     ngcp-service: info: Action restart skipped, service
>     rtpengine-recording is not enabled
>     ngcp-service: info: Action restart skipped, service sssd is not
>     enabled
>     ngcp-service: info: Action restart skipped, service valkey is not
>     enabled
>     ngcp-service: info: Action restart skipped, service
>     vboxadd-service is not enabled
>     Job for mariadb.service failed because the control process exited
>     with error code.
>     See "systemctl status mariadb.service" and "journalctl -xeu
>     mariadb.service" for details.
>     A dependency job for kamailio-proxy.service failed. See
>     'journalctl -xe' for details.
>     Job for ngcp-sems.service failed because the control process
>     exited with error code.
>     See "systemctl status ngcp-sems.service" and "journalctl -xeu
>     ngcp-sems.service" for details.
>     2025-08-20 14:19:03 spce: Synchronizing current with expected
>     services state
>     Job for mariadb.service failed because the control process exited
>     with error code.
>     See "systemctl status mariadb.service" and "journalctl -xeu
>     mariadb.service" for details.
>     A dependency job for kamailio-proxy.service failed. See
>     'journalctl -xe' for details.
>     Job for ngcp-sems.service failed because the control process
>     exited with error code.
>     See "systemctl status ngcp-sems.service" and "journalctl -xeu
>     ngcp-sems.service" for details.
>     ERROR: the step 'mr9.5/apply_new_configs' failed, upgrade aborted!
>     Please fix the root of the issue and restart 'ngcp-upgrade'
>     (see error details in log file
>     /ngcp-data/ngcp-upgrade/mr13.1.1-mr13.4.1/logs/ngcp-upgrade-mr13.1.1-mr13.4.1-1755692307.log
>     ).
>
>     Any advice?
>     -- 
>     Spce-user mailing list
>     Spce-user at lists.sipwise.com
>     http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20250829/c4aa7472/attachment.htm>


More information about the Spce-user mailing list