-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Client sync to server does not complete #2573
Comments
Hi, this looks like some kind of low level network error. Something cutting/rejecting the request. I haven't seen this yet ...
Yes, you can do that. After you start the server, deactivate the sync settings in Options, otherwise the server will attempt to sync with itself (which it won't do, but the corresponding errors will be filling log files). |
I have my server configured to NOT sync with anything. But both the Desktop and Laptop are set to sync to server. I copied my |
Ugh, it's back... I can use the server version from the same machine, works fine. If I try the server status page from a linux prompt, works fine and returns very fast.
If I try a test Sync within Trilium it's slow....
Updated to 0.49.5 no difference. Any way to enable more verbose logging on the sync process?
|
No. But I don't think this would help. All this points to a network issue. Most probably you can reproduce the problem with |
Can you provide an example of how I could reproduce this with curl? I provided an example above using curl and which seemed worked fine, I'm not sure what else I can try via curl as a test. Here is the timed curl which was originally provided (private network):
|
Sorry, I didn't notice you already tried with curl. Honestly, I don't know what is making only the Trilium requests slow. Seems very weird. |
Trilium Version
0.49.3
What operating system are you using?
Other Linux
What is your setup?
Local + server sync
Operating System Version
Linux dldsk01 5.14.21-2-MANJARO #1 SMP PREEMPT Sun Nov 21 22:43:47 UTC 2021 x86_64 GNU/Linux
Description
Working server instance on docker running
zadam/trilium:latest
version: 0.49.5I installed Trilium Notes via Arch AUR on my desktop & laptop. Both running Manjaro Arch both using 0.49.3 - Laptop is fine, installed and synced to server no issues.
On my desktop, at the Welcome Screen:
Select "Sync from Server"
It stays at "Sync in progress" and nothing happens. The following is the log on the desktop client:
And this just goes on and on with the sync stats message.
On the docker console log, I did notice the following:
I've uninstalled and reinstalled the client multiple times, doing:
rm -r ~/.local/share/trilium-data/
before each attempt.Keep getting the same issue over and over.
Q: Can I just copy the
document.db
from the server or laptop to get around this and then try to sync?The text was updated successfully, but these errors were encountered: