Closed Bradford1040 closed 4 months ago
Please provide your .env
file with hidden token and post some screenshots. I need to know the exact error message and the behavior so a screenshots is the best you can provide. Normally git takes care of itself about those git loose objects
errors with garbage collection. You can bump this up by yourself: you go into you backup folder cd ~/config_backup
and run git gc
.
the hidden token removed or present? I mean I guess I can just remake a new one after I post the one I am using now?
I used terminal to run the backup instead of using macro inside mainsail, thought it would have more info, guess it doesn't
this is the second printer with fresh install and has the same error, there is NO folder 7E or file
Just the .env
and do some xxx where the token is placed.
warning: adding embedded git repository: printer_ 1_data/config/klipper-macros
Interesting.
fatal: loose object 7e47384e1121e1110509f34bfd6e17b382398a3d (stored in .git/objects/7e/47384e1121e1110509f34bfd6e17b382398a3d) is corrupt
I have no clue where this file or folder is, or what it is?
Just the
.env
and do some xxx where the token is placed.warning: adding embedded git repository: printer_ 1_data/config/klipper-macros
Interesting.
I jumped the gun lol, so will be making a new one lol, I included it
btw run git gc
in your config_backup
folder like is said, not in the klipper-backup
folder.
Could you try
cd ~
rm -rf config_backup
and then run the script again
cd into home? or into printer_1_data?
cd into home
what i think may be occuring is that your previous backups was using code from pre version 1.0 of klipper backup.
So the config_backup folder should be deleted entirely because it will have cached .git code that is no longer correct.
that did it, thank you, can't remember do I close the ticket or do you?
You can close if resolved yep
might have been a KIAUH backup that messed everything up also, I'll look into that
Code of Conduct
code
more readable which helps to fix the problemWhat happened
I had the backup set up on my main printer which I've used KIAUH on MX Linux (using SystemD kernel) it was working last month and now no longer works, I tried reinstalling on secondary printer and get the same error, following the install instructions to the letter, to make sure I had not done something wrong, I get the same error on the secondary system as I did the first, I have tried a few google search result fixes and nothing seems to fix the issue
What did you expect to happen
for the macro to backup my my config's to github
How to reproduce
just running it via macro or even running it via terminal script.sh
Additional information
No response