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