Category: CentOS
-
Post Views: 15 1. Open the URL in Postman:http://api.pcs.wjdev.chinamcloud.cn/v1/assets/upload,Upload the file, the response failed, as shown in Figure 1 2. Check /runtime/logs/app.log, and report an error:[warning][yii\validators\FileValidator::validateValue]Missing the temperature folder to store the uploaded file: 360wallpaper(0).jpg 3. Go back to the previous version, no errors are reported, check the git log, and analyze the differences, as shown in Figure 2 4.…
-
Post Views: 14 1. Docker deployment, when building an image on Jenkins, an error is reported: composer install returned a non-zero code: 255, as shown in Figure 1 2. The code for the failure of the dockerfile to execute the command is as follows 3. Edit Dockerfile, the build is successful, the reason for the visible failure is: composer install…
-
Post Views: 13 1. Open the URL:http://www.aaaacn.net/wp-admin/install.php,报错:HTTPError 500, as shown in Figure 1 2. Open the URL:http://www.aaaacn.net/phpinfo.php,正常运行,如图2 3. Check virtualhost conf: /usr/local/nginx/conf/vhost/www.aaaacn.net.conf 4. Check rewrite rule: /usr/local/nginx/conf/rewrite/wordpress.conf 5. Check the directory permissions, and find that the files in the WordPress directory, permission users and user groups are no longer WWW, but root, it should be because the files in the…
-
Post Views: 49 1. Execute the command in CentOS 7.6 64-bit: yum makeCache to update the cache of the yum source, and report an error: There are no enabled repos, as shown in Figure 1 2. Decided to reinstall the 7.6 release package, first go to the Alibaba Yunyuan website, find the corresponding release package, and copy its link, as…
-
Post Views: 15 1. Execute the initialization command in Windows 10, set the directory permissions of all applications, normal (14 lines in total), as shown in Figure 1 2. Execute the initialization command in CentOS 7.2, the directory permissions under some applications are not set, abnormal (8 lines in total), as shown in Figure 2 3. Enter the /api directory…
-
Post Views: 13 1. Configuration file \channel-pub-api\build\c_files\etc\supervisord.d\yii-qq-transaction-video-sync.ini 2. In the console command script, run once, write 1 file, the code is as follows 3. After the development environment is upgraded, check the directory /sobey/www/channel-pub-api/console/runtime/ . 4. The current requirement is that after running once, run the console command script again after 60 seconds, and finally decide to implement the Sleep…
-
Post Views: 15 1,http://wmpublish.mp.sztv.com.cn:8026/wx/robots.txt, the response is successful, indicating that the configuration of nginx is correct 2,http://wmpublish.mp.sztv.com.cn:8026/v1/channel-app-sources?group_id=channel, the response failed, no input file specified 3. Run the command in the container and view the nginx error log, as shown in Figure 1 4. Run the command in the container, check the contents of the file, and find that the file…