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

Error in create backup #36

Closed
pmaslanka-1 opened this issue Aug 28, 2024 · 4 comments · Fixed by #37
Closed

Error in create backup #36

pmaslanka-1 opened this issue Aug 28, 2024 · 4 comments · Fixed by #37

Comments

@pmaslanka-1
Copy link

Hello,
When calling a backup I get the following error:

.\proxmoxbackupgo_cli.exe -config .\backup_docs.json

Upgraderesp: HTTP/1.1 101 Switching Protocols
connection: upgrade
upgrade: proxmox-backup-protocol-v1
date: Wed, 28 Aug 2024 15:14:13 GMT
Successfully upgraded to HTTP/2.
Downloaded previous DIDX: 24 bytes
Previous index has wrong magic (no valid)!
Known chunks: 0!
Chunk size min is 1048576 , max 16777216
Chunk size min is 1048576 , max 16777216
Writer id: 1
Writer id: 2
New chunk[752831ea001b9be097232df514e4a83c74ef11e4a3adb64c5ca79d2c62b97d8e] 1059307 bytes
Found leftover snapshot, deleting it...
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x1 addr=0x0 pc=0x7ff6f2981645]
goroutine 1 [running, locked to thread]:
sync/atomic.(*Uint64).Add(...)
C:/Program Files/Go/src/sync/atomic/type.go:183
main.backup.func1({0xc00023a000, 0x10000, 0x10000})
PATH_TO_SOURCES/proxmoxbackupclient_go/main.go:224 +0x525
main.(*PXARArchive).Flush(0xc000324000)
PATH_TO_SOURCES/proxmoxbackupclient_go/pxar.go:168 +0x50
main.(*PXARArchive).WriteFile(0xc000324000, {0xc00024c080, 0x80}, {0xc000114fc6, 0xa})
PATH_TO_SOURCES/proxmoxbackupclient_go/pxar.go:466 +0x433
main.(*PXARArchive).WriteDir(0xc000324000, {0xc000312480, 0x75}, {0x0, 0x0}, 0x1)
PATH_TO_SOURCES/proxmoxbackupclient_go/pxar.go:302 +0x7bf
main.backup(0xc000142608, 0x0, 0x0, {0x0, 0x0}, {0xc000112040, 0x1d})
PATH_TO_SOURCES/proxmoxbackupclient_go/main.go:294 +0x674
main.main()
PATH_TO_SOURCES/proxmoxbackupclient_go/main.go:95 +0x27e

Any ideas?

@sivn
Copy link

sivn commented Sep 10, 2024

I've the same problem: @giuseongit could you maybe take a look?

@giuseongit
Copy link
Contributor

Fixed. The problem was trivial, but I didn't have time to test actually. Either my fix or @dalf 's one (thanks for your support!) are correct.

Avaliable fixes:

@tizbac please merge one of these prs and close the other

@tizbac
Copy link
Owner

tizbac commented Sep 16, 2024 via email

@giuseongit
Copy link
Contributor

@tizbac are you able to review/merge either of these pr? Those are almost a one-liner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants