Tagged: storage

在运行 HTTP 接口时,使用 nginx 用户在目录:/webtv/wangjie/ccp_api/images/2021/03/08 下创建文件:1615170408.5917.1243625051.png。报错:fopen(/webtv/wangjie/ccp_api/images/2021/03/08/1615170408.5917.1243625051.png): failed to open stream: Permission denied。 0

In storage, when creating a new directory and creating a file, use both root and nginx When user, an error is reported: fopen(/webtv/wangjie/ccp_api/images/ 2021/03/08/1615170408.5917.1243625051.png): Failed to Open Stream: Permission Denied

Post Views: 12 1. When running a command line script, use root User-created directory: /webtv/wangjie/ccp_api/images/2021/03/08, create file: 1615170036.5115.2027450777.png. The owner of the directory and the group to which it belongs are root. as shown...

查看容器的日志,成功运行,符合预期。 0

Copy files to NAS storage at container startup, based on CakePHP v2.6.4 implementation

Post Views: 13 1. At this stage, there is a new requirement, and it is necessary to do some initial data work for the product when deploying the product. Prepare the corresponding SQL file,...

在 Postman 中 GET 请求:{{channel_pub_api_host_info}}/qq{{channel_pub_api_base_url}}/qq-cw-apps?group_id=015ce30b116ce86058fa6ab4fea4ac63 ,实际请求网址:http://api.channel-pub-api.localhost/qq/v1/qq-cw-apps?group_id=015ce30b116ce86058fa6ab4fea4ac63 ,环境变量已被替换,符合预期。 0

Set and use variables in Postman, when you need to update the value, you only need to make changes in one location, no need to make changes in multiple locations

Post Views: 12 1. Open the URL of the variable and environment variable:https://learning.postman.com/docs/postman/variables-and-environments/variables/, variables and environment variables. With variables, variables allow you to store and reuse values in requests and scripts. as shown in...

Yii2 高级模板初始化时,报错:Error. Directory frontend/web/assets does not exist 0

When the container is upgraded based on Rancher, when the Yii2 advanced template is initialized, an error is reported: Error. Directory Frontend/Web/Assets does not exist analysis and solution

Post Views: 15 1. When the advanced template is initialized, an error is reported: Error. Directory Frontend/Web/Assets does not exist, as shown in Figure 1 2. Enter the directory in the container: /mcloud/www/channel-pub-api/frontend/web, and...