Skip to content
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

Open
big-ant opened this issue Dec 2, 2024 · 2 comments
Labels
Bug Feedback needs user response, may be closed after timeout without a response HELP-WANTED Used by 24pullrequests.com to suggest issues High

Comments

@big-ant
Copy link

big-ant commented Dec 2, 2024

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.

image

Manual execution in terminal works fine instead:

_/usr/sbin/backintime backup
WARNING: Determined normalized locale code "de_DE.UTF-8" (from language code "de") not available (or invalid). The code will be ignored. This might lead to unusual display of dates and timestamps, but it does not affect the functionality of the application. Used locale is "('de_CH', 'UTF-8')".

Back In Time
Version: 1.5.3

Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license' for details.

WARNING: Determined normalized locale code "de_DE.UTF-8" (from language code "de") not available (or invalid). The code will be ignored. This might lead to unusual display of dates and timestamps, but it does not affect the functionality of the application. Used locale is "('de_CH', 'UTF-8')".
INFO: Lock
INFO: Mountpoint /root/.local/share/backintime/mnt/24700AAF/mountpoint is already mounted
INFO: Take a new snapshot. Profile: 1 backant
INFO: Call rsync to take the snapshot
INFO: Save config file
INFO: Save permissions
INFO: Mountpoint /root/.local/share/backintime/mnt/24700AAF/mountpoint still in use. Keep mounted.
INFO: Unlock_

Crontab:

_#Back In Time system entry, this will be edited by the gui:
*/15 * * * * /usr/sbin/nice -n19 /usr/sbin/ionice -c2 -n7 /usr/sbin/backintime backup-job >/dev/null_
_[root@xxx]# backintime --diagnostics
WARNING: Determined normalized locale code "de_DE.UTF-8" (from language code "de") not available (or invalid). The code will be ignored. This might lead to unusual display of dates and timestamps, but it does not affect the functionality of the application. Used locale is "('de_CH', 'UTF-8')".
WARNING: Determined normalized locale code "de_DE.UTF-8" (from language code "de") not available (or invalid). The code will be ignored. This might lead to unusual display of dates and timestamps, but it does not affect the functionality of the application. Used locale is "('de_CH', 'UTF-8')".
qt.qpa.theme.dbus: Session DBus not running.
qt.qpa.theme.dbus: Application will not react to setting changes.
 Check your DBus installation.
{
    "backintime": {
        "name": "Back In Time",
        "version": "1.5.3",
        "running-as-root": false,
        "latest-config-version": 6,
        "local-config-file": "/root/.config/backintime/config",
        "local-config-file-found": true,
        "global-config-file": "/etc/backintime/config",
        "global-config-file-found": false,
        "started-from": "/usr/share/backintime/common",
        "user-callback": "/root/.config/backintime/user-callback",
        "keyring-supported": false
    },
    "host-setup": {
        "OS": {
            "/etc/os-release": "EndeavourOS",
            "/etc/arch-release": "\n",
            "/etc/lsb-release": "DISTRIB_ID=\"EndeavourOS\"\nDISTRIB_RELEASE=\"rolling\"\nDISTRIB_DESCRIPTION=\"EndeavourOS Linux\"\nDISTRIB_CODENAME=\"rolling\"\n"
        },
        "platform": "Linux-6.6.63-1-lts-x86_64-with-glibc2.40",
        "system": "Linux #1 SMP PREEMPT_DYNAMIC Fri, 22 Nov 2024 15:39:56 +0000",
        "display-system": "wayland",
        "locale": "de_CH, UTF-8",
        "PATH": "/usr/local/bin:/usr/bin:/usr/local/sbin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl",
        "RSYNC_OLD_ARGS": "(not set)",
        "RSYNC_PROTECT_ARGS": "(not set)"
    },
    "python-setup": {
        "python": "3.12.7 main Oct  1 2024 11:15:50 CPython GCC 14.2.1 20240910",
        "python-executable": "/usr/bin/python",
        "python-executable-symlink": true,
        "python-executable-resolved": "/usr/bin/python3.12",
        "sys.path": [
            "/usr/share/backintime/qt/plugins",
            "/usr/share/backintime/common/plugins",
            "/usr/share/backintime/plugins",
            "/usr/share/backintime/common",
            "/usr/lib/python312.zip",
            "/usr/lib/python3.12",
            "/usr/lib/python3.12/lib-dynload",
            "/usr/lib/python3.12/site-packages"
        ],
        "qt": {
            "Version": "PyQt 6.8.0.dev2410211537 / Qt 6.8.0",
            "Theme": "Adwaita",
            "Theme Search Paths": [
                "/var/lib/flatpak/exports/share/icons",
                "/usr/share/icons",
                ":/icons"
            ],
            "Fallback Theme": "",
            "Fallback Search Paths": []
        }
    },
    "external-programs": {
        "rsync": {
            "version": "3.3.0",
            "protocol": "31.0",
            "capabilities": "file_bits: 64; inum_bits: 64; timestamp_bits: 64; long_int_bits: 64; socketpairs: True; symlinks: True; symtimes: True; hardlinks: True; hardlink_specials: True; hardlink_symlinks: True; IPv6: True; atimes: True; batchfiles: True; inplace: True; append: True; ACLs: True; xattrs: True; secluded_args: optional; iconv: True; prealloc: True; stop_at: True; crtimes: False",
            "optimizations": "SIMD_roll: True; asm_roll: False; openssl_crypto: True; asm_MD5: False",
            "checksum_list": "xxh128, xxh3, xxh64, md5, md4, sha1, none",
            "compress_list": "zstd, lz4, zlibx, zlib, none",
            "daemon_auth_list": "sha512, sha256, sha1, md5, md4"
        },
        "ssh": "OpenSSH_9.9p1, OpenSSL 3.4.0 22 Oct 2024",
        "sshfs": "3.7.3",
        "encfs": "(no encfs)",
        "shell": "/bin/bash",
        "shell-version": "GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu)"
    }
}

buhtz added a commit that referenced this issue Dec 3, 2024
Missing crontab files are not logged as errors anymore. It is a usual situation on fresh systems.
Additionally the warning about failing determination of language code is modified into a debug message.

Related #1952
Related #1956
@buhtz buhtz added this to the 1.6.0 (upcoming release) milestone Dec 10, 2024
@buhtz buhtz added Bug HELP-WANTED Used by 24pullrequests.com to suggest issues labels Dec 10, 2024
@buhtz
Copy link
Member

buhtz commented Dec 10, 2024

Hello Roman,

Thank you for taking the time to report the bug and providing the details. I appreciate your feedback, will investigate the issue,
and work on a solution to the best of my ability.

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,

@buhtz buhtz added Feedback needs user response, may be closed after timeout without a response High labels Dec 10, 2024
@buhtz buhtz changed the title Since v1.5.3 scheduled backup with anacron doesn't work anymore Since v1.5.3 anacron-like jobs keeps asking for SSH key password - release critical (was: scheduled backup with anacron doesn't work anymore) Dec 10, 2024
@big-ant
Copy link
Author

big-ant commented Dec 10, 2024

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 ...

Bildschirmfoto vom 2024-12-10 22-38-37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Feedback needs user response, may be closed after timeout without a response HELP-WANTED Used by 24pullrequests.com to suggest issues High
Projects
None yet
Development

No branches or pull requests

2 participants