Skip to content

Self hosted on custom ".local" install fails with "Could not resolve host". #169

Description

@ashayh

Is there a way to self host without setting up DNS etc on a local Lan.

2025-10-17 22:33:23,460: INFO - Synchronizing forgejo users
2025-10-17 22:33:23,462: DEBUG - + popd
2025-10-17 22:33:23,463: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_cr2twfls/scripts
2025-10-17 22:33:23,463: DEBUG - + synchronize_users
2025-10-17 22:33:23,463: DEBUG - + ynh_print_info 'Synchronizing forgejo users'
2025-10-17 22:33:23,463: DEBUG - ++ ynh_app_setting_get --key=forgejo_api_token
2025-10-17 22:33:23,511: DEBUG - + forgejo_api_token=**********
2025-10-17 22:33:23,512: DEBUG - + local no_trailing_slash_path=
2025-10-17 22:33:23,512: DEBUG - + curl --url https://domain2.tld/api/v1/admin/cron/sync_external_users -X POST -H 'Authorization: token **********' -kfsS
2025-10-17 22:33:23,519: WARNING - curl: (6) Could not resolve host: domain2.tld
2025-10-17 22:33:23,520: DEBUG - + ynh_exit_properly
2025-10-17 22:33:23,520: DEBUG - + local exit_code=6
2025-10-17 22:33:23,521: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2025-10-17 22:33:23,521: DEBUG - + '[' 6 -eq 0 ']'
2025-10-17 22:33:24,123: ERROR - Unable to install forgejo: An error occurred inside the app installation script
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions