Skip to content

Error uploading large files to remote Docker instance #38

Description

@diner1780
Image

Sync operation goes through successfully for all other files except for these 5 images (size of each file shown below).

Image Image Image Image Image

Size of the remote vault:

Image

[2026-09-06T13:56:48.454Z] INFO file_sync_started direction="upload" operation="upsert" path="Media/20260902_162401.jpg"
[2026-09-06T13:56:48.456Z] INFO file_sync_started direction="upload" operation="upsert" path="Media/20260902_161521.jpg"
[2026-09-06T13:56:48.456Z] INFO file_sync_started direction="upload" operation="upsert" path="Media/20260902_160724.jpg"
[2026-09-06T13:56:48.457Z] INFO file_sync_started direction="upload" operation="upsert" path="Media/20260902_155804.jpg"
[2026-09-06T13:56:48.458Z] INFO file_sync_started direction="upload" operation="upsert" path="Media/20260902_160724_proc.jpg"
[2026-09-06T13:58:00.314Z] INFO connection_state_changed state="reconnecting"
[2026-09-06T13:58:02.026Z] INFO connection_state_changed state="connecting"
[2026-09-06T13:58:44.546Z] INFO connection_state_changed state="live"
[2026-09-06T13:59:24.570Z] INFO connection_state_changed state="reconnecting"
[2026-09-06T13:59:27.681Z] INFO connection_state_changed state="connecting"
[2026-09-06T14:00:01.658Z] INFO connection_state_changed state="live"
[2026-09-06T14:02:11.904Z] INFO connection_state_changed state="reconnecting"
[2026-09-06T14:02:11.930Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Media/20260902_161521.jpg" reason="prepare_failed"
[2026-09-06T14:02:11.939Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Media/20260902_160724.jpg" reason="prepare_failed"
[2026-09-06T14:02:11.940Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Media/20260902_160724_proc.jpg" reason="prepare_failed"
[2026-09-06T14:02:11.942Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Media/20260902_155804.jpg" reason="prepare_failed"
[2026-09-06T14:02:15.309Z] INFO connection_state_changed state="connecting"
[2026-09-06T14:02:20.713Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Media/20260902_162401.jpg" reason="prepare_failed"
[2026-09-06T14:02:20.732Z] ERROR sync_error phase="auto_sync" classification="unexpected" name="SyntaxError" message="Unexpected end of JSON input"
[2026-09-06T14:02:20.740Z] WARN retry_scheduled attempt=3 delayMs=4000
[2026-09-06T14:02:25.305Z] INFO work_scheduled mode="immediate"
[2026-09-06T14:02:27.093Z] INFO file_sync_started direction="upload" operation="upsert" path="Media/20260902_162401.jpg"
[2026-09-06T14:02:27.097Z] INFO file_sync_started direction="upload" operation="upsert" path="Media/20260902_161521.jpg"
[2026-09-06T14:02:27.099Z] INFO file_sync_started direction="upload" operation="upsert" path="Media/20260902_160724.jpg"
[2026-09-06T14:02:27.101Z] INFO file_sync_started direction="upload" operation="upsert" path="Media/20260902_155804.jpg"
[2026-09-06T14:02:27.102Z] INFO file_sync_started direction="upload" operation="upsert" path="Media/20260902_160724_proc.jpg"
[2026-09-06T14:03:07.333Z] INFO connection_state_changed state="reconnecting"
[2026-09-06T14:03:10.351Z] INFO connection_state_changed state="connecting"
[2026-09-06T14:03:53.256Z] INFO connection_state_changed state="live"
[2026-09-06T14:05:04.318Z] INFO connection_state_changed state="reconnecting"
[2026-09-06T14:05:08.313Z] INFO connection_state_changed state="connecting"
[2026-09-06T14:07:46.526Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Media/20260902_160724.jpg" reason="prepare_failed"
[2026-09-06T14:07:46.529Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Media/20260902_155804.jpg" reason="prepare_failed"
[2026-09-06T14:07:46.531Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Media/20260902_160724_proc.jpg" reason="prepare_failed"
[2026-09-06T14:07:48.436Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Media/20260902_162401.jpg" reason="prepare_failed"
[2026-09-06T14:07:53.201Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Media/20260902_161521.jpg" reason="prepare_failed"
[2026-09-06T14:07:53.212Z] ERROR sync_error phase="auto_sync" classification="unexpected" name="SyntaxError" message="Unexpected end of JSON input"
[2026-09-06T14:07:53.224Z] WARN retry_scheduled attempt=4 delayMs=8000


Update: After a while, I lost access to my vault and now I can't connect to it

Image

Synch sync diagnostics
pluginVersion="0.4.6"
entries=4

[2026-09-06T14:44:57.271Z] INFO sync_started source="startup"
[2026-09-06T14:44:58.280Z] INFO sync_reconciled source="startup" filesScanned=297 filesQueuedForUpsert=297 filesQueuedForDelete=0
[2026-09-06T14:44:58.281Z] INFO connection_state_changed state="connecting"
[2026-09-06T14:44:58.993Z] ERROR remote_vault_unavailable reason="access_denied"

Activity

  1. changed the title [-]Error uploading large files to self-hosted server[/-] [+]Error uploading large files to self-hosted remote Docker instance[/+] on Sep 6, 2026
  2. changed the title [-]Error uploading large files to self-hosted remote Docker instance[/-] [+]Error uploading large files to remote Docker instance[/+] on Sep 6, 2026
  3. hhhjin commented on Sep 7, 2026

    @hhhjin
    Member

    I think this was caused by multiple uploads running in parallel on a limited-bandwidth connection.

    I've made some improvements to handle this case better. Could you update to the latest version, remove the existing remote vault, reconnect it, and let me know if the issue still occurs?

  4. diner1780 commented on Sep 7, 2026

    @diner1780
    Author

    Getting this error on ver. 0.4.7

    Image

    Synch sync diagnostics
    pluginVersion="0.4.7"
    entries=22

    [2026-09-07T17:06:36.633Z] INFO sync_started source="startup"
    [2026-09-07T17:06:37.359Z] INFO sync_reconciled source="startup" filesScanned=297 filesQueuedForUpsert=297 filesQueuedForDelete=0
    [2026-09-07T17:06:37.359Z] INFO connection_state_changed state="connecting"
    [2026-09-07T17:06:37.586Z] ERROR sync_error phase="auto_sync" classification="unexpected" name="ApiRequestError" message="vault sync is temporarily paused for repair" code="forbidden" status=403
    [2026-09-07T17:06:37.601Z] INFO connection_state_changed state="reconnecting"
    [2026-09-07T17:06:37.623Z] INFO work_scheduled mode="immediate"
    [2026-09-07T17:06:37.628Z] INFO connection_state_changed state="connecting"
    [2026-09-07T17:06:37.845Z] ERROR sync_error phase="auto_sync" classification="unexpected" name="ApiRequestError" message="vault sync is temporarily paused for repair" code="forbidden" status=403
    [2026-09-07T17:06:41.566Z] ERROR sync_error phase="auto_sync" classification="unexpected" name="ApiRequestError" message="vault sync is temporarily paused for repair" code="forbidden" status=403
    [2026-09-07T17:06:41.578Z] INFO connection_state_changed state="reconnecting"
    [2026-09-07T17:06:48.309Z] INFO connection_state_changed state="connecting"
    [2026-09-07T17:06:49.328Z] ERROR sync_error phase="auto_sync" classification="unexpected" name="ApiRequestError" message="vault sync is temporarily paused for repair" code="forbidden" status=403
    [2026-09-07T17:06:49.333Z] INFO connection_state_changed state="reconnecting"
    [2026-09-07T17:07:02.305Z] INFO connection_state_changed state="connecting"
    [2026-09-07T17:07:02.771Z] ERROR sync_error phase="auto_sync" classification="unexpected" name="ApiRequestError" message="vault sync is temporarily paused for repair" code="forbidden" status=403
    [2026-09-07T17:07:02.780Z] INFO connection_state_changed state="reconnecting"
    [2026-09-07T17:07:16.334Z] INFO connection_state_changed state="connecting"
    [2026-09-07T17:07:17.054Z] ERROR sync_error phase="auto_sync" classification="unexpected" name="ApiRequestError" message="vault sync is temporarily paused for repair" code="forbidden" status=403
    [2026-09-07T17:07:17.057Z] INFO connection_state_changed state="reconnecting"
    [2026-09-07T17:07:34.401Z] INFO connection_state_changed state="connecting"
    [2026-09-07T17:07:34.852Z] ERROR sync_error phase="auto_sync" classification="unexpected" name="ApiRequestError" message="vault sync is temporarily paused for repair" code="forbidden" status=403
    [2026-09-07T17:07:34.854Z] INFO connection_state_changed state="reconnecting"

  5. algiadev8 commented on Sep 15, 2026

    @algiadev8
    Contributor

    The logs seem to suggest that the remote vault may have been paused and could require repair.

    As a possible workaround, you could back up your local vault first, delete the remote vault, update the Synch server to the latest version, and then recreate the remote vault. This might resolve the issue, although I haven’t verified it.

    I’m also working on adding a repair button, which may provide a safer and easier recovery option once it’s ready.

  6. diner1780 commented on Sep 24, 2026

    @diner1780
    Author

    New error, possibly related to this issue:

    Synch sync diagnostics
    pluginVersion="0.4.8"
    entries=32

    [2026-09-24T23:01:11.526Z] INFO sync_started source="startup"
    [2026-09-24T23:01:11.624Z] INFO sync_reconciled source="startup" filesScanned=694 filesQueuedForUpsert=0 filesQueuedForDelete=0
    [2026-09-24T23:01:11.625Z] INFO connection_state_changed state="connecting"
    [2026-09-24T23:01:13.005Z] INFO connection_state_changed state="live"
    [2026-09-24T23:01:13.037Z] INFO work_scheduled mode="immediate"
    [2026-09-24T23:01:13.363Z] INFO file_sync_started direction="upload" operation="upsert" path="Charted Roots/People/bob.md"
    [2026-09-24T23:01:13.364Z] INFO file_sync_started direction="upload" operation="upsert" path="IRL//IMG_20260916_130752.jpg"
    [2026-09-24T23:01:13.953Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Charted Roots/People/bob.md" reason="stale_revision"
    [2026-09-24T23:01:16.696Z] ERROR file_sync_failed direction="upload" operation="upsert" path="IRL/IMG_20260916_130752.jpg" reason="prepare_failed"
    [2026-09-24T23:01:17.990Z] INFO file_sync_started direction="upload" operation="upsert" path="Charted Roots/People/bob.md"
    [2026-09-24T23:01:17.991Z] INFO file_sync_started direction="upload" operation="upsert" path="IRL/IMG_20260916_130752.jpg"
    [2026-09-24T23:01:18.312Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Charted Roots/People/bob.md" reason="stale_revision"
    [2026-09-24T23:01:20.027Z] INFO file_sync_started direction="upload" operation="upsert" path="Charted Roots/People/bob.md"
    [2026-09-24T23:01:20.029Z] INFO file_sync_started direction="upload" operation="upsert" path="IRL/IMG_20260916_130752.jpg"
    [2026-09-24T23:01:20.373Z] INFO file_sync_completed direction="upload" operation="upsert" path="IRL/IMG_20260916_130752.jpg" revision=2
    [2026-09-24T23:01:20.374Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Charted Roots/People/bob.md" reason="stale_revision"
    [2026-09-24T23:01:20.711Z] INFO file_sync_started direction="upload" operation="upsert" path="Charted Roots/People/bob.md"
    [2026-09-24T23:01:21.006Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Charted Roots/People/bob.md" reason="stale_revision"
    [2026-09-24T23:01:21.369Z] INFO file_sync_started direction="upload" operation="upsert" path="Charted Roots/People/bob.md"
    [2026-09-24T23:01:21.617Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Charted Roots/People/bob.md" reason="stale_revision"
    [2026-09-24T23:01:21.987Z] INFO file_sync_started direction="upload" operation="upsert" path="Charted Roots/People/bob.md"
    [2026-09-24T23:01:22.705Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Charted Roots/People/bob.md" reason="stale_revision"
    [2026-09-24T23:01:23.035Z] INFO file_sync_started direction="upload" operation="upsert" path="Charted Roots/People/bob.md"
    [2026-09-24T23:01:23.298Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Charted Roots/People/bob.md" reason="stale_revision"
    [2026-09-24T23:01:23.602Z] INFO file_sync_started direction="upload" operation="upsert" path="Charted Roots/People/bob.md"
    [2026-09-24T23:01:24.356Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Charted Roots/People/bob.md" reason="stale_revision"
    [2026-09-24T23:01:24.704Z] INFO file_sync_started direction="upload" operation="upsert" path="Charted Roots/People/bob.md"
    [2026-09-24T23:01:24.957Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Charted Roots/People/bob.md" reason="stale_revision"
    [2026-09-24T23:01:25.255Z] INFO file_sync_started direction="upload" operation="upsert" path="Charted Roots/People/bob.md"
    [2026-09-24T23:01:25.513Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Charted Roots/People/bob.md" reason="stale_revision"
    [2026-09-24T23:01:25.819Z] INFO file_sync_started direction="upload" operation="upsert" path="Charted Roots/People/bob.md"
    [2026-09-24T23:01:26.060Z] ERROR file_sync_failed direction="upload" operation="upsert" path="Charted Roots/People/bob.md" reason="stale_revision"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions