Skip to content

NethVoice Module Backup Restore Fails with Errors #7513

@Amygos

Description

@Amygos

When attempting to restore a backup of the NethVoice module, the restore
operation fails. The process triggers several errors related to container
management and missing files or directories, resulting in the restoration being
aborted.

Steps to reproduce:

  1. Create a backup of the NethVoice.
  2. Attempt to restore the backup onto the same or a new NethVoice instance.
  3. Observe the failure during the restore process.

Expected behavior:
The restore should complete successfully.

Actual behavior:
The restore process fails with errors indicating missing files/directories,
container access issues, and failed file copy operations. The task is marked as
aborted. The GUI displays an error window summarizing the failed steps.

Components:

  • NethVoice module version 1.3.3

See also:

Jun 18 16:59:41 rl1 agent@nethvoice2[65293]: task/module/nethvoice2/8d3d7948-d2dc-4573-ac88-10bc0fb06ba0: restore-module/22asterisk is starting
Jun 18 16:59:50 rl1 systemd[65276]: Started libcrun container.
Jun 18 16:59:50 rl1 asterisk_restore[69030]: changed ownership of '/etc/asterisk/manager.conf' from root:root to asterisk:asterisk
Jun 18 16:59:50 rl1 asterisk_restore[69030]: changed ownership of '/etc/asterisk/phpagi.conf' from root:root to asterisk:asterisk
Jun 18 16:59:50 rl1 asterisk_restore[69030]: changed ownership of '/etc/asterisk/ucc_restrict.conf' from root:root to asterisk:asterisk
Jun 18 16:59:50 rl1 asterisk_restore[69030]: chown: cannot access '/var/lib/nethserver/nethcti/templates/customer_card': No such file or directory
Jun 18 16:59:50 rl1 asterisk_restore[69030]: chown: cannot access '/etc/nethcti': No such file or directory
Jun 18 16:59:50 rl1 agent@nethvoice2[65293]: Error: 2 errors occurred:
Jun 18 16:59:50 rl1 agent@nethvoice2[65293]:         * copying to container: open /proc/69032/ns/mnt: no such file or directory
Jun 18 16:59:50 rl1 agent@nethvoice2[65293]:         * copying from host: copier: get: "/home/nethvoice2/.config/state/asterisk_backup/var/lib/asterisk/db/astdb.sqlite3.dump": copying /home/nethvoice2/.config/state/asterisk_backup/var/lib/asterisk/db/astdb.sqlite3.dump: io: read/write on closed pipe
Jun 18 16:59:50 rl1 agent@nethvoice2[65293]: Error: no container with name or ID "asterisk_restore" found: no such container
Jun 18 16:59:50 rl1 agent@nethvoice2[65293]: task/module/nethvoice2/8d3d7948-d2dc-4573-ac88-10bc0fb06ba0: action "restore-module" status is "aborted" (125) at step 22asterisk

Metadata

Metadata

Assignees

No one assigned

    Labels

    nethvoiceBug or features releted to the NethVoice project

    Type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions