Closed zcy85611 closed 1 year ago
Hi @zcy85611!
I don't encounter any issue on 3.5.1.1798 on my side.
Could you please include the latest rmfakecloud logs, server side. The 500 error should be logged with a message.
I've tried both windows client and remarkable, the errors are the same, on the server side, the error message is msg="not found"
server side
14:25:14 rMcloud[17791]: time="2023-07-13T06:25:14Z" level=warning msg="RM_HTTPS_COOKIE is not set, use only when not using https!"
14:25:14 rMcloud[17791]: time="2023-07-13T06:25:14Z" level=warning msg="smtp not configured, no emails will be sent"
14:25:14 rMcloud[17791]: time="2023-07-13T06:25:14Z" level=info msg="if you want HWR, provide the myScript applicationKey in: RMAPI_HWR_APPLICATIONKEY"
14:25:14 rMcloud[17791]: time="2023-07-13T06:25:14Z" level=info msg="provide the myScript hmac in: RMAPI_HWR_HMAC"
14:25:14 rMcloud[17791]: time="2023-07-13T06:25:14Z" level=info msg="Version: "
14:25:14 rMcloud[17791]: time="2023-07-13T06:25:14Z" level=info msg="STORAGE_URL (Cloud URL): https://local.appspot.com"
14:25:14 rMcloud[17791]: time="2023-07-13T06:25:14Z" level=info msg="Data: /mnt/sda1/cloud"
14:25:14 rMcloud[17791]: time="2023-07-13T06:25:14Z" level=info msg="Listening on port: 3000"
14:25:14 rMcloud[17791]: time="2023-07-13T06:25:14Z" level=info msg="Using plain HTTP"
14:28:21 rMcloud[17791]: time="2023-07-13T06:28:21Z" level=info msg="[auth-middleware] UserId: admin deviceId: RM110-209-xxxxx newSync: true"
14:28:21 rMcloud[17791]: time="2023-07-13T06:28:21Z" level=error msg="not found"
14:28:21 rMcloud[17791]: time="2023-07-13T06:28:21Z" level=info msg="[GIN] 2023/07/13 - 06:28:21 | 500 | 6.122422ms | 127.0.0.1 | GET \"/sync/v3/root\""
14:28:21 rMcloud[17791]: time="2023-07-13T06:28:21Z" level=info msg="[auth-middleware] UserId: admin deviceId: RM110-209-xxxxx newSync: true"
14:28:21 rMcloud[17791]: time="2023-07-13T06:28:21Z" level=error msg="not found"
14:28:21 rMcloud[17791]: time="2023-07-13T06:28:21Z" level=info msg="[GIN] 2023/07/13 - 06:28:21 | 500 | 4.123743ms | 127.0.0.1 | GET \"/sync/v3/root\""
14:28:24 rMcloud[17791]: time="2023-07-13T06:28:24Z" level=info msg="[auth-middleware] UserId: admin deviceId: RM110-209-xxxxx newSync: true"
14:28:24 rMcloud[17791]: time="2023-07-13T06:28:24Z" level=error msg="not found"
14:28:24 rMcloud[17791]: time="2023-07-13T06:28:24Z" level=info msg="[GIN] 2023/07/13 - 06:28:24 | 500 | 3.360127ms | 127.0.0.1 | GET \"/sync/v3/root\""
wired, sync backs to normal now, I've done nothing....
thanks for the help
Ok, so the reason of the failure seems to be the absence of the users/admin/sync/root
file.
Could you check you don't have that file on your server?
If so, check if you have users/admin/sync/.root.history
.
If you have users/admin/sync/.root.history
, which is not empty but not users/admin/sync/root
, you could recreate it with:
cd users/admin/sync
! [ -s root ] && [ -s .root.history ] && sed '$s/^.\+ //p;d' .root.history | tr -d '\n' > root
Where admin
is the name of your user.
wired, sync backs to normal now, I've done nothing....
Perhaps there has been a filesystem corruption on your server, leading to the deletion of the root
file on recovery? This file is regularly overwritten by the synchronization.
Or an unexpected stop, in the middle of a synchronization?
The root
file comes with the sync1.5 schema. I see no reason why it could have disappear... Perhaps we can perform an automatic recovery from the history in that case.
I just updated to 3.5.1.1798, with everything unchanged, the sync on remarkable breaks
reMarkable can be paired with server, but gets a network failure 500 when syncing
On windows client v3.5.0.750, the same thing happens
Would you please help look into it please? thanks
xochitl log
sync log