Sync not working

I’m currently migrating to a new computer and noticed that the history of computer A (old) is not appearing on computer B (new). I read several posts here and on GitHub but I’m still not sure what’s wrong.

This is the output of atuin sync -f on computer A

0/0 up/down to record store
Sync complete! 25622 items in history database, force: true

and atuin doctor

{
  "atuin": {
    "version": "18.15.2",
    "commit": "",
    "sync": {
      "auth_state": "Self-hosted (authenticated)",
      "records": true,
      "auto_sync": true,
      "last_sync": "2026-04-21 12:02:29.337064 +00:00:00"
    },
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "fish",
    "default": "fish",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "Darwin",
    "arch": "arm64",
    "version": "26.4.1",
    "disks": [
      {
        "name": "Macintosh HD",
        "filesystem": "apfs"
      },
      {
        "name": "Macintosh HD",
        "filesystem": "apfs"
      }
    ]
  }
}

This is atuin sync -f on computer B

0/0 up/down to record store
Sync complete! 2499 items in history database, force: true

and atuin doctor

{
  "atuin": {
    "version": "18.15.2",
    "commit": "",
    "sync": {
      "auth_state": "Self-hosted (authenticated)",
      "records": true,
      "auto_sync": true,
      "last_sync": "2026-04-21 12:05:43.685804 +00:00:00"
    },
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "fish",
    "default": "fish",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "Darwin",
    "arch": "arm64",
    "version": "26.4.1",
    "disks": [
      {
        "name": "Macintosh HD",
        "filesystem": "apfs"
      },
      {
        "name": "Macintosh HD",
        "filesystem": "apfs"
      }
    ]
  }
}

Finally, this is config.toml which is identical on both computers:

enter_accept = true
filter_mode_shell_up_key_binding = "directory"
inline_height = 0
keymap_mode = "vim-insert"
style = "auto"
sync_address = "[REDACTED]"

[daemon]
enabled = false

[sync]
records = true

It appears as if everything is in order but notice that computer A has 25622 items but B has only 2499. Thanks for any help!

Interestingly, it seems commands that I recently executed on computer A do appear on computer B. But I would like to synchronize the whole history so that I also have commands on B that I only use occasionally. Is this somehow possible?

I solved it by starting over cleanly. I deleted the remote account via atuin account delete, then deleted all local files in .local/share/atuin except key on both computers. I created the account again and pushed all history from computer A. On computer B I logged in and performed a sync. It appears to be working now.