Skip to content

Sync Failed with File Copy Error #64

Description

@jagaller2000

Hello out there!

I'm still trying to get my Classic 6th Gen. to sync with PodKit via a Raspberry Pi 3b. I tried using the daemon mode and it kept failing without results, so I attempted a manual run (via docker). First cleaned up orphans, then went for a verbose sync. Can you help me pinpoint the cause?

My Config:

version = 1

[defaults]
music = "juno"

[music.juno]
type = "subsonic"
url = "http://IP:PORT"
username = "user"
password = "blablabla"
path = "/tmp/subsonic-cache/juno"

[devices.junos-classic]
volumeUuid = "XXXX-TTTT"
volumeName = "Q'S IPOD"
quality = "max"
audio = "juno"
music = "juno"
artwork = true
61aad67b7b8a:/# podkit doctor --repair orphan-files -d /ipod
Repairing orphan-files for 0 tracks...

Deleted 60 orphan files, freed 1.6 GB                                                               

Repair complete. Run `podkit doctor` to verify.
61aad67b7b8a:/# podkit doctor --verbose -d /ipod
podkit doctor — checking iPod at /ipod

  ✓ Artwork Integrity    ArtworkDB is empty (no artwork entries)
  ✓ Orphan Files    All 0 files on disk are referenced by tracks

All checks passed.
61aad67b7b8a:/# podkit sync -d /ipod -vvv
iPod database opened
Found 533 tracks in source
Diff computed

=== Syncing Music ===

Tracks to process: 533
Estimated size: 28.6 GB
Estimated time: ~3h 15m

Saving iPod database...Music sync complete!

Failed: 533 tracks
...
  - Architects - Whiplash
    Category: database
    Error: Failed to copy file: No 'F..' directories found in '/ipod/iPod_Control/Music'.
    Stack trace:
      at copyFileToTrack (/$bunfs/root/podkit:29643:28)
      at transferToIpod (/$bunfs/root/podkit:11835:19)
      at transferWithRetry (/$bunfs/root/podkit:11601:49)
      at executePipeline (/$bunfs/root/podkit:11463:52)
      at processTicksAndRejections (native:7:39)
...


=== Summary ===

Synced 0 items (533 failed)
Duration: 8h 46m

Another attempt with a smaller library and default quality settings reports errors, while the files actually appear on the device (without artwork).

61aad67b7b8a:/# podkit doctor -d junos-classic
Looking for iPod 'junos-classic'...
podkit doctor — checking iPod at /tmp/podkit-Q'S IPOD

  - Artwork Integrity    No ArtworkDB found (iPod has no artwork)
  ✓ Orphan Files    All 0 files on disk are referenced by tracks

All checks passed.
61aad67b7b8a:/# podkit sync -d junos-classic
Looking for iPod 'junos-classic'...
iPod database opened
Found 47 tracks in source
Diff computed

=== Syncing Music ===

Tracks to process: 47
Estimated size: 444.6 MB
Estimated time: ~2m 58s

Overall:  [>                             ]   0%  0/47 tracks
Saving iPod database...
** (process:1734): CRITICAL **: 10:47:17.308: itdb_splr_validate: assertion 'at != ITDB_SPLAT_UNKNOWN' failed
Music sync complete!

Failed: 47 tracks

=== Summary ===

Synced 0 items (47 failed)
Duration: 1h 10m

Any ideas what I should try?

All the best,
Jan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions