wip: adapt upstream compose #1

Draft
fauno wants to merge 2 commits from fauno/lemmy:upgrade-0.19.5 into main
Owner
https://github.com/LemmyNet/lemmy/tree/main/docker
fauno added 1 commit 2024-10-19 16:53:42 +00:00
Author
Owner

it's crashing abra so far:

upgrade-0.19.5 lemmy >_ abra --version
abra version 0.9.0-beta-e3a0af5
upgrade-0.19.5 lemmy >_ abra app deploy -C -D lemmy.marmite.abyaya.la
WARN[0001] chaos mode engaged                           
panic: assignment to entry in nil map

goroutine 1 [running]:
coopcloud.tech/abra/pkg/config.SetRecipeLabel(0xc000038b70?, {0xc000038b70, 0x17}, {0xc000012de0, 0x5})
        /drone/src/pkg/config/app.go:558 +0x1d1
coopcloud.tech/abra/cli/app.glob..func8(0xc000185b80)
        /drone/src/cli/app/deploy.go:202 +0x111a
github.com/urfave/cli.HandleAction({0xd782c0?, 0xf969f8?}, 0x6?)
        /go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:524 +0x50
github.com/urfave/cli.Command.Run({{0xee826a, 0x6}, {0x0, 0x0}, {0x17602e0, 0x1, 0x1}, {0xefe2b3, 0xd}, {0x0, ...}, ...}, ...)
        /go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:173 +0x63e
github.com/urfave/cli.(*App).RunAsSubcommand(0xc0000b6540, 0xc000185760)
        /go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:405 +0xdc7
github.com/urfave/cli.Command.startApp({{0xee42f2, 0x3}, {0x0, 0x0}, {0x1760460, 0x1, 0x1}, {0xefc225, 0xb}, {0x0, ...}, ...}, ...)
        /go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:378 +0xb58
github.com/urfave/cli.Command.Run({{0xee42f2, 0x3}, {0x0, 0x0}, {0x1760460, 0x1, 0x1}, {0xefc225, 0xb}, {0x0, ...}, ...}, ...)
        /go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:102 +0x7e5
github.com/urfave/cli.(*App).Run(0xc0000b6380, {0xc00015c120, 0x6, 0x6})
        /go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:277 +0xb07
coopcloud.tech/abra/cli.RunApp({0x109f350?, 0x16abf58?}, {0x10a91a0?, 0xc0000061a0?})
        /drone/src/cli/cli.go:203 +0x37
main.main()
        /drone/src/cmd/abra/main.go:22 +0xa9
it's crashing abra so far: ``` upgrade-0.19.5 lemmy >_ abra --version abra version 0.9.0-beta-e3a0af5 upgrade-0.19.5 lemmy >_ abra app deploy -C -D lemmy.marmite.abyaya.la WARN[0001] chaos mode engaged panic: assignment to entry in nil map goroutine 1 [running]: coopcloud.tech/abra/pkg/config.SetRecipeLabel(0xc000038b70?, {0xc000038b70, 0x17}, {0xc000012de0, 0x5}) /drone/src/pkg/config/app.go:558 +0x1d1 coopcloud.tech/abra/cli/app.glob..func8(0xc000185b80) /drone/src/cli/app/deploy.go:202 +0x111a github.com/urfave/cli.HandleAction({0xd782c0?, 0xf969f8?}, 0x6?) /go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:524 +0x50 github.com/urfave/cli.Command.Run({{0xee826a, 0x6}, {0x0, 0x0}, {0x17602e0, 0x1, 0x1}, {0xefe2b3, 0xd}, {0x0, ...}, ...}, ...) /go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:173 +0x63e github.com/urfave/cli.(*App).RunAsSubcommand(0xc0000b6540, 0xc000185760) /go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:405 +0xdc7 github.com/urfave/cli.Command.startApp({{0xee42f2, 0x3}, {0x0, 0x0}, {0x1760460, 0x1, 0x1}, {0xefc225, 0xb}, {0x0, ...}, ...}, ...) /go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:378 +0xb58 github.com/urfave/cli.Command.Run({{0xee42f2, 0x3}, {0x0, 0x0}, {0x1760460, 0x1, 0x1}, {0xefc225, 0xb}, {0x0, ...}, ...}, ...) /go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:102 +0x7e5 github.com/urfave/cli.(*App).Run(0xc0000b6380, {0xc00015c120, 0x6, 0x6}) /go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:277 +0xb07 coopcloud.tech/abra/cli.RunApp({0x109f350?, 0x16abf58?}, {0x10a91a0?, 0xc0000061a0?}) /drone/src/cli/cli.go:203 +0x37 main.main() /drone/src/cmd/abra/main.go:22 +0xa9 ```
Owner

@fauno opened coop-cloud/organising#643, good catch. It seems that you're missing labels that abra is trying to set? More hints with --debug I imagine...

@fauno opened https://git.coopcloud.tech/coop-cloud/organising/issues/643, good catch. It seems that you're missing labels that `abra` is trying to set? More hints with `--debug` I imagine...
Author
Owner

@fauno opened coop-cloud/organising#643, good catch. It seems that you're missing labels that abra is trying to set? More hints with --debug I imagine...

thanks! this seems to be the relevant part of the log, but i don't know what it means:

DEBU[0001] set recipe label 'coop-cloud.lemmy_marmite_abyaya_la.recipe' to lemmy for lemmy_marmite_abyaya_la  caller="/drone/src/pkg/config/app.go:556 SetRecipeLabel"
panic: assignment to entry in nil map
> @fauno opened https://git.coopcloud.tech/coop-cloud/organising/issues/643, good catch. It seems that you're missing labels that `abra` is trying to set? More hints with `--debug` I imagine... thanks! this seems to be the relevant part of the log, but i don't know what it means: ``` DEBU[0001] set recipe label 'coop-cloud.lemmy_marmite_abyaya_la.recipe' to lemmy for lemmy_marmite_abyaya_la caller="/drone/src/pkg/config/app.go:556 SetRecipeLabel" panic: assignment to entry in nil map ```
fauno added 1 commit 2024-10-21 20:09:50 +00:00
Author
Owner

ok, fixed the missing label error! the service deploys but i don't have time to debug if it actually runs, will come back later

ok, fixed the missing label error! the service deploys but i don't have time to debug if it actually runs, will come back later
You are not authorized to merge this pull request.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u https://git.coopcloud.tech/fauno/lemmy upgrade-0.19.5:fauno-upgrade-0.19.5
git checkout fauno-upgrade-0.19.5
Sign in to join this conversation.