Table of Contents
< All Topics
Print

【BBC】Unified upgrade AC upgrade failed—AC upgrade script detection problem

Problem Description

The upgrade package of AC was issued by BBC to batch upgrade AC12.0.9. The upgrade failed.

Effective troubleshooting steps

  1. BBC2.5.10, unified the upgrade plan for AC12.0.9, upgraded to version 12.0.40, and the upgrade failed

  2. Check the AC upgrade log, which indicates that the upgrade failed. Find the R&D troubleshooting script and find that the AC do_update.lua script call failed because it contained () brackets, causing Lua to call the shell script and execute failure.

  3. Remove the brackets in the upgrade package and re-upload it on BBC, rebuild the upgrade plan, and the upgrade will be successful.

Root cause

AC's do_update.lua script call failed because it contained parentheses () and caused Lua to call the shell script and execute it failed.

solution

Remove the brackets from the upgrade package and re-upload it on BBC, then rebuild the upgrade plan.

For example, if you change AC12.0.40(20191102).ssu to AC12.0.4020191102.ssu, the upload will be successful.

Suggestions and Conclusion

Note: If the upgrade has failed, you need to delete the downloaded upgrade package in /data/bbc/upgrade_pkg/ in the AC backend and re-send the upgrade package to succeed. Otherwise, the previous upgrade package will be used by default.

This issue was merged into AC12.0.18. You can upgrade to the above versions without removing the brackets.

Original Link

https://support.sangfor.com.cn/cases/list?product_id=63&type=1&category_id=19719&isOpen=true