Category: Cloud Server
-
Post Views: 21 1. Reference:In Laravel 6, during the execution of the queue, the execution of each task will execute view::addLocation($location); however, each task will only take the $location of the first task. . However, it is found that there are still problems in the subsequent production environment. During queue execution, some view files are not executed (“Setting_Migrations”:[]). as shown…
-
Post Views: 15 1. After the basic image of the container is replaced, when the RANCHER environment variable, CHANNEL_PUB_API_CFG_MIGrate=true, the container starts failure. Error: php core warningYii\Base\ErrorExceptionwith messagemoduleGDalready loaded. as shown in Figure 1 2. When the RANCHER environment variable, channel_pub_api_cfg_migrate=false, the container starts successfully. as shown in Figure 2 3. When the RANCHER environment variable, channel_pub_api_cfg_migrate=true, is essentially executing…
-
Post Views: 16 1. At this stage, there are two environments in the public cloud. They are COM environments and CSP environments, respectively. COM environment container, as shown in Figure 1 2. Containers in the CSP environment. In the CSP environment, the 2 containers of the COM environment have been merged into one container. And a new container has been…
-
Post Views: 14 1. Reference URL:https://www.shuijingwanwq.com/2021/11/10/5453/. A single data item in the list, after closing it in the background, should have been disappearing all the time. However, within a few minutes, it appears and disappears for a while. After about 5 minutes, it finally disappeared forever. 2. Search in the Rancher of K8s: Varnish, and find that there are 3…
-
Post Views: 16 1. A total of 4 environment variables are configured in Rancher. as shown in Figure 1 2. Check the log of the container, there are 2 environment variables missing. as shown in Figure 2 3. The result is that the missing 2 environment variables in the configuration file are not replaced. as shown in Figure 3 4.…
-
Post Views: 19 1. Error in K8S: 504 Gateway time-out nginx/1.17.8. The request timeout limit is 60 seconds. as shown in Figure 1 2. Reference URL:https://www.shuijingwanwq.com/2020/02/19/3936/. The relevant parameters have been adjusted to 300 seconds. But still error. 3. Create a new PHP file, running time for more than 120 seconds. curlhttp://127.0.0.1:81/1.phpNo errors were reported. as shown in Figure 2…
-
Post Views: 15 1. After removing the health check, start the container, and it is successful to call the health check in the container. as shown in Figure 1 2. After adding the health check and upgrading, it has been in the state: Upgrading Workload. as shown in Figure 2 3. View all pods in the current workload. Newly created…
-
Post Views: 19 1. When the container is upgraded for the first time in Rancher, the database migration will be repeated, and then the error will be reported to the upgrade failure. as shown in Figure 1 2. It has been determined that the database structure has not been manually modified. Analyze the health check of the container. Periodically make…
-
Post Views: 15 1. In the shell script, an error is reported at runtime: /config/init/config0.sh line 184 appid unbound variable. as shown in Figure 1 2. Check the shell script, its value is:https://console.${RMT_MAIN_DOMAIN}/ccpauth/wx-msg-event/$APPID$/receive. ${rmt_main_domain} needs to be replaced with: dev.xxx.cn. $appId$ does not need to be replaced, it is left as it is, but now it is treated as a…