Custom sync server - Anki does not initiate

I just want to confirm, which of the following are you trying to do?

  1. Run the custom sync server directly on your local PC.
  2. Run it inside a Docker container.

If it’s option 1, you don’t need to refer to the link you provided. Just follow the instructions on this page.

Anki starting…
2024-11-16T10:57:50.888891Z INFO listening addr=0.0.0.0:8080

These lines indicate that the custom sync server has started correctly. If you’d like to run the Anki desktop client on the same PC, simply start Anki in a separate command session.

If it’s option 2, you can follow the instructions in the link you provided, and run the following steps to start the custom sync server:

  1. Build the Docker image with the docker build command. Make sure to configure <Dockerfile> and <version> appropriately in the command.
    • Example:
      docker build -f docs/syncserver/Dockerfile --no-cache --build-arg ANKI_VERSION=24.06.3 -t anki-sync-server .
  2. Create and start the container from the image with the docker run command.

You can check the server logs with the following command:

docker logs anki-sync-server


If you want to start the server using the docker compose up command, my previous post might be helpful.


If I set https://localhost::8080/ under Self-hosted sync server option I receive this warning: Invalid sync server specified. Please check the preferences.

The documentation says that “The server listens on an unencrypted HTTP connection”, so try replacing https with http.

3 Likes