Skip to content
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

Stop using ankicommunity/anki-sync-server-rs - it's incompatible with Anki desktop 23.10+ #17318

Closed
3 tasks done
sethidden opened this issue Jan 20, 2024 · 5 comments
Closed
3 tasks done

Comments

@sethidden
Copy link
Contributor

sethidden commented Jan 20, 2024

App Name

anki-sync-server

SCALE Version

23.10.1.1

Train Name

stable

App Version

5.1.9

Latest Available Container Version

1.1.14@sha256:553dbd9600b1580bca34e6ed60c5d8d9fb71f4fb6cdc81d4192f2db15af8ccff

Link to container

https://hub.docker.com/r/ankicommunity/anki-sync-server-rs/tags

Additional Context

Please stop using ankicommunity/anki-sync-server-rs and use https://github.com/LuckyTurtleDev/docker-images/pkgs/container/anki instead.

  1. anki-sync-server-rs is not compatible with the new Anki desktop 23.10+, the repo page itself mentions this: https://github.com/ankicommunity/anki-sync-server-rs/blob/master/README.md?plain=1#L13-L22 see also Anki 23.10 Click “Sync” Button then display:JsonError { info: "missing field media_usn at line 1 column 115" } ankicommunity/anki-sync-server-rs#77
  2. ankicommunity/anki-sync-server-rs was never an official server (ankitects is the official gh org, ankicommunity is comminity driven), see Re-brand sync server implementations to prevent confusion ankicommunity/.github#1
  3. https://docs.ankiweb.net/sync-server.html says: "Third-party sync servers also exist. No testing is done against them, and they tend to take time to catch up when the sync protocol changes, so they are not recommended."
  4. The https://github.com/LuckyTurtleDev/docker-images/pkgs/container/anki image is unofficial as well, but it ships the official sync server from ankitects org instead of ankicommunity. Anki's maintainer is unwilling to publish a container, so LuckyTurtleDev picked up that responsibility, see add dockerfile ankitects/anki#2798 (comment)

Basically - if you start the anki-sync-server app and try to connect it with the latest Anki desktop app at version 23.12.1, you'll get a media_usn error as linked in point 1 above

I've read and agree with the following

  • I've checked all open and closed issues and my issue is not there.
  • I confirm that this chart is outdated for at least 7 days (enterprise/operator train) or 1 month (stable train).
  • I confirm that this is not an incubator chart.
@sethidden sethidden changed the title Stop using ankicommunity/anki-sync-server-rs - it's incompatible with Anki desktop 23.10 Stop using ankicommunity/anki-sync-server-rs - it's incompatible with Anki desktop 23.10+ Jan 20, 2024
@sethidden
Copy link
Contributor Author

sethidden commented Jan 20, 2024

Please also do note that users are configured using SYNC_USER\d+ env vars https://docs.ankiweb.net/sync-server.html#multiple-users

@sethidden
Copy link
Contributor Author

For now I've been using the "create custom app" from stock truenas as a workaround. I'm posting my config from there so figuring out the bind mounts and ports is a little easier.
image
image

@StevenMcElligott
Copy link
Collaborator

Sounds good, I'll rework the app when I get a chance

@truecharts-admin
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

@truecharts-admin truecharts-admin added stale Categorises a PR or issue that has not been active for a specified time. and removed stale Categorises a PR or issue that has not been active for a specified time. labels Jul 18, 2024
@truecharts-admin
Copy link
Collaborator

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists

@truecharts truecharts locked and limited conversation to collaborators Oct 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants