Sorry Jack, can you explain that differently, what does this mean I can do going forward? I struggle understanding the terms synctarget, does that mean OneLink in my case?
Also where will the re-upload local data get this data from as it is only in a zip file at present. Can I download it anywhere and then just point to it. I see that when I click on the re-upload button it warns that this cannot be undone so I a bit worried about what happens next
Sorry, I have been at this for 10 hours or so. The only data I now have is a zip I made of the full version .config folder prior to deleting it on my C: drive.
And I now have nothing but Joplin-portable installed on a non OneDrive folder and after running the .exe and then connecting OneDrive sync to it I now have a default install of the portable version with what I'm guessing is the sync target set up on F:......|\apps\joplin. And nothing else
I did find previosly that when I replaced the JoplinProfile folders with the data from the zip file, joplin-portable runs and I see all my previous data. Just that a sync won't work. So now with the portable version now seperate from the OneDrive if I re-download the zip data to JoplinProfile as I did previously but then do a re-upload I may be ok. Hope this makes more sense now
Your local profile is the folder where your local editing and running of Joplin is from. If you go to help > open profile directory then that is your local profile which contains a folder of your resources, settings files and your notes database.
By default this should be in ~/.config/joplin-desktop for your install and should be in a folder right next to your .exe file for your portable one.
A sync target is where Joplin stores all sync data - i.e. resources, sync metadata etc. in files which you must not mess with as it will break your sync. It is full of md files but with no recognisable file names as well as various lock files. A Joplin client will then read this data and integrate any changes into the local database.
In your case if you are using OneDrive what this folder is actually doing is downloading your sync target FROM your onedrive - so whilst it is 'local' the files actually came from your onedrive and not directly from Joplin. You don't need to do anything with the data in there, for example I actually have my entire sync target folder exluded from local syncing to my machine to avoid doubling my disk space for no reason.
Thanks for your help and great explanation. Most of my trouble stems from lack of understanding and not thinking through the process I went through to move from my full install to a portable one.
An then I think I understand now that I fell into a trap on installing the portable .exe in what I now understand should be only my sync target, that is I installed it on my F: drive but under OneDrive so I was running the portable install from OneDrive and not local. This no doubt is where all the strange sync issues in both Joplin and OneDrive started happening.
To cut to the chase I now have a vanilla portable Joplin install on a purely local folder on my F: drive and a sync target set up to F:.....OneDrive\apps\joplin (created by running Joplin, not manually). This I believe should be correct. Now all I need to do is re-download my zip contents to the local JoplinProfile folders and then do a re-load as per Jack's instructions. Hopefully I have got it right.
And presto, I have the portable version running and syncing to my sync target (love that term now).
My steps after starting from a new portable install and having had Joplin create my sync target on OneDrive, I again downloaded my data from my zip backup, stopped the sync process, went to configuration>sync and ran the re-upload option. Also I deleted all data in the Joplin sync target (folders and all).
So simple once you have done it. I wonder if Iām the only dumb old IT guy that has fallen into the trap on installng the Jopin-portable.exe into a folder under OneLink.