Atuin not syncing

I came here from GitHub (because no issues are responded to) > Discord (because it says there the help channel is discontinued and to come here instead).

I have this problem since the very begin:


First of all thanks for this tool, really amazing.


I am running it in a perhaps somewhat peculiar setup:

  • I have two computers at home under the same network with two fixed IPs 192.168.1.2 and 192.168.1.3
  • I have setup the database server on 192.168.1.3 and logged in to it from both computers
  • I also have set the sync interval to `“0m” in the config

Initially it immediately synced the bulk from computer A to computer B as soon I had both configs on "0m"
However as I went working on both computers, I noticed I missed commands from the other computer.

So I run atuin sync and indeed:

atuin sync
0/0 up/down to record store
33 in history index, but 30 in history store
Running automatic history store init...
  Import complete                                                                                                                                                      Re-running sync due to new records locally
Uploading 3 records to 01961c3a1f5a76c290b4d12791ed0f42/history
  [00:00:00] [#############################################################################################################################################] 3/3 (0.0s)4/0 up/down to record store
Sync complete! 33 items in history database, force: false

It was missing 3 three records on computer A which I had used on computer B
I repeated the test and it seems that somehow computer A (where the DB is stored) is pushing its history fine to computer B, however, Computer B seems to struggle pushing it back to the database.

It appears that on Computer A I quite often miss commands and have to atuin sync

Anything I am doing wrong?
`“0m” is supposed to be an immediate sync, right?
(And yes, it does sync, it did sync the whole bunch at the first setup and when I run atuin sync it clearly does sync, so it is not an issue of logging in or similar)

Thanks for any pointers!

PS: I also tried to change the value to 0 instead of 0m

Replied on GitHub, but please share Atuin doctor for each. You likely weren’t replied to because you didn’t use the issue form

1 Like

Thanks, added details and specified behavior there.
Cheers!