Updating KIAUH Script fails #63
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Heya just noticed that you updated the KIAUH script and I should type "update" in the menu to update it.
Leaded to this.
Fixed it by myself with deletion of the old install_klipperscreen.sh, but this wasn't edited by myself before o_O
The error message states, that you have made changes to the file
install_klipperscreen.sh.If you modify a script yourself, it can't be updated anymore that easily.
I am facing the same Issue. I haven't made any changes accordingly. My Solution was a bit rough but it worked.
git reset --hardCheers
Okay that is weird.
The file got updated 2 days ago, but that shouldn't create any issue. I have no idea why git then complains about some (rather) non-existent local changes. I try and investigate this issue.
@nicedevil007 so you updated your kiauh from
43a724b80e. that was a point in history where the install_klipperscreen.sh fix wasn't applied yet. Are you sure you haven't modified the file yourself before.In https://github.com/th33xitus/kiauh/issues/59 you said, you updated kiauh after that patch from jordan was provided and i merged it. But that would mean, your kiauh would be already PAST commit
43a724b80e.@KwadFan From which commit did you make the update? The same as nicedevil?
i just updated my own kiauh on my production pi...

went through without an issue. and i had that klipperscreen fix already applied as well as you can see because the update startet from
8bf20aa059It was commit
f1289504@KwadFan okay so you haven't updated for a longer time then. That makes troubleshooting a bit more complicated.
Especially now that i got a screenshot from someone who updated successfully exactly after


43a724b80eand someone who updates successfully after
a44ae4c2b9At the moment i don't have an idea where to look for the issue? It seems very random to me
I'm pretty sure that I didn't do that even by accident... can't remember that I ever went into the scripts folder in the kiauh directory...
for me it doesn't matter anymore, because fixed it with the deletion of the klipperscreen install script inside the scripts folder. maybe it is a rare behaviour I got... or even anything else is wrong on my installation (remember that I can't install klipperscreen with the pi user before)
now with the updated KIAUH script it seems that KIAUH recognizes the installation of klipperscreen even if it was installed with root user. I was able to update it through your script! so maybe everything is fixed now? <3
@th33xitus
Yes, not running latest and greatest brings sometimes major issue to the table.
Updates haven get the Attention they should have on my printer :)
In my opinion, I would brute force the update like
git reset --hardbecause in my mind KIAUH shouldnt be modified, unless you know what are you doing.
And at this point you should know to prevent such Errors or even to deal with them.
Its more curious for lazy people or peoples without the technical background in mind of Linux Administration and Shell scripting.
So these last named should live with the circumstance that you made the Update rules. Period.
So, if you ask me, brute force the Update to prevent such randomly happening Issues.
I think this issue could be closed for now.
Regards.
You idea is good. I think i will implement such brute force reset. I agree with you in every point you mention.
30ca396772should solve this issue from now on.Although i still would like to know why that occurred suddenly...