-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Ferdium account file
Unable to import from a local backup to a custom server.
#146
Comments
Can you please share the file that you are importing? Without that, it's quite impossible to help you. |
Hy, Sorry for delay and thanks fo your reply. Here my config file I didn't see any sensitive information in it normally.
|
I've got the same problem. I tried to set the username and mail to what I've set up on the Ferdium server, but it didn't change anything. |
I looked into this a bit more, and it seems like the import schema require the This field was not present in my file, but it went through the initial validation when I added it. If you get an error stating that This configuration does not work {
"username": "Ferdium",
"lastname": "Something",
"mail": "[email protected]",
"services": [
{
"id": 2,
"serviceId": "47483fec-e54d-4589-81e1-4ea0df5b1dc5",
"name": "Android Messages",
"recipeId": "android-messages",
"settings": "{\"recipeId\":\"android-messages\",\"isEnabled\":true,\"isHibernationEnabled\":false,\"isWakeUpEnabled\":true,\"isNotificationEnabled\":true,\"isBadgeEnabled\":true,\"isMediaBadgeEnabled\":false,\"trapLinkClicks\":false,\"isMuted\":false,\"customIcon\":null,\"isDarkModeEnabled\":false,\"isProgressbarEnabled\":false,\"spellcheckerLanguage\":null,\"userAgentPref\":null,\"name\":\"Android Messages\",\"proxy\":{\"isEnabled\":false,\"host\":\"\",\"port\":0,\"user\":\"\",\"password\":\"\"},\"darkReaderSettings\":{\"brightness\":100,\"contrast\":90,\"sepia\":10},\"order\":0}",
"created_at": "2024-02-01 10:57:00",
"updated_at": "2024-04-11 10:55:40"
},
{
"id": 3,
"serviceId": "1c617e6b-e9e5-4c09-855c-5d9e0e69cd1b",
"name": "LinkedIn",
"recipeId": "linkedin",
"settings": "{\"recipeId\":\"linkedin\",\"isEnabled\":true,\"isHibernationEnabled\":false,\"isWakeUpEnabled\":true,\"isNotificationEnabled\":true,\"isBadgeEnabled\":true,\"isMediaBadgeEnabled\":false,\"trapLinkClicks\":false,\"isMuted\":false,\"customIcon\":null,\"isDarkModeEnabled\":false,\"isProgressbarEnabled\":false,\"spellcheckerLanguage\":null,\"userAgentPref\":null,\"name\":\"LinkedIn\",\"proxy\":{\"isEnabled\":false,\"host\":\"\",\"port\":0,\"user\":\"\",\"password\":\"\"},\"darkReaderSettings\":{\"brightness\":100,\"contrast\":90,\"sepia\":10},\"order\":2}",
"created_at": "2024-02-01 10:57:00",
"updated_at": "2024-04-11 10:55:40"
},
{
"id": 7,
"serviceId": "9777d61b-f231-45cb-b90d-e64ecdb3703a",
"name": "Messenger",
"recipeId": "messenger",
"settings": "{\"recipeId\":\"messenger\",\"isEnabled\":true,\"isHibernationEnabled\":false,\"isWakeUpEnabled\":true,\"isNotificationEnabled\":true,\"isBadgeEnabled\":true,\"isMediaBadgeEnabled\":false,\"trapLinkClicks\":false,\"isMuted\":false,\"customIcon\":null,\"isDarkModeEnabled\":false,\"isProgressbarEnabled\":false,\"spellcheckerLanguage\":null,\"userAgentPref\":null,\"name\":\"Messenger\",\"proxy\":{\"isEnabled\":false,\"host\":\"\",\"port\":0,\"user\":\"\",\"password\":\"\"},\"darkReaderSettings\":{\"brightness\":100,\"contrast\":90,\"sepia\":10},\"order\":6}",
"created_at": "2024-02-01 10:57:00",
"updated_at": "2024-04-11 10:55:40"
},
{
"id": 8,
"serviceId": "feaa8095-3d9d-4bca-9bb5-d3ad0a8d65e8",
"name": "NewYork Times - Connections",
"recipeId": "franz-custom-website",
"settings": "{\"recipeId\":\"franz-custom-website\",\"isEnabled\":true,\"isHibernationEnabled\":false,\"isWakeUpEnabled\":true,\"isNotificationEnabled\":true,\"isBadgeEnabled\":true,\"isMediaBadgeEnabled\":false,\"trapLinkClicks\":false,\"isMuted\":false,\"customIcon\":null,\"isDarkModeEnabled\":false,\"isProgressbarEnabled\":false,\"spellcheckerLanguage\":null,\"userAgentPref\":null,\"name\":\"NewYork Times - Connections\",\"customUrl\":\"https://www.nytimes.com/games/connections\",\"proxy\":{\"isEnabled\":false,\"host\":\"\",\"port\":0,\"user\":\"\",\"password\":\"\"},\"darkReaderSettings\":{\"brightness\":100,\"contrast\":90,\"sepia\":10},\"order\":7}",
"created_at": "2024-02-01 10:57:00",
"updated_at": "2024-04-11 10:55:40"
}
],
"workspaces": [
{
"id": 1,
"workspaceId": "f16ba667-ccf2-4248-a81a-423210065fe7",
"name": "Locus",
"order": 0,
"services": "[]",
"data": "{}",
"created_at": "2024-02-01 10:57:00",
"updated_at": "2024-02-01 11:01:17"
},
{
"id": 2,
"workspaceId": "6477fde4-67f5-4eb5-abd5-1564c89de8be",
"name": "Private",
"order": 1,
"services": "[\"1c617e6b-e9e5-4c09-855c-5d9e0e69cd1b\",\"47483fec-e54d-4589-81e1-4ea0df5b1dc5\",null,null]",
"data": "{}",
"created_at": "2024-02-01 10:57:00",
"updated_at": "2024-02-01 10:57:00"
}
]
} But this does work: {
"username": "Ferdium",
"lastname": "Something",
"mail": "[email protected]",
"services": [
{
"id": 2,
"serviceId": "47483fec-e54d-4589-81e1-4ea0df5b1dc5",
"name": "Android Messages",
"recipeId": "android-messages",
"settings": "{\"recipeId\":\"android-messages\",\"isEnabled\":true,\"isHibernationEnabled\":false,\"isWakeUpEnabled\":true,\"isNotificationEnabled\":true,\"isBadgeEnabled\":true,\"isMediaBadgeEnabled\":false,\"trapLinkClicks\":false,\"isMuted\":false,\"customIcon\":null,\"isDarkModeEnabled\":false,\"isProgressbarEnabled\":false,\"spellcheckerLanguage\":null,\"userAgentPref\":null,\"name\":\"Android Messages\",\"proxy\":{\"isEnabled\":false,\"host\":\"\",\"port\":0,\"user\":\"\",\"password\":\"\"},\"darkReaderSettings\":{\"brightness\":100,\"contrast\":90,\"sepia\":10},\"order\":0}",
"created_at": "2024-02-01 10:57:00",
"updated_at": "2024-04-11 10:55:40"
},
{
"id": 3,
"serviceId": "1c617e6b-e9e5-4c09-855c-5d9e0e69cd1b",
"name": "LinkedIn",
"recipeId": "linkedin",
"settings": "{\"recipeId\":\"linkedin\",\"isEnabled\":true,\"isHibernationEnabled\":false,\"isWakeUpEnabled\":true,\"isNotificationEnabled\":true,\"isBadgeEnabled\":true,\"isMediaBadgeEnabled\":false,\"trapLinkClicks\":false,\"isMuted\":false,\"customIcon\":null,\"isDarkModeEnabled\":false,\"isProgressbarEnabled\":false,\"spellcheckerLanguage\":null,\"userAgentPref\":null,\"name\":\"LinkedIn\",\"proxy\":{\"isEnabled\":false,\"host\":\"\",\"port\":0,\"user\":\"\",\"password\":\"\"},\"darkReaderSettings\":{\"brightness\":100,\"contrast\":90,\"sepia\":10},\"order\":2}",
"created_at": "2024-02-01 10:57:00",
"updated_at": "2024-04-11 10:55:40"
},
{
"id": 7,
"serviceId": "9777d61b-f231-45cb-b90d-e64ecdb3703a",
"name": "Messenger",
"recipeId": "messenger",
"settings": "{\"recipeId\":\"messenger\",\"isEnabled\":true,\"isHibernationEnabled\":false,\"isWakeUpEnabled\":true,\"isNotificationEnabled\":true,\"isBadgeEnabled\":true,\"isMediaBadgeEnabled\":false,\"trapLinkClicks\":false,\"isMuted\":false,\"customIcon\":null,\"isDarkModeEnabled\":false,\"isProgressbarEnabled\":false,\"spellcheckerLanguage\":null,\"userAgentPref\":null,\"name\":\"Messenger\",\"proxy\":{\"isEnabled\":false,\"host\":\"\",\"port\":0,\"user\":\"\",\"password\":\"\"},\"darkReaderSettings\":{\"brightness\":100,\"contrast\":90,\"sepia\":10},\"order\":6}",
"created_at": "2024-02-01 10:57:00",
"updated_at": "2024-04-11 10:55:40"
},
{
"id": 8,
"serviceId": "feaa8095-3d9d-4bca-9bb5-d3ad0a8d65e8",
"name": "NewYork Times - Connections",
"recipeId": "franz-custom-website",
"settings": "{\"recipeId\":\"franz-custom-website\",\"isEnabled\":true,\"isHibernationEnabled\":false,\"isWakeUpEnabled\":true,\"isNotificationEnabled\":true,\"isBadgeEnabled\":true,\"isMediaBadgeEnabled\":false,\"trapLinkClicks\":false,\"isMuted\":false,\"customIcon\":null,\"isDarkModeEnabled\":false,\"isProgressbarEnabled\":false,\"spellcheckerLanguage\":null,\"userAgentPref\":null,\"name\":\"NewYork Times - Connections\",\"customUrl\":\"https://www.nytimes.com/games/connections\",\"proxy\":{\"isEnabled\":false,\"host\":\"\",\"port\":0,\"user\":\"\",\"password\":\"\"},\"darkReaderSettings\":{\"brightness\":100,\"contrast\":90,\"sepia\":10},\"order\":7}",
"created_at": "2024-02-01 10:57:00",
"updated_at": "2024-04-11 10:55:40"
}
],
"workspaces": [
{
"id": 1,
"workspaceId": "f16ba667-ccf2-4248-a81a-423210065fe7",
"name": "Locus",
"order": 0,
"services": [],
"data": "{}",
"created_at": "2024-02-01 10:57:00",
"updated_at": "2024-02-01 11:01:17"
},
{
"id": 2,
"workspaceId": "6477fde4-67f5-4eb5-abd5-1564c89de8be",
"name": "Private",
"order": 1,
"services": ["1c617e6b-e9e5-4c09-855c-5d9e0e69cd1b","47483fec-e54d-4589-81e1-4ea0df5b1dc5",null,null],
"data": "{}",
"created_at": "2024-02-01 10:57:00",
"updated_at": "2024-02-01 10:57:00"
}
]
} The offending line is this: However, the root cause is most probably in the client. Unless all variations are supposed to work |
If the import fails because of an incorrect workspace model, it seems like the services are created anyways. So now I've got duplicate services in my account |
Hello,
I've just built the Docker image of ferdium-server which works and the recipes are well recovered.
But I can't import my local instance backup, it says
Invalid Ferdium account file
.Do you have any idea?
This doesn't work with the official Docker image (which is no longer able to retrieve recipes) and from the image build manually.
I didn't see anything in the documentation saying it couldn't be done.
Thanks in advance and thanks again for your work on Ferdium.
Tech Information :
Origin Export -> Ferdium 6.7.8-nightly.3 (deb), Ferdium 6.7.7 (Flatpack)
The text was updated successfully, but these errors were encountered: