Open eljejer opened 3 years ago
Thanks for the report!
We just released version 0.9.40946 on unstable which should fix this if we understand the problem correctly.
Could you test that release? Info on how to switch to unstable is here
I believe this is still an issue.
system: raspberry pi 4 (ARM)
jotta-cli version 0.10.43844
upon running a add
, such as jotta-cli add ./backup/
jottad
crashes:
pid:6479 2021/05/12 19:51:47 Starting /usr/bin/jottad version 0.10.43844 as 0(root)/0 (linux:arm)
pid:6479 2021/05/12 19:51:47 jottad.init
pid:6479 2021/05/12 19:51:47 jottad.init.appdata => /var/lib/jottad
pid:6479 2021/05/12 19:51:47 jottad.appdata /var/lib/jottad
pid:6479 2021/05/12 19:51:47 jottad.appdata /var/lib/jottad/.ignore (1620841851|490)
pid:6479 2021/05/12 19:51:47 jottad.appdata /var/lib/jottad/cldb (1620841852|16384)
pid:6479 2021/05/12 19:51:47 jottad.appdata /var/lib/jottad/db (1620845381|32768)
pid:6479 2021/05/12 19:51:47 jottad.appdata /var/lib/jottad/downloads
pid:6479 2021/05/12 19:51:47 jottad.appdata /var/lib/jottad/downloads/history (1620841852|16384)
pid:6479 2021/05/12 19:51:47 jottad.appdata /var/lib/jottad/jottabackup.log (1620845507|39999)
pid:6479 2021/05/12 19:51:47 jottad.appdata /var/lib/jottad/localfiles (1620845381|32768)
pid:6479 2021/05/12 19:51:47 jottad.appdata /var/lib/jottad/nstore - (2cc1f5477d650634b639d94627666553|1620842338|65536)
pid:6479 2021/05/12 19:51:47 jottad.appdata /var/lib/jottad/obj
pid:6479 2021/05/12 19:51:47 jottad.appdata /var/lib/jottad/obj/5b296082 (1620845381|806)
pid:6479 2021/05/12 19:51:47 jottad.appdata /var/lib/jottad/settings.dat (1620845381|213)
pid:6479 2021/05/12 19:51:47 Loading settings from /var/lib/jottad/settings.dat
pid:6479 2021/05/12 19:51:48 jottad.init.cfg.downloadrate => 0B/s
pid:6479 2021/05/12 19:51:48 jottad.init.cfg.uploadrate => 0B/s
pid:6479 2021/05/12 19:51:48 jottad.init.user => [9a2745372708e941236326142740a829] on [pi4] @ [9a2745372708e941236326142740a829]
pid:6479 2021/05/12 19:51:48 jottad.init.cfg.scaninterval => 1h0m0s
pid:6479 2021/05/12 19:51:48 jottad.init.done => ok
pid:6479 2021/05/12 19:51:48 jottad.startup
pid:6479 2021/05/12 19:51:48 api.grpc.tls.active => 127.0.0.1:14443
pid:6479 2021/05/12 19:51:48 jottad.startup.update-userinfo => user@example.com Jottacloud 9a2745372708e941236326142740a829
pid:6479 2021/05/12 19:51:48 jottad.startup.confirm-remote => ok
pid:6479 2021/05/12 19:51:48 jottad.startup => ok
pid:6479 2021/05/12 19:51:48 running 4 delayed startup tasks
pid:6479 2021/05/12 19:51:49 GET https://repo.jotta.us/archives/VERSION 200
pid:6479 2021/05/12 19:51:57 ok stat with 0 got filesystem info id[1105409cbfc1df5c] type[ext2/ext3] for path /jottad/backup
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x11e34]
goroutine 26 [running]:
runtime/internal/atomic.goXadd64(0x3416014, 0x1, 0x0, 0x6, 0x308a580)
/usr/local/go/src/runtime/internal/atomic/atomic_arm.go:103 +0x1c
git.jotta.us/jotta/desktop/client/exe/jottad/daemon.(*Daemon).nextid(...)
/builds/jotta/desktop/client/exe/jottad/daemon/daemon.go:1175
git.jotta.us/jotta/desktop/client/exe/jottad/daemon.(*Daemon).handleAddBackupRequest(0x3416000, 0x31b3da0, 0x1c, 0x0, 0x0, 0x0, 0x33c5f40, 0x5ec5fa4, 0x0)
/builds/jotta/desktop/client/exe/jottad/daemon/addbackup.go:100 +0x4f8
git.jotta.us/jotta/desktop/client/exe/jottad/daemon.(*Daemon).loop(0x3416000)
/builds/jotta/desktop/client/exe/jottad/daemon/daemon.go:1100 +0xc8c
created by git.jotta.us/jotta/desktop/client/exe/jottad/daemon.(*Daemon).Start
/builds/jotta/desktop/client/exe/jottad/daemon/daemon.go:789 +0xe4
Error: Could not connect to jottad. Is it running on 127.0.0.1:14443 ?
Error: Could not connect to jottad. Is it running on 127.0.0.1:14443 ?
The stack trace answers that:
jottad
crashed which prevented jotta-cli
from keeping the connection.
The latest software update released yesterday has resolved the crash. Thanks!
Make sure you are running the latest version of jotta-cli before reporting an issue.
jotta-cli release (
jotta-cli version
): jotta-cli-0.9.39536 Description of problem: jottad keeps stopping after initiating a download Expected: jottad keep on runningjotta-cli status (
jotta-cli status
):Relevant logs for the issue (
~/.jottad/jottabackup.log or /var/lib/jotta/jottabackup.log
)Traceback
Additional info: No other listeners on 14443