Description

After upgrading Junos to 23.4R2-S4.11, the Mist config push fails with the error "invalid filename: /var/db/scripts/event/mist_backup_cfg.py"

Symptoms

The device is unable to commit due to the script mist_backup_cfg.py missing. Seems the script might have gone corrupt or deleted during the upgrade.

 

Output from Non-working device:

mist@sw1> file list /var/db/scripts/event/ | match mist_backup_cfg.py


Output from a working device:

mist@sw2> file list /var/db/scripts/event/ | match mist_backup_cfg.py
mist_backup_cfg.py*

Solution

Issue resolved by copying the script from a customer's working switch over to the problematic one.

Log into the working switch and run a similar command to the below:

 

root@sw2> file copy /var/db/scripts/event/mist_backup_cfg.py scp://[email protected]/var/db/scripts/event/

Where x.x.x.x is the IP from the non-working switch

 

Modification History

2025-04-22 : Article Created