Open aerique opened 3 years ago
Hi, could you upload logs from both devices? Just run jotta-cli sync diag
and we'll take a look at it.
Sure, but it'll be a while before I'm on the work machine again.
Not quite what you asked for but I was finally able to run the command you asked when I had the "not syncing after sleep" issue (also only from one machine: my home laptop that I put to sleep as opposed to my work desktop that I hibernate):
I noticed when I had started my machine again that some stuff wasn't synced. I knew this because I had updated files on my work desktop yesterday and made sure they were synced.
This is from before restarting jottad
. The "Status" timestamp is when I started my machine this morning:
$ jotta-cli status
-------------------------------------------
A new version of Jotta Cli is available.
Please update from 0.12.50391 to version 0.12.51122
To update jotta-cli just download and install
most recent build from
https://repo.jotta.us/archives/linux/[ARCH]/
or
use the packagemanger used to install jotta-cli
------------------------------------------------------------------------------
Account : <<e-mail address elided>> on Jottacloud
Usage : 1.09TiB / 5.00TiB
Device : work-laptop@home
------------------------------------------------------------------------------
Sync :
------------------------------------------------------------------------------
Path : /home/<<user>>/Jottacloud
Files : 75944 (42.84GiB)
Mode : listening to events
Status : Up to date - Thu Nov 11 09:17:44
Errors : 35 ( -v to list details )
------------------------------------------------------------------------------
No folders added to backup yet
------------------------------------------------------------------------------
OK
$ jotta-cli sync diag
-------------------------------------------
A new version of Jotta Cli is available.
Please update from 0.12.50391 to version 0.12.51122
To update jotta-cli just download and install
most recent build from
https://repo.jotta.us/archives/linux/[ARCH]/
or
use the packagemanger used to install jotta-cli
-------------------------------------------
ERROR context deadline exceeded
And this was run after jottad
was started again and it had succesfully synced the new files:
$ jotta-cli sync diag
-------------------------------------------
A new version of Jotta Cli is available.
Please update from 0.12.50391 to version 0.12.51122
To update jotta-cli just download and install
most recent build from
https://repo.jotta.us/archives/linux/[ARCH]/
or
use the packagemanger used to install jotta-cli
-------------------------------------------
ERROR context deadline exceeded
Not very useful I gather ;-)
I had not been at the office machine for more than a month and the client did not sync when I just resumed it from hibernation (after a resume NTP is automatically run to sync the clock and I was also AFK for 10+ minutes before running these commands), so I did the jotta-cli sync diag
thing and it just said "OK" after a while (see below). Does than mean it sent something to you? My jotta-cli client was of course not up-to-date and could understandably not be updated.
2021-12-10 09:24:19 user@host$ jotta-cli status
-------------------------------------------
A new version of Jotta Cli is available.
Please update from 0.11.44592 to version 0.12.51122
To update jotta-cli just download and install
most recent build from
https://repo.jotta.us/archives/linux/[ARCH]/
or
use the packagemanger used to install jotta-cli
------------------------------------------------------------------------------
Account : user@host.net on Jottacloud
Usage : 1.09TiB / 5.00TiB
Device : desktop@work
------------------------------------------------------------------------------
Sync :
------------------------------------------------------------------------------
Path : /home/user/Jottacloud
Files : 75945 (42.84GiB)
Mode : listening to events
Status : Up to date - Wed Nov 10 16:54:00
Errors : 35 ( -v to list details )
------------------------------------------------------------------------------
No folders added to backup yet
------------------------------------------------------------------------------
OK
2021-12-10 09:24:51 user@host$ jotta-cli sync diag
-------------------------------------------
A new version of Jotta Cli is available.
Please update from 0.11.44592 to version 0.12.51122
To update jotta-cli just download and install
most recent build from
https://repo.jotta.us/archives/linux/[ARCH]/
or
use the packagemanger used to install jotta-cli
-------------------------------------------
OK
After updating and restarting everything was synced.
I'm not sure if this is a jotta-cli issue or an OS issue but I've been using jotta-cli for several months now and when moving between my work laptop at home or my desktop at work I always have to kill and restart jottad after the machines come out of sleep / hibernation because jottad does not sync the updates from the other machine.