# How to create a sync server on Synology NAS with Python

**URL:** <https://forums.ankiweb.net/t/how-to-create-a-sync-server-on-synology-nas-with-python/40050>\
**Category:** Syncing & AnkiWeb\
**Created:** [January 20, 2024, 9:55pm UTC](https://forums.ankiweb.net/t/how-to-create-a-sync-server-on-synology-nas-with-python/40050 "2024-01-20T21:55:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![update.freak](https://avatars.discourse-cdn.com/v4/letter/u/ecd19e/32.png) [@update.freak](https://forums.ankiweb.net/u/update.freak)\
**Post date:** [January 20, 2024, 9:55pm UTC](https://forums.ankiweb.net/t/how-to-create-a-sync-server-on-synology-nas-with-python/40050/1 "2024-01-20T21:55:38Z")

</div>

Hi,

I want to setup a sync server on Synology NAS.  
As ankicommunity/ankicommunity-sync-server does not work regardin to ankicommunity-sync-server/issues/158 with the current versions I read in the official manual that it can be done via Python.

As Synology NAS has Python installed, the question is how to setup it with python:

Aim is that it can be used with reverse proxy, e.g. anki.blabla.dynv6 . net

In the instructions are only that commands mentioned:

python3 -m venv ~/syncserver  
~/syncserver/bin/pip install anki  
SYNC\_USER1=user:pass ~/syncserver/bin/python -m anki.syncserver

Should user and pass changed to the username and the passwort?  
Which port is used internally that I can map it with the internal reverse proxy?  
How can I use the folder /volume1/anki/data as sync folder?  
How can I check if the server is running; how to stop the server?  
How to deinstall it?

A docker container can not be creater from the official sync code right?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [February 19, 2024, 9:55pm UTC](https://forums.ankiweb.net/t/how-to-create-a-sync-server-on-synology-nas-with-python/40050/2 "2024-02-19T21:55:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
