Thank you so much for the detailed instructions. After following that however i still had the same behavior.
So on the linux desktop in ~/.config/joplin-desktop/log.txt i saw the following:
2020-05-31 17:05:58: “Running background sync on timer…”
2020-05-31 17:05:58: “Scheduling sync operation…”, “0”
2020-05-31 17:05:58: “Preparing scheduled sync”
2020-05-31 17:05:58: “Starting scheduled sync”
2020-05-31 17:06:00: “TaskQueue.stop: syncDownload: waiting for tasks to complete: 0”
2020-05-31 17:06:00: “TaskQueue.stop: syncDownload: Done, waited for 0”
2020-05-31 17:06:24: “FetchError: request to http://10.0.0.6/WebDAV/Joplin// failed, reason: socket hang up
FetchError: request to http://10.0.0.6/WebDAV//Joplin// failed, reason: socket hang up
at ClientRequest. (/tmp/.mount_JoplinCDHelN/resources/app.asar/node_modules/node-fetch/index.js:133:11)
at ClientRequest.emit (events.js:210:5)
at Socket.socketOnEnd (_http_client.js:440:9)
at Socket.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1183:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)”
2020-05-31 17:06:24: "Operations completed: "
2020-05-31 17:06:24: “Total folders: 1”
2020-05-31 17:06:24: “Total notes: 1”
2020-05-31 17:06:24: “Total resources: 3”
On the webdav log we see this:
[Mon Jun 01 07:49:34.541720 2020] [dav:error] [pid 13847] [client 10.0.0.40:50463] Provider encountered an error while streaming a multistatus PROPFIND response. [404, #0]
That led me to this page:
In there is a note:
Wim Lewis 2013-04-30 00:47:31 UTC
But a very similar problem still exists: if you do a PROPFIND on that collection’s parent, with >Depth: infinity (and DavDepthInfinity on in your config file), then you get an empty response — >no HTTP headers, status line, or content; the connection just drops.
Apache does log this message though:
[Mon Apr 29 17:43:34.153164 2013] [dav:error] [pid 57866] [client 127.0.0.1:58653] >Provider .encountered an error while streaming a multistatus PROPFIND response. [404, #0]
However this bug is closed, so i am thinking in most recent version of Apache 2.4 it is fixed.
I have Apache 2.4.26 . Most recent is Apache 2.4.43
The issue is that for the ix2-dl there is no package which has this.
However the ix2-dl packages had lighthttpd, so i thought i would try that.
I downloaded it, and then followed directions to enable webdav here:
So i was able to bring up lighttpd, but then when i tried to sync i got this error while syncing the second device:
405 Method not allowed, The requested method PROPFIND is not allowed for the URL.
According to this page:
lighttpd was not compiled -with-webdav-props or --with-webdav-locks
So i thought i would try to build it. i was able to download gcc, binutils packages via ipkg and via trial and error had to download additional libraries (libnsl, libxml2, libpcre, sqlite)
So i was able to sync correctly now. I didn’t want to try to rebuild Apache because its the main http server and i think i wouldn’t get all the compile time flags correct. I think lighthttpd is good because it will only be used for the webdav.
Thank you for your help with this.