在 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

在 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

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/250470.html

(0)
上一篇 2022年4月29日 22:59
下一篇 2022年4月29日 23:08

相关推荐

发表回复

登录后才能评论

WordPress 数据库错误: [Duplicate entry '80-d16c1647a53da3ad6bbb3d1108156ba7' for key 'task_id_source_url_key']
insert into wp_autoblog_queue(task_id,source_url,source_url_key,create_date_time,not_check_stoped,post_interval) values(80,'https://pythonjishu.com/robotic-process-automation/','d16c1647a53da3ad6bbb3d1108156ba7',1735208988,0,0)