Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caprover v1.11.0 Can't pass Gitlab creds #1871

Closed
baryman opened this issue Sep 5, 2023 · 3 comments
Closed

Caprover v1.11.0 Can't pass Gitlab creds #1871

baryman opened this issue Sep 5, 2023 · 3 comments

Comments

@baryman
Copy link

baryman commented Sep 5, 2023

What is the problem?
Can't pass Gitlab creds to "Deploy from Github/Bitbucket/Gitlab"

If applicable, content of captain-definition file:
No

Steps to reproduce the problem:

  1. Go to your app
  2. Then go to "Deployment" tab
  3. Pass "Repository", "Branch", "Username" , "Password" (try pass SSH instead username-password) and click "Save & Update"
  4. Show alert with content "Something bad happend"

Output of the following command on your server:

$  docker service logs captain-captain --since 5m

show me error

 TypeError: Cannot read properties of undefined (reading 'getAppPushWebhookToken')
captain-captain.1.l2i3vi9bvk7r@baryman    | TypeError: Cannot read properties of undefined (reading 'getAppPushWebhookToken')
captain-captain.1.l2i3vi9bvk7r@baryman    |     at /usr/src/app/built/datastore/AppsDataStore.js:458:22
captain-captain.1.l2i3vi9bvk7r@baryman    |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
captain-captain.1.l2i3vi9bvk7r@baryman    | POST /api/v2/user/apps/appDefinitions/update 500 0.972 ms - 21
@githubsaturn
Copy link
Collaborator

Weird! Previously there was a report of this that went away on its own.
#1822

Can you try rebooting your instance?

@baryman
Copy link
Author

baryman commented Sep 5, 2023

@githubsaturn I reboot my VM and this solved my problem. Thank you!
How can I reboot instance without reboot my VM?

@githubsaturn
Copy link
Collaborator

You can simply run docker service update captain-captain --force

githubsaturn added a commit that referenced this issue Sep 6, 2023
githubsaturn added a commit that referenced this issue Sep 17, 2023
* Update CHANGELOG.md

* Update TERMS_AND_CONDITIONS.md

* Update TERMS_AND_CONDITIONS.md

* Adding script to clear pro config

* Fixed #1863

* Closes caprover/caprover-pro#3

* Updated the changelog

* Fixed #1859

* updated the changelogs

* Fixed #1871

* Upped version - ready for hotfix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants