tsudoko / anki-sync-server

Self-hosted Anki sync server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

two problem I encountered during my use

HaujetZhao opened this issue · comments

it may be a long passage if I write it down. In order to visualize it, I recorded it to a video, and the test collection file is also attached within the zip package.

the first issue is about the account. If I delete the user in server without deauthorizing the account in the client, the client will still be able to use this deleted account to sync.

the second issue, my friend gave me a large collection pkg, it's a little bit big, which includes about 7000 media files , when I import the pkg, and then sync, even if I checked the database, the sync would probably fail and causing jam in the server, which will block other clients' connection to the anki-sync-server.

https://send.firefox.com/download/6526c14ca6/#vWJu0mvCc-Cp78FbdfLwog
(This link will not funtion after 24 hours)

I wasn't able to reproduce the second issue. I can sync your collection just fine, the server doesn't lock up at any point. Are you seeing anything out of the ordinary in the logs?

In term of the second issue, I built an Anki-Sync-Sever on my Ubuntu (Linux on Windows), it did not appear, then I tried it on my two Aliyun swrver (one CentOS and one Ubuntu) again, it seems as long as the media file number is big enough (like 700 or more), the syncing jam will pretty likely to appear. I'm on my bed now. But I will record a screen video for you within 10 hours.

I wasn't able to reproduce the second issue. I can sync your collection just fine, the server doesn't lock up at any point. Are you seeing anything out of the ordinary in the logs?

here is the reappear video:
https://send.firefox.com/download/d1e3a38efb/#Ueqekvlip8CgeT9pSfbVZw

I wasn't able to reproduce the second issue. I can sync your collection just fine, the server doesn't lock up at any point. Are you seeing anything out of the ordinary in the logs?

And I just have an spare ubuntu server installed anki-sync-server, which would occur this problem.
you can log in the server 47.106.194.80 with username "root" and passwd "forankiserver" to test this problem. "python3.5 -m ankisyncd" command will launch the server.

also here is the big test collection:
https://send.firefox.com/download/902901ca5b/#zwG3TFi9E38tvNQ08uRbkw