[Bug]: New machine hasn't synced most of my history
printfn opened this issue · 2 comments
printfn commented
What did you expect to happen?
I've previously had Atuin set up to sync history between two machines (using the new sync). I've now set up a third machine but it's missing a large chunk of history.
Existing machine (with all my history):
$ atuin history list | wc -l
21307
$ atuin status
Atuin v18.1.0 - Build rev
[Local]
Sync frequency: 10m
Last sync: 2024-04-15 7:20:09.748447889 +00:00:00
[Remote]
Address: https://api.atuin.sh
Username: ****
$ atuin doctor
Atuin Doctor
Checking for diagnostics
Please include the output below with any bug reports or issues
atuin:
version: 18.1.0
sync:
cloud: true
records: true
auto_sync: true
last_sync: 2024-04-15 7:20:09.748447889 +00:00:00
shell:
name: zsh
plugins:
- atuin
system:
os: Ubuntu
arch: x86_64
version: '22.04'
disks:
- *****
$ atuin store status
host: 018ccbfe-66c0-7491-9a1a-855e8b43d5ca
store: history
idx: 15629
first: 018da468-4840-7d51-8764-372cdc2d5aad
created: 2024-02-13 21:38:34.176528531 +00:00:00
last: 018ee016-9412-71b7-9de2-bad74d6d6d99
created: 2024-04-15 4:49:19.890312857 +00:00:00
host: 018cc692-4542-753d-9a48-1c4a674b53fa <- CURRENT HOST
store: history
idx: 13626
first: 018d90c2-4393-759f-81a8-dcf6a47869ed
created: 2024-02-10 2:04:26.899580632 +00:00:00
last: 018ee0a7-fe57-7789-b364-f7256ce12e3a
created: 2024-04-15 7:28:09.815357366 +00:00:00
host: 018ee093-1de6-7c6a-bae9-14e68c6628af
store: history
idx: 33
first: 018ee094-3e07-74a3-9d9f-ffd477f14012
created: 2024-04-15 7:06:35.399309 +00:00:00
last: 018ee0a0-7511-7a5c-b7d1-cdad29175031
created: 2024-04-15 7:19:55.921353 +00:00:00
New machine (that's missing history):
$ atuin history list | wc -l
8109
$ atuin status
Atuin v18.1.0 - Build rev
[Local]
Sync frequency: 10m
Last sync: 2024-04-15 7:24:21.580756 +00:00:00
[Remote]
Address: https://api.atuin.sh
Username: ****
$ atuin doctor
Atuin Doctor
Checking for diagnostics
Please include the output below with any bug reports or issues
atuin:
version: 18.1.0
sync:
cloud: true
records: true
auto_sync: true
last_sync: 2024-04-15 7:24:21.580756 +00:00:00
shell:
name: zsh
plugins:
- atuin
system:
os: Darwin
arch: arm64
version: 14.4.1
disks:
- name: Macintosh HD
filesystem: apfs
- name: Macintosh HD
filesystem: apfs
$ atuin store status
host: 018ccbfe-66c0-7491-9a1a-855e8b43d5ca
store: history
idx: 15629
first: 018da468-4840-7d51-8764-372cdc2d5aad
created: 2024-02-13 21:38:34.176528531 +00:00:00
last: 018ee016-9412-71b7-9de2-bad74d6d6d99
created: 2024-04-15 4:49:19.890312857 +00:00:00
host: 018cc692-4542-753d-9a48-1c4a674b53fa
store: history
idx: 13621
first: 018d90c2-4393-759f-81a8-dcf6a47869ed
created: 2024-02-10 2:04:26.899580632 +00:00:00
last: 018ee0a3-9076-761b-9448-6c733210e2d2
created: 2024-04-15 7:23:19.54221647 +00:00:00
host: 018ee093-1de6-7c6a-bae9-14e68c6628af <- CURRENT HOST
store: history
idx: 43
first: 018ee094-3e07-74a3-9d9f-ffd477f14012
created: 2024-04-15 7:06:35.399309 +00:00:00
last: 018ee0a5-4cbe-78b9-ae04-95a42b2b18ec
created: 2024-04-15 7:25:13.278706 +00:00:00
I've run atuin sync
and atuin sync -f
several times on both machines, but this hasn't helped.
What happened?
see above
Atuin doctor output
see above
Code of Conduct
- I agree to follow this project's Code of Conduct
ellie commented
Could you run atuin store rebuild history
and lmk what happens please?
printfn commented
Oh wow, that fixed it! Thank you so much!!