Installation of Wiki.js ends with Error

Hi everbody,

it is not possible to install Wiki.js on Raspi 3b+. Thanks for answering! - Thunderfox


2019-09-28 07:35:40,957: INFO - Installing application wikijs…
2019-09-28 07:35:41,217: DEBUG - Führe den Behfehl ‘sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/wikijs_ynh-75abdbb8a2c41f8588a5653b3d3e9be7dba48617/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpCweti1/stdinfo YNH_APP_INSTANCE_NAME=wikijs YNH_INTERFACE=api YNH_APP_ID=wikijs YNH_STDRETURN=/tmp/tmpcw6RfY/stdreturn YNH_APP_ARG_DOMAIN=yunohost.local BASH_XTRACEFD=7 /bin/bash -x “./install” yunohost.local 1 wikijs 7>&1’ aus…
2019-09-28 07:35:41,218: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/wikijs_ynh-75abdbb8a2c41f8588a5653b3d3e9be7dba48617/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpCweti1/stdinfo YNH_APP_INSTANCE_NAME=wikijs YNH_INTERFACE=api YNH_APP_ID=wikijs YNH_STDRETURN=/tmp/tmpcw6RfY/stdreturn YNH_APP_ARG_DOMAIN=yunohost.local BASH_XTRACEFD=7 /bin/bash -x “./install” yunohost.local 1 wikijs 7>&1’]’
2019-09-28 07:35:41,250: DEBUG - + source _common.sh
2019-09-28 07:35:41,252: DEBUG - ++ pkg_dependencies=‘postgresql postgresql-contrib’
2019-09-28 07:35:41,253: DEBUG - + source ynh_send_readme_to_admin__2
2019-09-28 07:35:41,253: DEBUG - + source /usr/share/yunohost/helpers
2019-09-28 07:35:41,254: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-09-28 07:35:41,255: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,256: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/apt ‘]’
2019-09-28 07:35:41,257: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-09-28 07:35:41,258: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,259: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/backup ‘]’
2019-09-28 07:35:41,260: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-09-28 07:35:41,260: DEBUG - +++ CAN_BIND=1
2019-09-28 07:35:41,362: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,363: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/fail2ban ‘]’
2019-09-28 07:35:41,364: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-09-28 07:35:41,365: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,366: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/getopts ‘]’
2019-09-28 07:35:41,367: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-09-28 07:35:41,368: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,368: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logging ‘]’
2019-09-28 07:35:41,369: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-09-28 07:35:41,370: DEBUG - +++ increment_progression=0
2019-09-28 07:35:41,371: DEBUG - +++ previous_weight=0
2019-09-28 07:35:41,372: DEBUG - +++ max_progression=-1
2019-09-28 07:35:41,373: DEBUG - +++ progress_scale=20
2019-09-28 07:35:41,373: DEBUG - +++ progress_string2=’####################’
2019-09-28 07:35:41,374: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-09-28 07:35:41,375: DEBUG - +++ progress_string0=…
2019-09-28 07:35:41,376: DEBUG - ++++ date +%s
2019-09-28 07:35:41,378: DEBUG - +++ base_time=1569652541
2019-09-28 07:35:41,378: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,379: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logrotate ‘]’
2019-09-28 07:35:41,380: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-09-28 07:35:41,381: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,382: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
2019-09-28 07:35:41,383: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-09-28 07:35:41,383: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-09-28 07:35:41,384: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,385: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
2019-09-28 07:35:41,386: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-09-28 07:35:41,387: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,388: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nginx ‘]’
2019-09-28 07:35:41,389: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-09-28 07:35:41,390: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,390: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
2019-09-28 07:35:41,391: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-09-28 07:35:41,392: DEBUG - +++ n_install_dir=/opt/node_n
2019-09-28 07:35:41,393: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-09-28 07:35:41,394: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-09-28 07:35:41,395: DEBUG - +++ N_PREFIX=/opt/node_n
2019-09-28 07:35:41,395: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,396: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/php ‘]’
2019-09-28 07:35:41,397: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-09-28 07:35:41,398: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,399: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/postgresql ‘]’
2019-09-28 07:35:41,400: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-09-28 07:35:41,401: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-09-28 07:35:41,401: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,402: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
2019-09-28 07:35:41,403: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-09-28 07:35:41,404: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,405: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
2019-09-28 07:35:41,406: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-09-28 07:35:41,407: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,408: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/systemd ‘]’
2019-09-28 07:35:41,409: INFO - Validating installation parameters…
2019-09-28 07:35:41,412: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-09-28 07:35:41,413: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,414: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
2019-09-28 07:35:41,415: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-09-28 07:35:41,415: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-09-28 07:35:41,416: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
2019-09-28 07:35:41,417: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-09-28 07:35:41,418: DEBUG - + ynh_abort_if_errors
2019-09-28 07:35:41,418: DEBUG - + set -eu
2019-09-28 07:35:41,419: DEBUG - + trap ynh_exit_properly EXIT
2019-09-28 07:35:41,419: DEBUG - + domain=yunohost.local
2019-09-28 07:35:41,420: DEBUG - + path_url=/
2019-09-28 07:35:41,420: DEBUG - + is_public=1
2019-09-28 07:35:41,421: DEBUG - + app=wikijs
2019-09-28 07:35:41,421: DEBUG - + ldap_user=svc_wikijs_ldap
2019-09-28 07:35:41,422: DEBUG - ++ ynh_string_random --length=8
2019-09-28 07:35:41,423: DEBUG - ++ local legacy_args=l
2019-09-28 07:35:41,423: DEBUG - ++ args_array=([l]=length=)
2019-09-28 07:35:41,424: DEBUG - ++ declare -Ar args_array
2019-09-28 07:35:41,425: DEBUG - ++ local length
2019-09-28 07:35:41,426: DEBUG - ++ ynh_handle_getopts_args --length=8
2019-09-28 07:35:41,427: DEBUG - ++ set +x
2019-09-28 07:35:41,428: DEBUG - ++ length=8
2019-09-28 07:35:41,429: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2019-09-28 07:35:41,430: DEBUG - ++ sed -n ‘s/(.{8})./\1/p’
2019-09-28 07:35:41,430: DEBUG - ++ tr -c -d A-Za-z0-9
2019-09-28 07:35:41,431: DEBUG - + ldap_password=
*********
2019-09-28 07:35:41,431: DEBUG - + ynh_print_info ‘–message=Validating installation parameters…’
2019-09-28 07:35:41,432: DEBUG - + local legacy_args=m
2019-09-28 07:35:41,432: DEBUG - + args_array=([m]=message=)
2019-09-28 07:35:41,433: DEBUG - + declare -Ar args_array
2019-09-28 07:35:41,434: DEBUG - + local message
2019-09-28 07:35:41,434: DEBUG - + ynh_handle_getopts_args ‘–message=Validating installation parameters…’
2019-09-28 07:35:41,435: DEBUG - + set +x
2019-09-28 07:35:41,435: DEBUG - + echo ‘Validating installation parameters…’
2019-09-28 07:35:41,436: DEBUG - + final_path=/var/www/wikijs
2019-09-28 07:35:41,436: DEBUG - + test ‘!’ -e /var/www/wikijs
2019-09-28 07:35:41,437: DEBUG - + ynh_webpath_register --app=wikijs --domain=yunohost.local --path_url=/
2019-09-28 07:35:41,438: DEBUG - + local legacy_args=adp
2019-09-28 07:35:41,439: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2019-09-28 07:35:41,439: DEBUG - + declare -Ar args_array
2019-09-28 07:35:41,440: DEBUG - + local app
2019-09-28 07:35:41,440: DEBUG - + local domain
2019-09-28 07:35:41,441: DEBUG - + local path_url
2019-09-28 07:35:41,441: DEBUG - + ynh_handle_getopts_args --app=wikijs --domain=yunohost.local --path_url=/
2019-09-28 07:35:41,442: DEBUG - + set +x
2019-09-28 07:35:41,443: DEBUG - + sudo yunohost app register-url wikijs yunohost.local /
2019-09-28 07:35:42,948: WARNING - This url is not available or conflicts with the already installed app(s):
2019-09-28 07:35:42,950: DEBUG - + ynh_exit_properly
2019-09-28 07:35:42,951: WARNING - * yunohost.local/nextcloud → Nextcloud (nextcloud)
2019-09-28 07:35:42,952: DEBUG - + local exit_code=1
2019-09-28 07:35:42,953: WARNING - * yunohost.local/piwigo → Piwigo (piwigo)
2019-09-28 07:35:42,954: DEBUG - + ‘[’ 1 -eq 0 ‘]’
2019-09-28 07:35:42,955: WARNING - * yunohost.local/dokuwiki → Dokuwiki (dokuwiki)
2019-09-28 07:35:42,957: DEBUG - + trap ‘’ EXIT
2019-09-28 07:35:42,957: WARNING - * yunohost.local/wiki → MediaWiki (mediawiki)
2019-09-28 07:35:42,959: DEBUG - + set +eu
2019-09-28 07:35:42,959: WARNING - * yunohost.local/wallabag → Wallabag (wallabag2)
2019-09-28 07:35:42,961: DEBUG - + sleep 0.5
2019-09-28 07:35:43,463: DEBUG - + ynh_print_err ‘–message=!!\n wikijs’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-09-28 07:35:43,464: DEBUG - + local legacy_args=m
2019-09-28 07:35:43,465: DEBUG - + args_array=([m]=message=)
2019-09-28 07:35:43,466: WARNING - e[91me[1m[ERR]e[0m !!
2019-09-28 07:35:43,468: DEBUG - + declare -Ar args_array
2019-09-28 07:35:43,469: WARNING - wikijs’s script has encountered an error. Its execution was cancelled.
2019-09-28 07:35:43,471: DEBUG - + local message
2019-09-28 07:35:43,472: WARNING - !!
2019-09-28 07:35:43,474: DEBUG - + ynh_handle_getopts_args ‘–message=!!\n wikijs’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-09-28 07:35:43,475: DEBUG - + set +x
2019-09-28 07:35:43,476: DEBUG - + ynh_print_log ‘\e[91m\e[1m[ERR]\e[0m !!\n wikijs’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-09-28 07:35:43,477: DEBUG - + echo -e ‘\e[91m\e[1m[ERR]\e[0m !!\n wikijs’’‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-09-28 07:35:43,478: DEBUG - + ‘[’ api == cli ‘]’
2019-09-28 07:35:43,479: DEBUG - + type -t ynh_clean_setup
2019-09-28 07:35:43,480: DEBUG - + ynh_clean_setup
2019-09-28 07:35:43,481: DEBUG - + ynh_clean_check_starting
2019-09-28 07:35:43,481: DEBUG - + kill -s 15
2019-09-28 07:35:43,483: DEBUG - kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec]
2019-09-28 07:35:43,483: DEBUG - + ynh_secure_remove ‘’
2019-09-28 07:35:43,484: DEBUG - + local legacy_args=f
2019-09-28 07:35:43,485: DEBUG - + args_array=([f]=file=)
2019-09-28 07:35:43,486: DEBUG - + declare -Ar args_array
2019-09-28 07:35:43,487: DEBUG - + local file
2019-09-28 07:35:43,488: DEBUG - + ynh_handle_getopts_args ‘’
2019-09-28 07:35:43,489: DEBUG - + set +x
2019-09-28 07:35:43,490: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-09-28 07:35:43,491: DEBUG - + set +x
2019-09-28 07:35:43,492: DEBUG - + local ‘forbidden_path= /var/www /home/yunohost.app’
2019-09-28 07:35:43,492: DEBUG - + ‘[’ 1 -ge 2 ‘]’
2019-09-28 07:35:43,493: DEBUG - + [[ /var/www /home/yunohost.app =~ ‘’ ]]
2019-09-28 07:35:43,494: DEBUG - + ynh_print_warn ‘–message=Avoid deleting .’
2019-09-28 07:35:43,495: DEBUG - + local legacy_args=m
2019-09-28 07:35:43,496: DEBUG - + args_array=([m]=message=)
2019-09-28 07:35:43,497: DEBUG - + declare -Ar args_array
2019-09-28 07:35:43,497: WARNING -
2019-09-28 07:35:43,500: DEBUG - + local message
2019-09-28 07:35:43,501: DEBUG - + ynh_handle_getopts_args ‘–message=Avoid deleting .’
2019-09-28 07:35:43,501: DEBUG - + set +x
2019-09-28 07:35:43,502: DEBUG - + ynh_print_log ‘\e[93m\e[1m[WARN]\e[0m Avoid deleting .’
2019-09-28 07:35:43,503: DEBUG - + echo -e ‘\e[93m\e[1m[WARN]\e[0m Avoid deleting .’
2019-09-28 07:35:43,504: DEBUG - e[93me[1m[WARN]e[0m Avoid deleting .
2019-09-28 07:35:43,504: DEBUG - + ynh_die
2019-09-28 07:35:43,505: DEBUG - + local legacy_args=mc
2019-09-28 07:35:43,505: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-09-28 07:35:43,506: DEBUG - + declare -Ar args_array
2019-09-28 07:35:43,507: DEBUG - + local message
2019-09-28 07:35:43,507: DEBUG - + local ret_code
2019-09-28 07:35:43,508: DEBUG - + ynh_handle_getopts_args
2019-09-28 07:35:43,508: DEBUG - + set +x
2019-09-28 07:35:43,509: DEBUG - + echo ‘’
2019-09-28 07:35:43,509: DEBUG - + exit 1

Bonjour,

Je pense qu’il faut un (sous) domaine spécifique pour installer Wiki.js.

I understand that there is a conflict with another installed app. What can I Do? Sorry, no french. - Thunderfox

Install the application on a dedicated domain or subdomain.
Your domain is yourdomain.tld, create a subdomain, for example, wiki.yourdomain.tld.
You can also wait for expert advice to confirm, or not, this solution and manage the DNS of the subdomain…

Thank you for the advice. With the subdomain wiki.yunohost.local I can install Wiki.js. But it is not possible to start it. When I will start it as a user, the server wiki.yunohost.local could not found. My Yunohost runs on an Raspi, only local.

The use of Wiki.js on an localhost does not work for me. See also https://forum.yunohost.org/t/domains-and-subdomains/9119/5. I give up.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.