awickham10 commented on PR #5583:
URL: 
https://github.com/apache/incubator-devlake/pull/5583#issuecomment-1638309984

   > As an FYI - I'm not sure this is totally working, unless it's not included 
in beta 1. I'm wondering if it's due to running under uid 1010. In my case it 
looks like my user is 1001470000.
   > 
   > Here's an excerpt from my logs.
   > 
   > ```
   > Version:  v0.18.0-beta1@
   > time="2023-07-17 12:58:12" level=warning msg="Failed to create filestream 
for logs. Logs will not be piped to files.
   >    caused by: open /app/logs/devlake.log: permission denied
   >    Wraps: (2) open /app/logs/devlake.log
   >    Wraps: (3) permission denied
   >    Error types: (1) *hintdetail.withDetail (2) *fs.PathError (3) 
syscall.Errno"
   > time="2023-07-17 12:58:12" level=info msg="migration initialized"
   > time="2023-07-17 12:58:12" level=info msg="plugin loaded ae"
   > time="2023-07-17 12:58:12" level=info msg="plugin loaded bamboo"
   > time="2023-07-17 12:58:12" level=info msg="plugin loaded bitbucket"
   > time="2023-07-17 12:58:12" level=info msg="plugin loaded customize"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded dbt"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded dora"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded feishu"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded gitee"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded gitextractor"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded github"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded github_graphql"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded gitlab"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded icla"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded jenkins"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded jira"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded org"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded pagerduty"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded refdiff"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded slack"
   > time="2023-07-17 12:58:13" level=info msg="plugin loaded sonarqube"
   > time="2023-07-17 12:58:14" level=info msg="plugin loaded starrocks"
   > time="2023-07-17 12:58:14" level=info msg="plugin loaded tapd"
   > time="2023-07-17 12:58:14" level=info msg="plugin loaded teambition"
   > time="2023-07-17 12:58:14" level=info msg="plugin loaded trello"
   > time="2023-07-17 12:58:14" level=info msg="plugin loaded webhook"
   > time="2023-07-17 12:58:14" level=info msg="plugin loaded zentao"
   > time="2023-07-17 12:58:14" level=info msg="Loading remote plugins"
   > time="2023-07-17 12:58:14" level=error msg="./run.sh: 20: poetry: 
Permission denied"
   > time="2023-07-17 12:58:14" level=error msg="failed to load plugins
   >    caused by: Error calling plugin-info
   >    Wraps: (2) get error when invoking remote function plugin-info
   >    Wraps: (3) remote error response:
   >      | ./run.sh: 20: poetry: Permission denied
   >    Wraps: (4) exit status 127
   >    Wraps: (5) exit status 127
   >    Error types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) 
*hintdetail.withDetail (4) *hintdetail.withDetail (5) *exec.ExitError"
   > panic: Error calling plugin-info
   > Wraps: (2) get error when invoking remote function plugin-info
   > Wraps: (3) remote error response:
   >   | ./run.sh: 20: poetry: Permission denied
   > Wraps: (4) exit status 127
   > Wraps: (5) exit status 127
   > Error types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) 
*hintdetail.withDetail (4) *hintdetail.withDetail (5) *exec.ExitError
   > 
   > goroutine 1 [running]:
   > github.com/apache/incubator-devlake/server/services.Init()
   >    /app/server/services/init.go:90 +0x24d
   > github.com/apache/incubator-devlake/server/api.CreateApiService()
   >    /app/server/api/api.go:61 +0x3d
   > main.main()
   >    /app/server/main.go:33 +0x36
   > ```
   
   I was able to get this to work by setting the below in my values.yml.
   
   ```
   lake:
     securityContext:
       runAsUser: 1010
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to