Skip to content

[CLI] Error while resuming an upload #11290

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

Open
PrajwolAmatya opened this issue May 6, 2025 · 0 comments
Open

[CLI] Error while resuming an upload #11290

PrajwolAmatya opened this issue May 6, 2025 · 0 comments
Labels

Comments

@PrajwolAmatya
Copy link
Contributor

Describe the bug

When resuming an upload using the CLI command with --resume flag, as provided in the docs (https://owncloud.dev/services/storage-users/#command-examples), then it throws the following error:

Command:

ocis storage-users uploads sessions --processing=false --has-virus=false --resume

Outcome

Not processing, not virusinfected sessions:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xf5ecd5]

goroutine 1 [running]:
github.com/owncloud/reva/v2/pkg/events.Publish({0x4f9ecf0, 0x70d0540}, {0x0, 0x0}, {0x3449700, 0xc001f16c90})
	/home/prajwol/www/ocis/vendor/github.com/owncloud/reva/v2/pkg/events/events.go:156 +0x3f5
github.com/owncloud/ocis/v2/services/storage-users/pkg/command.ListUploadSessions.func2(0xc001e84c40)
	/home/prajwol/www/ocis/services/storage-users/pkg/command/uploads.go:209 +0x10f2
github.com/urfave/cli/v2.(*Command).Run(0xc001ba6b00, 0xc001e84c40, {0xc001e84c80, 0x4, 0x4})
	/home/prajwol/www/ocis/vendor/github.com/urfave/cli/v2/command.go:276 +0x7be
github.com/urfave/cli/v2.(*Command).Run(0xc001ba6dc0, 0xc001e84b40, {0xc001c366e0, 0x5, 0x5})
	/home/prajwol/www/ocis/vendor/github.com/urfave/cli/v2/command.go:269 +0xa45
github.com/urfave/cli/v2.(*Command).Run(0xc001ba78c0, 0xc0017201c0, {0xc001c08060, 0x6, 0x6})
	/home/prajwol/www/ocis/vendor/github.com/urfave/cli/v2/command.go:269 +0xa45
github.com/urfave/cli/v2.(*Command).Run(0xc001726160, 0xc001720100, {0xc000050230, 0x7, 0x7})
	/home/prajwol/www/ocis/vendor/github.com/urfave/cli/v2/command.go:269 +0xa45
github.com/urfave/cli/v2.(*App).RunContext(0xc001d32e00, {0x4f9f3b8, 0xc001b2de00}, {0xc000050230, 0x7, 0x7})
	/home/prajwol/www/ocis/vendor/github.com/urfave/cli/v2/app.go:333 +0x5a5
github.com/owncloud/ocis/v2/ocis/pkg/command.Execute()
	/home/prajwol/www/ocis/ocis/pkg/command/root.go:32 +0x1ea
main.main()
	/home/prajwol/www/ocis/ocis/cmd/ocis/main.go:11 +0x13

Setup

  • Infinite Scale 7.1.2+540c2bff621 Community
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant