} – 永夜 https://www.shuijingwanwq.com 没有不值得去解决的问题,也没有不值得去学习的技术! Wed, 31 Jul 2019 09:25:41 +0000 zh-Hans hourly 1 https://wordpress.org/?v=7.0 在 Rancher 中升级容器,报错:/config/init/config0.sh: line 1314: syntax error near unexpected token `}’ 的分析解决 https://www.shuijingwanwq.com/2019/07/31/3415/ https://www.shuijingwanwq.com/2019/07/31/3415/#respond Wed, 31 Jul 2019 09:22:23 +0000 http://www.shuijingwanwq.com/?p=3415 浏览量: 107 1、在 Rancher 中升级容器,报错:/config/init/config0.sh: line 1314: syntax error near unexpected token `}’,如图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
在 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
在 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


]]>
https://www.shuijingwanwq.com/2019/07/31/3415/feed/ 0