cozy / cozy-stack

Simple, Versatile, Yours
https://docs.cozy.io/en/cozy-stack/
GNU Affero General Public License v3.0
1.15k stars 141 forks source link

Define HOME variable inside konnector jail #4470

Closed sblaisot closed 1 month ago

sblaisot commented 1 month ago

Some node modules as indirect dependencies rely on HOME variable to be set.

If HOME env variable is not set, the konnector fail with the following message:

SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_homedir returned ENOENT (no such file or directory)

Defining this variable make the konnector happy