Can't synchronize with Android App and Nextcloud server

Operating system

Android

Joplin version

3.0.3

Desktop version info

2.12.19 (prod, linux)

Sync target

Nextcloud

What issue do you have?

Hi,

I can synchronize with Joplin for desktop but not with Android app. I get this error message :
Error: PROFIND locks/: Unknown error 2 (500):

500 Internal Server Error

An internal server error occurred.

If it can help here are the logs of nginx and nextcloud for the 2 Joplin applications.

Joplin For Desktop

nginx

GET /remote.php/dav/files/[username]/joplin/info.json HTTP/1.1" 200 200 "-" "Joplin/1.0" "x.x.x.x"
PROPFIND /remote.php/dav/files/[username]/joplin/locks/ HTTP/1.1" 207 290 "-" "Joplin/1.0" "x.x.x.x"
PUT /remote.php/dav/files/[username]/joplin/locks/1_1_b1ad148095f74920aa958ff4cdc0825f.json HTTP/1.1" 201 0 "-" "Joplin/1.0" "x.x.x.x"
PROPFIND /remote.php/dav/files/[username]/joplin/locks/ HTTP/1.1" 207 334 "-" "Joplin/1.0" "x.x.x.x"
PROPFIND /remote.php/dav/files/[username]/joplin// HTTP/1.1" 207 633 "-" "Joplin/1.0" "x.x.x.x"
DELETE /remote.php/dav/files/[username]/joplin/locks/1_1_b1ad148095f74920aa958ff4cdc0825f.json HTTP/1.1" 204 0 "-" "Joplin/1.0" "x.x.x.x"

nextcloud

"GET /index.php" 200
"GET /remote.php" 200
"PROPFIND /remote.php" 207
"PUT /remote.php" 201
"PROPFIND /remote.php" 207
"PROPFIND /remote.php" 207
"DELETE /remote.php" 204

Joplin Android app

nginx

GET /remote.php/dav/files/[username]/joplin/info.json HTTP/1.1" 200 200 "-" "Joplin/1.0" "x.x.x.x"
PROPFIND /remote.php/dav/files/[username]/joplin/locks/ HTTP/1.1" 499 0 "-" "Joplin/1.0" "x.x.x.x"
PROPFIND /remote.php/dav/files/[username]/joplin/locks/ HTTP/1.1" 499 0 "-" "Joplin/1.0" "x.x.x.x"
PROPFIND /remote.php/dav/files/[username]/joplin/locks/ HTTP/1.1" 499 0 "-" "Joplin/1.0" "x.x.x.x"
PROPFIND /remote.php/dav/files/[username]/joplin/locks/ HTTP/1.1" 499 0 "-" "Joplin/1.0" "x.x.x.x"
DELETE /remote.php/dav/files/[username]/joplin/locks/1_2_009b7d586f484836925c8e75e8258822.json HTTP/1.1" 404 243 "-" "Joplin/1.0" "x.x.x.x"

nextcloud

"GET /remote.php" 200
"PROPFIND /remote.php" 207
"PROPFIND /remote.php" 207
"PROPFIND /remote.php" 207
"PROPFIND /remote.php" 207
"DELETE /remote.php" 404

We can see that calls are differents. I can't know if it make sense.

FYI I have disabled the Joplin desktop synchronization to avoid conflicts when testing.

Regards