-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since v1.5.3 anacron-like jobs keeps asking for SSH key password - release critical (was: scheduled backup with anacron doesn't work anymore) #1956
Comments
Hello Roman, Thank you for taking the time to report the bug and providing the details. I appreciate your feedback, will investigate the issue, Can you send me a screenshot of your Manage profiles (first tab) window please. If you have any more details to share, feel free to reach out. Not sure when we'll find the time to work on it. But currently I categorize this as release critical. So this issue need to be investigated and fixed before the next release. I am assuming that I might have introduced this behavior not long ago. Please see the projects background information to get an idea about our workflow and priorities: Best regards, |
Maybe important to mention that my NAS is not constantly online and only running between 7pm and 11pm as I don't want it to run 24 hours a day. As soon as my NAS is online again the snapshot is executed on the next 15 minute time period. Yesterday I did revert to v1.5.2 which is running smoothly instead ... |
Addendum: I just observed that the daily backup is running automatically, when my NAS is online - but windows pops up every 15 minutes nevertheless. |
There's no password as my key file is NOT password protected ... But window appears nevertheless ... It shouldn't ask for a password anyway. BUT ... I guess I did sort it out now. It's permission related. As soon as the backup command backintime --backup is running with sudo rights it's working. If not I get the following error in the terminal: "Failed to unlock SSH private key **/home/antux/.ssh/back2ant_id_rsa: /home/antux/.ssh/back2ant_id_rsa: No such file or directory". But the key is stored in a different folder (~/keys/), see profile configuration screen. As soon as I copy the key file into the ~/.ssh folder it seems to work without sudo rights and without password prompts. I will check tomorrow if backup runs without hassles ... |
Thank you for adding this details. This lowers the problem and I don't see this as release critical anymore. There is a profile configured using a SSH key without passphrase.
So you found two bugs at once. Congrats! 🤣 🎉 🎈 Do you remember the original permissions (incl. user and group) of |
Hi @buhtz, this issue is maybe PEBKAC related. I just realized that I had 2 profiles configured. One profile in the 'Back In Time (root)' version of the application (path working, newer profile) and one with the 'non-root version' (path not working, older profile). 'Non-root profile' indicating the key path to the '.ssh' folder (where the key isn't available) and the 'root version' showing to the 'keys' folder where the key is stored. Apparently the backup command execution changed from version 1.5.2 (profile execution from root version) and 1.5.3 (execution of non-root version). Is that possible? Cheers, Roman |
Hi Roman,
I can not remember of such a modification. I also checked the diff and can not find an indication of it. So I am 99.9% sure. ;) |
Hmm ... I moved my backup profile to 'non-root' version now and will check back tomorrow ...
Just wondering if using the root version is still an option, maybe reconfiguring from scratch ...
|
Backintime works now flawlessly after deletion of old configuration and re-configuration. |
I do have backintime configured with anacron, worked like a charm before v1.5.3. Now I get every 15 minutes the attached password query. The SSH Key file is not password protected. Same issue if I set a password to the private ssh key file.
Manual execution in terminal works fine instead:
Crontab:
The text was updated successfully, but these errors were encountered: