I made my installation dirty by accident, what does this mean exactly? Think I wasn't paying attent

I made my installation dirty by accident, what does this mean exactly? I wasn't paying attention and accidentally updated in the wrong order I suspect
No description
53 Replies
blacksmithforlife
dirty is when you edited a file you shouldn't have
modern-teal
modern-teal15mo ago
I only ever edit printer.cfg and have not touched that for some time. Only appeared after the update
blacksmithforlife
did you update from 1.x to 2.x?
modern-teal
modern-teal15mo ago
Nope
blacksmithforlife
can you ssh into the machine and run cd /home/pi/printer_data/config/RatOS; git status and paste the output here?
modern-teal
modern-teal15mo ago
Thanks appreciated mate
blacksmithforlife
@miklschmidt any idea how that happened? It doesn't make sense to me
miklschmidt
miklschmidt15mo ago
That is extremely strange I have no idea
modern-teal
modern-teal15mo ago
Its still printing fine incidentally, tried the two automated repair options but neither worked Hard and soft
miklschmidt
miklschmidt15mo ago
what did it say when you did that?
modern-teal
modern-teal15mo ago
Regretfully I can't remember, my brain cant remember what I had for breakfast since I hit 45yrs
miklschmidt
miklschmidt15mo ago
I've had that problem since i turned 12, i don't blame you 😂
quickest-silver
quickest-silver15mo ago
have exactly the same issue just flashed the 2.0 image to the sd and go through the setup wizard and then when I'm updating RatOs for the very first time its dirty....
miklschmidt
miklschmidt15mo ago
Here's how you can fix it:
cd /home/pi/printer_data/config/RatOS; git checkout .
cd /home/pi/printer_data/config/RatOS; git checkout .
modern-teal
modern-teal15mo ago
I'm supposed to be a VMWare specialist, its getting troublesome for work now
miklschmidt
miklschmidt15mo ago
Would like to know how it happened, so if you can upload your logs (klipper and moonraker) then maybe there's a clue in there.
quickest-silver
quickest-silver15mo ago
And its reproduceable, always happens for me when I flash again
miklschmidt
miklschmidt15mo ago
I will try and reproduce this, thank you
modern-teal
modern-teal15mo ago
Here you go mate fill your boots
miklschmidt
miklschmidt15mo ago
Sounds very strange
quickest-silver
quickest-silver15mo ago
modern-teal
modern-teal15mo ago
Dont bust a gut pal, I can always re-install
quickest-silver
quickest-silver15mo ago
what is the pw and user for ssh? ratos and raspberry?
miklschmidt
miklschmidt15mo ago
pi raspberry
modern-teal
modern-teal15mo ago
default pi and raspberry
quickest-silver
quickest-silver15mo ago
weird pi and raspberry doesnt work sadpepe
modern-teal
modern-teal15mo ago
Suggests you might have changed it mate
quickest-silver
quickest-silver15mo ago
I typed "ssh 192.168.178.87 pi" in my terminal on mac and then raspberry when the password promt shows up, and it says permission denied
modern-teal
modern-teal15mo ago
all lower case?
quickest-silver
quickest-silver15mo ago
I haven't changed it I installed the image two(!) hours ago I think I would know yes its a completely fresh installation
modern-teal
modern-teal15mo ago
Thats odd
quickest-silver
quickest-silver15mo ago
I don't know whats going on here but those are some weird issues
modern-teal
modern-teal15mo ago
IP changed without you knowing perhaps? Are you trying to SSH into something else? That happend to me the other day
quickest-silver
quickest-silver15mo ago
nope its definetly the correct one I checked in the router it was somehow a mac problem worked instantly on my phone -.-
modern-teal
modern-teal15mo ago
That didn't fix it incidentally mate, but dont worry about it
miklschmidt
miklschmidt15mo ago
It would be ssh pi@192.168.178.87 What does cd /home/pi/printer_data/config/RatOS; git status say now?
quickest-silver
quickest-silver15mo ago
okay thanks
modern-teal
modern-teal15mo ago
No description
miklschmidt
miklschmidt15mo ago
wtf.. git diff
quickest-silver
quickest-silver15mo ago
same for me
miklschmidt
miklschmidt15mo ago
try running git diff
quickest-silver
quickest-silver15mo ago
still the same status afterwards with git status
miklschmidt
miklschmidt15mo ago
I'm curious what it thinks has changed, hence the git diff
modern-teal
modern-teal15mo ago
No description
quickest-silver
quickest-silver15mo ago
No description
miklschmidt
miklschmidt15mo ago
CRLF will be replaced... But it's a binary file.. What in the hell.. gimme a sec Okay something similar happened to me too
blacksmithforlife
is it from * text eol=lf in the git attributes file?
miklschmidt
miklschmidt15mo ago
Here's a fix @Portolasas @folkestone3dprinting
git reset --hard HEAD~2
git pull
git reset --hard HEAD~2
git pull
Yes
quickest-silver
quickest-silver15mo ago
perfect, that did the trick now it says everything up-to-date sorry for all the trouble
miklschmidt
miklschmidt15mo ago
No apologies necessary it was an actual bug, so you helped me out! Same goes for you @folkestone3dprinting thank you for bringing this to my attention
modern-teal
modern-teal15mo ago
Will give it a try in the morning mate. Bed time for me as I'm no longer a young spunk
miklschmidt
miklschmidt15mo ago
Haha no problem, let me know if you have any further problems 🙂
modern-teal
modern-teal15mo ago
It worked pal
Want results from more Discord servers?
Add your server
More Posts