Switch to a new Nextcloud

Operating system

Windows

Joplin version

2.14.20

Desktop version info

Joplin 2.14.20 (prod, win32)

Client-ID: e87042aa98af4e39b1b5371bd8afafdd
Sync-Version: 3
Profil-Version: 46
Unterstützter Schlüsselbund: Ja

Revision: cfd98e3

Backup: 1.4.0
Conflict Resolution: 1.2.3
Inline tags: 1.3.0
Markdown Prettier: 0.1.0
Markdown Table: Colorize: 1.1.4
Menu items, Shortcuts, Toolbar icons: 1.1.0
Note encryption: 1.1.1
Quick HTML tags: 0.2.0
Rich Markdown: 0.13.4
Tagging: 1.0.3

Sync target

Nextcloud

Editor

Markdown Editor

What issue do you have?

Hi,

I want to switch to a new NextCloud. First, I tried to copy the Joplin-Folder to the new NextCloud. Joplin started to sync everything again, it took hours. I stopped the synchronisation and tried to upload everything from Joplin to the new NextCloud.

Again, after more the 16 hours of synchronisation I got an error and the synchronisation started again.

I also tried to upload to an OneDrive-Account. Same problem the first synchronisation is very slow.

Now, after almost 2 days, I still don't have a working Joplin instance. And I have to sync many other devices. :frowning: It is very frustrating.

Is there a way to migrate to the new Server without a whole new sync?

Best regards
Kay

P.S. My Joplin-Folder has a size of 2 GB with 3120 notes.

''2024-04-28 09:30:20: Synchronizer: "Error: On file 959ecc6e4ed64094aabe3bdd02546e10.md: GET 959ecc6e4ed64094aabe3bdd02546e10.md: (Exception OCA\DAV\Connector\Sabre\Exception\PasswordLoginForbidden) (401): <?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="sabre/dav" xmlns:o="http://owncloud.org/ns">
<s:exception>OCA\DAV\Connector\Sabre\Exception\PasswordLoginForbidden</s:exception>
<s:message/>
<o:hint xmlns:o="o:">password login forbidden</o:hint>
</d:error>

Code: 401
Error: On file 959ecc6e4ed64094aabe3bdd02546e10.md: GET 959ecc6e4ed64094aabe3bdd02546e10.md: (Exception OCA\DAV\Connector\Sabre\Exception\PasswordLoginForbidden) (401): <?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="sabre/dav" xmlns:o="http://owncloud.org/ns">
<s:exception>OCA\DAV\Connector\Sabre\Exception\PasswordLoginForbidden</s:exception>
<s:message/>
<o:hint xmlns:o="o:">password login forbidden</o:hint>
</d:error>

at newError (C:\Program Files\Joplin\resources\app.asar\node_modules\@joplin\lib\WebDavApi.js:415:11)
at WebDavApi.exec (C:\Program Files\Joplin\resources\app.asar\node_modules\@joplin\lib\WebDavApi.js:442:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async FileApiDriverWebDav.get (C:\Program Files\Joplin\resources\app.asar\node_modules\@joplin\lib\file-api-driver-webdav.js:166:21)"''

Is there a way to migrate to the new Server without a whole new sync?

Yes:

  • Copy the complete data from the old sync target to the new one
  • Open Joplin and switch to the new sync target

Before doing this you should make sure that Joplin is fully synced to the old sync target, and also keep a full copy of your data as a JEX file for backup

This was my first attempt, without luck. It starts syncing again all notes. Now, I sync again with the old NextCloud, but again, all notes have to by synced. After that, I will try it again.

Still syncing (> 5h), I changed nothing.

The sync-status said: Total items: 33897/28224??? Why?