-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
anki server sync not sync #29
Comments
Can reproduce. I installed latest Anki yesterday and latest anki-devops-service today, both on Arch Linux. |
This looks like a duplicate of ankicommunity/ankicommunity-sync-server#56. It looks like this is an issue in the server rather regarding the Docker image. |
I don't think it's the server, in AnkiDroid it works perfect, it synchronizes me without problems. A connection error has occurred. Please help!!! I need to study!!!!!! |
The server is installed on docker |
@CharlyJr Since I cannot get the anki sync server set up, I'm not using it. It's only necessary when you want to study from a different computer. When I do that, I wrote a script that copies ~/.local/Anki and ~/.local/Anki2 to my current machine, runs anki, then copies them back. Good luck out there! |
Thanks for the detail! |
same issue. |
I get the same error when checking for media log. I didn't notice until recently that new added cards don't play audio. The cards sync well in both anki and ankidroid but the audio in newly added cards don't get to the server apparently and in media log I see the message: Tue Aug 10 20:12:42 2021: Media sync starting... Error details: Please force a full sync in the Preferences screen to bring your devices into sync. Then, please use the Check Database feature, and sync to your other devices. If problems persist, please post on the support forum. error decoding response body: invalid type: null, expected a string at line 1 column 56 |
I had the same problem @jacktheripper19 above mentioned. This happened after I spent some time using an older version of the sync server (the 2020 Docker image mentioned as being out of date in ankicommunity/ankicommunity-sync-server#56), with Anki desktop 2.15. After switching to the newest version of the sync server and of Anki desktop, I was able to get my cards but not my media to sync correctly. I did some debugging and found that the I think all of these null-checksum entries are orphaned, i.e. they don't appear in any of my cards. They seem to have filenames related to some audio clips that I do have in my actual cards, but files with these particular names don't show up in my media collection on the server. My hunch is that I could have solved this by re-syncing my desktop Anki profile from the client to the new server build from scratch (as opposed to what I did, which was to create a new desktop Anki profile and pull down from my existing anki-sync-server database, which I copied from my old install). Instead, my solution was to just add an explicit null check in anki-sync-server's
This got the sync working, and "Tools->Check Media" in desktop Anki reports that every card has its media. I'll probably just leave the null check in here and hope it doesn't mask any problems. |
This patched worked for me as well, thank you :) |
when click in sync...
conection error
error decoding response body: missing field mod at line 1 column 99
seconds later...
anki id and password are wrong
I can`t use docker image and anki desktop, latest version both and i have installed Djankiserv connect
The text was updated successfully, but these errors were encountered: