Sync target could not be upgraded 1.0.241

I upgraded joplin to 1.0.241 after i got the announcement in my desktop-client.
After doing so the app starts normal. If I now want with my nextcloud server on my Synology Diskstation it shows a yellow/orange band that states:

"The sync target needs to be upgraded before Joplin can sync. The operation may take a few minutes to complete and the app needs to be restarted. To proceed please click on the link. Restart and upgrade"

The part "Restart and upgrade" is clickable.
After clicking it says "Joplin upgrade in progress ..." for some time and then shows me the error message attached below.

To report a bug, please let us know:

Version

1.0.241

Operating system
MacOs Catalina 10.15.6

additional info
Synchronisation between my mobile clients is not affected

Log:

Joplin upgrade in progress...
Please wait while the sync target is being upgraded. It may take a few seconds or a few minutes depending on the upgrade. The application will automatically restart once it is completed.

Error
The sync target could not be upgraded due to an error. For support, please copy the complete content of this page and paste it in the forum: https://discourse.joplinapp.org/

The full error was:

request to https://10.10.5.25/nextcloud/remote.php/webdav/Notizen/Joplin/info.json failed, reason: unable to verify the first certificate

FetchError: request to https://10.10.5.25/nextcloud/remote.php/webdav/Notizen/Joplin/info.json failed, reason: unable to verify the first certificate
at ClientRequest. (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/node-fetch/index.js:133:11)
at ClientRequest.emit (events.js:210:5)
at ClientRequest.EventEmitter.emit (domain.js:476:20)
at TLSSocket.socketErrorListener (_http_client.js:406:9)
at TLSSocket.emit (events.js:210:5)
at TLSSocket.EventEmitter.emit (domain.js:476:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21)

Do you use a custom certificate on that server?

yes, a self signed one.
It wasn’t possible to use https otherwise.

Could you try with v242? https://github.com/laurent22/joplin/releases/tag/v1.0.242

Awesome, it worked :slight_smile:

Thank you for the quick fix!

But now the mobile clients don't work 10.0.52 on iOS with the error Message:

I get the same sync error message from my iOS client after upgrading my desktop client. both are synced with a nextcloud

I updated my OSX client from 1.0.233 -> 1.0242 and the update was success full. Under the update it was making som reorganization of the webdav share on my synology nas server (that was expectet according to the update report) and afterward i could sucess full sync my notes (osx client - synology webdav server). From the update report I had also expected that there was an update to the ios client. That was not the case. The latest ios client was the version installed on my phone v10.0.52 and it was one month old. I synced my note on the phone and I get the same error as platzh though there was no new update ios client on the app store?

I was so lucky that I have keeped a backup of my old client on osx (1.0.233) so I could solve the problem as

  1. Delete ios client
  2. Replace version 1.0242 with 1.0.233 on my mac and delete ~/.config/joplin-desktop
  3. Delete my webdav share and replace it with a backup before the update
  4. configure my mac client to the webdav share and sync
  5. install the client on my ios and configure the client to the webdav share and sync

Then all was working perfect agian. So i expect there must be some error in the new version (1.0242) or the missing new client to ios.

I have used Joplin for one week now and is very happy with it. But I have some questions so I not come in a situation where I can not sync my notes in the future.

  1. I was so lucky that I have kept the old version of Joplin on my mac. Is it posible to get older version of Joplin for osx if I had forgot the backup?
  2. Is it possible to downgrad the ios client?
  3. Is it possible to avoid the message for new update on the osx client?

iOS client 10.0.53 is released, but not yet available on the App Store

Just wait until you see the update there available

2 Likes
  1. Yes all the older versions are available on GitHub
  2. I don’t think the app store allows this, I’m not sure though
  3. Yes, there is a checkbox in the Joplin settings to disable update notifications

Just spotted the new mobile Version for iOS in the App Store and After the update my mobile clients are syncing again.