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

When trying to redeploy, error message appears and then success message #145

Open
BastinJafari opened this issue Jun 21, 2024 · 0 comments

Comments

@BastinJafari
Copy link

I removed the community I deployed and wanted to redeploy it because I was hoping it would fix an issue with all Goverment Cron Jobs failing every 5. minutes

I got this error message

Error
Message: Failed to deploy new community SocialResonance/plural-boat-party. Error: Command failed: /Applications/Gov4Git.app/Contents/Resources/app.asar.unpacked/node_modules/@gov4git/js-client/bin/gov4git github deploy --token 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 --project SocialResonance/plural-boat-party --release v2.2.5 -v 2024-06-21T12:11:33+02:00 INF /home/runner/work/gov4git/gov4git/gov4git/cmd/root.go:73 gov4git version: dev-rev-35bd960-2024-03-09, os: darwin, arch: amd64 2024-06-21T12:11:33+02:00 INF /home/runner/work/gov4git/gov4git/github/deploy.go:45 creating GitHub repository {SocialResonance plural-boat-party-gov.public} goroutine 1 [running]: runtime/debug.Stack() /opt/hostedtoolcache/go/1.21.7/x64/src/runtime/debug/stack.go:24 +0x5e github.com/gov4git/lib4git/must.mkErr(...) /home/runner/go/pkg/mod/github.com/gov4git/[email protected]/must/must.go:37 github.com/gov4git/lib4git/must.Panic(...) /home/runner/go/pkg/mod/github.com/gov4git/[email protected]/must/must.go:43 github.com/gov4git/lib4git/must.NoError({0x19a9090?, 0xc00014ed50}, {0x19a3100, 0xc00008c060}) /home/runner/go/pkg/mod/github.com/gov4git/[email protected]/must/must.go:66 +0x4b github.com/gov4git/gov4git/v2/github.Deploy({0x19a9090, 0xc00014ed50}, {0x7ff7bfeffbf9, 0x5d}, {{_, }, {, _}}, {{0x7ff7bfeffc61, 0xf}, ...}, ...) /home/runner/work/gov4git/gov4git/github/deploy.go:47 +0x218 github.com/gov4git/gov4git/v2/gov4git/cmd.glob..func31.1() /home/runner/work/gov4git/gov4git/gov4git/cmd/github.go:66 +0x157 github.com/gov4git/lib4git/must.Try1Thru... /home/runner/go/pkg/mod/github.com/gov4git/[email protected]/must/must.go:116 +0x6e github.com/gov4git/gov4git/v2/gov4git/api.Invoke1... /home/runner/work/gov4git/gov4git/gov4git/api/result.go:95 +0x1ab github.com/gov4git/gov4git/v2/gov4git/cmd.glob..func31(0xc000111700?, {0x188d3e7?, 0x4?, 0x188d317?}) /home/runner/work/gov4git/gov4git/gov4git/cmd/github.go:52 +0x25 github.com/spf13/cobra.(*Command).execute(0x1ee7d20, {0xc000158310, 0x7, 0x7}) /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:920 +0x863 github.com/spf13/cobra.(*Command).ExecuteC(0x1ee7a40) /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1044 +0x3a5 github.com/spf13/cobra.(*Command).Execute(...) /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:968 github.com/gov4git/gov4git/v2/gov4git/cmd.Execute() /home/runner/work/gov4git/gov4git/gov4git/cmd/root.go:113 +0x1a main.main.func1() /home/runner/work/gov4git/gov4git/gov4git/main.go:15 +0xf github.com/gov4git/lib4git/must.TryWithStack(0x0?) /home/runner/go/pkg/mod/github.com/gov4git/[email protected]/must/must.go:97 +0x79 main.main() /home/runner/work/gov4git/gov4git/gov4git/main.go:14 +0x1e

And then this success message

image

It didn't fix the issue, and I wasn't able to redeploy the community

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

1 participant