Anki Sync Server Enhanced (Dashboard + TrueNAS App)

Hi everyone,

I’d like to share Anki Sync Server Enhanced with you.

It’s based on the official self-hosted Anki sync server, but adds a few features to make running and monitoring a personal sync server easier:

Additional features are:

  • Web dashboard for server visibility

  • Multi-user support

  • Monitoring and management features

  • Automated backups

  • Container-friendly deployment

  • TrueNAS SCALE application support

There’s now also a TrueNAS SCALE app available in the catalog, so installation can be done without manual Docker configuration.

https://github.com/chrislongros/anki-sync-server-enhanced

https://hub.docker.com/repository/docker/chrislongros/anki-sync-server-enhanced/general

5 Likes

I’m trying to install the Anki Sync Server and installed it though the TrueNas app, but for some reason im not able to get it running. It doesn’t generate any errors or anything so ive no idea why its failing to start. When i try to start it, it attempts to deploy but after like 1-2 seconds it fails and stops.

Only thing i changed from the default is the storage location to one I already made instead of letting it make it.

The readme on github has you installing it as a custom app (as if its not in the app store) so unsure how much of it applies to the actual app.

Any suggestions?

I will have a look at it and write you back.

@chrislg the issue appears to be permissions. If you create a dataset for the configuration with user and group of 568 (apps) and have that set inside the User ID and Group ID of the app (the default values), it will fail.

It looks like app will change the ownership of the dataset to UID/GID of 1000, which then causes permission issues. If I then change the User ID and Group ID of the app to use 1000 then it seems to launch fine (although I have not actually used it yet so not sure if there are any hidden gotcha’s to this approach).

It appears the Web UI is not setup properly as when I click it it opens to a page that doesn’t exist, as it seems like by default the Web UI port is set to the sync port (although it also says the dashboard is disabled) when checking docker logs. With the way TrueNAS is designed I think it would make sense to have the dashboard enabled by default and have that be the Web UI port (configurable) and have the Sync Port (configurable) be a separate option.