Lost access to default profile

Operating system

Windows

Joplin version

3.4.5

Desktop version info

Joplin 3.4.5 (prod, win32)

Device: win32, AMD Ryzen 7 5700U with Radeon Graphics
Client ID: ec934152e8ab441e8d1466e69798f9ff
Sync Version: 3
Profile Version: 48
Keychain Supported: Yes
Alternative instance ID: -

Revision: a5d37a0

Backup: 1.4.3
Search & Replace: 2.2.0

Sync target

Dropbox

What issue do you have?

  1. I recently wanted to wipe out and recreate a test profile, so deleted the reference to this profile in the profiles.json file and deleted the folder for the profile.
  2. I must have made some mistake, because subsequent to this change, the default profile appeared to be empty.
  3. Prior to this change, all of default's database info and resources folder were in the root directory of .config/joplin-desktop and, in fact, the resources folder and database for default are still there.
  4. But after modifying the profiles.json file, a new folder called profile-Default was created with a new (empty) database and a new (empty) resources folder, and when I opened Joplin, default appeared to be empty.

My question is:

How can I get rid of the new empty default folder and point Joplin back to the .config/joplin-desktop database and resources folder?

Screenshots


profiles.json (216 Bytes)
profiles.json.txt (216 Bytes)

Delete the profile-Default directory and in profiles.json change this line (only the id line):

“id”: “Default”

To have a lowercase d in the word Default

1 Like

Thank you for your reply. I did this and got the same error message that I had gotten when I first changed the profiles.json file to delete the test profile and made some error which seemed to be fixed by changing default to Default, but which resulted in creating an empty profile-Default directory. But when I also changed "currentProfileId": "default" (instead of “Default”), it worked and did not recreate the empty profile-Default directory, and doesn’t recreate it when I switch between profiles. My profiles.json file starts like this now:

{
"version": 2,
"currentProfileId": "default",
"profiles": [
{
"name": "Default",
"id": "default"
},

Thank you so much!!!

Marian

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.