1、在 Rancher 中升级容器,报错:/config/init/config0.sh: line 1314: syntax error near unexpected token `}’,如图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、在 PhpStorm 中,编辑 /config/init/config0.sh,提示:Expected a command. ,注释掉相应代码,如图2
# function DEV_NETEASE_CONFIG_MAIN_LOCAL_PATH_exsit() # { # } # function PROD_NETEASE_CONFIG_MAIN_LOCAL_PATH_exsit() # { # }
3、在 Rancher 中升级成功,如图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
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/181370.html