Profiles being cleared

A Post for the small Problems of the Git Version of Opendeck.
49 Replies
Terrorwolf
TerrorwolfOP2mo ago
Hi, Again my Profile is deleted for Opendeck. As far as I know, I didn't update Opendeck since the last delete a few Days ago. Any Ideas why it keeps deleting? I just also got this while debugging another Problem via terminal: [2024-12-15][15:47:47][opendeck::store::profiles][WARN] Failed to migrate profile: EOF while parsing a value at line 1 column 0
ninjadev64
ninjadev642mo ago
Haha, I'd just added some more information to that error message as I've been getting it from time to time too, then I saw your message, it is very possible that that causes the profiles going blank Is it just one profile that goes blank or multiple? For me only one profile is affected
Terrorwolf
TerrorwolfOP2mo ago
I only have one profile. And this one is affected.
ninjadev64
ninjadev642mo ago
I see @Terrorwolf please: - quit opendeck - set "version" in settings.json to "0.0.0" so that it prompts you about the new statistics collection - update opendeck - make a new profile and move all of your actions there - next time the issue occurs, the new profile will be absent from the list, and the Default profile will be reset, you can then inspect the contents of the new profile's file for errors
Terrorwolf
TerrorwolfOP2mo ago
will try that later. Right now i am trying to figure out how I can make a Opendeck Plugin to disable/enable my Adblocker. I am now after the Update. My buttons are still there but the Config of these buttons is now empty. And my Streamdeck is not showing any of these buttons anymore.
ninjadev64
ninjadev642mo ago
Oh, interesting, uBlock Origin?
Terrorwolf
TerrorwolfOP2mo ago
I now used the backup and reinstated the backup config. Then it worked
ninjadev64
ninjadev642mo ago
Please try to restart OpenDeck, the only change should be the statistics collection and a minor modification to the error message, this behaviour should not be caused by the new commit
Terrorwolf
TerrorwolfOP2mo ago
restart didn't work. I needed to get the config from backup and the it worked. Just now the Issue happened again. But it deleted both my profiles.
ninjadev64
ninjadev642mo ago
Did the logs have the same error? Are you using a network storage device or something by any chance?
Terrorwolf
TerrorwolfOP2mo ago
I am checking right now. It happened at autostart at Login. nope. Not for Startup applications In the log I only see the Plugin startup things.
ninjadev64
ninjadev642mo ago
The logs will have cleared themselves if you've restarted opendeck This issue is very annoying and hard to track down :(
Terrorwolf
TerrorwolfOP2mo ago
Just the autostart after PC start. No Restart since then.
ninjadev64
ninjadev642mo ago
Is your profile particularly large or heavy? Hmm, looks like the profile migration error is unrelated then To be honest it can't really be related since the profile migration doesn't modify any files unless they're from an older opendeck version, and that error message comes from before any modification is done
Terrorwolf
TerrorwolfOP2mo ago
not really I think. Its 462 Lines in the config with 6 Buttons. Right now. Yesterday there was also the discord mute button in there. And right now it doesn't even let me modify my restored backup anymore.
ninjadev64
ninjadev642mo ago
I have one thing to fix later today, it's to do with the app freezing when it closes, maybe we can see if that fixes it, but it's a long shot
Terrorwolf
TerrorwolfOP2mo ago
That was the next thing I wanted to report just now.
ninjadev64
ninjadev642mo ago
Otherwise I don't really know, it's only you and Percy that have ever had this issue and Percy's issue was fixed when I stopped storing images in the profile I think
Terrorwolf
TerrorwolfOP2mo ago
And I am trying to track down my Problems with the Homeassistant Plugin. I have a lead right now.
ninjadev64
ninjadev642mo ago
About that, it's quite interesting that it ever worked for you, someone on GitHub had to modify it for its actions to even appear in the list Yeah it's a bug in the Aptabase library, it should be a simple fix
Terrorwolf
TerrorwolfOP2mo ago
I have a Problem to install it via Opendeck, but when I use the newest version and install it manually it works. Is there a way to simulate a Device for Opendeck to use it in a VM without needing to pipe my actaul one through?
ninjadev64
ninjadev642mo ago
I have plans to make a plugin for that as Dem requested something similar, but not yet
Terrorwolf
TerrorwolfOP2mo ago
ok This issue keeps getting weirder. 1. It seems that the Problems happen at Autostart of the App after Login. 2. Most of the Buttons (All except of 2) disapperead. nothing in the log which is unusual. The only thing in the logs which is a bit out of order is, that the Plugins get double registered.
ninjadev64
ninjadev642mo ago
very strange, next time it happens please can you also check the webview's devtools? (right click somewhere and press inspect, then console)
Terrorwolf
TerrorwolfOP2mo ago
will do
ninjadev64
ninjadev642mo ago
does it happen with buttons from every plugin?
Terrorwolf
TerrorwolfOP2mo ago
Yes except today the startepack buttons were still there. But everytime else all my buttons are gone.
ninjadev64
ninjadev642mo ago
which starter pack actions were they?
Terrorwolf
TerrorwolfOP2mo ago
I am not completely sure but it could also be after an update. I installed yesterday an update befor going to bed. (restartet opendeck after that and everything worked.)
ninjadev64
ninjadev642mo ago
and what other plugins do you use
Terrorwolf
TerrorwolfOP2mo ago
run command
ninjadev64
ninjadev642mo ago
I don't think this issue is to do with updates tbh
Terrorwolf
TerrorwolfOP2mo ago
Homeassistant, Adguard (from github), discord, and the worldclock from barraider I think.
ninjadev64
ninjadev642mo ago
right
Terrorwolf
TerrorwolfOP2mo ago
homeassistant is the newest version, discord is the version from opendeck since I didn't get the newest version working (although I would like the new start streaming button)
ninjadev64
ninjadev642mo ago
when the buttons disappear what does the profile json file look like? is it just null in place of where they used to be?
Terrorwolf
TerrorwolfOP2mo ago
yes
ninjadev64
ninjadev642mo ago
I see ooh, I think I might have an idea of what's going on it's very possible that it's caused by this line I'll see what I can do to hopefully fix it, it can be in 2.3.1 for today I think
Terrorwolf
TerrorwolfOP2mo ago
thanks. Would be nice if its fixed.
ninjadev64
ninjadev642mo ago
@Terrorwolf please try the latest commit and see if it is fixed
Terrorwolf
TerrorwolfOP2mo ago
i will install it. But I think wee need to wait a few days to see if its fixed.
ninjadev64
ninjadev642mo ago
I will be releasing 2.3.1 today as I am going on vacation tomorrow, but the releases don’t really matter for you anyways
Terrorwolf
TerrorwolfOP2mo ago
have a great vacation. May I ask how long you will be away?
ninjadev64
ninjadev642mo ago
Until the 2nd also, thanks also also, has this happened again since? and the profile switching bug is also fixed right?
Terrorwolf
TerrorwolfOP2mo ago
as of right now both seem fixed, but the profile deletion bug only happened to my once a day for the last few days so not entirely sure.
ninjadev64
ninjadev642mo ago
Has this happened again?
Terrorwolf
TerrorwolfOP2mo ago
not yet. I think we can "close" it for now
ninjadev64
ninjadev642mo ago
Awesome, that's one victory for now at least Two actually, the profile switching deadlock is fixed as well
Terrorwolf
TerrorwolfOP2mo ago
true Only thing bothering me at the moment is that the image of my lamp through the Homeassistant Plugin is not updating. And I didn't had much time and power to debug this further at the moment.

Did you find this page helpful?