Hello,
I’m experiencing a media synchronization issue between Anki Desktop and AnkiWeb. I would appreciate any advice on how to resolve it.
Environment
-
Anki Desktop 26.09.3 (29bb700b)
-
Windows
-
Google Chrome
-
AnkiWeb
Problem
I recently created a new deck containing 90 Chinese-language study cards with MP3 audio files.
All audio files play correctly in Anki Desktop. However, the audio does not play on AnkiWeb.
Chrome Developer Tools shows the following error:
-
Example file:
hskk_moc_02m_001_new_Sound_01.mp3 -
HTTP status:
404 Not Found -
Request URL:
https://ankiuser.net/study/media/hskk_moc_02m_001_new_Sound_01.mp3
The issue persists even with the browser cache disabled.
Audio files in my older decks continue to work normally on AnkiWeb.
What I have checked and tried
-
All 90 MP3 files are smaller than 1 MB.
-
All audio files play correctly in Anki Desktop.
-
Tools → Check Media reports:
-
Missing files: 0
-
Unused files: 0
-
-
Media synchronization is enabled in Anki’s preferences.
-
Synchronization finishes without displaying an error. The sync log previously showed “Media sync complete.”
-
I tried adding audio files through drag and drop into the note editor, but the issue persisted.
-
I renamed the MP3 files and updated the corresponding
[sound:filename.mp3]references in the notes. The renamed files still return 404 on AnkiWeb. -
I ran Tools → Check Database, which reported that the database had been rebuilt and optimized.
-
With Anki closed, I renamed
collection.media.db2tocollection.media.db2.old, then restarted Anki and allowed it to synchronize again. This did not resolve the issue. -
I ran Check Media again after the database was recreated. It still reports zero missing and zero unused files.
I have backups of my collection, including a .colpkg export with media.
Additional information
I normally study only using Anki Desktop, and I use AnkiWeb primarily to verify synchronization.
I have more than 20 decks and would like to avoid losing any cards, review history, or existing media.
Questions
-
Why might Anki report that media synchronization is complete when these MP3 files are unavailable on AnkiWeb?
-
Is there a safe way to force Anki to upload the missing media files without deleting or rebuilding my collection?
-
Are there any additional diagnostics or logs I can collect to identify the cause?
Thank you very much for your help!
