GithubHelp home page GithubHelp logo

yunohost-apps / rocketchat_ynh Goto Github PK

View Code? Open in Web Editor NEW
16.0 6.0 20.0 26.11 MB

Rocket.Chat package for YunoHost

Home Page: https://rocket.chat/

License: GNU General Public License v3.0

Shell 100.00%
yunohost-apps rocketchat

rocketchat_ynh's Introduction

Rocket.Chat for YunoHost

Integration level Working status Maintenance status

Install Rocket.Chat with YunoHost

Read this README in other languages.

This package allows you to install Rocket.Chat quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

Rocket.Chat is an open-source fully customizable communications platform developed in JavaScript for organizations with high standards of data protection.

Features

  • End to End Encryption
  • Multifactor Authentication
  • Customizable User Permission
  • Mobile Apps for iOS and Android
  • Desktop Apps for macOS, Linux and Windows

Shipped version: 6.6.3~ynh1

Demo: https://cloud.rocket.chat/trial

Screenshots

Screenshot of Rocket.Chat

🔴 Antifeatures

  • Not totally free upstream: The packaged app is under an overall free licence, but with clauses that restrict its use.

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that:

sudo yunohost app install https://github.com/YunoHost-Apps/rocketchat_ynh/tree/testing --debug
or
sudo yunohost app upgrade rocketchat -u https://github.com/YunoHost-Apps/rocketchat_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

rocketchat_ynh's People

Contributors

alexaubin avatar dicer avatar ericgaspar avatar mod242 avatar orhtej2 avatar plopoyop avatar realitygaps avatar selamanse avatar stilobique avatar yalh76 avatar yunohost-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rocketchat_ynh's Issues

Update to 0.73.2 failed

Logfile Output
2019-02-02 20:14:26,887: WARNING - Warning: apt-key output should not be parsed (stdout is not a terminal) 2019-02-02 20:14:31,919: WARNING - tar (child): /var/lib/rocketchat/rocket.chat-0.73.2.gtar: Cannot open: No such file or directory 2019-02-02 20:14:31,922: WARNING - tar (child): Error is not recoverable: exiting now 2019-02-02 20:14:31,923: WARNING - tar: Child returned status 2 2019-02-02 20:14:31,924: WARNING - tar: Error is not recoverable: exiting now 2019-02-02 20:14:31,924: WARNING - !! 2019-02-02 20:14:31,925: WARNING - rocketchat's script has encountered an error. Its execution was cancelled. 2019-02-02 20:14:31,925: WARNING - !! 2019-02-02 20:14:31,925: WARNING - 2019-02-02 20:14:32,036: ERROR - Unable to upgrade rocketchat

I think this part from upgrade script doesn't work

echo "Downloading rocket.chat-$ROCKETCHAT_VERSION.gtar from ${ROCKETCHAT_DOWNLOAD_URI}."
sudo curl -s -L -o $final_path/rocket.chat-$ROCKETCHAT_VERSION.gtar "${ROCKETCHAT_DOWNLOAD_URI}"
SHA_DOWNLOAD=$(sha256sum $final_path/rocket.chat-$ROCKETCHAT_VERSION.gtar | grep -o "^[a-f0-9]*")
if [[ ! "$SHA_DOWNLOAD" == "$ROCKETCHAT_SHASUM" ]]; then
ynh_die "The sha256sum does not match the configured one"
fi

sudo systemctl stop rocketchat

sudo rm -rf $final_path
sudo mkdir -p $final_path

installnode

sudo tar -xzf $final_path/rocket.chat-$ROCKETCHAT_VERSION.gtar -C $final_path --strip-components=1 bundle
sudo rm $final_path/rocket.chat-$ROCKETCHAT_VERSION.gtar

Failed to install on RPI4 RPI OS-lite legacy with yunohost install script

Describe the bug

sorry for multiple same issue
The installation failed on my fresh install of yunohost.
The install is : Raspberry Pi 4 8Go with Raspberry Pi OS-lite legacy (Debian 10) and yunohost script installed on top.
This is to make sure that x64 packages works (as with yunohost RPI image it only support x32)

From the lgo it seems to be a problem with mongodb and dependancies not installing.

Context

  • Hardware: Raspberry Pi 4 8Go with Raspberry Pi OS Debian 10 and yunohost script installed on top.
  • YunoHost version: 4.3.4.2 stable
  • I have access to my server: *Through SSH YES| through the webadmin YES| direct access via keyboard / screen YES
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Steps to reproduce

  1. *Flash Raspberry pi OS legacy-lite (Debian 10)
  2. install with yunohost script
  3. install the rocketchat app
  4. See logs

Expected behavior

Should install normally

Logs

args:
app: rocketchat
args: domain=maindomain.tld&path=%2Frocketchat&admin=su&is_public=1&password='**********'
force: false
label: RocketChat
no_remove_on_failure: false
ended_at: 2021-12-10 21:22:59.055740
env:
YNH_APP_ARG_ADMIN: su
YNH_APP_ARG_DOMAIN: maindomain.tld
YNH_APP_ARG_IS_PUBLIC: '1'
YNH_APP_ARG_PATH: /rocketchat
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef
YNH_APP_ID: rocketchat
YNH_APP_INSTANCE_NAME: rocketchat
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 4.2.0~ynh1
YNH_ARCH: armhf
error: Une erreur est survenue dans le script d'installation de l'application
interface: api
operation: app_install
parent: null
related_to:

    • app
    • rocketchat
      started_at: 2021-12-10 21:21:52.699165
      success: false
      yunohost_version: 4.3.4.2

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

