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
blacksmithforlife•2y ago
dirty is when you edited a file you shouldn't have
deep-jade
deep-jadeOP•2y ago
I only ever edit printer.cfg and have not touched that for some time. Only appeared after the update
blacksmithforlife
blacksmithforlife•2y ago
did you update from 1.x to 2.x?
deep-jade
deep-jadeOP•2y ago
Nope
blacksmithforlife
blacksmithforlife•2y ago
can you ssh into the machine and run cd /home/pi/printer_data/config/RatOS; git status and paste the output here?
deep-jade
deep-jadeOP•2y ago
Thanks appreciated mate
blacksmithforlife
blacksmithforlife•2y ago
@miklschmidt any idea how that happened? It doesn't make sense to me
miklschmidt
miklschmidt•2y ago
That is extremely strange I have no idea
deep-jade
deep-jadeOP•2y ago
Its still printing fine incidentally, tried the two automated repair options but neither worked Hard and soft
miklschmidt
miklschmidt•2y ago
what did it say when you did that?
deep-jade
deep-jadeOP•2y ago
Regretfully I can't remember, my brain cant remember what I had for breakfast since I hit 45yrs
miklschmidt
miklschmidt•2y ago
I've had that problem since i turned 12, i don't blame you 😂
harsh-harlequin
harsh-harlequin•2y 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
miklschmidt•2y 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 .
deep-jade
deep-jadeOP•2y ago
I'm supposed to be a VMWare specialist, its getting troublesome for work now
miklschmidt
miklschmidt•2y 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.
harsh-harlequin
harsh-harlequin•2y ago
And its reproduceable, always happens for me when I flash again
miklschmidt
miklschmidt•2y ago
I will try and reproduce this, thank you
deep-jade
deep-jadeOP•2y ago
Here you go mate fill your boots
miklschmidt
miklschmidt•2y ago
Sounds very strange
harsh-harlequin
harsh-harlequin•2y ago
deep-jade
deep-jadeOP•2y ago
Dont bust a gut pal, I can always re-install
harsh-harlequin
harsh-harlequin•2y ago
what is the pw and user for ssh? ratos and raspberry?
miklschmidt
miklschmidt•2y ago
pi raspberry
deep-jade
deep-jadeOP•2y ago
default pi and raspberry
harsh-harlequin
harsh-harlequin•2y ago
weird pi and raspberry doesnt work sadpepe
deep-jade
deep-jadeOP•2y ago
Suggests you might have changed it mate
harsh-harlequin
harsh-harlequin•2y 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
deep-jade
deep-jadeOP•2y ago
all lower case?
harsh-harlequin
harsh-harlequin•2y ago
I haven't changed it I installed the image two(!) hours ago I think I would know yes its a completely fresh installation
deep-jade
deep-jadeOP•2y ago
Thats odd
harsh-harlequin
harsh-harlequin•2y ago
I don't know whats going on here but those are some weird issues
deep-jade
deep-jadeOP•2y ago
IP changed without you knowing perhaps? Are you trying to SSH into something else? That happend to me the other day
harsh-harlequin
harsh-harlequin•2y ago
nope its definetly the correct one I checked in the router it was somehow a mac problem worked instantly on my phone -.-
deep-jade
deep-jadeOP•2y ago
That didn't fix it incidentally mate, but dont worry about it
miklschmidt
miklschmidt•2y ago
It would be ssh [email protected] What does cd /home/pi/printer_data/config/RatOS; git status say now?
harsh-harlequin
harsh-harlequin•2y ago
okay thanks
deep-jade
deep-jadeOP•2y ago
No description
miklschmidt
miklschmidt•2y ago
wtf.. git diff
harsh-harlequin
harsh-harlequin•2y ago
same for me
miklschmidt
miklschmidt•2y ago
try running git diff
harsh-harlequin
harsh-harlequin•2y ago
still the same status afterwards with git status
miklschmidt
miklschmidt•2y ago
I'm curious what it thinks has changed, hence the git diff
deep-jade
deep-jadeOP•2y ago
No description
harsh-harlequin
harsh-harlequin•2y ago
No description
miklschmidt
miklschmidt•2y 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
blacksmithforlife•2y ago
is it from * text eol=lf in the git attributes file?
miklschmidt
miklschmidt•2y ago
Here's a fix @Portolasas @folkestone3dprinting
git reset --hard HEAD~2
git pull
git reset --hard HEAD~2
git pull
Yes
harsh-harlequin
harsh-harlequin•2y ago
perfect, that did the trick now it says everything up-to-date sorry for all the trouble
miklschmidt
miklschmidt•2y 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
deep-jade
deep-jadeOP•2y ago
Will give it a try in the morning mate. Bed time for me as I'm no longer a young spunk
miklschmidt
miklschmidt•2y ago
Haha no problem, let me know if you have any further problems 🙂
deep-jade
deep-jadeOP•2y ago
It worked pal
Want results from more Discord servers?
Add your server