rbraeunlich opened a new issue, #6852:
URL: https://github.com/apache/incubator-devlake/issues/6852

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   I installed DevLake from the Helm chart using an external database 
(completely empty). After calling the /proceed-db-migration endpoint I see this 
error:
   ```
   {
       "success": false,
       "message": "error executing migration (500)\nWraps: (2)\nWraps: (3) 
Error 1091 (42000): Can't DROP 'commit_sha'; check that column/key exists 
(500)\nWraps: (4) Error 1091 (42000): Can't DROP 'commit_sha'; check that 
column/key exists\nError types: (1) *hintdetail.withDetail (2) 
*hintdetail.withDetail (3) *hintdetail.withDetail (4) *mysql.MySQLError",
       "causes": [
           "Error 1091 (42000): Can't DROP 'commit_sha'; check that column/key 
exists (500)"
       ],
       "data": null
   }
   ```
   
   ### What do you expect to happen
   
   DevLake should migrate the database.
   
   ### How to reproduce
   
   Install using the DevLake Helm chart and an external MySQL database.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   0.20.0-beta7.1
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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