2021-12-10 22:21:52,718: INFO - Installation de rocketchat...
2021-12-10 22:21:52,824: DEBUG - Nothing to update in LDAP
2021-12-10 22:21:52,825: DEBUG - Permission 'rocketchat.main' mise à jour
2021-12-10 22:21:52,871: DEBUG - Journal complet de cette opération : ' Mise à jour de l'URL associée à l'autorisation 'rocketchat' '
2021-12-10 22:21:52,987: DEBUG - The permission database has been resynchronized
2021-12-10 22:21:53,060: DEBUG - La configuration de SSOwat a été regénérée
2021-12-10 22:21:53,135: DEBUG - Permission 'rocketchat.main' créée
2021-12-10 22:21:53,136: DEBUG - Journal complet de cette opération : ' Créer permission 'rocketchat' '
2021-12-10 22:21:53,174: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
2021-12-10 22:21:53,194: DEBUG - + source _common.sh
2021-12-10 22:21:53,195: DEBUG - ++ nodejs_version=12
2021-12-10 22:21:53,195: DEBUG - ++ pkg_dependencies='apt-transport-https build-essential gzip curl fontconfig graphicsmagick'
2021-12-10 22:21:53,195: DEBUG - ++ MONGO_DEBIAN_SERVICENAME=mongodb
2021-12-10 22:21:53,196: DEBUG - ++ MONGO_CE_SERVICENAME=mongod
2021-12-10 22:21:53,196: DEBUG - ++ MONGO_DEBIAN_DEPENDENCIES='mongodb mongodb-server mongo-tools'
2021-12-10 22:21:53,196: DEBUG - ++ MONGO_CE_DEPENDENCIES='mongodb-org mongodb-org-server mongodb-org-tools'
2021-12-10 22:21:53,197: DEBUG - ++ MONGO_DEBIAN_CONFIG=/etc/mongodb.conf
2021-12-10 22:21:53,197: DEBUG - ++ MONGO_CE_CONFIG=/etc/mongod.conf
2021-12-10 22:21:53,197: DEBUG - ++ MONGO_CE_REPO='deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main'
2021-12-10 22:21:53,198: DEBUG - ++ MONGO_CE_KEY=https://www.mongodb.org/static/pgp/server-5.0.asc
2021-12-10 22:21:53,198: DEBUG - + source /usr/share/yunohost/helpers
2021-12-10 22:21:53,199: DEBUG - +++ set +o
2021-12-10 22:21:53,201: DEBUG - +++ grep xtrace
2021-12-10 22:21:53,206: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-12-10 22:21:53,206: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-12-10 22:21:53,283: DEBUG - + ynh_abort_if_errors
2021-12-10 22:21:53,284: DEBUG - + trap ynh_exit_properly EXIT
2021-12-10 22:21:53,285: DEBUG - + domain=maindomain.tld
2021-12-10 22:21:53,285: DEBUG - + path_url=/rocketchat
2021-12-10 22:21:53,285: DEBUG - + is_public=1
2021-12-10 22:21:53,286: DEBUG - + password=**********
2021-12-10 22:21:53,286: DEBUG - + admin=su
2021-12-10 22:21:53,287: DEBUG - ++ ynh_user_get_info --username=su --key=mail
2021-12-10 22:21:53,378: DEBUG - ++ yunohost user info su --output-as json --quiet
2021-12-10 22:21:53,378: DEBUG - ++ jq -r .mail
2021-12-10 22:21:54,250: DEBUG - + email=[email protected]
2021-12-10 22:21:54,251: DEBUG - + app=rocketchat
2021-12-10 22:21:54,506: DEBUG - + final_path=/var/www/rocketchat
2021-12-10 22:21:54,506: INFO - [....................] > Validating installation parameters...
2021-12-10 22:21:54,508: DEBUG - + test '!' -e /var/www/rocketchat
2021-12-10 22:21:54,509: DEBUG - + ynh_webpath_register --app=rocketchat --domain=maindomain.tld --path_url=/rocketchat
2021-12-10 22:21:54,709: DEBUG - + yunohost app register-url rocketchat maindomain.tld /rocketchat
2021-12-10 22:21:56,318: DEBUG - + ynh_app_setting_set --app=rocketchat --key=domain --value=maindomain.tld
2021-12-10 22:21:56,318: DEBUG - + local globalapp=rocketchat
2021-12-10 22:21:56,321: INFO - [....................] > Storing installation settings...
2021-12-10 22:21:56,531: DEBUG - + app=rocketchat
2021-12-10 22:21:56,532: DEBUG - + [[ domain =~ (unprotected|protected|skipped)
]]
2021-12-10 22:21:56,532: DEBUG - + ynh_app_setting set rocketchat domain maindomain.tld
2021-12-10 22:21:56,693: DEBUG - + ynh_app_setting_set --app=rocketchat --key=path --value=/rocketchat
2021-12-10 22:21:56,694: DEBUG - + local globalapp=rocketchat
2021-12-10 22:21:56,893: DEBUG - + app=rocketchat
2021-12-10 22:21:56,894: DEBUG - + [[ path =~ (unprotected|protected|skipped)
]]
2021-12-10 22:21:56,895: DEBUG - + ynh_app_setting set rocketchat path /rocketchat
2021-12-10 22:21:57,022: DEBUG - + ynh_app_setting_set --app=rocketchat --key=admin --value=su
2021-12-10 22:21:57,022: DEBUG - + local globalapp=rocketchat
2021-12-10 22:21:57,223: DEBUG - + app=rocketchat
2021-12-10 22:21:57,223: DEBUG - + [[ admin =~ (unprotected|protected|skipped)
]]
2021-12-10 22:21:57,224: DEBUG - + ynh_app_setting set rocketchat admin su
2021-12-10 22:21:57,350: DEBUG - + ynh_app_setting_set --app=rocketchat --key=password --value=**********
2021-12-10 22:21:57,351: DEBUG - + local globalapp=rocketchat
2021-12-10 22:21:57,554: DEBUG - + app=rocketchat
2021-12-10 22:21:57,554: DEBUG - + [[ password =~ (unprotected|protected|skipped)
]]
2021-12-10 22:21:57,555: DEBUG - + ynh_app_setting set rocketchat password **********
2021-12-10 22:21:57,682: DEBUG - + ynh_app_setting_set --app=rocketchat --key=email --value=[email protected]
2021-12-10 22:21:57,683: DEBUG - + local globalapp=rocketchat
2021-12-10 22:21:57,883: DEBUG - + app=rocketchat
2021-12-10 22:21:57,884: DEBUG - + [[ email =~ (unprotected|protected|skipped)
]]
2021-12-10 22:21:57,885: DEBUG - + ynh_app_setting set rocketchat email [email protected]
2021-12-10 22:21:58,301: INFO - [+...................] > Finding an available port...
2021-12-10 22:21:58,303: DEBUG - ++ ynh_find_port --port=3000
2021-12-10 22:21:58,353: DEBUG - ++ test -n 3000
2021-12-10 22:21:58,353: DEBUG - ++ ynh_port_available --port=3000
2021-12-10 22:21:58,401: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-12-10 22:21:58,403: DEBUG - ++ awk '{print$5}'
2021-12-10 22:21:58,404: DEBUG - ++ grep --quiet --extended-regexp ':3000$'
2021-12-10 22:21:58,450: DEBUG - ++ grep -q 'port: '''3000'''' /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/rocketchat/settings.yml
2021-12-10 22:21:58,456: DEBUG - ++ return 0
2021-12-10 22:21:58,457: DEBUG - ++ echo 3000
2021-12-10 22:21:58,458: DEBUG - + port=3000
2021-12-10 22:21:58,459: DEBUG - + ynh_app_setting_set --app=rocketchat --key=port --value=3000
2021-12-10 22:21:58,460: DEBUG - + local globalapp=rocketchat
2021-12-10 22:21:58,786: DEBUG - + app=rocketchat
2021-12-10 22:21:58,787: DEBUG - + [[ port =~ (unprotected|protected|skipped)
]]
2021-12-10 22:21:58,787: DEBUG - + ynh_app_setting set rocketchat port 3000
2021-12-10 22:21:59,190: DEBUG - + ynh_install_app_dependencies apt-transport-https build-essential gzip curl fontconfig graphicsmagick
2021-12-10 22:21:59,190: INFO - [#++++++.............] > Installing dependencies...
2021-12-10 22:21:59,192: DEBUG - + local 'dependencies=apt-transport-https build-essential gzip curl fontconfig graphicsmagick'
2021-12-10 22:21:59,192: DEBUG - ++ echo 'apt-transport-https build-essential gzip curl fontconfig graphicsmagick'
2021-12-10 22:21:59,193: DEBUG - ++ sed 's/([^\<=\>])\ ([^(])/\1, \2/g'
2021-12-10 22:21:59,200: DEBUG - + dependencies='apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick'
2021-12-10 22:21:59,200: DEBUG - + local 'dependencies=apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick'
2021-12-10 22:21:59,201: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/manifest.json
2021-12-10 22:21:59,202: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/manifest.json
2021-12-10 22:21:59,211: DEBUG - + local version=4.2.0ynh1
2021-12-10 22:21:59,212: DEBUG - + '[' -z 4.2.0
ynh1 ']'
2021-12-10 22:21:59,212: DEBUG - + '[' 4.2.0ynh1 == null ']'
2021-12-10 22:21:59,213: DEBUG - + local dep_app=rocketchat
2021-12-10 22:21:59,213: DEBUG - + [[ apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick =
[<=>] ]]
2021-12-10 22:21:59,215: DEBUG - ++ echo apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick
2021-12-10 22:21:59,216: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|>)'
2021-12-10 22:21:59,217: DEBUG - ++ sort -u
2021-12-10 22:21:59,222: DEBUG - + local specific_php_version=
2021-12-10 22:21:59,223: DEBUG - + [[ '' != \7.\3 ]]
2021-12-10 22:21:59,224: DEBUG - + [[ true == \t\r\u\e ]]
2021-12-10 22:21:59,224: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2021-12-10 22:21:59,224: DEBUG - + grep --quiet php
2021-12-10 22:21:59,228: DEBUG - + cat
2021-12-10 22:21:59,233: DEBUG - + ynh_package_install_from_equivs /tmp/rocketchat-ynh-deps.control
2021-12-10 22:21:59,234: DEBUG - + local controlfile=/tmp/rocketchat-ynh-deps.control
2021-12-10 22:21:59,237: DEBUG - ++ grep '^Package: ' /tmp/rocketchat-ynh-deps.control
2021-12-10 22:21:59,237: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-12-10 22:21:59,243: DEBUG - + local pkgname=rocketchat-ynh-deps
2021-12-10 22:21:59,246: DEBUG - ++ grep '^Version: ' /tmp/rocketchat-ynh-deps.control
2021-12-10 22:21:59,247: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-12-10 22:21:59,253: DEBUG - + local pkgversion=4.2.0ynh1
2021-12-10 22:21:59,253: DEBUG - + [[ -z rocketchat-ynh-deps ]]
2021-12-10 22:21:59,254: DEBUG - + [[ -z 4.2.0
ynh1 ]]
2021-12-10 22:21:59,254: DEBUG - + ynh_package_update
2021-12-10 22:21:59,255: DEBUG - + ynh_apt update
2021-12-10 22:21:59,255: DEBUG - + ynh_wait_dpkg_free
2021-12-10 22:21:59,562: DEBUG - + return 0
2021-12-10 22:21:59,563: DEBUG - + LC_ALL=C
2021-12-10 22:21:59,563: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-10 22:21:59,564: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-12-10 22:21:59,849: DEBUG - Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
2021-12-10 22:21:59,850: DEBUG - Hit:2 http://archive.raspberrypi.org/debian buster InRelease
2021-12-10 22:21:59,851: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease
2021-12-10 22:22:03,832: DEBUG - Reading package lists...
2021-12-10 22:22:03,940: DEBUG - ++ mktemp --directory
2021-12-10 22:22:03,944: DEBUG - + local TMPDIR=/tmp/tmp.4kvZeXYNOq
2021-12-10 22:22:03,945: DEBUG - + echo 10
2021-12-10 22:22:03,945: DEBUG - + ynh_wait_dpkg_free
2021-12-10 22:22:04,216: DEBUG - + return 0
2021-12-10 22:22:04,217: DEBUG - + cp /tmp/rocketchat-ynh-deps.control /tmp/tmp.4kvZeXYNOq/control
2021-12-10 22:22:04,223: DEBUG - + cd /tmp/tmp.4kvZeXYNOq
2021-12-10 22:22:04,223: DEBUG - + LC_ALL=C
2021-12-10 22:22:04,224: DEBUG - + equivs-build ./control
2021-12-10 22:22:06,406: DEBUG - + LC_ALL=C
2021-12-10 22:22:06,406: DEBUG - + dpkg --force-depends --install ./rocketchat-ynh-deps_4.2.0ynh1_all.deb
2021-12-10 22:22:06,408: DEBUG - + tee ./dpkg_log
2021-12-10 22:22:06,541: DEBUG - Selecting previously unselected package rocketchat-ynh-deps.
2021-12-10 22:22:06,649: DEBUG - (Reading database ... 58280 files and directories currently installed.)
2021-12-10 22:22:06,656: DEBUG - Preparing to unpack .../rocketchat-ynh-deps_4.2.0
ynh1_all.deb ...
2021-12-10 22:22:06,671: DEBUG - Unpacking rocketchat-ynh-deps (4.2.0ynh1) ...
2021-12-10 22:22:06,772: DEBUG - dpkg: rocketchat-ynh-deps: dependency problems, but configuring anyway as you requested:
2021-12-10 22:22:06,773: DEBUG - rocketchat-ynh-deps depends on graphicsmagick; however:
2021-12-10 22:22:06,773: DEBUG - Package graphicsmagick is not installed.
2021-12-10 22:22:06,773: DEBUG -
2021-12-10 22:22:06,774: DEBUG - Setting up rocketchat-ynh-deps (4.2.0
ynh1) ...
2021-12-10 22:22:06,863: DEBUG - + ynh_package_install --fix-broken
2021-12-10 22:22:06,864: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-12-10 22:22:06,864: DEBUG - + ynh_wait_dpkg_free
2021-12-10 22:22:07,133: DEBUG - + return 0
2021-12-10 22:22:07,135: DEBUG - + LC_ALL=C
2021-12-10 22:22:07,135: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-10 22:22:07,136: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-12-10 22:22:07,738: DEBUG - Reading package lists...
2021-12-10 22:22:08,237: DEBUG - Building dependency tree...
2021-12-10 22:22:08,240: DEBUG - Reading state information...
2021-12-10 22:22:08,684: DEBUG - Correcting dependencies... Done
2021-12-10 22:22:09,382: DEBUG - The following additional packages will be installed:
2021-12-10 22:22:09,386: DEBUG - graphicsmagick libgraphicsmagick-q16-3 libice6 libsm6 x11-common
2021-12-10 22:22:09,392: DEBUG - Suggested packages:
2021-12-10 22:22:09,393: DEBUG - graphicsmagick-dbg
2021-12-10 22:22:09,453: DEBUG - The following NEW packages will be installed:
2021-12-10 22:22:09,458: DEBUG - graphicsmagick libgraphicsmagick-q16-3 libice6 libsm6 x11-common
2021-12-10 22:22:09,822: DEBUG - 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
2021-12-10 22:22:09,823: DEBUG - Need to get 2365 kB of archives.
2021-12-10 22:22:09,823: DEBUG - After this operation, 8851 kB of additional disk space will be used.
2021-12-10 22:22:09,823: DEBUG - Get:1 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf x11-common all 1:7.7+19 [251 kB]
2021-12-10 22:22:10,118: DEBUG - Get:2 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf libice6 armhf 2:1.0.9-2 [51.6 kB]
2021-12-10 22:22:10,163: DEBUG - Get:3 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf libsm6 armhf 2:1.2.3-1 [32.9 kB]
2021-12-10 22:22:10,304: DEBUG - Get:4 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf libgraphicsmagick-q16-3 armhf 1.4+really1.3.35-1deb10u1 [1048 kB]
2021-12-10 22:22:11,653: DEBUG - Get:5 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf graphicsmagick armhf 1.4+really1.3.35-1
deb10u1 [981 kB]
2021-12-10 22:22:13,645: DEBUG - Fetched 2365 kB in 3s (843 kB/s)
2021-12-10 22:22:13,765: DEBUG - Selecting previously unselected package x11-common.
2021-12-10 22:22:13,873: DEBUG - (Reading database ... 58284 files and directories currently installed.)
2021-12-10 22:22:13,880: DEBUG - Preparing to unpack .../x11-common_1%3a7.7+19_all.deb ...
2021-12-10 22:22:13,895: DEBUG - Unpacking x11-common (1:7.7+19) ...
2021-12-10 22:22:14,108: DEBUG - Selecting previously unselected package libice6:armhf.
2021-12-10 22:22:14,124: DEBUG - Preparing to unpack .../libice6_2%3a1.0.9-2_armhf.deb ...
2021-12-10 22:22:14,152: DEBUG - Unpacking libice6:armhf (2:1.0.9-2) ...
2021-12-10 22:22:14,320: DEBUG - Selecting previously unselected package libsm6:armhf.
2021-12-10 22:22:14,338: DEBUG - Preparing to unpack .../libsm6_2%3a1.2.3-1_armhf.deb ...
2021-12-10 22:22:14,354: DEBUG - Unpacking libsm6:armhf (2:1.2.3-1) ...
2021-12-10 22:22:14,520: DEBUG - Selecting previously unselected package libgraphicsmagick-q16-3.
2021-12-10 22:22:14,533: DEBUG - Preparing to unpack .../libgraphicsmagick-q16-3_1.4+really1.3.35-1deb10u1_armhf.deb ...
2021-12-10 22:22:14,548: DEBUG - Unpacking libgraphicsmagick-q16-3 (1.4+really1.3.35-1
deb10u1) ...
2021-12-10 22:22:14,967: DEBUG - Selecting previously unselected package graphicsmagick.
2021-12-10 22:22:14,978: DEBUG - Preparing to unpack .../graphicsmagick_1.4+really1.3.35-1deb10u1_armhf.deb ...
2021-12-10 22:22:14,998: DEBUG - Unpacking graphicsmagick (1.4+really1.3.35-1
deb10u1) ...
2021-12-10 22:22:15,694: DEBUG - Setting up x11-common (1:7.7+19) ...
2021-12-10 22:22:15,919: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-12-10 22:22:16,232: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-12-10 22:22:16,282: DEBUG - update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
2021-12-10 22:22:17,511: DEBUG - Setting up libice6:armhf (2:1.0.9-2) ...
2021-12-10 22:22:17,550: DEBUG - Setting up libsm6:armhf (2:1.2.3-1) ...
2021-12-10 22:22:17,595: DEBUG - Setting up libgraphicsmagick-q16-3 (1.4+really1.3.35-1deb10u1) ...
2021-12-10 22:22:17,636: DEBUG - Setting up graphicsmagick (1.4+really1.3.35-1
deb10u1) ...
2021-12-10 22:22:17,683: DEBUG - Processing triggers for systemd (241-7deb10u8+rpi1) ...
2021-12-10 22:22:18,253: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2021-12-10 22:22:18,823: DEBUG - Processing triggers for mime-support (3.62) ...
2021-12-10 22:22:18,901: DEBUG - Processing triggers for libc-bin (2.28-10+rpt2+rpi1) ...
2021-12-10 22:22:19,538: DEBUG - + [[ -n /tmp/tmp.4kvZeXYNOq ]]
2021-12-10 22:22:19,538: DEBUG - + rm --recursive --force /tmp/tmp.4kvZeXYNOq
2021-12-10 22:22:19,541: DEBUG - + ynh_package_is_installed rocketchat-ynh-deps
2021-12-10 22:22:19,571: DEBUG - + ynh_wait_dpkg_free
2021-12-10 22:22:19,877: DEBUG - + return 0
2021-12-10 22:22:19,878: DEBUG - + dpkg-query --show '--showformat=${Status}' rocketchat-ynh-deps
2021-12-10 22:22:19,879: DEBUG - + grep --count 'ok installed'
2021-12-10 22:22:19,922: DEBUG - + rm /tmp/rocketchat-ynh-deps.control
2021-12-10 22:22:19,926: DEBUG - + grep --quiet php
2021-12-10 22:22:19,932: DEBUG - + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=12
2021-12-10 22:22:19,932: DEBUG - + [[ 2 -eq 1 ]]
2021-12-10 22:22:19,933: DEBUG - + ynh_install_nodejs --nodejs_version=12
2021-12-10 22:22:19,963: DEBUG - + mkdir --parents /opt/node_n
2021-12-10 22:22:19,968: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-10 22:22:19,971: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-10 22:22:19,972: DEBUG - ++ sed s@/usr/local/bin:@@
2021-12-10 22:22:19,979: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-10 22:22:19,980: DEBUG - + test -x /usr/bin/node
2021-12-10 22:22:19,980: DEBUG - + test -x /usr/bin/npm
2021-12-10 22:22:19,981: DEBUG - + /opt/node_n/bin/n --version
2021-12-10 22:22:19,982: DEBUG - + ynh_install_n
2021-12-10 22:22:19,984: DEBUG - SOURCE_SUM=8703ae88fd06ce7f2d0f4018d68bfbab7b26859ed86a86ce4b8f25d2110aee2f'
2021-12-10 22:22:19,984: DEBUG - + ynh_setup_source --dest_dir=/opt/node_n/git --source_id=n
2021-12-10 22:22:20,159: DEBUG - + source_id=n
2021-12-10 22:22:20,160: DEBUG - + keep=
2021-12-10 22:22:20,160: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/conf/n.src
2021-12-10 22:22:20,164: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/conf/n.src
2021-12-10 22:22:20,165: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-10 22:22:20,172: DEBUG - + local src_url=https://github.com/tj/n/archive/v8.0.1.tar.gz
2021-12-10 22:22:20,176: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/conf/n.src
2021-12-10 22:22:20,177: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-10 22:22:20,186: DEBUG - + local src_sum=8703ae88fd06ce7f2d0f4018d68bfbab7b26859ed86a86ce4b8f25d2110aee2f
2021-12-10 22:22:20,190: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/conf/n.src
2021-12-10 22:22:20,192: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-10 22:22:20,199: DEBUG - + local src_sumprg=
2021-12-10 22:22:20,203: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/conf/n.src
2021-12-10 22:22:20,205: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-10 22:22:20,212: DEBUG - + local src_format=
2021-12-10 22:22:20,217: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/conf/n.src
2021-12-10 22:22:20,217: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-10 22:22:20,226: DEBUG - + local src_extract=
2021-12-10 22:22:20,230: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/conf/n.src
2021-12-10 22:22:20,231: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-10 22:22:20,239: DEBUG - + local src_in_subdir=
2021-12-10 22:22:20,244: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/conf/n.src
2021-12-10 22:22:20,245: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-10 22:22:20,252: DEBUG - + local src_filename=
2021-12-10 22:22:20,253: DEBUG - + src_sumprg=sha256sum
2021-12-10 22:22:20,253: DEBUG - + src_in_subdir=true
2021-12-10 22:22:20,253: DEBUG - + src_format=tar.gz
2021-12-10 22:22:20,255: DEBUG - ++ echo tar.gz
2021-12-10 22:22:20,257: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2021-12-10 22:22:20,262: DEBUG - + src_format=tar.gz
2021-12-10 22:22:20,262: DEBUG - + src_extract=true
2021-12-10 22:22:20,263: DEBUG - + '[' '' = '' ']'
2021-12-10 22:22:20,263: DEBUG - + src_filename=n.tar.gz
2021-12-10 22:22:20,263: DEBUG - + local local_src=/opt/yunohost-apps-src/rocketchat/n.tar.gz
2021-12-10 22:22:20,264: DEBUG - + mkdir -p /var/cache/yunohost/download/rocketchat/
2021-12-10 22:22:20,267: DEBUG - + src_filename=/var/cache/yunohost/download/rocketchat/n.tar.gz
2021-12-10 22:22:20,267: DEBUG - + test -e /opt/yunohost-apps-src/rocketchat/n.tar.gz
2021-12-10 22:22:20,268: DEBUG - + '[' -n https://github.com/tj/n/archive/v8.0.1.tar.gz ']'
2021-12-10 22:22:20,269: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/rocketchat/n.tar.gz https://github.com/tj/n/archive/v8.0.1.tar.gz
2021-12-10 22:22:21,055: DEBUG - + out='2021-12-10 22:22:21 URL:https://codeload.github.com/tj/n/tar.gz/v8.0.1 [34303] -> "/var/cache/yunohost/download/rocketchat/n.tar.gz" [1]'
2021-12-10 22:22:21,059: DEBUG - + sha256sum --check --status
2021-12-10 22:22:21,067: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-12-10 22:22:21,075: DEBUG - + '[' -n '' ']'
2021-12-10 22:22:21,075: DEBUG - + mkdir --parents /opt/node_n/git
2021-12-10 22:22:21,083: DEBUG - + '[' -n /var/www/rocketchat ']'
2021-12-10 22:22:21,085: DEBUG - + '[' /opt/node_n/git == /var/www/rocketchat ']'
2021-12-10 22:22:21,085: DEBUG - + true
2021-12-10 22:22:21,086: DEBUG - + '[' tar.gz = zip ']'
2021-12-10 22:22:21,087: DEBUG - + local strip=
2021-12-10 22:22:21,088: DEBUG - + '[' true '!=' false ']'
2021-12-10 22:22:21,088: DEBUG - + '[' true == true ']'
2021-12-10 22:22:21,089: DEBUG - + local sub_dirs=1
2021-12-10 22:22:21,090: DEBUG - + strip='--strip-components 1'
2021-12-10 22:22:21,090: DEBUG - + [[ tar.gz =
^tar.gz|tar.bz2|tar.xz$ ]]
2021-12-10 22:22:21,091: DEBUG - + tar --extract --file=/var/cache/yunohost/download/rocketchat/n.tar.gz --directory=/opt/node_n/git --strip-components 1
2021-12-10 22:22:21,117: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/rocketchat/n.tar.gz
2021-12-10 22:22:21,218: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/sources/patches/ ']'
2021-12-10 22:22:21,218: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/sources/extra_files/n
2021-12-10 22:22:21,219: DEBUG - + '[' -n '' ']'
2021-12-10 22:22:21,219: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-12-10 22:22:21,225: DEBUG - + cd /opt/node_n/git
2021-12-10 22:22:21,226: DEBUG - + PREFIX=/opt/node_n
2021-12-10 22:22:21,226: DEBUG - + make install
2021-12-10 22:22:21,236: DEBUG - mkdir -p /opt/node_n/bin/
2021-12-10 22:22:21,241: DEBUG - cp bin/n /opt/node_n/bin/n
2021-12-10 22:22:21,249: DEBUG - + ynh_replace_string '--match_string=^N_PREFIX=${N_PREFIX-.}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
2021-12-10 22:22:21,597: DEBUG - + sed --in-place 's@^N_PREFIX=${N_PREFIX-.
}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
2021-12-10 22:22:21,607: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-10 22:22:21,608: DEBUG - + test -x /usr/bin/node_n
2021-12-10 22:22:21,608: DEBUG - + test -x /usr/bin/npm_n
2021-12-10 22:22:21,610: DEBUG - ++ uname --machine
2021-12-10 22:22:21,615: DEBUG - + uname=armv7l
2021-12-10 22:22:21,616: DEBUG - + [[ armv7l =~ aarch64 ]]
2021-12-10 22:22:21,617: DEBUG - + [[ armv7l =~ arm64 ]]
2021-12-10 22:22:21,617: DEBUG - + n 12
2021-12-10 22:22:21,868: DEBUG - installing : node-v12.22.7
2021-12-10 22:22:22,013: DEBUG - mkdir : /opt/node_n/n/versions/node/12.22.7
2021-12-10 22:22:22,021: DEBUG - fetch : https://nodejs.org/dist/v12.22.7/node-v12.22.7-linux-armv7l.tar.xz
2021-12-10 22:22:30,711: DEBUG - installed : v12.22.7 (with npm 6.14.15)
2021-12-10 22:22:30,716: DEBUG - ++ sort --version-sort
2021-12-10 22:22:30,717: DEBUG - ++ find /opt/node_n/n/versions/node/12.22.7 -maxdepth 0
2021-12-10 22:22:30,717: DEBUG - ++ tail --lines=1
2021-12-10 22:22:30,723: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/12.22.7
2021-12-10 22:22:30,724: DEBUG - ++ basename /opt/node_n/n/versions/node/12.22.7
2021-12-10 22:22:30,729: DEBUG - + real_nodejs_version=12.22.7
2021-12-10 22:22:30,729: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/12 ']'
2021-12-10 22:22:30,730: DEBUG - + ln --symbolic --force --no-target-directory /opt/node_n/n/versions/node/12.22.7 /opt/node_n/n/versions/node/12
2021-12-10 22:22:30,733: DEBUG - + echo rocketchat:12
2021-12-10 22:22:30,734: DEBUG - + tee --append /opt/node_n/ynh_app_version
2021-12-10 22:22:30,737: DEBUG - rocketchat:12
2021-12-10 22:22:30,738: DEBUG - + ynh_app_setting_set --app=rocketchat --key=nodejs_version --value=12
2021-12-10 22:22:30,739: DEBUG - + local globalapp=rocketchat
2021-12-10 22:22:30,942: DEBUG - + app=rocketchat
2021-12-10 22:22:30,943: DEBUG - + [[ nodejs_version =~ (unprotected|protected|skipped)
]]
2021-12-10 22:22:30,943: DEBUG - + ynh_app_setting set rocketchat nodejs_version 12
2021-12-10 22:22:31,076: DEBUG - + ynh_cron_upgrade_node
2021-12-10 22:22:31,076: DEBUG - + cat
2021-12-10 22:22:31,081: DEBUG - + chmod +x /opt/node_n/node_update.sh
2021-12-10 22:22:31,084: DEBUG - + cat
2021-12-10 22:22:31,090: DEBUG - + chmod +x /etc/cron.daily/node_update
2021-12-10 22:22:31,093: DEBUG - + ynh_use_nodejs
2021-12-10 22:22:31,095: DEBUG - ++ ynh_app_setting_get --app=rocketchat --key=nodejs_version
2021-12-10 22:22:31,096: DEBUG - ++ local globalapp=rocketchat
2021-12-10 22:22:31,195: DEBUG - ++ app=rocketchat
2021-12-10 22:22:31,196: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)
]]
2021-12-10 22:22:31,196: DEBUG - ++ ynh_app_setting get rocketchat nodejs_version
2021-12-10 22:22:31,324: DEBUG - + nodejs_version=12
2021-12-10 22:22:31,324: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/12/bin
2021-12-10 22:22:31,325: DEBUG - + shopt -s expand_aliases
2021-12-10 22:22:31,325: DEBUG - + ynh_node=/opt/node_n/n/versions/node/12/bin/node
2021-12-10 22:22:31,326: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/12/bin/node
2021-12-10 22:22:31,326: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/12/bin/npm
2021-12-10 22:22:31,327: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/12/bin/npm
2021-12-10 22:22:31,327: DEBUG - + [[ :/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: != :/\o\p\t/\n\o\d\e_\n/\n/\v\e\r\s\i\o\n\s/\n\o\d\e/\1\2/\b\i\n ]]
2021-12-10 22:22:31,327: DEBUG - + PATH=/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-10 22:22:31,328: DEBUG - + node_PATH=/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-10 22:22:31,328: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-10 22:22:31,328: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-10 22:22:31,329: DEBUG - + ynh_install_mongo
2021-12-10 22:22:31,554: INFO - [#######++...........] > Installing MongoDB...
2021-12-10 22:22:31,557: DEBUG - +++ cat /etc/debian_version
2021-12-10 22:22:31,563: DEBUG - ++ dpkg --compare-versions 10.11 gt 10.0
2021-12-10 22:22:31,576: DEBUG - + ynh_install_extra_app_dependencies '--repo=deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main' '--package=mongodb-org mongodb-org-server mongodb-org-tools' --key=https://www.mongodb.org/static/pgp/server-5.0.asc
2021-12-10 22:22:31,966: DEBUG - + name=rocketchat
2021-12-10 22:22:31,967: DEBUG - + key=https://www.mongodb.org/static/pgp/server-5.0.asc
2021-12-10 22:22:31,968: DEBUG - + '[' -n https://www.mongodb.org/static/pgp/server-5.0.asc ']'
2021-12-10 22:22:31,968: DEBUG - + key=--key=https://www.mongodb.org/static/pgp/server-5.0.asc
2021-12-10 22:22:31,968: DEBUG - + ynh_install_extra_repo '--repo=deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main' --key=https://www.mongodb.org/static/pgp/server-5.0.asc --priority=995 --name=rocketchat
2021-12-10 22:22:32,414: DEBUG - + name=rocketchat
2021-12-10 22:22:32,415: DEBUG - + append=0
2021-12-10 22:22:32,416: DEBUG - + key=https://www.mongodb.org/static/pgp/server-5.0.asc
2021-12-10 22:22:32,416: DEBUG - + priority=995
2021-12-10 22:22:32,417: DEBUG - + append=
2021-12-10 22:22:32,417: DEBUG - + wget_append=tee
2021-12-10 22:22:32,418: DEBUG - + repo='http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main'
2021-12-10 22:22:32,418: DEBUG - ++ echo 'http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main'
2021-12-10 22:22:32,419: DEBUG - ++ awk '{ print $1 }'
2021-12-10 22:22:32,428: DEBUG - + local uri=http://repo.mongodb.org/apt/debian
2021-12-10 22:22:32,430: DEBUG - ++ echo 'http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main'
2021-12-10 22:22:32,431: DEBUG - ++ awk '{ print $2 }'
2021-12-10 22:22:32,440: DEBUG - + local suite=buster/mongodb-org/5.0
2021-12-10 22:22:32,441: DEBUG - + local component=main
2021-12-10 22:22:32,441: DEBUG - + ynh_add_repo --uri=http://repo.mongodb.org/apt/debian --suite=buster/mongodb-org/5.0 --component=main --name=rocketchat
2021-12-10 22:22:33,044: DEBUG - + name=rocketchat
2021-12-10 22:22:33,045: DEBUG - + append=0
2021-12-10 22:22:33,046: DEBUG - + append=tee
2021-12-10 22:22:33,047: DEBUG - + mkdir --parents /etc/apt/sources.list.d
2021-12-10 22:22:33,055: DEBUG - + tee /etc/apt/sources.list.d/rocketchat.list
2021-12-10 22:22:33,062: DEBUG - deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main
2021-12-10 22:22:33,065: DEBUG - + local pin=repo.mongodb.org/apt/debian
2021-12-10 22:22:33,066: DEBUG - + pin=repo.mongodb.org
2021-12-10 22:22:33,066: DEBUG - + '[' -n 995 ']'
2021-12-10 22:22:33,067: DEBUG - + priority=--priority=995
2021-12-10 22:22:33,068: DEBUG - + ynh_pin_repo '--package=' '--pin=origin "repo.mongodb.org"' --priority=995 --name=rocketchat
2021-12-10 22:22:33,687: DEBUG - + package='
'
2021-12-10 22:22:33,687: DEBUG - + priority=995
2021-12-10 22:22:33,688: DEBUG - + name=rocketchat
2021-12-10 22:22:33,688: DEBUG - + append=0
2021-12-10 22:22:33,689: DEBUG - + append=tee
2021-12-10 22:22:33,689: DEBUG - + [[ rocketchat != \e\x\t\r\a_\p\h\p_\v\e\r\s\i\o\n ]]
2021-12-10 22:22:33,690: DEBUG - + mkdir --parents /etc/apt/preferences.d
2021-12-10 22:22:33,693: DEBUG - Pin: origin "repo.mongodb.org"
2021-12-10 22:22:33,694: DEBUG - Pin-Priority: 995
2021-12-10 22:22:33,694: DEBUG - '
2021-12-10 22:22:33,695: DEBUG - + tee /etc/apt/preferences.d/rocketchat
2021-12-10 22:22:33,699: DEBUG - Package: *
2021-12-10 22:22:33,699: DEBUG - Pin: origin "repo.mongodb.org"
2021-12-10 22:22:33,699: DEBUG - Pin-Priority: 995
2021-12-10 22:22:33,701: DEBUG -
2021-12-10 22:22:33,701: DEBUG - + '[' -n https://www.mongodb.org/static/pgp/server-5.0.asc ']'
2021-12-10 22:22:33,701: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d
2021-12-10 22:22:33,706: DEBUG - + wget --timeout 900 --quiet https://www.mongodb.org/static/pgp/server-5.0.asc --output-document=-
2021-12-10 22:22:33,707: DEBUG - + gpg --dearmor
2021-12-10 22:22:33,707: DEBUG - + tee /etc/apt/trusted.gpg.d/rocketchat.gpg
2021-12-10 22:22:34,255: DEBUG - + ynh_package_update
2021-12-10 22:22:34,255: DEBUG - + ynh_apt update
2021-12-10 22:22:34,256: DEBUG - + ynh_wait_dpkg_free
2021-12-10 22:22:34,565: DEBUG - + return 0
2021-12-10 22:22:34,566: DEBUG - + LC_ALL=C
2021-12-10 22:22:34,566: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-10 22:22:34,567: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-12-10 22:22:34,786: DEBUG - Hit:1 http://forge.yunohost.org/debian buster InRelease
2021-12-10 22:22:34,788: DEBUG - Hit:2 http://archive.raspberrypi.org/debian buster InRelease
2021-12-10 22:22:34,836: DEBUG - Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
2021-12-10 22:22:35,001: DEBUG - Ign:4 http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 InRelease
2021-12-10 22:22:35,215: DEBUG - Get:5 http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 Release [2396 B]
2021-12-10 22:22:35,346: DEBUG - Get:6 http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 Release.gpg [801 B]
2021-12-10 22:22:36,209: DEBUG - Fetched 3197 B in 1s (2204 B/s)
2021-12-10 22:22:39,103: DEBUG - Reading package lists...
2021-12-10 22:22:39,149: DEBUG - + ynh_install_app_dependencies 'mongodb-org mongodb-org-server mongodb-org-tools'
2021-12-10 22:22:39,150: DEBUG - + local 'dependencies=mongodb-org mongodb-org-server mongodb-org-tools'
2021-12-10 22:22:39,152: DEBUG - ++ echo 'mongodb-org mongodb-org-server mongodb-org-tools'
2021-12-10 22:22:39,153: DEBUG - ++ sed 's/([^\<=\>])\ ([^(])/\1, \2/g'
2021-12-10 22:22:39,161: DEBUG - + dependencies='mongodb-org, mongodb-org-server, mongodb-org-tools'
2021-12-10 22:22:39,162: DEBUG - + local 'dependencies=mongodb-org, mongodb-org-server, mongodb-org-tools'
2021-12-10 22:22:39,162: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/manifest.json
2021-12-10 22:22:39,163: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_94u6ftef/manifest.json
2021-12-10 22:22:39,173: DEBUG - + local version=4.2.0ynh1
2021-12-10 22:22:39,174: DEBUG - + '[' -z 4.2.0
ynh1 ']'
2021-12-10 22:22:39,174: DEBUG - + '[' 4.2.0ynh1 == null ']'
2021-12-10 22:22:39,175: DEBUG - + local dep_app=rocketchat
2021-12-10 22:22:39,175: DEBUG - + [[ mongodb-org, mongodb-org-server, mongodb-org-tools =
[<=>] ]]
2021-12-10 22:22:39,176: DEBUG - ++ echo mongodb-org, mongodb-org-server, mongodb-org-tools
2021-12-10 22:22:39,177: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|>)'
2021-12-10 22:22:39,178: DEBUG - ++ sort -u
2021-12-10 22:22:39,186: DEBUG - + local specific_php_version=
2021-12-10 22:22:39,186: DEBUG - + [[ '' != \7.\3 ]]
2021-12-10 22:22:39,187: DEBUG - + [[ false == \t\r\u\e ]]
2021-12-10 22:22:39,187: DEBUG - + local current_dependencies=
2021-12-10 22:22:39,187: DEBUG - + ynh_package_is_installed --package=rocketchat-ynh-deps
2021-12-10 22:22:39,217: DEBUG - + ynh_wait_dpkg_free
2021-12-10 22:22:39,507: DEBUG - + return 0
2021-12-10 22:22:39,509: DEBUG - + dpkg-query --show '--showformat=${Status}' rocketchat-ynh-deps
2021-12-10 22:22:39,510: DEBUG - + grep --count 'ok installed'
2021-12-10 22:22:39,559: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' rocketchat-ynh-deps
2021-12-10 22:22:39,601: DEBUG - + current_dependencies='apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick '
2021-12-10 22:22:39,601: DEBUG - + current_dependencies='apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick '
2021-12-10 22:22:39,602: DEBUG - + dependencies='apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick , mongodb-org, mongodb-org-server, mongodb-org-tools'
2021-12-10 22:22:39,603: DEBUG - + grep --quiet php
2021-12-10 22:22:39,609: DEBUG - + cat
2021-12-10 22:22:39,614: DEBUG - + ynh_package_install_from_equivs /tmp/rocketchat-ynh-deps.control
2021-12-10 22:22:39,615: DEBUG - + local controlfile=/tmp/rocketchat-ynh-deps.control
2021-12-10 22:22:39,619: DEBUG - ++ grep '^Package: ' /tmp/rocketchat-ynh-deps.control
2021-12-10 22:22:39,620: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-12-10 22:22:39,626: DEBUG - + local pkgname=rocketchat-ynh-deps
2021-12-10 22:22:39,629: DEBUG - ++ grep '^Version: ' /tmp/rocketchat-ynh-deps.control
2021-12-10 22:22:39,629: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-12-10 22:22:39,636: DEBUG - + local pkgversion=4.2.0ynh1
2021-12-10 22:22:39,637: DEBUG - + [[ -z rocketchat-ynh-deps ]]
2021-12-10 22:22:39,637: DEBUG - + [[ -z 4.2.0
ynh1 ]]
2021-12-10 22:22:39,638: DEBUG - + ynh_package_update
2021-12-10 22:22:39,638: DEBUG - + ynh_apt update
2021-12-10 22:22:39,638: DEBUG - + ynh_wait_dpkg_free
2021-12-10 22:22:40,500: DEBUG - + return 0
2021-12-10 22:22:40,501: DEBUG - + LC_ALL=C
2021-12-10 22:22:40,501: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-10 22:22:40,502: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-12-10 22:22:40,818: DEBUG - Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
2021-12-10 22:22:40,820: DEBUG - Hit:2 http://archive.raspberrypi.org/debian buster InRelease
2021-12-10 22:22:40,821: DEBUG - Ign:3 http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 InRelease
2021-12-10 22:22:40,822: DEBUG - Hit:4 http://forge.yunohost.org/debian buster InRelease
2021-12-10 22:22:40,844: DEBUG - Hit:5 http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 Release
2021-12-10 22:22:45,197: DEBUG - Reading package lists...
2021-12-10 22:22:45,244: DEBUG - ++ mktemp --directory
2021-12-10 22:22:45,250: DEBUG - + local TMPDIR=/tmp/tmp.B4IYnEwTHP
2021-12-10 22:22:45,250: DEBUG - + echo 10
2021-12-10 22:22:45,251: DEBUG - + ynh_wait_dpkg_free
2021-12-10 22:22:45,519: DEBUG - + return 0
2021-12-10 22:22:45,520: DEBUG - + cp /tmp/rocketchat-ynh-deps.control /tmp/tmp.B4IYnEwTHP/control
2021-12-10 22:22:45,527: DEBUG - + cd /tmp/tmp.B4IYnEwTHP
2021-12-10 22:22:45,528: DEBUG - + LC_ALL=C
2021-12-10 22:22:45,528: DEBUG - + equivs-build ./control
2021-12-10 22:22:47,679: DEBUG - + LC_ALL=C
2021-12-10 22:22:47,680: DEBUG - + dpkg --force-depends --install ./rocketchat-ynh-deps_4.2.0ynh1_all.deb
2021-12-10 22:22:47,681: DEBUG - + tee ./dpkg_log
2021-12-10 22:22:47,860: DEBUG - (Reading database ... 58464 files and directories currently installed.)
2021-12-10 22:22:47,866: DEBUG - Preparing to unpack .../rocketchat-ynh-deps_4.2.0
ynh1_all.deb ...
2021-12-10 22:22:47,973: DEBUG - Unpacking rocketchat-ynh-deps (4.2.0ynh1) over (4.2.0ynh1) ...
2021-12-10 22:22:48,227: DEBUG - dpkg: rocketchat-ynh-deps: dependency problems, but configuring anyway as you requested:
2021-12-10 22:22:48,228: DEBUG - rocketchat-ynh-deps depends on mongodb-org; however:
2021-12-10 22:22:48,228: DEBUG - Package mongodb-org is not installed.
2021-12-10 22:22:48,228: DEBUG - rocketchat-ynh-deps depends on mongodb-org-server; however:
2021-12-10 22:22:48,229: DEBUG - Package mongodb-org-server is not installed.
2021-12-10 22:22:48,229: DEBUG - rocketchat-ynh-deps depends on mongodb-org-tools; however:
2021-12-10 22:22:48,229: DEBUG - Package mongodb-org-tools is not installed.
2021-12-10 22:22:48,229: DEBUG -
2021-12-10 22:22:48,230: DEBUG - Setting up rocketchat-ynh-deps (4.2.0~ynh1) ...
2021-12-10 22:22:48,536: DEBUG - + ynh_package_install --fix-broken
2021-12-10 22:22:48,537: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-12-10 22:22:48,538: DEBUG - + ynh_wait_dpkg_free
2021-12-10 22:22:48,851: DEBUG - + return 0
2021-12-10 22:22:48,851: DEBUG - + LC_ALL=C
2021-12-10 22:22:48,852: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-10 22:22:48,852: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-12-10 22:22:54,322: DEBUG - Reading package lists...
2021-12-10 22:22:54,868: DEBUG - Building dependency tree...
2021-12-10 22:22:54,870: DEBUG - Reading state information...
2021-12-10 22:22:55,318: DEBUG - Correcting dependencies... Done
2021-12-10 22:22:56,020: DEBUG - The following packages were automatically installed and are no longer required:
2021-12-10 22:22:56,025: DEBUG - graphicsmagick libgraphicsmagick-q16-3 libice6 libsm6 x11-common
2021-12-10 22:22:56,026: DEBUG - Use 'apt autoremove' to remove them.
2021-12-10 22:22:56,066: DEBUG - The following packages will be REMOVED:
2021-12-10 22:22:56,068: DEBUG - rocketchat-ynh-deps
2021-12-10 22:22:56,115: DEBUG - 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2021-12-10 22:22:56,116: WARNING - E: Packages need to be removed but remove is disabled.
2021-12-10 22:22:56,120: DEBUG - ++ cat /tmp/tmp.B4IYnEwTHP/dpkg_log
2021-12-10 22:22:56,122: DEBUG - ++ tr '\n' ' '
2021-12-10 22:22:56,122: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)'
2021-12-10 22:22:56,130: DEBUG - + local 'problematic_dependencies=mongodb-org mongodb-org-server mongodb-org-tools '
2021-12-10 22:22:56,131: DEBUG - + [[ -n mongodb-org mongodb-org-server mongodb-org-tools ]]
2021-12-10 22:22:56,132: DEBUG - + ynh_package_install mongodb-org mongodb-org-server mongodb-org-tools --dry-run
2021-12-10 22:22:56,133: DEBUG - + sed --quiet '/Reading state info/,$p'
2021-12-10 22:22:56,133: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install mongodb-org mongodb-org-server mongodb-org-tools --dry-run
2021-12-10 22:22:56,134: DEBUG - + ynh_wait_dpkg_free
2021-12-10 22:22:56,136: DEBUG - + grep -v 'fix-broken|Reading state info'
2021-12-10 22:22:56,435: DEBUG - + return 0
2021-12-10 22:22:56,435: DEBUG - + LC_ALL=C
2021-12-10 22:22:56,436: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-10 22:22:56,436: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install mongodb-org mongodb-org-server mongodb-org-tools --dry-run
2021-12-10 22:22:57,478: WARNING - Package mongodb-org is not available, but is referred to by another package.
2021-12-10 22:22:57,479: WARNING - This may mean that the package is missing, has been obsoleted, or
2021-12-10 22:22:57,481: WARNING - is only available from another source
2021-12-10 22:22:57,482: DEBUG -
2021-12-10 22:22:57,482: WARNING - Package mongodb-org-server is not available, but is referred to by another package.
2021-12-10 22:22:57,484: WARNING - This may mean that the package is missing, has been obsoleted, or
2021-12-10 22:22:57,485: WARNING - is only available from another source
2021-12-10 22:22:57,486: DEBUG -
2021-12-10 22:22:57,486: WARNING - Package mongodb-org-tools is not available, but is referred to by another package.
2021-12-10 22:22:57,488: WARNING - This may mean that the package is missing, has been obsoleted, or
2021-12-10 22:22:57,489: WARNING - is only available from another source
2021-12-10 22:22:57,490: DEBUG -
2021-12-10 22:22:57,491: WARNING - E: Package 'mongodb-org' has no installation candidate
2021-12-10 22:22:57,492: WARNING - E: Package 'mongodb-org-server' has no installation candidate
2021-12-10 22:22:57,493: WARNING - E: Package 'mongodb-org-tools' has no installation candidate
2021-12-10 22:22:57,494: DEBUG - + ynh_die '--message=Unable to install dependencies'
2021-12-10 22:22:57,538: WARNING - Unable to install dependencies
2021-12-10 22:22:57,541: DEBUG - + ynh_exit_properly
2021-12-10 22:22:58,048: DEBUG - + ynh_clean_setup
2021-12-10 22:22:58,048: DEBUG - + true
2021-12-10 22:22:59,053: ERROR - Impossible d'installer rocketchat : Une erreur est survenue dans le script d'installation de l'application

Failed to install

Hello,

thanks for creating this package. Unfortunately I can't get it running.

Describe the bug

I tried to install RocketChat through the Yunohost Web-UI or via the console. The installation failed.

Notable error messages:

'/etc/apt/trusted.gpg.d/rocketchat.asc' wasn't deleted because it doesn't exist.

The service mongod didn't fully executed the action restart before the timeout.

systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
systemd[1]: mongod.service: Failed with result 'signal'.

_common.sh: line 45: 6894 Illegal instruction mongo --quiet $user $password $authenticationdatabase $host $port <<EOF

I tried with and without a path while installing on a subdomain or with the default path (/rocketchat) while installing on the main domain. All resulted in the same error messages.

Context

  • Hardware: Windows 10 PC with Yunohost running in a VM
  • YunoHost version: 4.3.5
  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen - all of them
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
    • Tried to install other apps on diiferent subdomains or the main domain, which worked without any issues
  • Using, or trying to install package version/branch: 4.3.0~ynh1 (from the Web-UI)

Steps to reproduce

  • If you used the webadmin, please perform the equivalent command from the CLI first.
    • also tried sudo yunohost app install rocketchat
    • same result
  • If the error occurs in your browser, explain what you did:
    1. Go to 'Applicaitons'
    2. Search for "RocketChat"
    3. Click on "Install"
    4. Settings:
    • Label: RocketChat
    • Domain: subdomain.mydomain.tld
    • URL-Path: /
    • Administrator: my account
    • Anonymous visitors: yes
    • Administration Password: a randomly generated secure password
    1. Click on "Install"
    2. After waiting for installation process to finish read logs

Expected behavior

RocketChat installs successfully

Can't use rocketchat electron app with rocketchat on yunohost

When pointing to a rocketchat hosted on yunohost using rocketchat electron (https://github.com/RocketChat/Rocket.Chat.Electron/ - Desktop Client https://rocket.chat/download) it says "No valid server found at the URL"

I believe it is because the application looks for the URL at : domain/rocketchat/api/info and gets the yunohost SSO redirect.

Would it be possible to have a whitelist on that URL to not redirect the SSO ?

ps. and I believe the SSO is not working on this application, I had to reauthenticate when clicking on the RocketChat icon from yunohost.

URL path when installing

Hi there,

great you have sorted out the install issues.

When installing now, I always get rocket.domain.tld/rocketchat (when choosing GUI install I have to enter a path, not when using Terminal, but there it does the path even when not entering one), but I only want to have rocket.domain.tld. When changing it via GUI, I am not able to connect then.

What could I do?

Regards,

Stefan

Installation script for non AVX supported CPUs

My YunoHost server
Hardware: An old rig with an Intel(R) Core™2 Duo CPU E8400 @ 3.00GHz, 8GB of RAM and 3x500GB in RAID 5
YunoHost version: 4.3.6.3 (stable)
I have access to my server : SSH and Web

Description of my issue

I have opened a support request in Yunohost forums regarding this problem. https://forum.yunohost.org/t/rocket-chat-fails-to-install/20327. The Yunohost app fails to install because MongoDB 5.X crash on execution.

It seems that @aleks was right and mongodb 5.X demands for a CPU with AVX support. We can check if our CPU has this technology using cat /proc/cpuinfo | grep flags | grep avx Thanks @aleks once again.

So my idea...why not add the above check and dynamically change the mongoDB repos in _common.sh to version 4.4.15. Although this is not enougg and more changes have to be done in script.

--EDIT--

Manually installed mongodb 4.4.15 (Successfully) and run the install script without the mongodb install procedure. Everything were smooth and new application added in Yunohost. Although When I tried to access the app I got error.

First error was about a store.journal parameter in mongodb configuration, which I had to comment out. MongoDB started properly but not rocketchat. Initially the service starts correctly but after 1 minutes fails with error.

rocketchat[31148]: /var/www/rocketchat/programs/server/node_modules/fibers/future.js:313
rocketchat[31148]: throw(ex);
rocketchat[31148]: ^
rocketchat[31148]: MongoServerSelectionError: Server selection timed out after 30000 ms
rocketchat[31148]: at Timeout._onTimeout (/var/www/rocketchat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/sdam/topology.js:437:30)
rocketchat[31148]: at listOnTimeout (internal/timers.js:557:17)
rocketchat[31148]: at processTimers (internal/timers.js:500:7) {
rocketchat[31148]: reason: TopologyDescription {
rocketchat[31148]: type: 'ReplicaSetNoPrimary',
rocketchat[31148]: setName: null,
rocketchat[31148]: maxSetVersion: null,
rocketchat[31148]: maxElectionId: null,
rocketchat[31148]: servers: Map(0) {},
rocketchat[31148]: stale: false,
rocketchat[31148]: compatible: true,
rocketchat[31148]: compatibilityError: null,
rocketchat[31148]: logicalSessionTimeoutMinutes: null,
rocketchat[31148]: heartbeatFrequencyMS: 10000,
rocketchat[31148]: localThresholdMS: 15,
rocketchat[31148]: commonWireVersion: 9
rocketchat[31148]: }
rocketchat[31148]: }

and after some messing around got the below

rocketchat[2270]: /var/www/rocketchat/programs/server/node_modules/fibers/future.js:313
rocketchat[2270]: throw(ex);
rocketchat[2270]: ^
rocketchat[2270]: MongoServerSelectionError: Server selection timed out after 30000 ms
rocketchat[2270]: at Timeout._onTimeout (/var/www/rocketchat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/sdam/topology
rocketchat[2270]: at listOnTimeout (internal/timers.js:557:17)
rocketchat[2270]: at processTimers (internal/timers.js:500:7) {
rocketchat[2270]: reason: TopologyDescription {
rocketchat[2270]: type: 'ReplicaSetNoPrimary',
rocketchat[2270]: setName: null,
rocketchat[2270]: maxSetVersion: null,
rocketchat[2270]: maxElectionId: null,
rocketchat[2270]: servers: Map(1) {
rocketchat[2270]: 'localhost:27017' => ServerDescription {
rocketchat[2270]: address: 'localhost:27017',
rocketchat[2270]: error: undefined,
rocketchat[2270]: roundTripTime: 16.84,
rocketchat[2270]: lastUpdateTime: 107041052,
rocketchat[2270]: lastWriteDate: null,
rocketchat[2270]: opTime: null,
rocketchat[2270]: type: 'RSGhost',
rocketchat[2270]: topologyVersion: {
rocketchat[2270]: processId: ObjectID { _bsontype: 'ObjectID', id: [Buffer [Uint8Array]] },
rocketchat[2270]: counter: 0
rocketchat[2270]: },
rocketchat[2270]: minWireVersion: 0,
rocketchat[2270]: maxWireVersion: 9,
rocketchat[2270]: maxBsonObjectSize: 16777216,
rocketchat[2270]: maxMessageSizeBytes: 48000000,
rocketchat[2270]: maxWriteBatchSize: 100000,
rocketchat[2270]: hosts: [],
rocketchat[2270]: passives: [],
rocketchat[2270]: arbiters: [],
rocketchat[2270]: tags: [],
rocketchat[2270]: logicalSessionTimeoutMinutes: 30
rocketchat[2270]: }
rocketchat[2270]: },
rocketchat[2270]: stale: false,
rocketchat[2270]: compatible: true,
rocketchat[2270]: compatibilityError: null,
rocketchat[2270]: logicalSessionTimeoutMinutes: null,
rocketchat[2270]: heartbeatFrequencyMS: 10000,
rocketchat[2270]: localThresholdMS: 15,
rocketchat[2270]: commonWireVersion: 9
rocketchat[2270]: }
rocketchat[2270]: }

Change ownership of repo to Organization: YunoHost-Apps

Bonjour,
Il serait bien, pour une meilleure gestion des applications et une meilleure gestion des contributions, que toutes les apps rejoignent l'organisation Yunohost-Apps.
Merci,
frju365


Hello,
To manage in a better way the contributions and the Apps, we invite you to change the ownership of your app to Yunohost-Apps Organization.
Thanks,
frju365

Installation fails

Hi
Suddenly the rocket chat stopped working. I uninstalled and tried to install again and got the error:

Executing script '/var/cache/yunohost/from_file/rocketchat_ynh-master/scripts/install'...
+ set -eu
+ source /usr/share/yunohost/helpers
+++ run-parts --list /usr/share/yunohost/helpers.d
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
++ . /usr/share/yunohost/helpers.d/backend
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
++ . /usr/share/yunohost/helpers.d/filesystem
+++ CAN_BIND=1
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
++ . /usr/share/yunohost/helpers.d/ip
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
++ . /usr/share/yunohost/helpers.d/mysql
+++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/network ']'
++ . /usr/share/yunohost/helpers.d/network
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/package ']'
++ . /usr/share/yunohost/helpers.d/package
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/print ']'
++ . /usr/share/yunohost/helpers.d/print
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
++ . /usr/share/yunohost/helpers.d/setting
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/string ']'
++ . /usr/share/yunohost/helpers.d/string
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/system ']'
++ . /usr/share/yunohost/helpers.d/system
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/user ']'
++ . /usr/share/yunohost/helpers.d/user
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
++ . /usr/share/yunohost/helpers.d/utils
+ source ./_common.sh
++ ROCKETCHAT_VERSION=0.58.4
++ ROCKETCHAT_SHASUM=ed53712b37571b959b5c8c8947d6335c21fced316f2b3174bfe027fa25700c44
++ NODE_VERSION=4.7.1
+ ynh_abort_if_errors
+ set -eu
+ trap ynh_exit_properly EXIT
+ domain=rocket.domain.tld
+ path=/
+ is_public=Yes
+ language=English
+ app=rocketchat
+ serviceuser=rocketchat
++ pwd
+ workdir=/var/cache/yunohost/from_file/rocketchat_ynh-master/scripts
++ ynh_find_port 3000
++ port=3000
++ test -n 3000
++ netcat -z 127.0.0.1 3000
++ echo 3000
+ port=3000
+ ynh_webpath_available rocket.domain.tld /
+ local domain=rocket.domain.tld
+ local path=/
+ sudo yunohost domain url-available rocket.domain.tld /
True
+ [[ ! 0 -eq 0 ]]
+ ynh_webpath_register rocketchat rocket.domain.tld /
+ local app=rocketchat
+ local domain=rocket.domain.tld
+ local path=/
+ sudo yunohost app register-url rocketchat rocket.domain.tld /
+ final_path=/var/lib/rocketchat
+ [[ -d /var/lib/rocketchat ]]
+ ynh_app_setting_set rocketchat node_version 4.7.1
+ sudo yunohost app setting rocketchat node_version -v 4.7.1 --quiet
+ ynh_app_setting_set rocketchat rocketchat_version 0.58.4
+ sudo yunohost app setting rocketchat rocketchat_version -v 0.58.4 --quiet
+ ynh_app_setting_set rocketchat serviceuser rocketchat
+ sudo yunohost app setting rocketchat serviceuser -v rocketchat --quiet
+ ynh_app_setting_set rocketchat port 3000
+ sudo yunohost app setting rocketchat port -v 3000 --quiet
+ ynh_app_setting_set rocketchat final_path /var/lib/rocketchat
+ sudo yunohost app setting rocketchat final_path -v /var/lib/rocketchat --quiet
+ ynh_app_setting_set rocketchat path /
+ sudo yunohost app setting rocketchat path -v / --quiet
+ ynh_app_setting_set rocketchat is_public Yes
+ sudo yunohost app setting rocketchat is_public -v Yes --quiet
+ installdeps
++ dpkg --print-architecture
+ '[' amd64 == armhf ']'
+ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
Executing: gpg --ignore-trockete-conflict --no-options --no-default-keyring --homedir /tmp/tmp.rP1roMHk1L --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --prrocketary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyring /etc/apt/trusted.gpg.d/php.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
Warning: gpg: requesting key A15703C6 from hkp server keyserver.ubuntu.com
Warning: gpg: key A15703C6: "MongoDB 3.4 Release Signing Key <[email protected]>" not changed
Warning: gpg: Total number processed: 1
Warning: gpg:              unchanged: 1
+ sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
+ echo 'deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main'
deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main
+ sudo apt-get update
Ign http://asi-fs-n.contabo.net jessie InRelease
Get:1 http://asi-fs-n.contabo.net jessie-updates InRelease [145 kB]
Hit http://security.debian.org jessie/updates InRelease
Ign http://repo.mongodb.org jessie/mongodb-org/3.4 InRelease
Hit http://asi-fs-n.contabo.net jessie Release.gpg
Hit http://asi-fs-n.contabo.net jessie Release
Hit https://dl.yarnpkg.com stable InRelease
Get:2 http://httpredir.debian.org jessie-backports InRelease [166 kB]
Get:3 http://asi-fs-n.contabo.net jessie-updates/main amd64 Packages/DiffIndex [9,376 B]
Hit http://asi-fs-n.contabo.net jessie-updates/contrib amd64 Packages
Get:4 http://asi-fs-n.contabo.net jessie-updates/non-free amd64 Packages/DiffIndex [736 B]
Hit http://asi-fs-n.contabo.net jessie-updates/contrib Translation-en
Get:5 http://asi-fs-n.contabo.net jessie-updates/main Translation-en/DiffIndex [3,688 B]
Get:6 http://asi-fs-n.contabo.net jessie-updates/non-free Translation-en/DiffIndex [736 B]
Hit http://repo.mongodb.org jessie/mongodb-org/3.4 Release.gpg
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://asi-fs-n.contabo.net jessie/main amd64 Packages
Hit http://asi-fs-n.contabo.net jessie/non-free amd64 Packages
Hit http://asi-fs-n.contabo.net jessie/contrib amd64 Packages
Hit http://asi-fs-n.contabo.net jessie/contrib Translation-en
Hit http://asi-fs-n.contabo.net jessie/main Translation-en
Hit http://asi-fs-n.contabo.net jessie/non-free Translation-en
Hit http://security.debian.org jessie/updates/non-free Sources
Hit http://repo.mongodb.org jessie/mongodb-org/3.4 Release
Hit https://packages.sury.org jessie InRelease
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/non-free amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Hit https://dl.yarnpkg.com stable/main amd64 Packages
Hit http://security.debian.org jessie/updates/non-free Translation-en
Get:7 https://dl.yarnpkg.com stable/main Translation-en_US
Get:8 http://httpredir.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]
Hit https://deb.nodesource.com jessie InRelease
Get:9 https://dl.yarnpkg.com stable/main Translation-en
Get:10 http://httpredir.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Hit http://repo.mongodb.org jessie/mongodb-org/3.4/main amd64 Packages
Hit https://packages.sury.org jessie/main amd64 Packages
Get:11 https://dl.yarnpkg.com stable/main Translation-en_US
Get:12 https://packages.sury.org jessie/main Translation-en_US [169 B]
Ign http://repo.mongodb.org jessie/mongodb-org/3.4/main Translation-en_US
Hit https://deb.nodesource.com jessie/main Sources
Ign http://repo.mongodb.org jessie/mongodb-org/3.4/main Translation-en
Hit https://deb.nodesource.com jessie/main amd64 Packages
Get:13 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:14 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:15 https://dl.yarnpkg.com stable/main Translation-en
Get:16 https://packages.sury.org jessie/main Translation-en [169 B]
Get:17 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:18 https://dl.yarnpkg.com stable/main Translation-en_US
Get:19 https://packages.sury.org jessie/main Translation-en_US [169 B]
Get:20 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:21 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:22 https://packages.sury.org jessie/main Translation-en [169 B]
Get:23 https://dl.yarnpkg.com stable/main Translation-en
Get:24 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:25 https://packages.sury.org jessie/main Translation-en_US [169 B]
Get:26 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:27 https://dl.yarnpkg.com stable/main Translation-en_US
Get:28 https://packages.sury.org jessie/main Translation-en [169 B]
Get:29 https://dl.yarnpkg.com stable/main Translation-en
Get:30 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:31 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_US
Get:32 https://dl.yarnpkg.com stable/main Translation-en_US
Ign https://dl.yarnpkg.com stable/main Translation-en_US
Get:33 https://packages.sury.org jessie/main Translation-en_US [169 B]
Get:34 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Get:35 https://dl.yarnpkg.com stable/main Translation-en
Ign https://dl.yarnpkg.com stable/main Translation-en
Get:36 https://packages.sury.org jessie/main Translation-en [169 B]
Get:37 https://packages.sury.org jessie/main Translation-en_US [169 B]
Ign https://packages.sury.org jessie/main Translation-en_US
Get:38 https://packages.sury.org jessie/main Translation-en [169 B]
Ign https://packages.sury.org jessie/main Translation-en
Hit http://repo.yunohost.org jessie InRelease
Hit http://repo.yunohost.org jessie/stable amd64 Packages
Ign http://repo.yunohost.org jessie/stable Translation-en_US
Ign http://repo.yunohost.org jessie/stable Translation-en
Fetched 381 kB in 4s (92.2 kB/s)
Reading package lists...
+ sudo apt-get install -y mongodb-org
Reading package lists...
Building dependency tree...
Reading state information...
mongodb-org is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ sudo systemctl enable mongod.service
+ sudo systemctl start mongod.service
+ sudo yunohost service add mongod -l /var/log/mongodb/mongod.log
The service 'mongod' has been added
+ sudo apt-get install -y gzip curl graphicsmagick npm
Reading package lists...
Building dependency tree...
Reading state information...
gzip is already the newest version.
curl is already the newest version.
graphicsmagick is already the newest version.
Some packages could not be installed. This may mean that you have
requested an rocketpossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 npm : Depends: nodejs but it is not going to be installed
       Depends: node-abbrev (>= 1.0.4) but it is not going to be installed
       Depends: node-ansi (>= 0.3.0-2) but it is not going to be installed
       Depends: node-ansi-color-table but it is not going to be installed
       Depends: node-archy but it is not going to be installed
       Depends: node-block-stream but it is not going to be installed
       Depends: node-fstream (>= 0.1.22) but it is not going to be installed
       Depends: node-fstream-ignore but it is not going to be installed
       Depends: node-github-url-from-git but it is not going to be installed
       Depends: node-glob (>= 3.1.21) but it is not going to be installed
       Depends: node-graceful-fs (>= 2.0.0) but it is not going to be installed
       Depends: node-inherits but it is not going to be installed
       Depends: node-ini (>= 1.1.0) but it is not going to be installed
       Depends: node-lockfile but it is not going to be installed
       Depends: node-lru-cache (>= 2.3.0) but it is not going to be installed
       Depends: node-minrocketatch (>= 0.2.11) but it is not going to be installed
       Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
       Depends: node-gyp (>= 0.10.9) but it is not going to be installed
       Depends: node-nopt (>= 3.0.1) but it is not going to be installed
       Depends: node-npmlog but it is not going to be installed
       Depends: node-once but it is not going to be installed
       Depends: node-osenv but it is not going to be installed
       Depends: node-read but it is not going to be installed
       Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed
       Depends: node-request (>= 2.25.0) but it is not going to be installed
       Depends: node-retry but it is not going to be installed
       Depends: node-rrocketraf (>= 2.2.2) but it is not going to be installed
       Depends: node-semver (>= 2.1.0) but it is not going to be installed
       Depends: node-sha but it is not going to be installed
       Depends: node-slide but it is not going to be installed
       Depends: node-tar (>= 0.1.18) but it is not going to be installed
       Depends: node-underscore but it is not going to be installed
       Depends: node-which but it is not going to be installed
Warning: E: Unable to correct problems, you have held broken packages.
Warning: !!
Warning:   rocketchat's script has encountered an error. Its execution was cancelled.
+ ynh_exit_properly
+ exit_code=100
+ '[' 100 -eq 0 ']'
Warning: !!
+ trap '' EXIT
+ set +eu
+ echo -e '!!\n  rocketchat'\''s script has encountered an error. Its execution was cancelled.\n!!'
+ type -t ynh_clean_setup
+ ynh_die
+ echo ''
+ exit 1
Warning: 
Executing script '/var/cache/yunohost/from_file/rocketchat_ynh-master/scripts/remove'...
+ set -u
+ source /usr/share/yunohost/helpers
+++ run-parts --list /usr/share/yunohost/helpers.d
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
++ . /usr/share/yunohost/helpers.d/backend
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
++ . /usr/share/yunohost/helpers.d/filesystem
+++ CAN_BIND=1
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
++ . /usr/share/yunohost/helpers.d/ip
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
++ . /usr/share/yunohost/helpers.d/mysql
+++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/network ']'
++ . /usr/share/yunohost/helpers.d/network
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/package ']'
++ . /usr/share/yunohost/helpers.d/package
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/print ']'
++ . /usr/share/yunohost/helpers.d/print
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
++ . /usr/share/yunohost/helpers.d/setting
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/string ']'
++ . /usr/share/yunohost/helpers.d/string
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/system ']'
++ . /usr/share/yunohost/helpers.d/system
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/user ']'
++ . /usr/share/yunohost/helpers.d/user
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
++ . /usr/share/yunohost/helpers.d/utils
+ source ./_common.sh
++ ROCKETCHAT_VERSION=0.58.4
++ ROCKETCHAT_SHASUM=ed53712b37571b959b5c8c8947d6335c21fced316f2b3174bfe027fa25700c44
++ NODE_VERSION=4.7.1
+ app=rocketchat
++ ynh_app_setting_get rocketchat domain
++ sudo yunohost app setting rocketchat domain --output-as plain --quiet
+ domain=rocket.domain.tld
++ ynh_app_setting_get rocketchat final_path
++ sudo yunohost app setting rocketchat final_path --output-as plain --quiet
+ final_path=/var/lib/rocketchat
+ sudo systemctl stop rocketchat.service
Warning: Failed to stop rocketchat.service: Unit rocketchat.service not loaded.
+ sudo yunohost service remove rocketchat
Warning: Unknown service 'rocketchat'
+ sudo rm -rf /var/lib/rocketchat
+ sudo rm -f /etc/nginx/conf.d/rocket.domain.tld.d/rocketchat.conf
+ sudo rm -rf /var/log/rocketchat
+ sudo rm -f /etc/systemd/system/rocketchat.service
+ sudo mongo rocketchat --eval 'db.dropDatabase()'
MongoDB shell version v3.4.10
connecting to: mongodb://127.0.0.1:27017/rocketchat
MongoDB server version: 3.4.10
{ "ok" : 1 }
+ sudo systemctl daemon-reload
+ sudo systemctl reload nginx
Success! The SSOwat configuration has been generated
Error: Installation failed

Improve Package

Improve Package by further implementing Packaging best practices

  • application sources should be checked with a control sum (sha256, sha1 or md5) or a PGP signature;
  • scripts should be tested on Debian Jessie as well as 32 bits, 64 bits and ARM architectures;

Login in to Mobile app throwing Errors

I have tried to login to our chat interface through the mobile app, and ever since the update I can only get my teams internal chat working, not the public chat.

So I logged out completely and entered the URL of the public chat for the server name and when I enter my name and password I get this error:
img_4179

Any ideas?

Support oplog tailing for this package installation

When I go to Administration -> Info I see this error on the top of the page.

Error: Rocket.Chat requires oplog tailing when running in multiple instances.
Please make sure that your MangoDB is on ReplicaSet mode and Mango_OPLOG_URL 
environment is defined correctly on the application server.

Though the RocketChat is working fine.

iOS App doesn't connect

Hi there,

RocketChat is working fine with Android and Linux on my yunohost with all on latest version. Also the macOS works fine, but no chance to get it working on iOS.

After inserting my credentials and clicking on connect, nothing happens.

Is this something known, or is this a "special feature" on my yunohost install?

Regards,

Stefam

MongoError: no primary found in replicaset or invalid replica set name

Currently after installation, when rocket chat service tries to run it throws the following exception:

MongoError: no primary found in replicaset or invalid replica set name rocketchat[20276]: at /var/www/rocketchat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/topologies/replset.js:624:11

I found that a solution to this is to do the following that is mentioned here:
https://docs.rocket.chat/installing-and-updating/manual-installation/mongo-replicas

Which is to do:

  1. $ nano /etc/mongod.conf

  2. Add double quotes so it becomes "rs01"

  3. ctrl+o then enter then ctrl+x (to save changes)

  4. then follow the instructions in the link for the linked section and that's it.
    https://docs.rocket.chat/installing-and-updating/manual-installation/mongo-replicas#restart-mongodb-and-initiate-the-replica-set

Change url

Hi,
I installed Rocket.chat with the testing branch (6e94ffa).
I just had to comment line 147 mongo --eval "printjson(rs.initiate())" in scripts/install, but I managed to install it.

I also had another problem (introduced with the last commit I am afraid), I installed it in rocketchat.maindomain.tld with the path /, which resulted in an error 404 when opening https://rocketchat.maindomain.tld.
In the rocketchat.service files, ROOT_URL was indeed defined as ROOT_URL=https://rocketchat.maindomain.tld/:3000. Where I could find my server! But this url was not very practical so I needed to change it.
After changing it to ROOT_URL=https://rocketchat.maindomain.tld/, I was still not able to open rocket chat at this address.
Then I found this page explaining that ROOT_URL becomes stored in mongodb at the first connection, so you have to change it there also:
https://www.ryadel.com/en/rocket-chat-change-root_url-site-url-rocketchat/

The steps to change url:

> mongo
> use rocketchat
> db.rocketchat_settings.update({"_id" : "Site_Url"},{$set:{value:"<YOUR NEW URL>"}})

I thought it would be useful to implement the change_url script.

Cant install Rocketchat on Yunohost 3.2.2

I tried to install Rocket.chat server on a Raspberry Pi 2 with Yunohost 3.2.2, and got these error messages (installation rolled back) :

2018-11-21 07:23:38,201: WARNING - debconf: unable to initialize frontend: Dialog
2018-11-21 07:23:38,211: WARNING - debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
2018-11-21 07:23:38,215: WARNING - debconf: falling back to frontend: Readline
2018-11-21 07:23:38,320: WARNING - debconf: unable to initialize frontend: Readline
2018-11-21 07:23:38,324: WARNING - debconf: (This frontend requires a controlling tty.)
2018-11-21 07:23:38,329: WARNING - debconf: falling back to frontend: Teletype
2018-11-21 07:23:38,333: WARNING - dpkg-preconfigure: unable to re-open stdin:
2018-11-21 07:25:45,211: WARNING - Failed to enable unit: File mongod.service: No such file or directory
2018-11-21 07:25:45,332: WARNING - !!
2018-11-21 07:25:45,336: WARNING -   rocketchat's script has encountered an error. Its execution was cancelled.
2018-11-21 07:25:45,341: WARNING - !!
2018-11-21 07:25:45,346: WARNING - 

Failed to install on VPS

Describe the bug

A clear and concise description of what the bug is.
Trying to install the app, have tried both webadmin and CLI without success. Both on root domain and subdomain.

Context

  • Hardware: VPS bought online. vmlinuz-4.19.0-16-amd64.
  • YunoHost version: YunoHost 4.3.4.2 (stable).
  • I have access to my server: SSH and webadmin
  • Using, or trying to install package version/branch: 4.2.1~ynh1

Steps to reproduce

  • If you performed a command from the CLI, the command itself is enough. For example:
    Through webadmin and CLI

sudo yunohost app install https://github.com/YunoHost-Apps/rocketchat_ynh --debug

Expected behavior

Installed app.

Logs

args:
app: rocketchat
args: domain=chat.maindomain.tld&path=%2F&admin=johns&is_public=0&password='**********'
force: false
label: Chat
no_remove_on_failure: false
ended_at: 2021-12-13 17:09:27.882229
env:
YNH_APP_ARG_ADMIN: johns
YNH_APP_ARG_DOMAIN: chat.maindomain.tld
YNH_APP_ARG_IS_PUBLIC: '0'
YNH_APP_ARG_PATH: /
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_55je6c1e
YNH_APP_ID: rocketchat
YNH_APP_INSTANCE_NAME: rocketchat
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 4.2.1~ynh1
YNH_ARCH: amd64
error: An error occurred inside the app installation script
interface: api
operation: app_install
parent: null
related_to:

    • app
    • rocketchat
      started_at: 2021-12-13 17:03:33.614491
      success: false
      yunohost_version: 4.3.4.2

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

2021-12-13 11:03:33,625: INFO - Installing rocketchat...
2021-12-13 11:03:33,791: DEBUG - Nothing to update in LDAP
2021-12-13 11:03:33,792: DEBUG - Permission 'rocketchat.main' updated
2021-12-13 11:03:33,913: DEBUG - Full log of this operation: 'Update URL related to permission 'rocketchat''
2021-12-13 11:03:34,178: DEBUG - The permission database has been resynchronized
2021-12-13 11:03:34,342: DEBUG - SSOwat configuration regenerated
2021-12-13 11:03:34,473: DEBUG - Permission 'rocketchat.main' created
2021-12-13 11:03:34,474: DEBUG - Full log of this operation: 'Create permission 'rocketchat''
2021-12-13 11:03:34,492: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
2021-12-13 11:03:34,503: DEBUG - + source common.sh
2021-12-13 11:03:34,504: DEBUG - ++ nodejs_version=12
2021-12-13 11:03:34,504: DEBUG - ++ pkg_dependencies='apt-transport-https build-essential gzip curl fontconfig graphicsmagick'
2021-12-13 11:03:34,504: DEBUG - ++ MONGO_DEBIAN_SERVICENAME=mongodb
2021-12-13 11:03:34,504: DEBUG - ++ MONGO_CE_SERVICENAME=mongod
2021-12-13 11:03:34,504: DEBUG - ++ MONGO_DEBIAN_DEPENDENCIES='mongodb mongodb-server mongo-tools'
2021-12-13 11:03:34,504: DEBUG - ++ MONGO_CE_DEPENDENCIES='mongodb-org mongodb-org-server mongodb-org-tools'
2021-12-13 11:03:34,505: DEBUG - ++ MONGO_DEBIAN_CONFIG=/etc/mongodb.conf
2021-12-13 11:03:34,505: DEBUG - ++ MONGO_CE_CONFIG=/etc/mongod.conf
2021-12-13 11:03:34,505: DEBUG - ++ MONGO_CE_REPO='deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main'
2021-12-13 11:03:34,505: DEBUG - ++ MONGO_CE_KEY=https://www.mongodb.org/static/pgp/server-5.0.asc
2021-12-13 11:03:34,505: DEBUG - + source /usr/share/yunohost/helpers
2021-12-13 11:03:34,506: DEBUG - +++ grep xtrace
2021-12-13 11:03:34,508: DEBUG - +++ set +o
2021-12-13 11:03:34,509: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-12-13 11:03:34,509: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-12-13 11:03:34,546: DEBUG - + ynh_abort_if_errors
2021-12-13 11:03:34,546: DEBUG - + trap ynh_exit_properly EXIT
2021-12-13 11:03:34,547: DEBUG - + domain=chat.maindomain.tld
2021-12-13 11:03:34,547: DEBUG - + path_url=/
2021-12-13 11:03:34,547: DEBUG - + is_public=0
2021-12-13 11:03:34,547: DEBUG - + password=**********
2021-12-13 11:03:34,547: DEBUG - + admin=johns
2021-12-13 11:03:34,548: DEBUG - ++ ynh_user_get_info --username=johns --key=mail
2021-12-13 11:03:34,583: DEBUG - ++ jq -r .mail
2021-12-13 11:03:34,584: DEBUG - ++ yunohost user info johns --output-as json --quiet
2021-12-13 11:03:35,076: DEBUG - + email=[email protected]
2021-12-13 11:03:35,076: DEBUG - + app=rocketchat
2021-12-13 11:03:35,169: DEBUG - + final_path=/var/www/rocketchat
2021-12-13 11:03:35,169: DEBUG - + test '!' -e /var/www/rocketchat
2021-12-13 11:03:35,169: DEBUG - + ynh_webpath_register --app=rocketchat --domain=chat.maindomain.tld --path_url=/
2021-12-13 11:03:35,170: INFO - [....................] > Validating installation parameters...
2021-12-13 11:03:35,241: DEBUG - + yunohost app register-url rocketchat chat.maindomain.tld /
2021-12-13 11:03:36,982: DEBUG - + ynh_app_setting_set --app=rocketchat --key=domain --value=chat.maindomain.tld
2021-12-13 11:03:36,982: DEBUG - + local globalapp=rocketchat
2021-12-13 11:03:36,984: INFO - [....................] > Storing installation settings...
2021-12-13 11:03:37,063: DEBUG - + app=rocketchat
2021-12-13 11:03:37,063: DEBUG - + [[ domain =~ (unprotected|protected|skipped)
]]
2021-12-13 11:03:37,063: DEBUG - + ynh_app_setting set rocketchat domain chat.maindomain.tld
2021-12-13 11:03:37,121: DEBUG - + ynh_app_setting_set --app=rocketchat --key=path --value=/
2021-12-13 11:03:37,122: DEBUG - + local globalapp=rocketchat
2021-12-13 11:03:37,191: DEBUG - + app=rocketchat
2021-12-13 11:03:37,192: DEBUG - + [[ path =~ (unprotected|protected|skipped)
]]
2021-12-13 11:03:37,192: DEBUG - + ynh_app_setting set rocketchat path /
2021-12-13 11:03:37,244: DEBUG - + ynh_app_setting_set --app=rocketchat --key=admin --value=johns
2021-12-13 11:03:37,244: DEBUG - + local globalapp=rocketchat
2021-12-13 11:03:37,312: DEBUG - + app=rocketchat
2021-12-13 11:03:37,312: DEBUG - + [[ admin =~ (unprotected|protected|skipped)
]]
2021-12-13 11:03:37,312: DEBUG - + ynh_app_setting set rocketchat admin johns
2021-12-13 11:03:37,370: DEBUG - + ynh_app_setting_set --app=rocketchat --key=password --value=**********
2021-12-13 11:03:37,370: DEBUG - + local globalapp=rocketchat
2021-12-13 11:03:37,440: DEBUG - + app=rocketchat
2021-12-13 11:03:37,441: DEBUG - + [[ password =~ (unprotected|protected|skipped)
]]
2021-12-13 11:03:37,441: DEBUG - + ynh_app_setting set rocketchat password **********
2021-12-13 11:03:37,494: DEBUG - + ynh_app_setting_set --app=rocketchat --key=email --value=[email protected]
2021-12-13 11:03:37,495: DEBUG - + local globalapp=rocketchat
2021-12-13 11:03:37,565: DEBUG - + app=rocketchat
2021-12-13 11:03:37,565: DEBUG - + [[ email =~ (unprotected|protected|skipped)
]]
2021-12-13 11:03:37,566: DEBUG - + ynh_app_setting set rocketchat email [email protected]
2021-12-13 11:03:37,700: INFO - [+...................] > Finding an available port...
2021-12-13 11:03:37,701: DEBUG - ++ ynh_find_port --port=3000
2021-12-13 11:03:37,714: DEBUG - ++ test -n 3000
2021-12-13 11:03:37,715: DEBUG - ++ ynh_port_available --port=3000
2021-12-13 11:03:37,728: DEBUG - ++ grep --quiet --extended-regexp ':3000$'
2021-12-13 11:03:37,729: DEBUG - ++ awk '{print$5}'
2021-12-13 11:03:37,732: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-12-13 11:03:37,743: DEBUG - ++ return 1
2021-12-13 11:03:37,743: DEBUG - ++ port=3001
2021-12-13 11:03:37,743: DEBUG - ++ ynh_port_available --port=3001
2021-12-13 11:03:37,756: DEBUG - ++ grep --quiet --extended-regexp ':3001$'
2021-12-13 11:03:37,757: DEBUG - ++ awk '{print$5}'
2021-12-13 11:03:37,761: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-12-13 11:03:37,765: DEBUG - ++ grep -q 'port: '''3001'''' /etc/yunohost/apps/bookstack/settings.yml /etc/yunohost/apps/dokuwiki/settings.yml /etc/yunohost/apps/flarum/settings.yml /etc/yunohost/apps/hedgedoc/settings.yml /etc/yunohost/apps/kanboard/settings.yml /etc/yunohost/apps/mattermost/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/rainloop/settings.yml /etc/yunohost/apps/rocketchat/settings.yml /etc/yunohost/apps/synapse/settings.yml
2021-12-13 11:03:37,768: DEBUG - ++ return 0
2021-12-13 11:03:37,769: DEBUG - ++ echo 3001
2021-12-13 11:03:37,769: DEBUG - + port=3001
2021-12-13 11:03:37,769: DEBUG - + ynh_app_setting_set --app=rocketchat --key=port --value=3001
2021-12-13 11:03:37,769: DEBUG - + local globalapp=rocketchat
2021-12-13 11:03:37,845: DEBUG - + app=rocketchat
2021-12-13 11:03:37,845: DEBUG - + [[ port =~ (unprotected|protected|skipped)
]]
2021-12-13 11:03:37,845: DEBUG - + ynh_app_setting set rocketchat port 3001
2021-12-13 11:03:37,976: DEBUG - + ynh_install_app_dependencies apt-transport-https build-essential gzip curl fontconfig graphicsmagick
2021-12-13 11:03:37,977: DEBUG - + local 'dependencies=apt-transport-https build-essential gzip curl fontconfig graphicsmagick'
2021-12-13 11:03:37,977: INFO - [#++++++.............] > Installing dependencies...
2021-12-13 11:03:37,978: DEBUG - ++ sed 's/([^\<=\>])\ ([^(])/\1, \2/g'
2021-12-13 11:03:37,981: DEBUG - ++ echo 'apt-transport-https build-essential gzip curl fontconfig graphicsmagick'
2021-12-13 11:03:37,982: DEBUG - + dependencies='apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick'
2021-12-13 11:03:37,982: DEBUG - + local 'dependencies=apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick'
2021-12-13 11:03:37,983: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_55je6c1e/manifest.json
2021-12-13 11:03:37,983: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_55je6c1e/manifest.json
2021-12-13 11:03:37,988: DEBUG - + local version=4.2.1ynh1
2021-12-13 11:03:37,988: DEBUG - + '[' -z 4.2.1
ynh1 ']'
2021-12-13 11:03:37,988: DEBUG - + '[' 4.2.1ynh1 == null ']'
2021-12-13 11:03:37,989: DEBUG - + local dep_app=rocketchat
2021-12-13 11:03:37,989: DEBUG - + [[ apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick =
[<=>] ]]
2021-12-13 11:03:37,990: DEBUG - ++ sort -u
2021-12-13 11:03:37,992: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|>)'
2021-12-13 11:03:37,993: DEBUG - ++ echo apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick
2021-12-13 11:03:37,995: DEBUG - + local specific_php_version=
2021-12-13 11:03:37,995: DEBUG - + [[ '' != \7.\3 ]]
2021-12-13 11:03:37,995: DEBUG - + [[ true == \t\r\u\e ]]
2021-12-13 11:03:37,996: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2021-12-13 11:03:37,996: DEBUG - + grep --quiet php
2021-12-13 11:03:37,998: DEBUG - + cat
2021-12-13 11:03:38,000: DEBUG - + ynh_package_install_from_equivs /tmp/rocketchat-ynh-deps.control
2021-12-13 11:03:38,000: DEBUG - + local controlfile=/tmp/rocketchat-ynh-deps.control
2021-12-13 11:03:38,001: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-12-13 11:03:38,003: DEBUG - ++ grep '^Package: ' /tmp/rocketchat-ynh-deps.control
2021-12-13 11:03:38,005: DEBUG - + local pkgname=rocketchat-ynh-deps
2021-12-13 11:03:38,006: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-12-13 11:03:38,008: DEBUG - ++ grep '^Version: ' /tmp/rocketchat-ynh-deps.control
2021-12-13 11:03:38,010: DEBUG - + local pkgversion=4.2.1ynh1
2021-12-13 11:03:38,010: DEBUG - + [[ -z rocketchat-ynh-deps ]]
2021-12-13 11:03:38,011: DEBUG - + [[ -z 4.2.1
ynh1 ]]
2021-12-13 11:03:38,011: DEBUG - + ynh_package_update
2021-12-13 11:03:38,011: DEBUG - + ynh_apt update
2021-12-13 11:03:38,011: DEBUG - + ynh_wait_dpkg_free
2021-12-13 11:03:38,167: DEBUG - + return 0
2021-12-13 11:03:38,168: DEBUG - + LC_ALL=C
2021-12-13 11:03:38,168: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-13 11:03:38,168: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-12-13 11:03:38,433: DEBUG - Hit:1 http://deb.debian.org/debian buster InRelease
2021-12-13 11:03:38,434: DEBUG - Hit:2 http://security.debian.org/debian-security buster/updates InRelease
2021-12-13 11:03:38,434: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease
2021-12-13 11:03:39,076: DEBUG - Hit:4 https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian10 ./ InRelease
2021-12-13 11:03:40,282: DEBUG - Reading package lists...
2021-12-13 11:03:40,555: DEBUG - ++ mktemp --directory
2021-12-13 11:03:40,560: DEBUG - + local TMPDIR=/tmp/tmp.aeVA23nJ9U
2021-12-13 11:03:40,560: DEBUG - + echo 10
2021-12-13 11:03:40,562: DEBUG - + ynh_wait_dpkg_free
2021-12-13 11:03:40,725: DEBUG - + return 0
2021-12-13 11:03:40,726: DEBUG - + cp /tmp/rocketchat-ynh-deps.control /tmp/tmp.aeVA23nJ9U/control
2021-12-13 11:03:40,729: DEBUG - + cd /tmp/tmp.aeVA23nJ9U
2021-12-13 11:03:40,729: DEBUG - + LC_ALL=C
2021-12-13 11:03:40,729: DEBUG - + equivs-build ./control
2021-12-13 11:03:41,714: DEBUG - + tee ./dpkg_log
2021-12-13 11:03:41,715: DEBUG - + LC_ALL=C
2021-12-13 11:03:41,716: DEBUG - + dpkg --force-depends --install ./rocketchat-ynh-deps_4.2.1ynh1_all.deb
2021-12-13 11:03:41,758: DEBUG - Selecting previously unselected package rocketchat-ynh-deps.
2021-12-13 11:03:41,971: DEBUG - (Reading database ... 64100 files and directories currently installed.)
2021-12-13 11:03:41,975: DEBUG - Preparing to unpack .../rocketchat-ynh-deps_4.2.1
ynh1_all.deb ...
2021-12-13 11:03:41,978: DEBUG - Unpacking rocketchat-ynh-deps (4.2.1ynh1) ...
2021-12-13 11:03:42,004: DEBUG - dpkg: rocketchat-ynh-deps: dependency problems, but configuring anyway as you requested:
2021-12-13 11:03:42,004: DEBUG - rocketchat-ynh-deps depends on graphicsmagick; however:
2021-12-13 11:03:42,004: DEBUG - Package graphicsmagick is not installed.
2021-12-13 11:03:42,004: DEBUG -
2021-12-13 11:03:42,004: DEBUG - Setting up rocketchat-ynh-deps (4.2.1
ynh1) ...
2021-12-13 11:03:42,023: DEBUG - + ynh_package_install --fix-broken
2021-12-13 11:03:42,023: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-12-13 11:03:42,024: DEBUG - + ynh_wait_dpkg_free
2021-12-13 11:03:42,176: DEBUG - + return 0
2021-12-13 11:03:42,176: DEBUG - + LC_ALL=C
2021-12-13 11:03:42,176: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-13 11:03:42,176: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-12-13 11:03:42,404: DEBUG - Reading package lists...
2021-12-13 11:03:42,682: DEBUG - Building dependency tree...
2021-12-13 11:03:42,684: DEBUG - Reading state information...
2021-12-13 11:03:42,788: DEBUG - Correcting dependencies... Done
2021-12-13 11:03:42,944: DEBUG - The following additional packages will be installed:
2021-12-13 11:03:42,945: DEBUG - graphicsmagick libgraphicsmagick-q16-3 libice6 libsm6 x11-common
2021-12-13 11:03:42,948: DEBUG - Suggested packages:
2021-12-13 11:03:42,948: DEBUG - graphicsmagick-dbg
2021-12-13 11:03:42,971: DEBUG - The following NEW packages will be installed:
2021-12-13 11:03:42,972: DEBUG - graphicsmagick libgraphicsmagick-q16-3 libice6 libsm6 x11-common
2021-12-13 11:03:43,461: DEBUG - 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
2021-12-13 11:03:43,462: DEBUG - Need to get 0 B/2487 kB of archives.
2021-12-13 11:03:43,462: DEBUG - After this operation, 9089 kB of additional disk space will be used.
2021-12-13 11:03:43,491: DEBUG - Selecting previously unselected package x11-common.
2021-12-13 11:03:43,543: DEBUG - (Reading database ... 64104 files and directories currently installed.)
2021-12-13 11:03:43,547: DEBUG - Preparing to unpack .../x11-common_1%3a7.7+19_all.deb ...
2021-12-13 11:03:43,548: DEBUG - Unpacking x11-common (1:7.7+19) ...
2021-12-13 11:03:43,595: DEBUG - Selecting previously unselected package libice6:amd64.
2021-12-13 11:03:43,604: DEBUG - Preparing to unpack .../libice6_2%3a1.0.9-2_amd64.deb ...
2021-12-13 11:03:43,607: DEBUG - Unpacking libice6:amd64 (2:1.0.9-2) ...
2021-12-13 11:03:43,634: DEBUG - Selecting previously unselected package libsm6:amd64.
2021-12-13 11:03:43,643: DEBUG - Preparing to unpack .../libsm6_2%3a1.2.3-1_amd64.deb ...
2021-12-13 11:03:43,644: DEBUG - Unpacking libsm6:amd64 (2:1.2.3-1) ...
2021-12-13 11:03:43,670: DEBUG - Selecting previously unselected package libgraphicsmagick-q16-3.
2021-12-13 11:03:43,679: DEBUG - Preparing to unpack .../libgraphicsmagick-q16-3_1.4+really1.3.35-1deb10u1_amd64.deb ...
2021-12-13 11:03:43,681: DEBUG - Unpacking libgraphicsmagick-q16-3 (1.4+really1.3.35-1
deb10u1) ...
2021-12-13 11:03:43,853: DEBUG - Selecting previously unselected package graphicsmagick.
2021-12-13 11:03:43,862: DEBUG - Preparing to unpack .../graphicsmagick_1.4+really1.3.35-1deb10u1_amd64.deb ...
2021-12-13 11:03:43,864: DEBUG - Unpacking graphicsmagick (1.4+really1.3.35-1
deb10u1) ...
2021-12-13 11:03:44,083: DEBUG - Setting up x11-common (1:7.7+19) ...
2021-12-13 11:03:44,106: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-12-13 11:03:44,254: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-12-13 11:03:44,274: DEBUG - update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
2021-12-13 11:03:45,045: DEBUG - Setting up libice6:amd64 (2:1.0.9-2) ...
2021-12-13 11:03:45,048: DEBUG - Setting up libsm6:amd64 (2:1.2.3-1) ...
2021-12-13 11:03:45,052: DEBUG - Setting up libgraphicsmagick-q16-3 (1.4+really1.3.35-1deb10u1) ...
2021-12-13 11:03:45,055: DEBUG - Setting up graphicsmagick (1.4+really1.3.35-1
deb10u1) ...
2021-12-13 11:03:45,068: DEBUG - Processing triggers for systemd (241-7deb10u8) ...
2021-12-13 11:03:45,388: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2021-12-13 11:03:45,890: DEBUG - Processing triggers for mime-support (3.62) ...
2021-12-13 11:03:45,919: DEBUG - Processing triggers for libc-bin (2.28-10) ...
2021-12-13 11:03:46,132: DEBUG - + [[ -n /tmp/tmp.aeVA23nJ9U ]]
2021-12-13 11:03:46,132: DEBUG - + rm --recursive --force /tmp/tmp.aeVA23nJ9U
2021-12-13 11:03:46,134: DEBUG - + ynh_package_is_installed rocketchat-ynh-deps
2021-12-13 11:03:46,146: DEBUG - + ynh_wait_dpkg_free
2021-12-13 11:03:46,300: DEBUG - + return 0
2021-12-13 11:03:46,300: DEBUG - + grep --count 'ok installed'
2021-12-13 11:03:46,302: DEBUG - + dpkg-query --show '--showformat=${Status}' rocketchat-ynh-deps
2021-12-13 11:03:46,331: DEBUG - + rm /tmp/rocketchat-ynh-deps.control
2021-12-13 11:03:46,334: DEBUG - + grep --quiet php
2021-12-13 11:03:46,337: DEBUG - + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=12
2021-12-13 11:03:46,338: DEBUG - + [[ 2 -eq 1 ]]
2021-12-13 11:03:46,338: DEBUG - + ynh_install_nodejs --nodejs_version=12
2021-12-13 11:03:46,351: DEBUG - + mkdir --parents /opt/node_n
2021-12-13 11:03:46,353: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-13 11:03:46,354: DEBUG - ++ sed s@/usr/local/bin:@@
2021-12-13 11:03:46,356: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-13 11:03:46,358: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-13 11:03:46,358: DEBUG - + test -x /usr/bin/node
2021-12-13 11:03:46,358: DEBUG - + mv /usr/bin/node /usr/bin/node_n
2021-12-13 11:03:46,360: DEBUG - + test -x /usr/bin/npm
2021-12-13 11:03:46,360: DEBUG - + /opt/node_n/bin/n --version
2021-12-13 11:03:46,371: DEBUG - ++ /opt/node_n/bin/n --version
2021-12-13 11:03:46,381: DEBUG - + dpkg --compare-versions v8.0.0 lt 8.0.1
2021-12-13 11:03:46,384: DEBUG - dpkg: warning: version 'v8.0.0' has bad syntax: version number does not start with digit
2021-12-13 11:03:46,385: DEBUG - + ynh_replace_string '--match_string=^N_PREFIX=${N_PREFIX-.}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
2021-12-13 11:03:46,455: DEBUG - + sed --in-place 's@^N_PREFIX=${N_PREFIX-.
}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
2021-12-13 11:03:46,458: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-13 11:03:46,458: DEBUG - + test -x /usr/bin/node_n
2021-12-13 11:03:46,458: DEBUG - + mv /usr/bin/node_n /usr/bin/node
2021-12-13 11:03:46,460: DEBUG - + test -x /usr/bin/npm_n
2021-12-13 11:03:46,460: DEBUG - ++ uname --machine
2021-12-13 11:03:46,462: DEBUG - + uname=x86_64
2021-12-13 11:03:46,463: DEBUG - + [[ x86_64 =
aarch64 ]]
2021-12-13 11:03:46,463: DEBUG - + [[ x86_64 =~ arm64 ]]
2021-12-13 11:03:46,463: DEBUG - + n 12
2021-12-13 11:03:46,603: DEBUG - installing : node-v12.22.7
2021-12-13 11:03:46,791: DEBUG - mkdir : /opt/node_n/n/versions/node/12.22.7
2021-12-13 11:03:46,795: DEBUG - fetch : https://nodejs.org/dist/v12.22.7/node-v12.22.7-linux-x64.tar.xz
2021-12-13 11:03:50,921: DEBUG - installed : v12.22.7 (with npm 6.14.15)
2021-12-13 11:03:50,923: DEBUG - ++ tail --lines=1
2021-12-13 11:03:50,924: DEBUG - ++ sort --version-sort
2021-12-13 11:03:50,926: DEBUG - ++ find /opt/node_n/n/versions/node/12 /opt/node_n/n/versions/node/12.22.7 -maxdepth 0
2021-12-13 11:03:50,929: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/12.22.7
2021-12-13 11:03:50,930: DEBUG - ++ basename /opt/node_n/n/versions/node/12.22.7
2021-12-13 11:03:50,931: DEBUG - + real_nodejs_version=12.22.7
2021-12-13 11:03:50,932: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/12 ']'
2021-12-13 11:03:50,932: DEBUG - + tee --append /opt/node_n/ynh_app_version
2021-12-13 11:03:50,933: DEBUG - + echo rocketchat:12
2021-12-13 11:03:50,935: DEBUG - rocketchat:12
2021-12-13 11:03:50,936: DEBUG - + ynh_app_setting_set --app=rocketchat --key=nodejs_version --value=12
2021-12-13 11:03:50,936: DEBUG - + local globalapp=rocketchat
2021-12-13 11:03:51,008: DEBUG - + app=rocketchat
2021-12-13 11:03:51,008: DEBUG - + [[ nodejs_version =~ (unprotected|protected|skipped)
]]
2021-12-13 11:03:51,008: DEBUG - + ynh_app_setting set rocketchat nodejs_version 12
2021-12-13 11:03:51,098: DEBUG - + ynh_cron_upgrade_node
2021-12-13 11:03:51,098: DEBUG - + cat
2021-12-13 11:03:51,100: DEBUG - + chmod +x /opt/node_n/node_update.sh
2021-12-13 11:03:51,102: DEBUG - + cat
2021-12-13 11:03:51,104: DEBUG - + chmod +x /etc/cron.daily/node_update
2021-12-13 11:03:51,105: DEBUG - + ynh_use_nodejs
2021-12-13 11:03:51,106: DEBUG - ++ ynh_app_setting_get --app=rocketchat --key=nodejs_version
2021-12-13 11:03:51,106: DEBUG - ++ local globalapp=rocketchat
2021-12-13 11:03:51,140: DEBUG - ++ app=rocketchat
2021-12-13 11:03:51,141: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)
]]
2021-12-13 11:03:51,141: DEBUG - ++ ynh_app_setting get rocketchat nodejs_version
2021-12-13 11:03:51,193: DEBUG - + nodejs_version=12
2021-12-13 11:03:51,193: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/12/bin
2021-12-13 11:03:51,193: DEBUG - + shopt -s expand_aliases
2021-12-13 11:03:51,193: DEBUG - + ynh_node=/opt/node_n/n/versions/node/12/bin/node
2021-12-13 11:03:51,193: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/12/bin/node
2021-12-13 11:03:51,194: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/12/bin/npm
2021-12-13 11:03:51,194: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/12/bin/npm
2021-12-13 11:03:51,194: DEBUG - + [[ :/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: != :/\o\p\t/\n\o\d\e_\n/\n/\v\e\r\s\i\o\n\s/\n\o\d\e/\1\2/\b\i\n ]]
2021-12-13 11:03:51,194: DEBUG - + PATH=/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-13 11:03:51,194: DEBUG - + node_PATH=/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-13 11:03:51,194: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-13 11:03:51,194: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-13 11:03:51,194: DEBUG - + ynh_install_mongo
2021-12-13 11:03:51,272: INFO - [#######++...........] > Installing MongoDB...
2021-12-13 11:03:51,274: DEBUG - +++ cat /etc/debian_version
2021-12-13 11:03:51,277: DEBUG - ++ dpkg --compare-versions 10.11 gt 10.0
2021-12-13 11:03:51,280: DEBUG - + ynh_install_extra_app_dependencies '--repo=deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main' '--package=mongodb-org mongodb-org-server mongodb-org-tools' --key=https://www.mongodb.org/static/pgp/server-5.0.asc
2021-12-13 11:03:51,383: DEBUG - + name=rocketchat
2021-12-13 11:03:51,384: DEBUG - + key=https://www.mongodb.org/static/pgp/server-5.0.asc
2021-12-13 11:03:51,384: DEBUG - + '[' -n https://www.mongodb.org/static/pgp/server-5.0.asc ']'
2021-12-13 11:03:51,384: DEBUG - + key=--key=https://www.mongodb.org/static/pgp/server-5.0.asc
2021-12-13 11:03:51,384: DEBUG - + ynh_install_extra_repo '--repo=deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main' --key=https://www.mongodb.org/static/pgp/server-5.0.asc --priority=995 --name=rocketchat
2021-12-13 11:03:51,537: DEBUG - + name=rocketchat
2021-12-13 11:03:51,537: DEBUG - + append=0
2021-12-13 11:03:51,537: DEBUG - + key=https://www.mongodb.org/static/pgp/server-5.0.asc
2021-12-13 11:03:51,537: DEBUG - + priority=995
2021-12-13 11:03:51,537: DEBUG - + append=
2021-12-13 11:03:51,537: DEBUG - + wget_append=tee
2021-12-13 11:03:51,538: DEBUG - + repo='http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main'
2021-12-13 11:03:51,539: DEBUG - ++ awk '{ print $1 }'
2021-12-13 11:03:51,540: DEBUG - ++ echo 'http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main'
2021-12-13 11:03:51,546: DEBUG - + local uri=http://repo.mongodb.org/apt/debian
2021-12-13 11:03:51,547: DEBUG - ++ awk '{ print $2 }'
2021-12-13 11:03:51,549: DEBUG - ++ echo 'http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main'
2021-12-13 11:03:51,552: DEBUG - + local suite=buster/mongodb-org/5.0
2021-12-13 11:03:51,552: DEBUG - + local component=main
2021-12-13 11:03:51,552: DEBUG - + ynh_add_repo --uri=http://repo.mongodb.org/apt/debian --suite=buster/mongodb-org/5.0 --component=main --name=rocketchat
2021-12-13 11:03:51,705: DEBUG - + name=rocketchat
2021-12-13 11:03:51,706: DEBUG - + append=0
2021-12-13 11:03:51,706: DEBUG - + append=tee
2021-12-13 11:03:51,706: DEBUG - + mkdir --parents /etc/apt/sources.list.d
2021-12-13 11:03:51,708: DEBUG - + tee /etc/apt/sources.list.d/rocketchat.list
2021-12-13 11:03:51,710: DEBUG - deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main
2021-12-13 11:03:51,711: DEBUG - + local pin=repo.mongodb.org/apt/debian
2021-12-13 11:03:51,711: DEBUG - + pin=repo.mongodb.org
2021-12-13 11:03:51,712: DEBUG - + '[' -n 995 ']'
2021-12-13 11:03:51,712: DEBUG - + priority=--priority=995
2021-12-13 11:03:51,712: DEBUG - + ynh_pin_repo '--package=' '--pin=origin "repo.mongodb.org"' --priority=995 --name=rocketchat
2021-12-13 11:03:51,865: DEBUG - + package='
'
2021-12-13 11:03:51,865: DEBUG - + priority=995
2021-12-13 11:03:51,865: DEBUG - + name=rocketchat
2021-12-13 11:03:51,865: DEBUG - + append=0
2021-12-13 11:03:51,865: DEBUG - + append=tee
2021-12-13 11:03:51,865: DEBUG - + [[ rocketchat != \e\x\t\r\a_\p\h\p_\v\e\r\s\i\o\n ]]
2021-12-13 11:03:51,865: DEBUG - + mkdir --parents /etc/apt/preferences.d
2021-12-13 11:03:51,867: DEBUG - + tee /etc/apt/preferences.d/rocketchat
2021-12-13 11:03:51,869: DEBUG - Pin: origin "repo.mongodb.org"
2021-12-13 11:03:51,869: DEBUG - Pin-Priority: 995
2021-12-13 11:03:51,869: DEBUG - '
2021-12-13 11:03:51,870: DEBUG - Package: *
2021-12-13 11:03:51,870: DEBUG - Pin: origin "repo.mongodb.org"
2021-12-13 11:03:51,870: DEBUG - Pin-Priority: 995
2021-12-13 11:03:51,870: DEBUG -
2021-12-13 11:03:51,871: DEBUG - + '[' -n https://www.mongodb.org/static/pgp/server-5.0.asc ']'
2021-12-13 11:03:51,871: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d
2021-12-13 11:03:51,873: DEBUG - + tee /etc/apt/trusted.gpg.d/rocketchat.gpg
2021-12-13 11:03:51,875: DEBUG - + gpg --dearmor
2021-12-13 11:03:51,876: DEBUG - + wget --timeout 900 --quiet https://www.mongodb.org/static/pgp/server-5.0.asc --output-document=-
2021-12-13 11:03:52,469: DEBUG - + ynh_package_update
2021-12-13 11:03:52,470: DEBUG - + ynh_apt update
2021-12-13 11:03:52,470: DEBUG - + ynh_wait_dpkg_free
2021-12-13 11:03:52,639: DEBUG - + return 0
2021-12-13 11:03:52,640: DEBUG - + LC_ALL=C
2021-12-13 11:03:52,640: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-13 11:03:52,640: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-12-13 11:03:52,875: DEBUG - Hit:1 http://forge.yunohost.org/debian buster InRelease
2021-12-13 11:03:52,905: DEBUG - Hit:2 http://security.debian.org/debian-security buster/updates InRelease
2021-12-13 11:03:52,905: DEBUG - Hit:3 http://deb.debian.org/debian buster InRelease
2021-12-13 11:03:53,076: DEBUG - Ign:4 http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 InRelease
2021-12-13 11:03:53,244: DEBUG - Get:6 http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 Release [2396 B]
2021-12-13 11:03:53,502: DEBUG - Get:7 http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 Release.gpg [801 B]
2021-12-13 11:03:53,677: DEBUG - Hit:5 https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian10 ./ InRelease
2021-12-13 11:03:53,811: DEBUG - Get:8 http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0/main amd64 Packages [10.6 kB]
2021-12-13 11:03:53,834: DEBUG - Fetched 13.8 kB in 1s (12.5 kB/s)
2021-12-13 11:03:54,957: DEBUG - Reading package lists...
2021-12-13 11:03:55,017: DEBUG - + ynh_install_app_dependencies 'mongodb-org mongodb-org-server mongodb-org-tools'
2021-12-13 11:03:55,018: DEBUG - + local 'dependencies=mongodb-org mongodb-org-server mongodb-org-tools'
2021-12-13 11:03:55,019: DEBUG - ++ sed 's/([^\<=\>])\ ([^(])/\1, \2/g'
2021-12-13 11:03:55,021: DEBUG - ++ echo 'mongodb-org mongodb-org-server mongodb-org-tools'
2021-12-13 11:03:55,114: DEBUG - + dependencies='mongodb-org, mongodb-org-server, mongodb-org-tools'
2021-12-13 11:03:55,114: DEBUG - + local 'dependencies=mongodb-org, mongodb-org-server, mongodb-org-tools'
2021-12-13 11:03:55,115: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_55je6c1e/manifest.json
2021-12-13 11:03:55,115: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_55je6c1e/manifest.json
2021-12-13 11:03:55,261: DEBUG - + local version=4.2.1ynh1
2021-12-13 11:03:55,261: DEBUG - + '[' -z 4.2.1
ynh1 ']'
2021-12-13 11:03:55,261: DEBUG - + '[' 4.2.1ynh1 == null ']'
2021-12-13 11:03:55,261: DEBUG - + local dep_app=rocketchat
2021-12-13 11:03:55,261: DEBUG - + [[ mongodb-org, mongodb-org-server, mongodb-org-tools =
[<=>] ]]
2021-12-13 11:03:55,263: DEBUG - ++ sort -u
2021-12-13 11:03:55,263: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|>)'
2021-12-13 11:03:55,267: DEBUG - ++ echo mongodb-org, mongodb-org-server, mongodb-org-tools
2021-12-13 11:03:55,269: DEBUG - + local specific_php_version=
2021-12-13 11:03:55,269: DEBUG - + [[ '' != \7.\3 ]]
2021-12-13 11:03:55,269: DEBUG - + [[ false == \t\r\u\e ]]
2021-12-13 11:03:55,269: DEBUG - + local current_dependencies=
2021-12-13 11:03:55,269: DEBUG - + ynh_package_is_installed --package=rocketchat-ynh-deps
2021-12-13 11:03:55,281: DEBUG - + ynh_wait_dpkg_free
2021-12-13 11:03:55,429: DEBUG - + return 0
2021-12-13 11:03:55,430: DEBUG - + grep --count 'ok installed'
2021-12-13 11:03:55,432: DEBUG - + dpkg-query --show '--showformat=${Status}' rocketchat-ynh-deps
2021-12-13 11:03:55,452: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' rocketchat-ynh-deps
2021-12-13 11:03:55,470: DEBUG - + current_dependencies='apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick '
2021-12-13 11:03:55,470: DEBUG - + current_dependencies='apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick '
2021-12-13 11:03:55,470: DEBUG - + dependencies='apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick , mongodb-org, mongodb-org-server, mongodb-org-tools'
2021-12-13 11:03:55,470: DEBUG - + grep --quiet php
2021-12-13 11:03:55,473: DEBUG - + cat
2021-12-13 11:03:55,475: DEBUG - + ynh_package_install_from_equivs /tmp/rocketchat-ynh-deps.control
2021-12-13 11:03:55,475: DEBUG - + local controlfile=/tmp/rocketchat-ynh-deps.control
2021-12-13 11:03:55,476: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-12-13 11:03:55,478: DEBUG - ++ grep '^Package: ' /tmp/rocketchat-ynh-deps.control
2021-12-13 11:03:55,480: DEBUG - + local pkgname=rocketchat-ynh-deps
2021-12-13 11:03:55,481: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-12-13 11:03:55,483: DEBUG - ++ grep '^Version: ' /tmp/rocketchat-ynh-deps.control
2021-12-13 11:03:55,485: DEBUG - + local pkgversion=4.2.1ynh1
2021-12-13 11:03:55,485: DEBUG - + [[ -z rocketchat-ynh-deps ]]
2021-12-13 11:03:55,485: DEBUG - + [[ -z 4.2.1
ynh1 ]]
2021-12-13 11:03:55,485: DEBUG - + ynh_package_update
2021-12-13 11:03:55,485: DEBUG - + ynh_apt update
2021-12-13 11:03:55,486: DEBUG - + ynh_wait_dpkg_free
2021-12-13 11:03:55,636: DEBUG - + return 0
2021-12-13 11:03:55,636: DEBUG - + LC_ALL=C
2021-12-13 11:03:55,636: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-13 11:03:55,636: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-12-13 11:03:55,859: DEBUG - Hit:1 http://forge.yunohost.org/debian buster InRelease
2021-12-13 11:03:55,859: DEBUG - Ign:2 http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 InRelease
2021-12-13 11:03:55,908: DEBUG - Hit:3 http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 Release
2021-12-13 11:03:55,920: DEBUG - Hit:4 http://security.debian.org/debian-security buster/updates InRelease
2021-12-13 11:03:55,921: DEBUG - Hit:5 http://deb.debian.org/debian buster InRelease
2021-12-13 11:03:56,258: DEBUG - Hit:6 https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian10 ./ InRelease
2021-12-13 11:03:57,565: DEBUG - Reading package lists...
2021-12-13 11:03:57,625: DEBUG - ++ mktemp --directory
2021-12-13 11:03:57,627: DEBUG - + local TMPDIR=/tmp/tmp.LFAgu0mYVY
2021-12-13 11:03:57,627: DEBUG - + echo 10
2021-12-13 11:03:57,648: DEBUG - + ynh_wait_dpkg_free
2021-12-13 11:03:57,800: DEBUG - + return 0
2021-12-13 11:03:57,800: DEBUG - + cp /tmp/rocketchat-ynh-deps.control /tmp/tmp.LFAgu0mYVY/control
2021-12-13 11:03:57,802: DEBUG - + cd /tmp/tmp.LFAgu0mYVY
2021-12-13 11:03:57,803: DEBUG - + LC_ALL=C
2021-12-13 11:03:57,803: DEBUG - + equivs-build ./control
2021-12-13 11:03:58,834: DEBUG - + tee ./dpkg_log
2021-12-13 11:03:58,836: DEBUG - + LC_ALL=C
2021-12-13 11:03:58,836: DEBUG - + dpkg --force-depends --install ./rocketchat-ynh-deps_4.2.1ynh1_all.deb
2021-12-13 11:03:59,139: DEBUG - (Reading database ... 64284 files and directories currently installed.)
2021-12-13 11:03:59,142: DEBUG - Preparing to unpack .../rocketchat-ynh-deps_4.2.1
ynh1_all.deb ...
2021-12-13 11:03:59,145: DEBUG - Unpacking rocketchat-ynh-deps (4.2.1ynh1) over (4.2.1ynh1) ...
2021-12-13 11:03:59,170: DEBUG - dpkg: rocketchat-ynh-deps: dependency problems, but configuring anyway as you requested:
2021-12-13 11:03:59,170: DEBUG - rocketchat-ynh-deps depends on mongodb-org; however:
2021-12-13 11:03:59,170: DEBUG - Package mongodb-org is not installed.
2021-12-13 11:03:59,170: DEBUG - rocketchat-ynh-deps depends on mongodb-org-server; however:
2021-12-13 11:03:59,170: DEBUG - Package mongodb-org-server is not installed.
2021-12-13 11:03:59,170: DEBUG - rocketchat-ynh-deps depends on mongodb-org-tools; however:
2021-12-13 11:03:59,171: DEBUG - Package mongodb-org-tools is not installed.
2021-12-13 11:03:59,171: DEBUG -
2021-12-13 11:03:59,171: DEBUG - Setting up rocketchat-ynh-deps (4.2.1ynh1) ...
2021-12-13 11:03:59,188: DEBUG - + ynh_package_install --fix-broken
2021-12-13 11:03:59,189: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-12-13 11:03:59,189: DEBUG - + ynh_wait_dpkg_free
2021-12-13 11:03:59,333: DEBUG - + return 0
2021-12-13 11:03:59,334: DEBUG - + LC_ALL=C
2021-12-13 11:03:59,334: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-13 11:03:59,334: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-12-13 11:03:59,711: DEBUG - Reading package lists...
2021-12-13 11:03:59,935: DEBUG - Building dependency tree...
2021-12-13 11:03:59,937: DEBUG - Reading state information...
2021-12-13 11:04:00,054: DEBUG - Correcting dependencies... Done
2021-12-13 11:04:00,263: DEBUG - The following additional packages will be installed:
2021-12-13 11:04:00,263: DEBUG - mongodb-database-tools mongodb-mongosh mongodb-org mongodb-org-database
2021-12-13 11:04:00,263: DEBUG - mongodb-org-database-tools-extra mongodb-org-mongos mongodb-org-server
2021-12-13 11:04:00,264: DEBUG - mongodb-org-shell mongodb-org-tools
2021-12-13 11:04:00,282: DEBUG - The following NEW packages will be installed:
2021-12-13 11:04:00,283: DEBUG - mongodb-database-tools mongodb-mongosh mongodb-org mongodb-org-database
2021-12-13 11:04:00,283: DEBUG - mongodb-org-database-tools-extra mongodb-org-mongos mongodb-org-server
2021-12-13 11:04:00,284: DEBUG - mongodb-org-shell mongodb-org-tools
2021-12-13 11:04:00,830: DEBUG - 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
2021-12-13 11:04:00,830: DEBUG - Need to get 0 B/145 MB of archives.
2021-12-13 11:04:00,831: DEBUG - After this operation, 457 MB of additional disk space will be used.
2021-12-13 11:04:00,859: DEBUG - Selecting previously unselected package mongodb-database-tools.
2021-12-13 11:04:00,908: DEBUG - (Reading database ... 64284 files and directories currently installed.)
2021-12-13 11:04:00,912: DEBUG - Preparing to unpack .../0-mongodb-database-tools_100.5.1_amd64.deb ...
2021-12-13 11:04:00,913: DEBUG - Unpacking mongodb-database-tools (100.5.1) ...
2021-12-13 11:04:05,304: DEBUG - Selecting previously unselected package mongodb-mongosh.
2021-12-13 11:04:05,315: DEBUG - Preparing to unpack .../1-mongodb-mongosh_1.1.6_amd64.deb ...
2021-12-13 11:04:05,319: DEBUG - Unpacking mongodb-mongosh (1.1.6) ...
2021-12-13 11:04:11,446: DEBUG - Selecting previously unselected package mongodb-org-shell.
2021-12-13 11:04:11,455: DEBUG - Preparing to unpack .../2-mongodb-org-shell_5.0.5_amd64.deb ...
2021-12-13 11:04:11,457: DEBUG - Unpacking mongodb-org-shell (5.0.5) ...
2021-12-13 11:04:13,581: DEBUG - Selecting previously unselected package mongodb-org-server.
2021-12-13 11:04:13,590: DEBUG - Preparing to unpack .../3-mongodb-org-server_5.0.5_amd64.deb ...
2021-12-13 11:04:13,592: DEBUG - Unpacking mongodb-org-server (5.0.5) ...
2021-12-13 11:04:17,275: DEBUG - Selecting previously unselected package mongodb-org-mongos.
2021-12-13 11:04:17,287: DEBUG - Preparing to unpack .../4-mongodb-org-mongos_5.0.5_amd64.deb ...
2021-12-13 11:04:17,290: DEBUG - Unpacking mongodb-org-mongos (5.0.5) ...
2021-12-13 11:04:19,972: DEBUG - Selecting previously unselected package mongodb-org-database-tools-extra.
2021-12-13 11:04:19,981: DEBUG - Preparing to unpack .../5-mongodb-org-database-tools-extra_5.0.5_amd64.deb ...
2021-12-13 11:04:19,982: DEBUG - Unpacking mongodb-org-database-tools-extra (5.0.5) ...
2021-12-13 11:04:20,002: DEBUG - Selecting previously unselected package mongodb-org-database.
2021-12-13 11:04:20,010: DEBUG - Preparing to unpack .../6-mongodb-org-database_5.0.5_amd64.deb ...
2021-12-13 11:04:20,015: DEBUG - Unpacking mongodb-org-database (5.0.5) ...
2021-12-13 11:04:20,034: DEBUG - Selecting previously unselected package mongodb-org-tools.
2021-12-13 11:04:20,043: DEBUG - Preparing to unpack .../7-mongodb-org-tools_5.0.5_amd64.deb ...
2021-12-13 11:04:20,045: DEBUG - Unpacking mongodb-org-tools (5.0.5) ...
2021-12-13 11:04:20,063: DEBUG - Selecting previously unselected package mongodb-org.
2021-12-13 11:04:20,071: DEBUG - Preparing to unpack .../8-mongodb-org_5.0.5_amd64.deb ...
2021-12-13 11:04:20,073: DEBUG - Unpacking mongodb-org (5.0.5) ...
2021-12-13 11:04:20,122: DEBUG - Setting up mongodb-mongosh (1.1.6) ...
2021-12-13 11:04:20,125: DEBUG - Setting up mongodb-org-server (5.0.5) ...
2021-12-13 11:04:20,486: DEBUG - Setting up mongodb-org-shell (5.0.5) ...
2021-12-13 11:04:20,489: DEBUG - Setting up mongodb-database-tools (100.5.1) ...
2021-12-13 11:04:20,494: DEBUG - Setting up mongodb-org-mongos (5.0.5) ...
2021-12-13 11:04:20,497: DEBUG - Setting up mongodb-org-database-tools-extra (5.0.5) ...
2021-12-13 11:04:20,500: DEBUG - Setting up mongodb-org-database (5.0.5) ...
2021-12-13 11:04:20,504: DEBUG - Setting up mongodb-org-tools (5.0.5) ...
2021-12-13 11:04:20,507: DEBUG - Setting up mongodb-org (5.0.5) ...
2021-12-13 11:04:20,512: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2021-12-13 11:04:21,439: DEBUG - + [[ -n /tmp/tmp.LFAgu0mYVY ]]
2021-12-13 11:04:21,439: DEBUG - + rm --recursive --force /tmp/tmp.LFAgu0mYVY
2021-12-13 11:04:21,444: DEBUG - + ynh_package_is_installed rocketchat-ynh-deps
2021-12-13 11:04:21,458: DEBUG - + ynh_wait_dpkg_free
2021-12-13 11:04:21,617: DEBUG - + return 0
2021-12-13 11:04:21,618: DEBUG - + grep --count 'ok installed'
2021-12-13 11:04:21,618: DEBUG - + dpkg-query --show '--showformat=${Status}' rocketchat-ynh-deps
2021-12-13 11:04:21,640: DEBUG - + rm /tmp/rocketchat-ynh-deps.control
2021-12-13 11:04:21,642: DEBUG - + grep --quiet php
2021-12-13 11:04:21,645: DEBUG - + ynh_remove_extra_repo --name=rocketchat
2021-12-13 11:04:21,658: DEBUG - + name=rocketchat
2021-12-13 11:04:21,659: DEBUG - + ynh_secure_remove --file=/etc/apt/sources.list.d/rocketchat.list
2021-12-13 11:04:21,691: DEBUG - + [[ rocketchat == \e\x\t\r\a_\p\h\p_\v\e\r\s\i\o\n ]]
2021-12-13 11:04:21,691: DEBUG - + ynh_secure_remove /etc/apt/preferences.d/rocketchat
2021-12-13 11:04:21,717: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/rocketchat.gpg
2021-12-13 11:04:21,740: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/rocketchat.asc
2021-12-13 11:04:21,763: DEBUG - + ynh_package_update
2021-12-13 11:04:21,764: DEBUG - + ynh_apt update
2021-12-13 11:04:21,764: DEBUG - + ynh_wait_dpkg_free
2021-12-13 11:04:21,764: INFO - '/etc/apt/trusted.gpg.d/rocketchat.asc' wasn't deleted because it doesn't exist.
2021-12-13 11:04:21,912: DEBUG - + return 0
2021-12-13 11:04:21,913: DEBUG - + LC_ALL=C
2021-12-13 11:04:21,913: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-13 11:04:21,913: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-12-13 11:04:22,149: DEBUG - Hit:1 http://forge.yunohost.org/debian buster InRelease
2021-12-13 11:04:22,183: DEBUG - Hit:2 http://deb.debian.org/debian buster InRelease
2021-12-13 11:04:22,193: DEBUG - Hit:3 http://security.debian.org/debian-security buster/updates InRelease
2021-12-13 11:04:22,549: DEBUG - Hit:4 https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian10 ./ InRelease
2021-12-13 11:04:23,818: DEBUG - Reading package lists...
2021-12-13 11:04:23,878: DEBUG - + MONGODB_SERVICENAME=mongod
2021-12-13 11:04:23,878: DEBUG - + mongodb_servicename=mongod
2021-12-13 11:04:23,878: DEBUG - + systemctl is-enabled mongod -q
2021-12-13 11:04:23,925: DEBUG - + systemctl is-active mongod -q
2021-12-13 11:04:23,935: DEBUG - + ynh_systemd_action --service_name=mongod --action=restart '--line_match=aiting for connections' --log_path=/var/log/mongodb/mongod.log
2021-12-13 11:04:24,146: DEBUG - + service_name=mongod
2021-12-13 11:04:24,146: DEBUG - + action=restart
2021-12-13 11:04:24,146: DEBUG - + line_match='aiting for connections'
2021-12-13 11:04:24,146: DEBUG - + length=20
2021-12-13 11:04:24,146: DEBUG - + log_path=/var/log/mongodb/mongod.log
2021-12-13 11:04:24,147: DEBUG - + timeout=300
2021-12-13 11:04:24,147: DEBUG - + '[' restart == stop ']'
2021-12-13 11:04:24,147: DEBUG - + [[ -n aiting for connections ]]
2021-12-13 11:04:24,147: DEBUG - ++ mktemp
2021-12-13 11:04:24,150: DEBUG - + local templog=/tmp/tmp.PUEDApN5U7
2021-12-13 11:04:24,150: DEBUG - + '[' /var/log/mongodb/mongod.log == systemd ']'
2021-12-13 11:04:24,150: DEBUG - + local pid_tail=4993
2021-12-13 11:04:24,150: DEBUG - + '[' restart == reload ']'
2021-12-13 11:04:24,151: DEBUG - + systemctl restart mongod
2021-12-13 11:04:24,153: DEBUG - + tail --follow=name --retry --lines=0 /var/log/mongodb/mongod.log
2021-12-13 11:04:24,164: DEBUG - + [[ -n aiting for connections ]]
2021-12-13 11:04:53,271: WARNING - (this may take some time)
2021-12-13 11:09:25,154: DEBUG - + '[' 300 -ge 3 ']'
2021-12-13 11:09:25,155: DEBUG - + '[' 300 -eq 300 ']'
2021-12-13 11:09:25,155: DEBUG - + ynh_print_warn '--message=The service mongod didn'''t fully executed the action restart before the timeout.'
2021-12-13 11:09:25,156: DEBUG -
2021-12-13 11:09:25,172: DEBUG - + ynh_print_log 'The service mongod didn'''t fully executed the action restart before the timeout.'
2021-12-13 11:09:25,173: DEBUG - + echo -e 'The service mongod didn'''t fully executed the action restart before the timeout.'
2021-12-13 11:09:25,173: WARNING - The service mongod didn't fully executed the action restart before the timeout.
2021-12-13 11:09:25,174: DEBUG - + ynh_print_warn '--message=Please find here an extract of the end of the log of the service mongod:'
2021-12-13 11:09:25,188: DEBUG - + ynh_print_log 'Please find here an extract of the end of the log of the service mongod:'
2021-12-13 11:09:25,188: DEBUG - + echo -e 'Please find here an extract of the end of the log of the service mongod:'
2021-12-13 11:09:25,188: DEBUG - + ynh_exec_warn journalctl --quiet --no-hostname --no-pager --lines=20 --unit=mongod
2021-12-13 11:09:25,188: DEBUG - + [[ 6 -eq 1 ]]
2021-12-13 11:09:25,189: WARNING - Please find here an extract of the end of the log of the service mongod:
2021-12-13 11:09:25,190: DEBUG - ++ journalctl --quiet --no-hostname --no-pager --lines=20 --unit=mongod
2021-12-13 11:09:25,203: DEBUG - + ynh_print_warn 'Dec 13 11:04:20 systemd[1]: /lib/systemd/system/mongod.service:11: PIDFile= references path below legacy directory /var/run/, updating /var/run/mongodb/mongod.pid → /run/mongodb/mongod.pid; please update the unit file accordingly.
2021-12-13 11:09:25,205: DEBUG - Dec 13 11:04:24 systemd[1]: Started MongoDB Database Server.
2021-12-13 11:09:25,205: DEBUG - Dec 13 11:04:24 systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
2021-12-13 11:09:25,205: DEBUG - Dec 13 11:04:24 systemd[1]: mongod.service: Failed with result '''signal'''.'
2021-12-13 11:09:25,207: DEBUG - Dec 13 11:04:24 systemd[1]: Started MongoDB Database Server.
2021-12-13 11:09:25,207: DEBUG - Dec 13 11:04:24 systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
2021-12-13 11:09:25,208: DEBUG - Dec 13 11:04:24 systemd[1]: mongod.service: Failed with result '''signal'''.'
2021-12-13 11:09:25,222: DEBUG - + ynh_print_log 'Dec 13 11:04:20 systemd[1]: /lib/systemd/system/mongod.service:11: PIDFile= references path below legacy directory /var/run/, updating /var/run/mongodb/mongod.pid → /run/mongodb/mongod.pid; please update the unit file accordingly.
2021-12-13 11:09:25,222: DEBUG - Dec 13 11:04:24 systemd[1]: Started MongoDB Database Server.
2021-12-13 11:09:25,223: DEBUG - Dec 13 11:04:24 systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
2021-12-13 11:09:25,223: DEBUG - Dec 13 11:04:24 systemd[1]: mongod.service: Failed with result '''signal'''.'
2021-12-13 11:09:25,223: DEBUG - + echo -e 'Dec 13 11:04:20 systemd[1]: /lib/systemd/system/mongod.service:11: PIDFile= references path below legacy directory /var/run/, updating /var/run/mongodb/mongod.pid → /run/mongodb/mongod.pid; please update the unit file accordingly.
2021-12-13 11:09:25,223: DEBUG - Dec 13 11:04:24 systemd[1]: Started MongoDB Database Server.
2021-12-13 11:09:25,223: DEBUG - Dec 13 11:04:24 systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
2021-12-13 11:09:25,223: DEBUG - Dec 13 11:04:24 systemd[1]: mongod.service: Failed with result '''signal'''.'
2021-12-13 11:09:25,223: DEBUG - + '[' -e /var/log/mongodb/mongod.log ']'
2021-12-13 11:09:25,223: DEBUG - + ynh_print_warn '--message=---'
2021-12-13 11:09:25,224: WARNING - Dec 13 11:04:20 systemd[1]: /lib/systemd/system/mongod.service:11: PIDFile= references path below legacy directory /var/run/, updating /var/run/mongodb/mongod.pid → /run/mongodb/mongod.pid; please update the unit file accordingly.
2021-12-13 11:09:25,225: WARNING - Dec 13 11:04:24 systemd[1]: Started MongoDB Database Server.
2021-12-13 11:09:25,226: WARNING - Dec 13 11:04:24 systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
2021-12-13 11:09:25,226: WARNING - Dec 13 11:04:24 systemd[1]: mongod.service: Failed with result 'signal'.
2021-12-13 11:09:25,239: DEBUG - + ynh_print_log '---'
2021-12-13 11:09:25,239: DEBUG - + echo -e '---'
2021-12-13 11:09:25,239: DEBUG - + ynh_exec_warn tail --lines=20 /var/log/mongodb/mongod.log
2021-12-13 11:09:25,240: DEBUG - + [[ 3 -eq 1 ]]
2021-12-13 11:09:25,240: WARNING - ---
2021-12-13 11:09:25,241: DEBUG - ++ tail --lines=20 /var/log/mongodb/mongod.log
2021-12-13 11:09:25,246: DEBUG - + ynh_print_warn '{"t":{"$date":"2021-12-03T07:25:34.610-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":17100}}
2021-12-13 11:09:25,246: DEBUG - {"t":{"$date":"2021-12-03T07:25:58.681-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheRefresh","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":296218}}
2021-12-13 11:09:25,246: DEBUG - {"t":{"$date":"2021-12-03T07:27:29.118-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1928}}
2021-12-13 11:09:25,246: DEBUG - {"t":{"$date":"2021-12-03T07:28:18.949-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1804}}
2021-12-13 11:09:25,246: DEBUG - {"t":{"$date":"2021-12-03T07:27:07.411-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheReap","msg":"Slow query","attr":{"type":"command","ns":"config.transactions","command":{"find":"transactions","filter":{"lastWriteDate":{"$lt":{"$date":"2021-12-03T12:51:53.803Z"}}},"projection":{"_id":1},"sort":{"_id":1},"readConcern":{},"$db":"config"},"planSummary":"EOF","keysExamined":0,"docsExamined":0,"cursorExhausted":true,"numYields":0,"nreturned":0,"reslen":108,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":2}},"Mutex":{"acquireCount":{"r":1}}},"readConcern":{"provenance":"clientSupplied"},"storage":{},"protocol":"op_msg","durationMillis":134679}}
2021-12-13 11:09:25,247: DEBUG - {"t":{"$date":"2021-12-03T07:29:13.431-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":16920}}
2021-12-13 11:09:25,247: DEBUG - {"t":{"$date":"2021-12-03T07:30:56.333-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2134}}
2021-12-13 11:09:25,247: DEBUG - {"t":{"$date":"2021-12-03T07:31:42.803-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2279}}
2021-12-13 11:09:25,247: DEBUG - {"t":{"$date":"2021-12-03T07:32:33.976-06:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"WTCheckpointThread","msg":"WiredTiger message","attr":{"message":"[1638538340:108770][3461:0x7f7c86f1f700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 9069, snapshot max: 9069 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 1"}}
2021-12-13 11:09:25,247: DEBUG - {"t":{"$date":"2021-12-03T07:32:47.281-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":13376}}
2021-12-13 11:09:25,247: DEBUG - {"t":{"$date":"2021-12-03T07:34:41.372-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1899}}
2021-12-13 11:09:25,248: DEBUG - {"t":{"$date":"2021-12-03T07:35:27.373-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1129}}
2021-12-13 11:09:25,248: DEBUG - {"t":{"$date":"2021-12-03T07:36:17.623-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":2558}}
2021-12-13 11:09:25,248: DEBUG - {"t":{"$date":"2021-12-03T07:37:55.380-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1667}}
2021-12-13 11:09:25,248: DEBUG - {"t":{"$date":"2021-12-03T07:36:49.458-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheRefresh","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":339939}}
2021-12-13 11:09:25,248: DEBUG - {"t":{"$date":"2021-12-03T07:38:40.321-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2457}}
2021-12-13 11:09:25,248: DEBUG - {"t":{"$date":"2021-12-03T07:38:13.953-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheReap","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":294574}}
2021-12-13 11:09:25,248: DEBUG - {"t":{"$date":"2021-12-03T07:39:28.317-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":6248}}
2021-12-13 11:09:25,249: DEBUG - {"t":{"$date":"2021-12-03T07:41:15.430-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1584}}
2021-12-13 11:09:25,250: DEBUG - {"t":{"$date":"2021-12-03T07:42:09.926-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1747}}'
2021-12-13 11:09:25,251: DEBUG - {"t":{"$date":"2021-12-03T07:25:58.681-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheRefresh","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":296218}}
2021-12-13 11:09:25,251: DEBUG - {"t":{"$date":"2021-12-03T07:27:29.118-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1928}}
2021-12-13 11:09:25,251: DEBUG - {"t":{"$date":"2021-12-03T07:28:18.949-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1804}}
2021-12-13 11:09:25,251: DEBUG - {"t":{"$date":"2021-12-03T07:27:07.411-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheReap","msg":"Slow query","attr":{"type":"command","ns":"config.transactions","command":{"find":"transactions","filter":{"lastWriteDate":{"$lt":{"$date":"2021-12-03T12:51:53.803Z"}}},"projection":{"_id":1},"sort":{"_id":1},"readConcern":{},"$db":"config"},"planSummary":"EOF","keysExamined":0,"docsExamined":0,"cursorExhausted":true,"numYields":0,"nreturned":0,"reslen":108,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":2}},"Mutex":{"acquireCount":{"r":1}}},"readConcern":{"provenance":"clientSupplied"},"storage":{},"protocol":"op_msg","durationMillis":134679}}
2021-12-13 11:09:25,252: DEBUG - {"t":{"$date":"2021-12-03T07:29:13.431-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":16920}}
2021-12-13 11:09:25,252: DEBUG - {"t":{"$date":"2021-12-03T07:30:56.333-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2134}}
2021-12-13 11:09:25,252: DEBUG - {"t":{"$date":"2021-12-03T07:31:42.803-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2279}}
2021-12-13 11:09:25,252: DEBUG - {"t":{"$date":"2021-12-03T07:32:33.976-06:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"WTCheckpointThread","msg":"WiredTiger message","attr":{"message":"[1638538340:108770][3461:0x7f7c86f1f700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 9069, snapshot max: 9069 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 1"}}
2021-12-13 11:09:25,252: DEBUG - {"t":{"$date":"2021-12-03T07:32:47.281-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":13376}}
2021-12-13 11:09:25,253: DEBUG - {"t":{"$date":"2021-12-03T07:34:41.372-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1899}}
2021-12-13 11:09:25,254: DEBUG - {"t":{"$date":"2021-12-03T07:35:27.373-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1129}}
2021-12-13 11:09:25,254: DEBUG - {"t":{"$date":"2021-12-03T07:36:17.623-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":2558}}
2021-12-13 11:09:25,254: DEBUG - {"t":{"$date":"2021-12-03T07:37:55.380-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1667}}
2021-12-13 11:09:25,254: DEBUG - {"t":{"$date":"2021-12-03T07:36:49.458-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheRefresh","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":339939}}
2021-12-13 11:09:25,254: DEBUG - {"t":{"$date":"2021-12-03T07:38:40.321-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2457}}
2021-12-13 11:09:25,255: DEBUG - {"t":{"$date":"2021-12-03T07:38:13.953-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheReap","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":294574}}
2021-12-13 11:09:25,255: DEBUG - {"t":{"$date":"2021-12-03T07:39:28.317-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":6248}}
2021-12-13 11:09:25,255: DEBUG - {"t":{"$date":"2021-12-03T07:41:15.430-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1584}}
2021-12-13 11:09:25,255: DEBUG - {"t":{"$date":"2021-12-03T07:42:09.926-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1747}}'
2021-12-13 11:09:25,269: DEBUG - + ynh_print_log '{"t":{"$date":"2021-12-03T07:25:34.610-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":17100}}
2021-12-13 11:09:25,269: DEBUG - {"t":{"$date":"2021-12-03T07:25:58.681-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheRefresh","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":296218}}
2021-12-13 11:09:25,270: DEBUG - {"t":{"$date":"2021-12-03T07:27:29.118-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1928}}
2021-12-13 11:09:25,270: DEBUG - {"t":{"$date":"2021-12-03T07:28:18.949-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1804}}
2021-12-13 11:09:25,270: DEBUG - {"t":{"$date":"2021-12-03T07:27:07.411-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheReap","msg":"Slow query","attr":{"type":"command","ns":"config.transactions","command":{"find":"transactions","filter":{"lastWriteDate":{"$lt":{"$date":"2021-12-03T12:51:53.803Z"}}},"projection":{"_id":1},"sort":{"_id":1},"readConcern":{},"$db":"config"},"planSummary":"EOF","keysExamined":0,"docsExamined":0,"cursorExhausted":true,"numYields":0,"nreturned":0,"reslen":108,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":2}},"Mutex":{"acquireCount":{"r":1}}},"readConcern":{"provenance":"clientSupplied"},"storage":{},"protocol":"op_msg","durationMillis":134679}}
2021-12-13 11:09:25,270: DEBUG - {"t":{"$date":"2021-12-03T07:29:13.431-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":16920}}
2021-12-13 11:09:25,270: DEBUG - {"t":{"$date":"2021-12-03T07:30:56.333-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2134}}
2021-12-13 11:09:25,270: DEBUG - {"t":{"$date":"2021-12-03T07:31:42.803-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2279}}
2021-12-13 11:09:25,271: DEBUG - {"t":{"$date":"2021-12-03T07:32:33.976-06:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"WTCheckpointThread","msg":"WiredTiger message","attr":{"message":"[1638538340:108770][3461:0x7f7c86f1f700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 9069, snapshot max: 9069 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 1"}}
2021-12-13 11:09:25,271: DEBUG - {"t":{"$date":"2021-12-03T07:32:47.281-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":13376}}
2021-12-13 11:09:25,271: DEBUG - {"t":{"$date":"2021-12-03T07:34:41.372-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1899}}
2021-12-13 11:09:25,271: DEBUG - {"t":{"$date":"2021-12-03T07:35:27.373-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1129}}
2021-12-13 11:09:25,271: DEBUG - {"t":{"$date":"2021-12-03T07:36:17.623-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":2558}}
2021-12-13 11:09:25,271: DEBUG - {"t":{"$date":"2021-12-03T07:37:55.380-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1667}}
2021-12-13 11:09:25,272: DEBUG - {"t":{"$date":"2021-12-03T07:36:49.458-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheRefresh","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":339939}}
2021-12-13 11:09:25,272: DEBUG - {"t":{"$date":"2021-12-03T07:38:40.321-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2457}}
2021-12-13 11:09:25,272: DEBUG - {"t":{"$date":"2021-12-03T07:38:13.953-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheReap","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":294574}}
2021-12-13 11:09:25,272: DEBUG - {"t":{"$date":"2021-12-03T07:39:28.317-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":6248}}
2021-12-13 11:09:25,272: DEBUG - {"t":{"$date":"2021-12-03T07:41:15.430-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1584}}
2021-12-13 11:09:25,272: DEBUG - {"t":{"$date":"2021-12-03T07:42:09.926-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1747}}'
2021-12-13 11:09:25,272: DEBUG - + echo -e '{"t":{"$date":"2021-12-03T07:25:34.610-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":17100}}
2021-12-13 11:09:25,273: DEBUG - {"t":{"$date":"2021-12-03T07:25:58.681-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheRefresh","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":296218}}
2021-12-13 11:09:25,273: DEBUG - {"t":{"$date":"2021-12-03T07:27:29.118-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1928}}
2021-12-13 11:09:25,274: DEBUG - {"t":{"$date":"2021-12-03T07:28:18.949-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1804}}
2021-12-13 11:09:25,274: DEBUG - {"t":{"$date":"2021-12-03T07:27:07.411-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheReap","msg":"Slow query","attr":{"type":"command","ns":"config.transactions","command":{"find":"transactions","filter":{"lastWriteDate":{"$lt":{"$date":"2021-12-03T12:51:53.803Z"}}},"projection":{"_id":1},"sort":{"_id":1},"readConcern":{},"$db":"config"},"planSummary":"EOF","keysExamined":0,"docsExamined":0,"cursorExhausted":true,"numYields":0,"nreturned":0,"reslen":108,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":2}},"Mutex":{"acquireCount":{"r":1}}},"readConcern":{"provenance":"clientSupplied"},"storage":{},"protocol":"op_msg","durationMillis":134679}}
2021-12-13 11:09:25,274: DEBUG - {"t":{"$date":"2021-12-03T07:29:13.431-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":16920}}
2021-12-13 11:09:25,274: DEBUG - {"t":{"$date":"2021-12-03T07:30:56.333-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2134}}
2021-12-13 11:09:25,274: DEBUG - {"t":{"$date":"2021-12-03T07:31:42.803-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2279}}
2021-12-13 11:09:25,274: DEBUG - {"t":{"$date":"2021-12-03T07:32:33.976-06:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"WTCheckpointThread","msg":"WiredTiger message","attr":{"message":"[1638538340:108770][3461:0x7f7c86f1f700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 9069, snapshot max: 9069 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 1"}}
2021-12-13 11:09:25,274: DEBUG - {"t":{"$date":"2021-12-03T07:32:47.281-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":13376}}
2021-12-13 11:09:25,275: DEBUG - {"t":{"$date":"2021-12-03T07:34:41.372-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1899}}
2021-12-13 11:09:25,275: DEBUG - {"t":{"$date":"2021-12-03T07:35:27.373-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1129}}
2021-12-13 11:09:25,275: DEBUG - {"t":{"$date":"2021-12-03T07:36:17.623-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":2558}}
2021-12-13 11:09:25,275: DEBUG - {"t":{"$date":"2021-12-03T07:37:55.380-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1667}}
2021-12-13 11:09:25,275: DEBUG - {"t":{"$date":"2021-12-03T07:36:49.458-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheRefresh","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":339939}}
2021-12-13 11:09:25,275: DEBUG - {"t":{"$date":"2021-12-03T07:38:40.321-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2457}}
2021-12-13 11:09:25,275: DEBUG - {"t":{"$date":"2021-12-03T07:38:13.953-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheReap","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":294574}}
2021-12-13 11:09:25,276: DEBUG - {"t":{"$date":"2021-12-03T07:39:28.317-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":6248}}
2021-12-13 11:09:25,276: DEBUG - {"t":{"$date":"2021-12-03T07:41:15.430-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1584}}
2021-12-13 11:09:25,276: DEBUG - {"t":{"$date":"2021-12-03T07:42:09.926-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1747}}'
2021-12-13 11:09:25,276: DEBUG - + ynh_clean_check_starting
2021-12-13 11:09:25,276: DEBUG - + '[' -n 4993 ']'
2021-12-13 11:09:25,276: DEBUG - + kill -SIGTERM 4993
2021-12-13 11:09:25,276: WARNING - {"t":{"$date":"2021-12-03T07:25:34.610-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":17100}}
2021-12-13 11:09:25,279: WARNING - {"t":{"$date":"2021-12-03T07:25:58.681-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheRefresh","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":296218}}
2021-12-13 11:09:25,280: WARNING - {"t":{"$date":"2021-12-03T07:27:29.118-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1928}}
2021-12-13 11:09:25,280: WARNING - {"t":{"$date":"2021-12-03T07:28:18.949-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1804}}
2021-12-13 11:09:25,281: WARNING - {"t":{"$date":"2021-12-03T07:27:07.411-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheReap","msg":"Slow query","attr":{"type":"command","ns":"config.transactions","command":{"find":"transactions","filter":{"lastWriteDate":{"$lt":{"$date":"2021-12-03T12:51:53.803Z"}}},"projection":{"_id":1},"sort":{"_id":1},"readConcern":{},"$db":"config"},"planSummary":"EOF","keysExamined":0,"docsExamined":0,"cursorExhausted":true,"numYields":0,"nreturned":0,"reslen":108,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":2}},"Mutex":{"acquireCount":{"r":1}}},"readConcern":{"provenance":"clientSupplied"},"storage":{},"protocol":"op_msg","durationMillis":134679}}
2021-12-13 11:09:25,283: WARNING - {"t":{"$date":"2021-12-03T07:29:13.431-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":16920}}
2021-12-13 11:09:25,284: WARNING - {"t":{"$date":"2021-12-03T07:30:56.333-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2134}}
2021-12-13 11:09:25,285: WARNING - {"t":{"$date":"2021-12-03T07:31:42.803-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2279}}
2021-12-13 11:09:25,288: WARNING - {"t":{"$date":"2021-12-03T07:32:33.976-06:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"WTCheckpointThread","msg":"WiredTiger message","attr":{"message":"[1638538340:108770][3461:0x7f7c86f1f700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 9069, snapshot max: 9069 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 1"}}
2021-12-13 11:09:25,289: WARNING - {"t":{"$date":"2021-12-03T07:32:47.281-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":13376}}
2021-12-13 11:09:25,295: WARNING - {"t":{"$date":"2021-12-03T07:34:41.372-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1899}}
2021-12-13 11:09:25,295: WARNING - {"t":{"$date":"2021-12-03T07:35:27.373-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1129}}
2021-12-13 11:09:25,296: WARNING - {"t":{"$date":"2021-12-03T07:36:17.623-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":2558}}
2021-12-13 11:09:25,296: WARNING - {"t":{"$date":"2021-12-03T07:37:55.380-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1667}}
2021-12-13 11:09:25,297: WARNING - {"t":{"$date":"2021-12-03T07:36:49.458-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheRefresh","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":339939}}
2021-12-13 11:09:25,297: WARNING - {"t":{"$date":"2021-12-03T07:38:40.321-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":2457}}
2021-12-13 11:09:25,298: WARNING - {"t":{"$date":"2021-12-03T07:38:13.953-06:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheReap","msg":"Slow query","attr":{"type":"command","ns":"config.system.sessions","command":{"listIndexes":"system.sessions","cursor":{},"$db":"config"},"numYields":0,"reslen":245,"locks":{"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{},"protocol":"op_msg","durationMillis":294574}}
2021-12-13 11:09:25,298: WARNING - {"t":{"$date":"2021-12-03T07:39:28.317-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"UnusedLockCleaner","durationMillis":6248}}
2021-12-13 11:09:25,299: WARNING - {"t":{"$date":"2021-12-03T07:41:15.430-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1584}}
2021-12-13 11:09:25,299: WARNING - {"t":{"$date":"2021-12-03T07:42:09.926-06:00"},"s":"I", "c":"COMMAND", "id":23099, "ctx":"PeriodicTaskRunner","msg":"Task finished","attr":{"taskName":"DBConnectionPool-cleaner","durationMillis":1747}}
2021-12-13 11:09:25,300: DEBUG - + '[' -n /tmp/tmp.PUEDApN5U7 ']'
2021-12-13 11:09:25,300: DEBUG - + ynh_secure_remove --file=/tmp/tmp.PUEDApN5U7
2021-12-13 11:09:25,316: DEBUG - + yunohost service add mongod '--description=MongoDB daemon' --log=/var/log/mongodb/mongod.log
2021-12-13 11:09:25,755: DEBUG - The service 'mongod' was added
2021-12-13 11:09:25,853: INFO - [#########...........] > Creating a MongoDB database...
2021-12-13 11:09:25,855: DEBUG - ++ ynh_sanitize_dbid --db_name=rocketchat
2021-12-13 11:09:25,872: DEBUG - ++ echo rocketchat
2021-12-13 11:09:25,873: DEBUG - + db_name=rocketchat
2021-12-13 11:09:25,873: DEBUG - + db_user=rocketchat
2021-12-13 11:09:25,873: DEBUG - + ynh_app_setting_set --app=rocketchat --key=db_name --value=rocketchat
2021-12-13 11:09:25,873: DEBUG - + local _globalapp=rocketchat
2021-12-13 11:09:25,971: DEBUG - + app=rocketchat
2021-12-13 11:09:25,972: DEBUG - + [[ db_name =
(unprotected|protected|skipped)
]]
2021-12-13 11:09:25,972: DEBUG - + ynh_app_setting set rocketchat db_name rocketchat
2021-12-13 11:09:26,028: DEBUG - + ynh_mongo_setup_db --db_user=rocketchat --db_name=rocketchat
2021-12-13 11:09:26,029: DEBUG - + db_pwd=
2021-12-13 11:09:26,084: DEBUG - ++ ynh_string_random
2021-12-13 11:09:26,086: DEBUG - ++ length=24
2021-12-13 11:09:26,087: DEBUG - ++ sed --quiet 's/(.{24})./\1/p'
2021-12-13 11:09:26,089: DEBUG - ++ tr --complement --delete A-Za-z0-9
2021-12-13 11:09:26,090: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2021-12-13 11:09:26,099: DEBUG - + local new_db_pwd=
*********
2021-12-13 11:09:26,099: DEBUG - + db_pwd=**********
2021-12-13 11:09:26,099: DEBUG - + ynh_mongo_create_user --db_user=rocketchat --db_pwd=********** --db_name=rocketchat
2021-12-13 11:09:26,185: DEBUG - + ynh_mongo_exec --database=rocketchat '--command=db.createUser( { user: "rocketchat", pwd: "**********", roles: [ { role: "readWrite", db: "rocketchat" } ] } );'
2021-12-13 11:09:26,318: DEBUG - + user=
2021-12-13 11:09:26,318: DEBUG - + password=
2021-12-13 11:09:26,318: DEBUG - + authenticationdatabase=
2021-12-13 11:09:26,319: DEBUG - + database=rocketchat
2021-12-13 11:09:26,319: DEBUG - + host=
2021-12-13 11:09:26,319: DEBUG - + port=
2021-12-13 11:09:26,319: DEBUG - + eval=0
2021-12-13 11:09:26,319: DEBUG - + '[' -n '' ']'
2021-12-13 11:09:26,319: DEBUG - + password=
2021-12-13 11:09:26,319: DEBUG - + authenticationdatabase=
2021-12-13 11:09:26,319: DEBUG - + '[' -n '' ']'
2021-12-13 11:09:26,319: DEBUG - + '[' -n '' ']'
2021-12-13 11:09:26,320: DEBUG - + '[' -n rocketchat ']'
2021-12-13 11:09:26,320: DEBUG - + database='use rocketchat'
2021-12-13 11:09:26,320: DEBUG - + mongo --quiet
2021-12-13 11:09:26,369: WARNING - _common.sh: line 45: 6063 Illegal instruction mongo --quiet $user $password $authenticationdatabase $host $port <<EOF
2021-12-13 11:09:26,369: WARNING - $database
2021-12-13 11:09:26,370: WARNING - ${command}
2021-12-13 11:09:26,370: WARNING - quit()
2021-12-13 11:09:26,372: WARNING - EOF
2021-12-13 11:09:26,372: DEBUG -
2021-12-13 11:09:26,373: DEBUG - + ynh_exit_properly
2021-12-13 11:09:26,373: DEBUG - + local exit_code=132
2021-12-13 11:09:26,376: DEBUG - + '[' 132 -eq 0 ']'
2021-12-13 11:09:26,879: DEBUG - + ynh_clean_setup
2021-12-13 11:09:26,879: DEBUG - + true
2021-12-13 11:09:27,880: ERROR - Unable to install rocketchat: An error occurred inside the app installation script

Can't install Rocketchat on Yunohost 3.3.4 - PhantomJS missing for arm ?

Installation tried on a Raspberry Pi 2

Here is the interesting part of the error log
568699 DEBUG > [email protected] install /var/lib/rocketchat/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs
568702 DEBUG > node install.js
568705 DEBUG
572827 DEBUG PhantomJS not found on PATH
572830 WARNING Unexpected platform or architecture: linux/arm
572833 WARNING It seems there is no binary available for your platform/architecture
572836 WARNING Try to install PhantomJS globally
572839 WARNING npm ERR! code ELIFECYCLE
572842 WARNING npm ERR! errno 1
572845 WARNING npm ERR! [email protected] install: node install.js
572848 WARNING npm ERR! Exit status 1
572851 WARNING npm ERR!
572854 WARNING npm ERR! Failed at the [email protected] install script.
572856 WARNING npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
573462 WARNING
573465 WARNING npm ERR! A complete log of this run can be found in:
573468 WARNING npm ERR! /var/lib/rocketchat/.npm/_logs/2019-01-02T09_51_09_946Z-debug.log
573572 WARNING npm ERR! code ELIFECYCLE
573576 WARNING npm ERR! errno 1
573579 WARNING npm ERR! meteor-dev-bundle@ install: node npm-rebuild.js
573583 WARNING npm ERR! Exit status 1
573586 WARNING npm ERR!
573590 WARNING npm ERR! Failed at the meteor-dev-bundle@ install script.
573593 WARNING npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
574299 WARNING
574304 WARNING npm ERR! A complete log of this run can be found in:
574308 WARNING npm ERR! /var/lib/rocketchat/.npm/_logs/2019-01-02T09_51_10_831Z-debug.log
574412 DEBUG + ynh_exit_properly
574415 WARNING !!
574417 DEBUG + local exit_code=1
574419 WARNING rocketchat's script has encountered an error. Its execution was cancelled.
574422 DEBUG + '[' 1 -eq 0 ']'
574424 WARNING !!
574426 DEBUG + trap '' EXIT
574428 WARNING
574431 DEBUG + set +eu
574433 DEBUG + echo -e '!!\n rocketchat'''s script has encountered an error. Its execution was cancelled.\n!!'
574435 DEBUG + type -t ynh_clean_setup
574438 DEBUG + ynh_die
574440 DEBUG + echo ''
574442 DEBUG + exit 1
574659 INFO The operation 'Install 'rocketchat' application' has failed ! To get help, please share the full log of this operation using the command 'yunohost log display 20190102-094147-app_install-rocketchat --share'

update mongodb repo to jessie

as described here

add this to install script replacing wheezy reference:

echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

Can't log in after installation

When installing Rocket.Chat on a Yunohost 2.7* instance, after finished installation, log in will not be possible.
Leaving the installation window open works.
If opening in another browser, the correct credentials will not be accepted.

RocketChat installation fails

Hello there! I've been recently attempting to install RocketChat; unfortunately, it always fails with this output:

Warning: Warning: apt-key output should not be parsed (stdout is not a terminal)
Warning: gpg: key BC711F9BA15703C6: "MongoDB 3.4 Release Signing Key <[email protected]>" not changed
Warning: gpg: Total number processed: 1
Warning: gpg:              unchanged: 1
Warning: E: Unable to correct problems, you have held broken packages.
Warning: !!
Warning:   rocketchat's script has encountered an error. Its execution was cancelled.
Warning: !!
Warning: 
Warning: Failed to stop rocketchat.service: Unit rocketchat.service not loaded.
Warning: Unknown service 'rocketchat'
Success! The SSOwat configuration has been generated
Error: Installation failed

Additionally, this line appears right before the last one if mongodb isn't already present:

Warning: sudo: mongo: command not found

./install: line 125: -u: command not found

Fail install,

Système d’exploitation Debian 9.9 64bit (Linux 4.9.0-9-amd64)
yunohost 3.5.2.2 (stable)
yunohost-admin 3.5.2 (stable)
moulinette 3.5.2 (stable)
ssowat 3.5.2.1 (stable) 
2019-06-02 19:07:07,484: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2019-06-02 19:07:07,484: DEBUG - ++ echo tar.gz
2019-06-02 19:07:07,484: DEBUG - + src_format=tar.gz
2019-06-02 19:07:07,484: DEBUG - + src_extract=true
2019-06-02 19:07:07,484: DEBUG - + '[' rocket.chat-0.73.2.tgz = '' ']'
2019-06-02 19:07:07,484: DEBUG - + local local_src=/opt/yunohost-apps-src/rocketchat/rocket.chat-0.73.2.tgz
2019-06-02 19:07:07,484: DEBUG - + test -e /opt/yunohost-apps-src/rocketchat/rocket.chat-0.73.2.tgz
2019-06-02 19:07:07,484: DEBUG - ++ wget -nv -O rocket.chat-0.73.2.tgz https://releases.rocket.chat/0.73.2/download
2019-06-02 19:07:21,917: DEBUG - + local 'out=2019-06-02 19:07:21 URL:https://cdn-download.rocket.chat/build/rocket.chat-0.73.2.tgz?bda9f17422ca7b2e124645bf35cd4440-19 [157101187/157101187] -> "rocket.chat-0.73.2.tgz" [1]'
2019-06-02 19:07:21,918: DEBUG - + sha256sum -c --status
2019-06-02 19:07:21,918: DEBUG - + echo '3dc3eb11f383f7b72b0f23fedb305b6a566fa536a1e5087a4398255deeb864d8 rocket.chat-0.73.2.tgz'
2019-06-02 19:07:23,221: DEBUG - + mkdir -p /var/lib/rocketchat
2019-06-02 19:07:23,221: DEBUG - + true
2019-06-02 19:07:23,221: DEBUG - + '[' tar.gz = zip ']'
2019-06-02 19:07:23,221: DEBUG - + local strip=
2019-06-02 19:07:23,221: DEBUG - + '[' true '!=' false ']'
2019-06-02 19:07:23,221: DEBUG - + '[' true == true ']'
2019-06-02 19:07:23,221: DEBUG - + local sub_dirs=1
2019-06-02 19:07:23,221: DEBUG - + strip='--strip-components 1'
2019-06-02 19:07:23,221: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2019-06-02 19:07:23,221: DEBUG - + tar -xf rocket.chat-0.73.2.tgz -C /var/lib/rocketchat --strip-components 1
2019-06-02 19:07:54,400: DEBUG - ++ wc -l
2019-06-02 19:07:54,412: DEBUG - ++ find /var/cache/yunohost/from_file/rocketchat_ynh-master/scripts/../sources/patches/ -type f -name 'app-*.patch'
2019-06-02 19:07:54,412: DEBUG - + ((  0 > 0  ))
2019-06-02 19:07:54,412: DEBUG - + test -e /var/cache/yunohost/from_file/rocketchat_ynh-master/scripts/../sources/extra_files/app
2019-06-02 19:07:54,413: DEBUG - + chown -R rocketchat: /var/lib/rocketchat
2019-06-02 19:07:57,319: DEBUG - + cd /var/lib/rocketchat/programs/server/
2019-06-02 19:07:57,320: WARNING - ./install: line 125: -u: command not found
2019-06-02 19:07:57,321: DEBUG - + -u rocketchat npm install --production
2019-06-02 19:07:57,322: WARNING - !!
2019-06-02 19:07:57,322: DEBUG - + ynh_exit_properly
2019-06-02 19:07:57,323: WARNING -   rocketchat's script has encountered an error. Its execution was cancelled.
2019-06-02 19:07:57,323: DEBUG - + local exit_code=127
2019-06-02 19:07:57,323: WARNING - !!
2019-06-02 19:07:57,324: DEBUG - + '[' 127 -eq 0 ']'
2019-06-02 19:07:57,324: WARNING - 
2019-06-02 19:07:57,324: DEBUG - + trap '' EXIT
2019-06-02 19:07:57,325: DEBUG - + set +eu
2019-06-02 19:07:57,325: DEBUG - + echo -e '!!\n  rocketchat'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-06-02 19:07:57,325: DEBUG - + type -t ynh_clean_setup
2019-06-02 19:07:57,325: DEBUG - + ynh_die
2019-06-02 19:07:57,325: DEBUG - + local legacy_args=mc
2019-06-02 19:07:57,325: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-06-02 19:07:57,326: DEBUG - + declare -Ar args_array
2019-06-02 19:07:57,326: DEBUG - + local message
2019-06-02 19:07:57,326: DEBUG - + local ret_code
2019-06-02 19:07:57,326: DEBUG - + ynh_handle_getopts_args
2019-06-02 19:07:57,326: DEBUG - + set +x
2019-06-02 19:07:57,326: DEBUG - + echo ''
2019-06-02 19:07:57,326: DEBUG - + exit 1

Unable to Login into Rocketchat

Hi,

I successfully deployed Rocket chat from yunohost administration interface. however when logged into yunohost with a user and then opened rocket chat, then:

  1. It is asking to authenticate by displaying login page.
  2. Even if i manually key in the username and password, i was not able to login at all.

Iam using latest yunohost and rocket chat as deployed couple of days back.

Will there be any default login credentials to login into Rocket chat for the first time to do any specific configuration?

Failed to install on RPI4 Yunohost image install

Describe the bug

Faile dot install rocket.chat app on RPI 4 with yunohost image

Context

  • Hardware: Raspberry PI 4 8Go
  • YunoHost version: 4.3.4.2 stable
  • I have access to my server: Through SSH YES | through the webadmin YES | direct access via keyboard / screen YES
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: rocketchat 4.2.0

Steps to reproduce

  1. Install a working Yunohost install on RPI from Yunohost images
  2. Try installing rocketchat

Expected behavior

The installation of rocketchat.

Logs

args:
app: rocketchat
args: domain=maindomain.tld&path=%2Frocketchat&admin=su&is_public=1&password='**********'
force: false
label: RocketChat
no_remove_on_failure: false
ended_at: 2021-12-09 18:58:27.239411
env:
YNH_APP_ARG_ADMIN: su
YNH_APP_ARG_DOMAIN: maindomain.tld
YNH_APP_ARG_IS_PUBLIC: '1'
YNH_APP_ARG_PATH: /rocketchat
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app__sjp7_hj
YNH_APP_ID: rocketchat
YNH_APP_INSTANCE_NAME: rocketchat
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 4.2.0~ynh1
YNH_ARCH: armhf
error: Une erreur est survenue dans le script d'installation de l'application
interface: api
operation: app_install
parent: null
related_to:

    • app
    • rocketchat
      started_at: 2021-12-09 18:58:08.140214
      success: false
      yunohost_version: 4.3.4.2

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

2021-12-09 18:58:08,162: INFO - Installation de rocketchat...
2021-12-09 18:58:08,271: DEBUG - Nothing to update in LDAP
2021-12-09 18:58:08,272: DEBUG - Permission 'rocketchat.main' mise à jour
2021-12-09 18:58:08,316: DEBUG - Journal complet de cette opération : ' Mise à jour de l'URL associée à l'autorisation 'rocketchat' '
2021-12-09 18:58:08,432: DEBUG - The permission database has been resynchronized
2021-12-09 18:58:08,507: DEBUG - La configuration de SSOwat a été regénérée
2021-12-09 18:58:08,586: DEBUG - Permission 'rocketchat.main' créée
2021-12-09 18:58:08,588: DEBUG - Journal complet de cette opération : ' Créer permission 'rocketchat' '
2021-12-09 18:58:08,633: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
2021-12-09 18:58:08,657: DEBUG - + source _common.sh
2021-12-09 18:58:08,658: DEBUG - ++ nodejs_version=12
2021-12-09 18:58:08,658: DEBUG - ++ pkg_dependencies='apt-transport-https build-essential gzip curl fontconfig graphicsmagick'
2021-12-09 18:58:08,658: DEBUG - ++ MONGO_DEBIAN_SERVICENAME=mongodb
2021-12-09 18:58:08,659: DEBUG - ++ MONGO_CE_SERVICENAME=mongod
2021-12-09 18:58:08,659: DEBUG - ++ MONGO_DEBIAN_DEPENDENCIES='mongodb mongodb-server mongo-tools'
2021-12-09 18:58:08,659: DEBUG - ++ MONGO_CE_DEPENDENCIES='mongodb-org mongodb-org-server mongodb-org-tools'
2021-12-09 18:58:08,660: DEBUG - ++ MONGO_DEBIAN_CONFIG=/etc/mongodb.conf
2021-12-09 18:58:08,660: DEBUG - ++ MONGO_CE_CONFIG=/etc/mongod.conf
2021-12-09 18:58:08,660: DEBUG - ++ MONGO_CE_REPO='deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main'
2021-12-09 18:58:08,661: DEBUG - ++ MONGO_CE_KEY=https://www.mongodb.org/static/pgp/server-5.0.asc
2021-12-09 18:58:08,661: DEBUG - + source /usr/share/yunohost/helpers
2021-12-09 18:58:08,662: DEBUG - +++ set +o
2021-12-09 18:58:08,663: DEBUG - +++ grep xtrace
2021-12-09 18:58:08,668: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-12-09 18:58:08,669: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-12-09 18:58:08,745: DEBUG - + ynh_abort_if_errors
2021-12-09 18:58:08,746: DEBUG - + trap ynh_exit_properly EXIT
2021-12-09 18:58:08,746: DEBUG - + domain=maindomain.tld
2021-12-09 18:58:08,747: DEBUG - + path_url=/rocketchat
2021-12-09 18:58:08,747: DEBUG - + is_public=1
2021-12-09 18:58:08,748: DEBUG - + password=**********
2021-12-09 18:58:08,748: DEBUG - + admin=su
2021-12-09 18:58:08,749: DEBUG - ++ ynh_user_get_info --username=su --key=mail
2021-12-09 18:58:08,835: DEBUG - ++ yunohost user info su --output-as json --quiet
2021-12-09 18:58:08,836: DEBUG - ++ jq -r .mail
2021-12-09 18:58:09,691: DEBUG - + email=[email protected]
2021-12-09 18:58:09,692: DEBUG - + app=rocketchat
2021-12-09 18:58:09,934: INFO - [....................] > Validating installation parameters...
2021-12-09 18:58:09,936: DEBUG - + final_path=/var/www/rocketchat
2021-12-09 18:58:09,936: DEBUG - + test '!' -e /var/www/rocketchat
2021-12-09 18:58:09,937: DEBUG - + ynh_webpath_register --app=rocketchat --domain=maindomain.tld --path_url=/rocketchat
2021-12-09 18:58:10,129: DEBUG - + yunohost app register-url rocketchat maindomain.tld /rocketchat
2021-12-09 18:58:11,752: DEBUG - + ynh_app_setting_set --app=rocketchat --key=domain --value=maindomain.tld
2021-12-09 18:58:11,753: DEBUG - + local globalapp=rocketchat
2021-12-09 18:58:11,755: INFO - [....................] > Storing installation settings...
2021-12-09 18:58:11,955: DEBUG - + app=rocketchat
2021-12-09 18:58:11,956: DEBUG - + [[ domain =~ (unprotected|protected|skipped)
]]
2021-12-09 18:58:11,956: DEBUG - + ynh_app_setting set rocketchat domain maindomain.tld
2021-12-09 18:58:12,086: DEBUG - + ynh_app_setting_set --app=rocketchat --key=path --value=/rocketchat
2021-12-09 18:58:12,086: DEBUG - + local globalapp=rocketchat
2021-12-09 18:58:12,275: DEBUG - + app=rocketchat
2021-12-09 18:58:12,276: DEBUG - + [[ path =~ (unprotected|protected|skipped)
]]
2021-12-09 18:58:12,276: DEBUG - + ynh_app_setting set rocketchat path /rocketchat
2021-12-09 18:58:12,401: DEBUG - + ynh_app_setting_set --app=rocketchat --key=admin --value=su
2021-12-09 18:58:12,402: DEBUG - + local globalapp=rocketchat
2021-12-09 18:58:12,593: DEBUG - + app=rocketchat
2021-12-09 18:58:12,593: DEBUG - + [[ admin =~ (unprotected|protected|skipped)
]]
2021-12-09 18:58:12,594: DEBUG - + ynh_app_setting set rocketchat admin su
2021-12-09 18:58:12,728: DEBUG - + ynh_app_setting_set --app=rocketchat --key=password --value=**********
2021-12-09 18:58:12,729: DEBUG - + local globalapp=rocketchat
2021-12-09 18:58:13,010: DEBUG - + app=rocketchat
2021-12-09 18:58:13,011: DEBUG - + [[ password =~ (unprotected|protected|skipped)
]]
2021-12-09 18:58:13,011: DEBUG - + ynh_app_setting set rocketchat password **********
2021-12-09 18:58:13,169: DEBUG - + ynh_app_setting_set --app=rocketchat --key=email --value=[email protected]
2021-12-09 18:58:13,170: DEBUG - + local globalapp=rocketchat
2021-12-09 18:58:13,359: DEBUG - + app=rocketchat
2021-12-09 18:58:13,360: DEBUG - + [[ email =~ (unprotected|protected|skipped)
]]
2021-12-09 18:58:13,360: DEBUG - + ynh_app_setting set rocketchat email [email protected]
2021-12-09 18:58:13,698: INFO - [+...................] > Finding an available port...
2021-12-09 18:58:13,699: DEBUG - ++ ynh_find_port --port=3000
2021-12-09 18:58:13,732: DEBUG - ++ test -n 3000
2021-12-09 18:58:13,732: DEBUG - ++ ynh_port_available --port=3000
2021-12-09 18:58:13,764: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-12-09 18:58:13,764: DEBUG - ++ awk '{print$5}'
2021-12-09 18:58:13,766: DEBUG - ++ grep --quiet --extended-regexp ':3000$'
2021-12-09 18:58:13,779: DEBUG - ++ grep -q 'port: '''3000'''' /etc/yunohost/apps/rocketchat/settings.yml /etc/yunohost/apps/send/settings.yml /etc/yunohost/apps/transmission/settings.yml
2021-12-09 18:58:13,784: DEBUG - ++ return 0
2021-12-09 18:58:13,784: DEBUG - ++ echo 3000
2021-12-09 18:58:13,785: DEBUG - + port=3000
2021-12-09 18:58:13,786: DEBUG - + ynh_app_setting_set --app=rocketchat --key=port --value=3000
2021-12-09 18:58:13,786: DEBUG - + local globalapp=rocketchat
2021-12-09 18:58:14,088: DEBUG - + app=rocketchat
2021-12-09 18:58:14,088: DEBUG - + [[ port =~ (unprotected|protected|skipped)
]]
2021-12-09 18:58:14,089: DEBUG - + ynh_app_setting set rocketchat port 3000
2021-12-09 18:58:14,466: DEBUG - + ynh_install_app_dependencies apt-transport-https build-essential gzip curl fontconfig graphicsmagick
2021-12-09 18:58:14,466: DEBUG - + local 'dependencies=apt-transport-https build-essential gzip curl fontconfig graphicsmagick'
2021-12-09 18:58:14,467: INFO - [#++++++.............] > Installing dependencies...
2021-12-09 18:58:14,468: DEBUG - ++ echo 'apt-transport-https build-essential gzip curl fontconfig graphicsmagick'
2021-12-09 18:58:14,469: DEBUG - ++ sed 's/([^\<=\>])\ ([^(])/\1, \2/g'
2021-12-09 18:58:14,477: DEBUG - + dependencies='apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick'
2021-12-09 18:58:14,477: DEBUG - + local 'dependencies=apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick'
2021-12-09 18:58:14,478: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app__sjp7_hj/manifest.json
2021-12-09 18:58:14,478: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app__sjp7_hj/manifest.json
2021-12-09 18:58:14,488: DEBUG - + local version=4.2.0ynh1
2021-12-09 18:58:14,488: DEBUG - + '[' -z 4.2.0
ynh1 ']'
2021-12-09 18:58:14,489: DEBUG - + '[' 4.2.0ynh1 == null ']'
2021-12-09 18:58:14,489: DEBUG - + local dep_app=rocketchat
2021-12-09 18:58:14,489: DEBUG - + [[ apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick =
[<=>] ]]
2021-12-09 18:58:14,492: DEBUG - ++ echo apt-transport-https, build-essential, gzip, curl, fontconfig, graphicsmagick
2021-12-09 18:58:14,492: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|>)'
2021-12-09 18:58:14,493: DEBUG - ++ sort -u
2021-12-09 18:58:14,498: DEBUG - + local specific_php_version=
2021-12-09 18:58:14,499: DEBUG - + [[ '' != \7.\3 ]]
2021-12-09 18:58:14,499: DEBUG - + [[ true == \t\r\u\e ]]
2021-12-09 18:58:14,500: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2021-12-09 18:58:14,500: DEBUG - + grep --quiet php
2021-12-09 18:58:14,504: DEBUG - + cat
2021-12-09 18:58:14,508: DEBUG - + ynh_package_install_from_equivs /tmp/rocketchat-ynh-deps.control
2021-12-09 18:58:14,509: DEBUG - + local controlfile=/tmp/rocketchat-ynh-deps.control
2021-12-09 18:58:14,511: DEBUG - ++ grep '^Package: ' /tmp/rocketchat-ynh-deps.control
2021-12-09 18:58:14,512: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-12-09 18:58:14,518: DEBUG - + local pkgname=rocketchat-ynh-deps
2021-12-09 18:58:14,520: DEBUG - ++ grep '^Version: ' /tmp/rocketchat-ynh-deps.control
2021-12-09 18:58:14,522: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-12-09 18:58:14,527: DEBUG - + local pkgversion=4.2.0ynh1
2021-12-09 18:58:14,527: DEBUG - + [[ -z rocketchat-ynh-deps ]]
2021-12-09 18:58:14,528: DEBUG - + [[ -z 4.2.0
ynh1 ]]
2021-12-09 18:58:14,528: DEBUG - + ynh_package_update
2021-12-09 18:58:14,528: DEBUG - + ynh_apt update
2021-12-09 18:58:14,529: DEBUG - + ynh_wait_dpkg_free
2021-12-09 18:58:14,766: DEBUG - + return 0
2021-12-09 18:58:14,767: DEBUG - + LC_ALL=C
2021-12-09 18:58:14,767: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-09 18:58:14,768: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-12-09 18:58:15,021: DEBUG - Hit:1 http://forge.yunohost.org/debian buster InRelease
2021-12-09 18:58:15,022: DEBUG - Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
2021-12-09 18:58:15,023: DEBUG - Hit:3 http://archive.raspberrypi.org/debian buster InRelease
2021-12-09 18:58:18,790: DEBUG - Reading package lists...
2021-12-09 18:58:18,900: DEBUG - ++ mktemp --directory
2021-12-09 18:58:18,903: DEBUG - + local TMPDIR=/tmp/tmp.MPWKWrWgCI
2021-12-09 18:58:18,904: DEBUG - + echo 10
2021-12-09 18:58:18,904: DEBUG - + ynh_wait_dpkg_free
2021-12-09 18:58:19,162: DEBUG - + return 0
2021-12-09 18:58:19,163: DEBUG - + cp /tmp/rocketchat-ynh-deps.control /tmp/tmp.MPWKWrWgCI/control
2021-12-09 18:58:19,169: DEBUG - + cd /tmp/tmp.MPWKWrWgCI
2021-12-09 18:58:19,169: DEBUG - + LC_ALL=C
2021-12-09 18:58:19,170: DEBUG - + equivs-build ./control
2021-12-09 18:58:21,323: DEBUG - + LC_ALL=C
2021-12-09 18:58:21,324: DEBUG - + dpkg --force-depends --install ./rocketchat-ynh-deps_4.2.0ynh1_all.deb
2021-12-09 18:58:21,325: DEBUG - + tee ./dpkg_log
2021-12-09 18:58:21,445: DEBUG - Selecting previously unselected package rocketchat-ynh-deps.
2021-12-09 18:58:21,550: DEBUG - (Reading database ... 57496 files and directories currently installed.)
2021-12-09 18:58:21,556: DEBUG - Preparing to unpack .../rocketchat-ynh-deps_4.2.0
ynh1_all.deb ...
2021-12-09 18:58:21,571: DEBUG - Unpacking rocketchat-ynh-deps (4.2.0ynh1) ...
2021-12-09 18:58:21,668: DEBUG - dpkg: rocketchat-ynh-deps: dependency problems, but configuring anyway as you requested:
2021-12-09 18:58:21,669: DEBUG - rocketchat-ynh-deps depends on fontconfig; however:
2021-12-09 18:58:21,669: DEBUG - Package fontconfig is not installed.
2021-12-09 18:58:21,670: DEBUG - rocketchat-ynh-deps depends on graphicsmagick; however:
2021-12-09 18:58:21,670: DEBUG - Package graphicsmagick is not installed.
2021-12-09 18:58:21,670: DEBUG -
2021-12-09 18:58:21,671: DEBUG - Setting up rocketchat-ynh-deps (4.2.0
ynh1) ...
2021-12-09 18:58:21,756: DEBUG - + ynh_package_install --fix-broken
2021-12-09 18:58:21,757: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-12-09 18:58:21,757: DEBUG - + ynh_wait_dpkg_free
2021-12-09 18:58:22,001: DEBUG - + return 0
2021-12-09 18:58:22,002: DEBUG - + LC_ALL=C
2021-12-09 18:58:22,003: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-09 18:58:22,004: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-12-09 18:58:22,560: DEBUG - Reading package lists...
2021-12-09 18:58:23,044: DEBUG - Building dependency tree...
2021-12-09 18:58:23,046: DEBUG - Reading state information...
2021-12-09 18:58:23,488: DEBUG - Correcting dependencies... Done
2021-12-09 18:58:24,170: DEBUG - The following additional packages will be installed:
2021-12-09 18:58:24,171: DEBUG - fontconfig fonts-droid-fallback fonts-noto-mono ghostscript graphicsmagick
2021-12-09 18:58:24,172: DEBUG - gsfonts libcupsfilters1 libcupsimage2 libgraphicsmagick-q16-3 libgs9
2021-12-09 18:58:24,173: DEBUG - libgs9-common libice6 libijs-0.35 libjbig2dec0 liblcms2-2 libopenjp2-7
2021-12-09 18:58:24,175: DEBUG - libpaper-utils libpaper1 libsm6 libwebpmux3 libwmf0.2-7 poppler-data
2021-12-09 18:58:24,177: DEBUG - x11-common
2021-12-09 18:58:24,181: DEBUG - Suggested packages:
2021-12-09 18:58:24,182: DEBUG - fonts-noto ghostscript-x graphicsmagick-dbg liblcms2-utils libwmf0.2-7-gtk
2021-12-09 18:58:24,183: DEBUG - poppler-utils fonts-japanese-mincho | fonts-ipafont-mincho
2021-12-09 18:58:24,184: DEBUG - fonts-japanese-gothic | fonts-ipafont-gothic fonts-arphic-ukai
2021-12-09 18:58:24,185: DEBUG - fonts-arphic-uming fonts-nanum
2021-12-09 18:58:24,249: DEBUG - The following NEW packages will be installed:
2021-12-09 18:58:24,250: DEBUG - fontconfig fonts-droid-fallback fonts-noto-mono ghostscript graphicsmagick
2021-12-09 18:58:24,252: DEBUG - gsfonts libcupsfilters1 libcupsimage2 libgraphicsmagick-q16-3 libgs9
2021-12-09 18:58:24,253: DEBUG - libgs9-common libice6 libijs-0.35 libjbig2dec0 liblcms2-2 libopenjp2-7
2021-12-09 18:58:24,255: DEBUG - libpaper-utils libpaper1 libsm6 libwebpmux3 libwmf0.2-7 poppler-data
2021-12-09 18:58:24,256: DEBUG - x11-common
2021-12-09 18:58:24,312: DEBUG - 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded.
2021-12-09 18:58:24,313: DEBUG - Need to get 2365 kB/17.2 MB of archives.
2021-12-09 18:58:24,313: DEBUG - After this operation, 58.2 MB of additional disk space will be used.
2021-12-09 18:58:24,314: DEBUG - Ign:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf x11-common all 1:7.7+19
2021-12-09 18:58:24,314: DEBUG - Ign:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf libice6 armhf 2:1.0.9-2
2021-12-09 18:58:24,315: DEBUG - Ign:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf libsm6 armhf 2:1.2.3-1
2021-12-09 18:58:24,315: DEBUG - Ign:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf libgraphicsmagick-q16-3 armhf 1.4+really1.3.35-1deb10u1
2021-12-09 18:58:24,316: DEBUG - Ign:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf graphicsmagick armhf 1.4+really1.3.35-1
deb10u1
2021-12-09 18:58:24,316: DEBUG - Ign:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf x11-common all 1:7.7+19
2021-12-09 18:58:24,317: DEBUG - Ign:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf libice6 armhf 2:1.0.9-2
2021-12-09 18:58:24,317: DEBUG - Ign:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf libsm6 armhf 2:1.2.3-1
2021-12-09 18:58:24,318: DEBUG - Ign:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf libgraphicsmagick-q16-3 armhf 1.4+really1.3.35-1deb10u1
2021-12-09 18:58:24,319: DEBUG - Ign:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf graphicsmagick armhf 1.4+really1.3.35-1
deb10u1
2021-12-09 18:58:24,320: DEBUG - Ign:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf x11-common all 1:7.7+19
2021-12-09 18:58:24,320: DEBUG - Ign:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf libice6 armhf 2:1.0.9-2
2021-12-09 18:58:24,321: DEBUG - Ign:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf libsm6 armhf 2:1.2.3-1
2021-12-09 18:58:24,322: DEBUG - Ign:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf libgraphicsmagick-q16-3 armhf 1.4+really1.3.35-1deb10u1
2021-12-09 18:58:24,323: DEBUG - Ign:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf graphicsmagick armhf 1.4+really1.3.35-1
deb10u1
2021-12-09 18:58:24,323: DEBUG - Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf x11-common all 1:7.7+19
2021-12-09 18:58:24,324: DEBUG - Temporary failure resolving 'raspbian.raspberrypi.org'
2021-12-09 18:58:24,324: DEBUG - Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf libice6 armhf 2:1.0.9-2
2021-12-09 18:58:24,325: DEBUG - Temporary failure resolving 'raspbian.raspberrypi.org'
2021-12-09 18:58:24,325: DEBUG - Err:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf libsm6 armhf 2:1.2.3-1
2021-12-09 18:58:24,326: DEBUG - Temporary failure resolving 'raspbian.raspberrypi.org'
2021-12-09 18:58:24,326: DEBUG - Err:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf libgraphicsmagick-q16-3 armhf 1.4+really1.3.35-1deb10u1
2021-12-09 18:58:24,327: DEBUG - Temporary failure resolving 'raspbian.raspberrypi.org'
2021-12-09 18:58:24,327: DEBUG - Err:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf graphicsmagick armhf 1.4+really1.3.35-1
deb10u1
2021-12-09 18:58:24,328: DEBUG - Temporary failure resolving 'raspbian.raspberrypi.org'
2021-12-09 18:58:24,342: WARNING - E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/x/xorg/x11-common_7.7+19_all.deb Temporary failure resolving 'raspbian.raspberrypi.org'
2021-12-09 18:58:24,343: WARNING - E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libi/libice/libice6_1.0.9-2_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org'
2021-12-09 18:58:24,344: WARNING - E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libs/libsm/libsm6_1.2.3-1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org'
2021-12-09 18:58:24,345: WARNING - E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/g/graphicsmagick/libgraphicsmagick-q16-3_1.4+really1.3.35-1~deb10u1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org'
2021-12-09 18:58:24,346: WARNING - E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/g/graphicsmagick/graphicsmagick_1.4+really1.3.35-1~deb10u1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org'
2021-12-09 18:58:24,347: WARNING - E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2021-12-09 18:58:24,348: DEBUG - ++ cat /tmp/tmp.MPWKWrWgCI/dpkg_log
2021-12-09 18:58:24,349: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)'
2021-12-09 18:58:24,349: DEBUG - ++ tr '\n' ' '
2021-12-09 18:58:24,354: DEBUG - + local 'problematic_dependencies=fontconfig graphicsmagick '
2021-12-09 18:58:24,355: DEBUG - + [[ -n fontconfig graphicsmagick ]]
2021-12-09 18:58:24,356: DEBUG - + ynh_package_install fontconfig graphicsmagick --dry-run
2021-12-09 18:58:24,357: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install fontconfig graphicsmagick --dry-run
2021-12-09 18:58:24,358: DEBUG - + sed --quiet '/Reading state info/,$p'
2021-12-09 18:58:24,358: DEBUG - + ynh_wait_dpkg_free
2021-12-09 18:58:24,360: DEBUG - + grep -v 'fix-broken|Reading state info'
2021-12-09 18:58:24,616: DEBUG - + return 0
2021-12-09 18:58:24,617: DEBUG - + LC_ALL=C
2021-12-09 18:58:24,617: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-09 18:58:24,617: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install fontconfig graphicsmagick --dry-run
2021-12-09 18:58:25,673: WARNING - The following packages have unmet dependencies:
2021-12-09 18:58:25,674: WARNING - graphicsmagick : Depends: libgraphicsmagick-q16-3 (>= 1.3.5) but it is not going to be installed
2021-12-09 18:58:25,675: DEBUG - + ynh_die '--message=Unable to install dependencies'
2021-12-09 18:58:25,725: WARNING - Unable to install dependencies
2021-12-09 18:58:25,727: DEBUG - + ynh_exit_properly
2021-12-09 18:58:26,234: DEBUG - + ynh_clean_setup
2021-12-09 18:58:26,234: DEBUG - + true
2021-12-09 18:58:27,238: ERROR - Impossible d'installer rocketchat : Une erreur est survenue dans le script d'installation de l'application

Latest mobile client needs newer server version

Latest mobile clients complain about an too old server version. 0.62.0 or 0.63.0 seem to be the minimum versions depending on which source you look at.

screenshot_20180419-090847
screenshot_20180419-090631

Are there any new dependencies that would block us from releasing a newer version?

installation fails on raspberry pi

Hello !
First of all, thanks for the work you're doing devlopping this package.

I'm running into an error while installing the app (admin panel or cli, yunohost up to date).

Warning: W: Failed to fetch http://repo.mongodb.org/apt/debian/dists/jessie/mongodb-org/3.4/Release  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

Warning: W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie-backports/main/binary-armhf/Packages  404  Not Found [IP: 93.93.128.193 80]

Warning: W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie-backports/contrib/binary-armhf/Packages  404  Not Found [IP: 93.93.128.193 80]

Warning: W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie-backports/non-free/binary-armhf/Packages  404  Not Found [IP: 93.93.128.193 80]

Warning: E: Some index files failed to download. They have been ignored, or old ones used instead.

Warning:   rocketchat's script has encountered an error. Its execution was cancelled.

Warning: Failed to stop rocketchat.service: Unit rocketchat.service not loaded.

Warning: Unknown service 'rocketchat'

Warning: sudo: mongo: command not found

Success! The SSOwat configuration has been generated

Error: Installation failed

Thanks for your help !

Is this working?

The app was successfully installed, however, the LDAP did not work. It said user not found or incorrect password... Is this is a config error, or a bug in the package?

Thanks.

Login apres installation

Describe the bug

Après une installation, j'ai voulut me connecter avec l'admin user (password renseigné pendant l'installation)

Context

  • Hardware: computer
  • YunoHost version: 11.0.9.15
  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Steps to reproduce

// Pas testé de le désinstallé/reinstallé.

Logs

Le log du service

-- Journal begins at Sat 2022-07-23 23:49:20 CEST, ends at Fri 2022-10-07 16:48:44 CEST. --
oct. 07 16:02:58 rocketchat[1876036]: {"level":40,"time":"2022-10-07T14:02:58.201Z","pid":1876036,"hostname":"stilobique.com","name":"VoIPService","msg":"VoIP service already stopped"}
oct. 07 16:02:59 rocketchat[1876036]: [DatabaseWatcher] Using change streams
oct. 07 16:03:00 rocketchat[1876036]: ufs: temp directory created at "/tmp/ufs"
oct. 07 16:03:01 rocketchat[1876036]: Loaded the Apps Framework and loaded a total of 0 Apps!
oct. 07 16:03:02 rocketchat[1876036]: +-----------------------------------------------------------------+
oct. 07 16:03:02 rocketchat[1876036]: |                          SERVER RUNNING                         |
oct. 07 16:03:02 rocketchat[1876036]: +-----------------------------------------------------------------+
oct. 07 16:03:02 rocketchat[1876036]: |                                                                 |
oct. 07 16:03:02 rocketchat[1876036]: |  Rocket.Chat Version: 5.1.4                                     |
oct. 07 16:03:02 rocketchat[1876036]: |       NodeJS Version: 14.20.1 - x64                             |
oct. 07 16:03:02 rocketchat[1876036]: |      MongoDB Version: 5.0.13                                    |
oct. 07 16:03:02 rocketchat[1876036]: |       MongoDB Engine: wiredTiger                                |
oct. 07 16:03:02 rocketchat[1876036]: |             Platform: linux                                     |
oct. 07 16:03:02 rocketchat[1876036]: |         Process Port: 3001                                      |
oct. 07 16:03:02 rocketchat[1876036]: |             Site URL: https://rocket.stilobique.com/rocketchat  |
oct. 07 16:03:02 rocketchat[1876036]: |     ReplicaSet OpLog: Enabled                                   |
oct. 07 16:03:02 rocketchat[1876036]: |          Commit Hash: 4173a2109f                                |
oct. 07 16:03:02 rocketchat[1876036]: |        Commit Branch: HEAD                                      |
oct. 07 16:03:02 rocketchat[1876036]: |                                                                 |
oct. 07 16:03:02 rocketchat[1876036]: +-----------------------------------------------------------------+
oct. 07 16:03:02 rocketchat[1876036]: Inserting admin user:
oct. 07 16:03:02 rocketchat[1876036]: Name: **
oct. 07 16:03:02 rocketchat[1876036]: Email: **@**.**
oct. 07 16:03:02 rocketchat[1876036]: Username: **
oct. 07 16:03:55 rocketchat[1876036]: {"level":50,"time":"2022-10-07T14:03:55.144Z","pid":1876036,"hostname":"stilobique.com","name":"System","msg":"Exception while invoking method login 'User not found [403]'"}

Il me donne simplement un user not found
Je doit activer manuellement le LDAP mais de ce que je vois l'admin user est générer d'emblé. Est-ce qu'il me faut un autre acces ? Je me log via l'url de base.
J'ai tenté de lancer un reset password, mais pas de mail reçu sur la boite mail de l'utilisation "admin".

Installation fails

Hello, I'm trying to install Rocketchat, but I get the following error when doing it through the Yunohost administration interface:

sudo: mongo: command not found
Unknown service 'rocketchat'
Failed to stop rocketchat.service: Unit rocketchat.service not loaded.
!!
rocketchat's script has encountered an error. Its execution was cancelled.
!!
E: Unable to correct problems, you have held broken packages.
gpg: unchanged: 1
gpg: Total number processed: 1
gpg: key BC711F9BA15703C6: "MongoDB 3.4 Release Signing Key " not changed
Warning: apt-key output should not be parsed (stdout is not a terminal)

Any ideas for fixing that? Am I missing something ?

(Anyway, thanks for the work already :) )

Update installs latest version, not the one we want to

We should use the configured version in the update script. It's kind of dangerous to just download the latest version for several reasons:

  • no shasum check here
  • no idea if dependencies are met
  • untested release by us
  • etc.

That said I think we also need to think about copying changes we make to the install script in here. Like installing new nodejs versions. If you just upgrade you never get these new dependencies.

Rocket.chat server crash when android app logs in

My YunoHost server
Hardware: An old rig with an Intel(R) Core™2 Duo CPU E8400 @ 3.00GHz, 8GB of RAM and 3x500GB in RAID 5
YunoHost version: 4.3.6.3 (stable)
I have access to my server : SSH and Web

Description of my issue

After succesufully installed the yunohost app (test tree) because I am using an old non AVX processor #132 (comment)
I came up with a new problem and that is connect through Android client.

Whenever a user tries to connect from Android APP the below error appears on server and server TOTALY crash!

Jul 20 23:03:07 rocketchat[11286]: +----------------------------------------------------------+
Jul 20 23:03:07 rocketchat[11286]: | SERVER RUNNING |
Jul 20 23:03:07 rocketchat[11286]: +----------------------------------------------------------+
Jul 20 23:03:07 rocketchat[11286]: | |
Jul 20 23:03:07 rocketchat[11286]: | Rocket.Chat Version: 4.8.1 |
Jul 20 23:03:07 rocketchat[11286]: | NodeJS Version: 14.20.0 - x64 |
Jul 20 23:03:07 rocketchat[11286]: | MongoDB Version: 4.4.15 |
Jul 20 23:03:07 rocketchat[11286]: | MongoDB Engine: wiredTiger |
Jul 20 23:03:07 rocketchat[11286]: | Platform: linux |
Jul 20 23:03:07 rocketchat[11286]: | Process Port: 3001 |
Jul 20 23:03:07 rocketchat[11286]: | Site URL: removed for security reasons |
Jul 20 23:03:07 rocketchat[11286]: | ReplicaSet OpLog: Enabled |
Jul 20 23:03:07 rocketchat[11286]: | Commit Hash: 0b106e3645 |
Jul 20 23:03:07 rocketchat[11286]: | Commit Branch: HEAD |
Jul 20 23:03:07 rocketchat[11286]: | |
Jul 20 23:03:07 rocketchat[11286]: +----------------------------------------------------------+
Jul 20 23:03:30 rocketchat[11286]: {"level":40,"time":"2022-07-20T20:03:30.305Z","pid":11286,"hostname":"removed","name":"API","msg":"attribute query is deprecated"}
Jul 20 23:03:30 systemd[1]: rocketchat.service: Main process exited, code=killed, status=4/ILL
Jul 20 23:03:30 systemd[1]: rocketchat.service: Failed with result 'signal'.

Checksum error

Steps where I can reproduce the error (from CLI)

  1. Clone the repo via git
  2. Edit the "install" script file to contain $path in the checkurl refference
  3. Run yunohost app install ./rocketchat_ynh/ --debug

73810 INFO ++ sha256sum /var/lib/rocketchat/rocket.chat-0.58.4.gtar
73810 WARNING The sha256sum does not match the configured one
73843 WARNING !!
73846 rocketchat's script encountered an error. Its execution was cancelled.
73852 WARNING !!

2017-11-02 09_01_46-srv - teamviewer

I have been round and forth first with a longer thread with Aleks: https://forum.yunohost.org/t/installation-of-2-community-apps-fails/3668/
Then in the chat, where it ended out with being a checksum error in the install.

Commit is not up to date in the community.json

Hellow,

I found that the commit on community.json is outdated, hence people installing the app via this list won't benefit from the last upgrades / improvements ...

Please create a PR to update it on the list (I do not maintain this app so it's not relevant for me to do it and it might be refused...)

ProTip™ : possibly you can now set the commit to 'HEAD', to use the latest commit of master automatically in the future. If you do this, it is strongly recommended to use a 'testing' branch for changes that are not deemed stable yet.

Things to fix

  • Sending files is blocked at 0% and does not advance

Implement multi_instance with proper nginx logic

Multi instance setups can be useful for loadbalancing.
proxy_pass with upstream setting (for loadbalancing via nginx) is also needed.

there is already a prepared setting for this in the manifest called multi_instance but the installation routine has to be enhanced to actually do multi_instance setup.

Also mongodb replica sets have to beconfigured properly (referral to rocketchat setup here).

404 on https://download.rocket.chat/build/rocket.chat-0.64.1.tgz

Hi,

I'm trying to install the latest version of rocket chat (0.64.1) within yunohost but the download URL generated (i.e. https://download.rocket.chat/build/rocket.chat-0.64.1.tgz) seems invalid. Does anyone know if it's temporary or if the URL scheme has recently changed?

Users integration

I get it says "manual setup" over LDAP/Active Directory, but im no able to do it.
How must i integrate the YunoHost users in this Pabkage?
Is any instructions/guide to follow? Cannot find any.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.