You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "KlemenDanfoss (via GitHub)" <gi...@apache.org> on 2023/08/30 08:19:24 UTC

[GitHub] [incubator-devlake] KlemenDanfoss opened a new issue, #5978: [Bug]Unable to make database connection

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

   ### 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
   
   When I run the extractor it doesn't work, I get an error regarding database connection.
   
   ![image](https://github.com/apache/incubator-devlake/assets/93664973/4b3f1d57-85d8-494d-8447-822d9bfd36ab)
   
   Since the 'lake' pod only starts if the db connection works:
   
   ```
     initContainers:
       - name: waiting-database-ready
         image: alpine:3.16
         command:
           - sh
           - '-c'
           - |
             until nc -z -w 2 devlake-mysql 3306 ; do
               echo wait for database ready ...
               sleep 2
             done
             echo database is ready
   ```
   
   I cross checked and it seems that everything is fine (DB_URL).
   
   I upgraded to 0.18-beta6 and it worked for two to three runs and then...this.
   
   Any ideas what else to check?
   
   ### What do you expect to happen
   
   The run should be executed successfully.
   
   ### How to reproduce
   
   Upgrade from 0.17 to 0.18-beta8, establish a project and rerun.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.18-beta8
   
   ### Are you willing to submit PR?
   
   - [ ] 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: dev-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] abeizn commented on issue #5978: [Bug]Unable to make database connection

Posted by "abeizn (via GitHub)" <gi...@apache.org>.
abeizn commented on issue #5978:
URL: https://github.com/apache/incubator-devlake/issues/5978#issuecomment-1699186583

   @KlemenDanfoss Thank you very much for your feedback, the above pull request has been fixed, and we will release a new beta version soon.


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] klesh closed issue #5978: [Bug]Unable to make database connection

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh closed issue #5978: [Bug]Unable to make database connection
URL: https://github.com/apache/incubator-devlake/issues/5978


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org