Several days ago, I symlinked
collection.media
and
collection.anki2
to Dropbox (I wasn’t aware that this is a bad idea at the time). Since then, there have been two issues:
On startup, close and sync, I get the error:
IOError { info: "unable to read collection.media: No such file or directory (os error 2)" }
. The error doesn’t occur with shift startup (which leads me to believe the sync event triggers the error).
media doesn’t display through ankiweb sync (but media displays fine via local anki desktop):
I’m not sure what could be causing the IOError at this point since collection.media is in the original location (and is not a symlink) and media displays fine locally. I don’t know what other data sources might be be relevant. As far as I can tell, collection.anki2 is not corrupt (Check Database report seems fine and Anki Desktop works normally aside from the IOError messages).
Any advice on how to proceed? Since I have backups, my next thought would be to reinstall Anki Desktop fresh and import.
Tracing this “unable to read” message in Anki’s source, I found these two occurences: