Cron /usr/share/ombutel/scripts/backups 1 2 "buildBackup1" failing

VitalPBX Community Support General Discussion Cron /usr/share/ombutel/scripts/backups 1 2 "buildBackup1" failing

  • Post
    afernandez2000
    Participant

    This cron job is failing everyday with a particular tenant where the tenant name is a compound name separated with a space (tenant name: german pomares). It seems the script is only getting the first part of the tenant name. Attached and image of the directory

    PHP Fatal error: Uncaught exception ‘RuntimeException’ with message ‘tar: /var/spool/asterisk/voicemail/german: Cannot stat: No such file or directory
    tar: pomares-voicemail/7104/INBOX/msg0000.txt: Cannot stat: No such file or directory
    tar: /var/spool/asterisk/voicemail/german: Cannot stat: No such file or directory
    tar: pomares-voicemail/7104/INBOX/msg0000.wav: Cannot stat: No such file or directory
    tar: /var/spool/asterisk/voicemail/german: Cannot stat: No such file or directory
    tar: pomares-voicemail/7104/INBOX/msg0000.WAV: Cannot stat: No such file or directory
    tar: /var/spool/asterisk/voicemail/german: Cannot stat: No such file or directory
    tar: pomares-voicemail/7104/INBOX/msg0000.gsm: Cannot stat: No such file or directory
    tar: /var/spool/asterisk/voicemail/german: Cannot stat: No such file or directory
    tar: pomares-voicemail/7101/INBOX/msg0000.txt: Cannot stat: No such file or directory
    tar: /var/spool/asterisk/voicemail/german: Cannot stat: No such file or directory
    tar: pomares-voicemail/7101/INBOX/msg0000.wav: Can in /usr/share/ombutel/www/modules/backup_and_restore/backup_and_restore.php on line 0

    0
Viewing 7 replies - 1 through 7 (of 7 total)
  • Replies
    Up
    0
    Down

    What VitalPBX’s version do you have?

    0
    afernandez2000
    Participant
    Up
    0
    Down

    VitalPBX 2.4.0-2
    Asterisk 16.6.2-1
    DAHDI 2.11.1-7

    0
    Up
    0
    Down

    Did you already update the multi-tenant add-on from the add-ons module?

    0
    afernandez2000
    Participant
    Up
    0
    Down

    Yes, all addons are already updated to latest version. 

    Multi Tenant 2.0.3-7

     

    0
    Up
    0
    Down

    On the latest Multi-Tenant’s version, it is not allowed to create tenants with names that contain spaces, due to this reason.

    We will analyze your case, and see what we can do.

    If you don’t have too many configurations, what you can do is create a new tenant and migrate the old configurations.

    0
    afernandez2000
    Participant
    Up
    0
    Down

    Yes I had this tenants before the update. Is there an easy way to do a backup from a tenant and restore in another one?

    Right now I have some extensions, time groups and time conditions, IVR settings, custom routing, etc

    0
    Up
    0
    Down

    Due the only problem is the voicemail what you can do is change the tenant name using the MySQL CLI.

     mysql -uroot ombutel -e"update ombu_tenants set name='NEW_TENANT_NAME' where name='OLD_TENANT_NAME'"
    	vitalpbx --fully-dump-conf
    0
Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.