Profiles being cleared

A Post for the small Problems of the Git Version of Opendeck.
49 Replies
Terrorwolf
TerrorwolfOP7d 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
ninjadev647d 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
TerrorwolfOP7d ago
I only have one profile. And this one is affected.
ninjadev64
ninjadev647d 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
TerrorwolfOP7d 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
ninjadev647d ago
Oh, interesting, uBlock Origin?
Terrorwolf
TerrorwolfOP7d ago
I now used the backup and reinstated the backup config. Then it worked
ninjadev64
ninjadev647d 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
TerrorwolfOP6d 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
ninjadev646d ago
Did the logs have the same error? Are you using a network storage device or something by any chance?
Terrorwolf
TerrorwolfOP6d 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
ninjadev646d ago
The logs will have cleared themselves if you've restarted opendeck This issue is very annoying and hard to track down :(
Terrorwolf
TerrorwolfOP6d ago
Just the autostart after PC start. No Restart since then.
ninjadev64
ninjadev646d 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
TerrorwolfOP6d 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
ninjadev646d 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
TerrorwolfOP6d ago
That was the next thing I wanted to report just now.
ninjadev64
ninjadev646d 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
TerrorwolfOP6d ago
And I am trying to track down my Problems with the Homeassistant Plugin. I have a lead right now.
ninjadev64
ninjadev646d 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
TerrorwolfOP6d 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
ninjadev646d ago
I have plans to make a plugin for that as Dem requested something similar, but not yet
Terrorwolf
TerrorwolfOP5d 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
ninjadev645d 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
TerrorwolfOP5d ago
will do
ninjadev64
ninjadev645d ago
does it happen with buttons from every plugin?
Terrorwolf
TerrorwolfOP5d ago
Yes except today the startepack buttons were still there. But everytime else all my buttons are gone.
ninjadev64
ninjadev645d ago
which starter pack actions were they?
Terrorwolf
TerrorwolfOP5d 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
ninjadev645d ago
and what other plugins do you use
Terrorwolf
TerrorwolfOP5d ago
run command
ninjadev64
ninjadev645d ago
I don't think this issue is to do with updates tbh
Terrorwolf
TerrorwolfOP5d ago
Homeassistant, Adguard (from github), discord, and the worldclock from barraider I think.
ninjadev64
ninjadev645d ago
right
Terrorwolf
TerrorwolfOP5d 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
ninjadev645d 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
TerrorwolfOP5d ago
yes
ninjadev64
ninjadev645d 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
TerrorwolfOP5d ago
thanks. Would be nice if its fixed.
ninjadev64
ninjadev645d ago
@Terrorwolf please try the latest commit and see if it is fixed
Terrorwolf
TerrorwolfOP5d ago
i will install it. But I think wee need to wait a few days to see if its fixed.
ninjadev64
ninjadev645d 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
TerrorwolfOP5d ago
have a great vacation. May I ask how long you will be away?
ninjadev64
ninjadev645d ago
Until the 2nd also, thanks also also, has this happened again since? and the profile switching bug is also fixed right?
Terrorwolf
TerrorwolfOP5d 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
ninjadev648h ago
Has this happened again?
Terrorwolf
TerrorwolfOP8h ago
not yet. I think we can "close" it for now
ninjadev64
ninjadev648h ago
Awesome, that's one victory for now at least Two actually, the profile switching deadlock is fixed as well
Terrorwolf
TerrorwolfOP8h 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.
Want results from more Discord servers?
Add your server