Code-server won't install

Error on install

YNH_APP_ARG_DOMAIN: maindomain.tld
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_yb4b1gak
YNH_APP_ID: code-server
YNH_APP_INSTANCE_NAME: code-server
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_APP_MANIFEST_VERSION: 4.3.0~ynh1
YNH_ARCH: amd64
error: Une erreur est survenue dans le script d’installation de l’application
interface: api
operation: app_install
parent: null
related_to:

    • app
    • code-server
      started_at: 2022-06-16 15:45:17.652152
      success: false
      yunohost_version: 4.3.6.3

============

2022-06-16 18:45:17,661: INFO - Installation de code-server…
2022-06-16 18:45:17,745: DEBUG - Nothing to update in LDAP
2022-06-16 18:45:17,746: DEBUG - Permission ‘code-server.main’ mise à jour
2022-06-16 18:45:17,803: DEBUG - Journal complet de cette opération : ’ Mise à jour de l’URL associée à l’autorisation ‘code-server’
2022-06-16 18:45:17,929: DEBUG - The permission database has been resynchronized
2022-06-16 18:45:18,007: DEBUG - La configuration de SSOwat a été regénérée
2022-06-16 18:45:18,071: DEBUG - Permission ‘code-server.main’ créée
2022-06-16 18:45:18,072: DEBUG - Journal complet de cette opération : ’ Créer permission ‘code-server’
2022-06-16 18:45:18,090: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./install” 7>&1’]’
2022-06-16 18:45:18,099: DEBUG - + source _common.sh
2022-06-16 18:45:18,099: DEBUG - ++ extensions_gallery=’{“serviceUrl”: “https://open-vsx.org/vscode/gallery","itemUrl”: “https://open-vsx.org/vscode/item”}’
2022-06-16 18:45:18,099: DEBUG - + source /usr/share/yunohost/helpers
2022-06-16 18:45:18,100: DEBUG - +++ grep xtrace
2022-06-16 18:45:18,101: DEBUG - +++ set +o
2022-06-16 18:45:18,102: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2022-06-16 18:45:18,102: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2022-06-16 18:45:18,124: DEBUG - + ynh_abort_if_errors
2022-06-16 18:45:18,125: DEBUG - + trap ynh_exit_properly EXIT
2022-06-16 18:45:18,125: DEBUG - + domain=maindomain.tld
2022-06-16 18:45:18,125: DEBUG - + admin=xxxxx
2022-06-16 18:45:18,125: DEBUG - + auth=none
2022-06-16 18:45:18,125: DEBUG - + app=code-server
2022-06-16 18:45:18,190: DEBUG - + final_path=/opt/yunohost/code-server
2022-06-16 18:45:18,190: DEBUG - + test ‘!’ -e /opt/yunohost/code-server
2022-06-16 18:45:18,190: DEBUG - + ynh_webpath_register --app=code-server --domain=maindomain.tld --path_url=/
2022-06-16 18:45:18,191: INFO - […] > Validating installation parameters…
2022-06-16 18:45:18,240: DEBUG - + yunohost app register-url code-server maindomain.tld /
2022-06-16 18:45:18,495: WARNING - This URL is either unavailable, or conflicts with the already installed app(s):
2022-06-16 18:45:18,496: WARNING - * maindomain.tld/webmail → Roundcube (roundcube)
2022-06-16 18:45:18,496: WARNING - * maindomain.tld/jirafeau → Jirafeau (jirafeau)
2022-06-16 18:45:18,496: WARNING - * maindomain.tld/automate → N8N Automate (n8n)
2022-06-16 18:45:18,497: WARNING - * maindomain.tld/ifm → IFM (ifm)
2022-06-16 18:45:18,497: WARNING - * maindomain.tld/bookstack → BookStack (bookstack)
2022-06-16 18:45:18,497: WARNING - * maindomain.tld/devrepas → Dev Repas Préparés (wordpress__3)
2022-06-16 18:45:18,497: WARNING - * maindomain.tld/devrepas/wp-login.php → Dev Repas Préparés (admin) (wordpress__3)
2022-06-16 18:45:18,497: WARNING - * maindomain.tld/devrepas/wp-admin.php → Dev Repas Préparés (admin) (wordpress__3)
2022-06-16 18:45:18,498: WARNING - * maindomain.tld/vault → Vaultwarden (vaultwarden)
2022-06-16 18:45:18,498: WARNING - * maindomain.tld/vault/api → Vaultwarden (api) (vaultwarden)
2022-06-16 18:45:18,499: WARNING - * maindomain.tld/vault/identity/connect/token → Vaultwarden (api) (vaultwarden)
2022-06-16 18:45:18,502: WARNING - * maindomain.tld/vault/admin → Vaultwarden (admin) (vaultwarden)
2022-06-16 18:45:18,502: WARNING - * maindomain.tld/tvqc → TVQC (grav)
2022-06-16 18:45:18,538: DEBUG - + ynh_exit_properly
2022-06-16 18:45:19,041: DEBUG - + ynh_clean_setup
2022-06-16 18:45:19,041: DEBUG - + true
2022-06-16 18:45:20,052: ERROR - Impossible d’installer code-server : Une erreur est survenue dans le script d’installation de l’application

Code Server requires its own dedicated domain.

If you still have issues, open a new thread and respect the support request template.

1 Like