Upgrade the container in Rancher, error: /config/init/config0.sh: line 1314: syntax error near unexpected token `}analysis solution
1. Upgrade the container in Rancher and report an error: /config/init/config0.sh: line 1314: syntax error near unexpected token `}, as shown in Figure 1
2019/7/31 下午3:46:16CHANNEL_PUB_API_CFG_URL_SIGNER_TIME_OUT=10
2019/7/31 下午3:46:16/config/init/config0.sh: line 1314: syntax error near unexpected token `}'
2. In phpstorm, edit /config/init/config0.sh, prompt: expected a command. , comment out the corresponding code, as shown in Figure 2
# function DEV_NETEASE_CONFIG_MAIN_LOCAL_PATH_exsit()
# {
# }
# function PROD_NETEASE_CONFIG_MAIN_LOCAL_PATH_exsit()
# {
# }
3. The upgrade is successful in Rancher, as shown in Figure 3
2019/7/31 下午4:54:18No new migrations found. Your system is up-to-date.
2019/7/31 下午4:54:18Model (Penguin's third-party service platform application) created successfully
2019/7/31 下午4:54:19Model (Penguin's content website application) created successfully
2019/7/31 下午4:54:19Model (microblogging micro-connected web application) created successfully
2019/7/31 下午4:54:19Model (WeChat third-party platform application) created successfully


