ddvk / rmfakecloud

host your own cloud for the remarkable
GNU Affero General Public License v3.0
788 stars 68 forks source link

Webdav Integration #314

Open blackorpheus opened 3 months ago

blackorpheus commented 3 months ago

I have an issue with the Integration, it sync 0kb files from device to server. No problem on the other side. here is some messages I got when doing the transaction, it doesn't show up any error. (it was I few month ago, but no change so far and tested on several machines with x86 and docker versions. I have a v 2.15.1.1189 on the tablet

message from the cloud side:

mai 02 15:26:34 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:34+02:00" level=info msg="[auth-middleware] UserId: maik deviceId: RM110-411-35112 newSync: true"
mai 02 15:26:34 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:34+02:00" level=info msg=uploading...
mai 02 15:26:35 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:35+02:00" level=info msg="[GIN] 2024/05/02 - 15:26:35 | 200 |  1.840220014s |   192.168.8.140 | POST     \"/integrations/v1/fLAME8YBm5uFJ89GKRAFkGjk7hJw0heow045kfhc/files/root?name=01.24%20Kelemen%20EB&fileType=pdf\""
mai 02 15:26:36 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:36+02:00" level=info msg="[auth-middleware] UserId: maik deviceId: RM110-411-35112 newSync: true"
mai 02 15:26:36 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:36+02:00" level=info msg="[webdav] query for: / depth: 1"
mai 02 15:26:36 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:36+02:00" level=info msg="[GIN] 2024/05/02 - 15:26:36 | 200 |  799.817816ms |   192.168.8.140 | GET      \"/integrations/v1/fLAME8YBm5uFJ89GKRAFkGjk7hJw0heow045kfhc/folders/root?folderDepth=1\""
mai 02 15:26:36 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:36+02:00" level=info msg="[auth-middleware] UserId: maik deviceId: RM110-411-35112 newSync: true"
mai 02 15:26:36 Djoun rmfakecloud[46126]: time="2024-05-02T15:26:36+02:00" level=info msg="[GIN] 2024/05/02 - 15:26:36 | 200 |     451.381µs |   192.168.8.140 | GET      \"/integrations/v1/fLAME8YBm5uFJ89GKRAFkGjk7hJw0heow045kfhc/files/LzAxMjQgS2VsZW1lbiBFQi5wZGY=/metadata\""
mai 02 15:30:09 Djoun rmfakecloud[46126]: time="2024-05-02T15:30:09+02:00" level=info msg="/post?token=23d95339495f0aa01b329d7aed8034c5ae199e11a546abfb593437f5f3c45b02&format=minidump&builddate=2022-10-26T10:40:59Z&osversion=2.15.1.1189&uname.version=3.1.35-2%20Linux%205.4.70-v1.2.5-rm11x%20%231%20SMP%20PREEMPT%20Sun%20Oct%2023%2020:48:32%20UTC%202022%20GNU/Linux%0A&deviceid=RM110-411-35112&crashtime=2024-05-02T09:32:14"
mai 02 15:30:09 Djoun rmfakecloud[46126]: time="2024-05-02T15:30:09+02:00" level=info msg="[GIN] 2024/05/02 - 15:30:09 | 404 |     184.056µs |   192.168.8.140 | POST     \"/post?token=23d95339495f0aa01b329d7aed8034c5ae199e11a546abfb593437f5f3c45b02&format=minidump&builddate=2022-10-26T10:40:59Z&osversion=2.15.1.1189&uname.version=3.1.35-2%20Linux%205.4.70-v1.2.5-rm11x%20%231%20SMP%20PREEMPT%20Sun%20Oct%2023%2020:48:32%20UTC%202022%20GNU/Linux%0A&deviceid=RM110-411-35112&crashtime=2024-05-02T09:32:14\""
mai 02 15:35:09 Djoun rmfakecloud[46126]: time="2024-05-02T15:35:09+02:00" level=info msg="/post?token=23d95339495f0aa01b329d7aed8034c5ae199e11a546abfb593437f5f3c45b02&format=minidump&builddate=2022-10-26T10:40:59Z&osversion=2.15.1.1189&uname.version=3.1.35-2%20Linux%205.4.70-v1.2.5-rm11x%20%231%20SMP%20PREEMPT%20Sun%20Oct%2023%2020:48:32%20UTC%202022%20GNU/Linux%0A&deviceid=RM110-411-35112&crashtime=2024-05-02T09:32:14"
mai 02 15:35:09 Djoun rmfakecloud[46126]: time="2024-05-02T15:35:09+02:00" level=info msg="[GIN] 2024/05/02 - 15:35:09 | 404 |     180.097µs |   192.168.8.140 | POST     \"/post?token=23d95339495f0aa01b329d7aed8034c5ae199e11a546abfb593437f5f3c45b02&format=minidump&builddate=2022-10-26T10:40:59Z&osversion=2.15.1.1189&uname.version=3.1.35-2%20Linux%205.4.70-v1.2.5-rm11x%20%231%20SMP%20PREEMPT%20Sun%20Oct%2023%2020:48:32%20UTC%202022%20GNU/Linux%0A&deviceid=RM110-411-35112&crashtime=2024-05-02T09:32:14\""
mai 02 15:40:08 Djoun rmfakecloud[46126]: time="2024-05-02T15:40:08+02:00" level=info msg="/post?token=23d95339495f0aa01b329d7aed8034c5ae199e11a546abfb593437f5f3c45b02&format=minidump&builddate=2022-10-26T10:40:59Z&osversion=2.15.1.1189&uname.version=3.1.35-2%20Linux%205.4.70-v1.2.5-rm11x%20%231%20SMP%20PREEMPT%20Sun%20Oct%2023%2020:48:32%20UTC%202022%20GNU/Linux%0A&deviceid=RM110-411-35112&crashtime=2024-05-02T09:32:14"
mai 02 15:40:08 Djoun rmfakecloud[46126]: time="2024-05-02T15:40:08+02:00" level=info msg="[GIN] 2024/05/02 - 15:40:08 | 404 |     225.893µs |   192.168.8.140 | POST     \"/post?token=23d95339495f0aa01b329d7aed8034c5ae199e11a546abfb593437f5f3c45b02&format=minidump&builddate=2022-10-26T10:40:59Z&osversion=2.15.1.1189&uname.version=3.1.35-2%20Linux%205.4.70-v1.2.5-rm11x%20%231%20SMP%20PREEMPT%20Sun%20Oct%2023%2020:48:32%20UTC%202022%20GNU/Linux%0A&deviceid=RM110-411-35112&crashtime=2024-05-02T09:32:14\

and from the tablet:

May 02 13:26:32 reMarkable xochitl[10064]: 13:26:32.492 rm.docworker              -> worker on 30e98534-976e-4620-a252-555553cd0637 now running
May 02 13:26:32 reMarkable xochitl[10064]: 13:26:32.843 rm.docworker              -> worker on 30e98534-976e-4620-a252-555553cd0637 now exiting

No error on the nextcloud server side On .userfile, I entered a random UUID as I don't know where to get it, should I do differently?

Thanks to all of contributors for that awsome work!!

Originally posted by @blackorpheus in https://github.com/ddvk/rmfakecloud/issues/302#issuecomment-2090621585

ddvk commented 1 month ago

you can set the level to DEBUG of rmfakecloud ( -e LOGLEVEL=DEBUG)