Tagged: grep

如果已设置环境变量:PCS_API_CFG_MIGRATE,其值为:true,则依次执行命令:php /sobey/www/pcs-api/yii migrate --migrationPath=@yii/log/migrations/ --interactive=0、php /sobey/www/pcs-api/yii migrate --interactive=0 0

After the Rancher container is upgraded, the application initialization command and the database migration command are automatically run based on the configuration of the environment variables

浏览量: 8 1. The current upgrade plan, after the Rancher container is upgraded, enter the Docker container and run it in sequence on the command line: 2. The problem with the current upgrade plan...

当升级时,缺少 PCS_API_CFG_CPU_PARAMS_SOURCE=chinamcloud_pcs // CP上传的参数的系统来源标识,则启动容器失败 0

There is a lack of environment variables during the upgrade of Rancher, which causes the solution to fail to upgrade (when an environment variable does not exist, it will not be replaced)

浏览量: 3 1, \build\c_files\config\init\config0.sh, replace the shell script of environment variables 2. When upgrading, the system source ID of the parameters uploaded by the CP upload is missing, and the boot container fails, as...