Skip to content

Home folder is not set for app user #34

@IntermittentlyRupert

Description

@IntermittentlyRupert

This seems to be a re-occurrence of #3 and was introduced somewhere between image revision 948e90e (works) and latest 7d735cc (has the error).

Setting HOME in startapp.sh doesn't seem to be sufficient for borg to look up the ssh config. I appears to be using the app user's actual home dir in passwd, which is /dev/null.

2026-05-15 09:28:39,254 - vorta.borg.borg_job - INFO - Running command: /usr/bin/borg create <snip parameters>
2026-05-15 09:28:41,030 - vorta.borg.borg_job - WARNING - Remote: hostkeys_find_by_key_hostfile: hostkeys_foreach failed for /dev/null/.ssh/known_hosts: Not a directory
2026-05-15 09:28:41,031 - vorta.borg.borg_job - WARNING - Remote: ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory
2026-05-15 09:28:41,032 - vorta.borg.borg_job - WARNING - Remote: Host key verification failed.
2026-05-15 09:28:41,037 - vorta.borg.borg_job - ERROR - Connection closed by remote host. Is borg working on the server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions