Hi,
Am having some issues with installing OnlyOffice on my server. Some information first
My YunoHost server
Hardware: DigitalOcean $6 AMD Server, 1 AMD CPU, 1GB RAM, 25GB SSD
YunoHost version: 4.3.6.2
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
I’m trying to install OnlyOffice using the list of applications in Yunohost. Was not expecting anything abnormal as I have installed Nextcloud, Node-Red, Collabora Online in other domains on Yunohost, but the installer for OnlyOffice met an error within the installation script. I’ve restarted, deleted all the apps, did a fresh install of Yunohost - still the same. Perhaps someone can shed some light on this? The installation seems to fail at this particular portion, but I havent been able to find references to it online:
DEBUG - sed: can't read /etc/onlyoffice/documentserver/nginx/ds.conf: No such file or directory
Here are the logs:
args:
app: onlyoffice
force: false
label: OnlyOffice
no_remove_on_failure: false
ended_at: 2022-02-06 12:16:49.639222
env:
YNH_APP_ARG_DOMAIN: onlyoffice.maindomain.tld
YNH_APP_ARG_IS_PUBLIC: '1'
YNH_APP_ARG_NEXTCLOUDDOMAIN: nextcloud.maindomain.tld/nextcloud
YNH_APP_ARG_PATH: /
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h
YNH_APP_ID: onlyoffice
YNH_APP_INSTANCE_NAME: onlyoffice
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 6.4.0~ynh2
YNH_ARCH: amd64
error: An error occurred inside the app installation script
interface: api
operation: app_install
parent: null
related_to:
- - app
- onlyoffice
started_at: 2022-02-06 12:03:15.176045
success: false
yunohost_version: 4.3.6.2
============
2022-02-06 12:03:15,186: INFO - Installing onlyoffice...
2022-02-06 12:03:15,228: DEBUG - Nothing to update in LDAP
2022-02-06 12:03:15,229: DEBUG - Permission 'onlyoffice.main' updated
2022-02-06 12:03:15,247: DEBUG - Full log of this operation: '<a href="#/tools/logs/20220206-120315-permission_url-onlyoffice" style="text-decoration:underline">Update URL related to permission 'onlyoffice'</a>'
2022-02-06 12:03:15,291: DEBUG - The permission database has been resynchronized
2022-02-06 12:03:15,318: DEBUG - SSOwat configuration regenerated
2022-02-06 12:03:15,343: DEBUG - Permission 'onlyoffice.main' created
2022-02-06 12:03:15,344: DEBUG - Full log of this operation: '<a href="#/tools/logs/20220206-120315-permission_create-onlyoffice" style="text-decoration:underline">Create permission 'onlyoffice'</a>'
2022-02-06 12:03:15,359: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
2022-02-06 12:03:15,368: DEBUG - + source _common.sh
2022-02-06 12:03:15,368: DEBUG - ++ pkg_dependencies='postgresql postgresql-contrib libstdc++6 rabbitmq-server libcurl4-dev'
2022-02-06 12:03:15,369: DEBUG - + source /usr/share/yunohost/helpers
2022-02-06 12:03:15,369: DEBUG - +++ grep xtrace
2022-02-06 12:03:15,370: DEBUG - +++ set +o
2022-02-06 12:03:15,371: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-02-06 12:03:15,372: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-02-06 12:03:15,397: DEBUG - + ynh_abort_if_errors
2022-02-06 12:03:15,397: DEBUG - + trap ynh_exit_properly EXIT
2022-02-06 12:03:15,398: DEBUG - + domain=onlyoffice.maindomain.tld
2022-02-06 12:03:15,398: DEBUG - + path_url=/
2022-02-06 12:03:15,398: DEBUG - + is_public=1
2022-02-06 12:03:15,398: DEBUG - + nextclouddomain=nextcloud.maindomain.tld/nextcloud
2022-02-06 12:03:15,398: DEBUG - + app=onlyoffice
2022-02-06 12:03:15,449: DEBUG - + final_path=/var/www/onlyoffice
2022-02-06 12:03:15,450: DEBUG - + test '!' -e /var/www/onlyoffice
2022-02-06 12:03:15,450: DEBUG - + dpkg-architecture --is armhf
2022-02-06 12:03:15,450: INFO - [+...................] > Validating installation parameters...
2022-02-06 12:03:15,506: DEBUG - + ynh_webpath_register --app=onlyoffice --domain=onlyoffice.maindomain.tld --path_url=/
2022-02-06 12:03:15,580: DEBUG - + yunohost app register-url onlyoffice onlyoffice.maindomain.tld /
2022-02-06 12:03:16,337: DEBUG - + ynh_app_setting_set --app=onlyoffice --key=domain --value=onlyoffice.maindomain.tld
2022-02-06 12:03:16,337: DEBUG - + local _globalapp=onlyoffice
2022-02-06 12:03:16,337: INFO - [#+..................] > Storing installation settings...
2022-02-06 12:03:16,394: DEBUG - + app=onlyoffice
2022-02-06 12:03:16,394: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2022-02-06 12:03:16,394: DEBUG - + ynh_app_setting set onlyoffice domain onlyoffice.maindomain.tld
2022-02-06 12:03:16,436: DEBUG - + ynh_app_setting_set --app=onlyoffice --key=path --value=/
2022-02-06 12:03:16,436: DEBUG - + local _globalapp=onlyoffice
2022-02-06 12:03:16,490: DEBUG - + app=onlyoffice
2022-02-06 12:03:16,490: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2022-02-06 12:03:16,490: DEBUG - + ynh_app_setting set onlyoffice path /
2022-02-06 12:03:16,531: DEBUG - + ynh_app_setting_set --app=onlyoffice --key=nextclouddomain --value=nextcloud.maindomain.tld/nextcloud
2022-02-06 12:03:16,531: DEBUG - + local _globalapp=onlyoffice
2022-02-06 12:03:16,584: DEBUG - + app=onlyoffice
2022-02-06 12:03:16,584: DEBUG - + [[ nextclouddomain =~ (unprotected|protected|skipped)_ ]]
2022-02-06 12:03:16,584: DEBUG - + ynh_app_setting set onlyoffice nextclouddomain nextcloud.maindomain.tld/nextcloud
2022-02-06 12:03:16,624: DEBUG - + ynh_app_setting_set --app=onlyoffice --key=final_path --value=/var/www/onlyoffice
2022-02-06 12:03:16,624: DEBUG - + local _globalapp=onlyoffice
2022-02-06 12:03:16,677: DEBUG - + app=onlyoffice
2022-02-06 12:03:16,678: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2022-02-06 12:03:16,678: DEBUG - + ynh_app_setting set onlyoffice final_path /var/www/onlyoffice
2022-02-06 12:03:16,758: INFO - [##+.................] > Finding an available port...
2022-02-06 12:03:16,759: DEBUG - ++ ynh_find_port --port=8095
2022-02-06 12:03:16,770: DEBUG - ++ test -n 8095
2022-02-06 12:03:16,770: DEBUG - ++ ynh_port_available --port=8095
2022-02-06 12:03:16,780: DEBUG - ++ grep --quiet --extended-regexp ':8095$'
2022-02-06 12:03:16,782: DEBUG - ++ awk '{print$5}'
2022-02-06 12:03:16,782: DEBUG - ++ ss --numeric --listening --tcp --udp
2022-02-06 12:03:16,793: DEBUG - ++ grep -q 'port: '\''8095'\''' /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/nodered/settings.yml /etc/yunohost/apps/onlyoffice/settings.yml
2022-02-06 12:03:16,796: DEBUG - ++ return 0
2022-02-06 12:03:16,796: DEBUG - ++ echo 8095
2022-02-06 12:03:16,796: DEBUG - + port=8095
2022-02-06 12:03:16,796: DEBUG - + ynh_app_setting_set --app=onlyoffice --key=port --value=8095
2022-02-06 12:03:16,796: DEBUG - + local _globalapp=onlyoffice
2022-02-06 12:03:16,854: DEBUG - + app=onlyoffice
2022-02-06 12:03:16,855: DEBUG - + [[ port =~ (unprotected|protected|skipped)_ ]]
2022-02-06 12:03:16,855: DEBUG - + ynh_app_setting set onlyoffice port 8095
2022-02-06 12:03:16,940: DEBUG - + ynh_system_user_create --username=onlyoffice
2022-02-06 12:03:16,941: INFO - [###+................] > Configuring system user...
2022-02-06 12:03:16,974: DEBUG - + use_shell=0
2022-02-06 12:03:16,974: DEBUG - + home_dir=
2022-02-06 12:03:16,974: DEBUG - + groups=
2022-02-06 12:03:16,974: DEBUG - + ynh_system_user_exists onlyoffice
2022-02-06 12:03:16,990: DEBUG - + getent passwd onlyoffice
2022-02-06 12:03:16,994: DEBUG - + '[' -n '' ']'
2022-02-06 12:03:16,995: DEBUG - + local user_home_dir=--no-create-home
2022-02-06 12:03:16,995: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2022-02-06 12:03:16,995: DEBUG - + useradd --no-create-home --system --user-group onlyoffice --shell /usr/sbin/nologin
2022-02-06 12:03:17,094: DEBUG - + apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
2022-02-06 12:03:17,094: INFO - [####+...............] > Add OnlyOffice repository...
2022-02-06 12:03:17,188: DEBUG - Warning: apt-key output should not be parsed (stdout is not a terminal)
2022-02-06 12:03:17,226: DEBUG - Executing: /tmp/apt-key-gpghome.mqBiO0hWBw/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
2022-02-06 12:03:17,887: WARNING - gpg: key 8320CA65CB2DE8E5: public key "Ascensio System Limited (ONLYOFFICE) <support@onlyoffice.com>" imported
2022-02-06 12:03:17,898: WARNING - gpg: Total number processed: 1
2022-02-06 12:03:17,898: WARNING - gpg: imported: 1
2022-02-06 12:03:18,493: DEBUG - + ynh_install_extra_repo '--repo=deb http://download.onlyoffice.com/repo/debian squeeze main' --append
2022-02-06 12:03:18,588: DEBUG - + name=onlyoffice
2022-02-06 12:03:18,588: DEBUG - + append=1
2022-02-06 12:03:18,589: DEBUG - + key=
2022-02-06 12:03:18,589: DEBUG - + priority=
2022-02-06 12:03:18,589: DEBUG - + append=--append
2022-02-06 12:03:18,589: DEBUG - + wget_append='tee --append'
2022-02-06 12:03:18,589: DEBUG - + repo='http://download.onlyoffice.com/repo/debian squeeze main'
2022-02-06 12:03:18,590: DEBUG - ++ awk '{ print $1 }'
2022-02-06 12:03:18,593: DEBUG - ++ echo 'http://download.onlyoffice.com/repo/debian squeeze main'
2022-02-06 12:03:18,595: DEBUG - + local uri=http://download.onlyoffice.com/repo/debian
2022-02-06 12:03:18,597: DEBUG - ++ awk '{ print $2 }'
2022-02-06 12:03:18,599: DEBUG - ++ echo 'http://download.onlyoffice.com/repo/debian squeeze main'
2022-02-06 12:03:18,602: DEBUG - + local suite=squeeze
2022-02-06 12:03:18,602: DEBUG - + local component=main
2022-02-06 12:03:18,602: DEBUG - + ynh_add_repo --uri=http://download.onlyoffice.com/repo/debian --suite=squeeze --component=main --name=onlyoffice --append
2022-02-06 12:03:18,808: DEBUG - + name=onlyoffice
2022-02-06 12:03:18,808: DEBUG - + append=1
2022-02-06 12:03:18,809: DEBUG - + append='tee --append'
2022-02-06 12:03:18,809: DEBUG - + mkdir --parents /etc/apt/sources.list.d
2022-02-06 12:03:18,812: DEBUG - + tee --append /etc/apt/sources.list.d/onlyoffice.list
2022-02-06 12:03:18,814: DEBUG - deb http://download.onlyoffice.com/repo/debian squeeze main
2022-02-06 12:03:18,816: DEBUG - + local pin=download.onlyoffice.com/repo/debian
2022-02-06 12:03:18,816: DEBUG - + pin=download.onlyoffice.com
2022-02-06 12:03:18,816: DEBUG - + '[' -n '' ']'
2022-02-06 12:03:18,816: DEBUG - + ynh_pin_repo '--package=*' '--pin=origin "download.onlyoffice.com"' --name=onlyoffice --append
2022-02-06 12:03:18,977: DEBUG - + package='*'
2022-02-06 12:03:18,978: DEBUG - + priority=50
2022-02-06 12:03:18,978: DEBUG - + name=onlyoffice
2022-02-06 12:03:18,978: DEBUG - + append=1
2022-02-06 12:03:18,978: DEBUG - + append='tee --append'
2022-02-06 12:03:18,978: DEBUG - + [[ onlyoffice != \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
2022-02-06 12:03:18,978: DEBUG - + mkdir --parents /etc/apt/preferences.d
2022-02-06 12:03:18,981: DEBUG - + tee --append /etc/apt/preferences.d/onlyoffice
2022-02-06 12:03:18,983: DEBUG - Pin: origin "download.onlyoffice.com"
2022-02-06 12:03:18,983: DEBUG - Pin-Priority: 50
2022-02-06 12:03:18,983: DEBUG - '
2022-02-06 12:03:18,984: DEBUG - Package: *
2022-02-06 12:03:18,984: DEBUG - Pin: origin "download.onlyoffice.com"
2022-02-06 12:03:18,984: DEBUG - Pin-Priority: 50
2022-02-06 12:03:18,984: DEBUG -
2022-02-06 12:03:18,985: DEBUG - + '[' -n '' ']'
2022-02-06 12:03:18,985: DEBUG - + ynh_package_update
2022-02-06 12:03:18,985: DEBUG - + ynh_apt update
2022-02-06 12:03:18,985: DEBUG - + ynh_wait_dpkg_free
2022-02-06 12:03:19,038: DEBUG - + return 0
2022-02-06 12:03:19,038: DEBUG - + LC_ALL=C
2022-02-06 12:03:19,038: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-02-06 12:03:19,038: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-02-06 12:03:19,146: DEBUG - Hit:1 http://security.debian.org/debian-security buster/updates InRelease
2022-02-06 12:03:19,146: DEBUG - Hit:2 http://deb.debian.org/debian buster InRelease
2022-02-06 12:03:19,146: DEBUG - Hit:3 http://deb.debian.org/debian buster-updates InRelease
2022-02-06 12:03:19,146: DEBUG - Hit:4 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
2022-02-06 12:03:19,174: DEBUG - Hit:5 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
2022-02-06 12:03:19,706: DEBUG - Get:6 http://download.onlyoffice.com/repo/debian squeeze InRelease [7517 B]
2022-02-06 12:03:19,796: DEBUG - Get:7 http://download.onlyoffice.com/repo/debian squeeze/main amd64 Packages [11.7 kB]
2022-02-06 12:04:21,032: DEBUG - Ign:8 http://forge.yunohost.org/debian buster InRelease
2022-02-06 12:05:21,528: DEBUG - Ign:8 http://forge.yunohost.org/debian buster InRelease
2022-02-06 12:06:22,544: DEBUG - Ign:8 http://forge.yunohost.org/debian buster InRelease
2022-02-06 12:07:23,560: DEBUG - Err:8 http://forge.yunohost.org/debian buster InRelease
2022-02-06 12:07:23,561: DEBUG - Connection failed [IP: 80.67.172.144 80]
2022-02-06 12:07:23,567: DEBUG - Fetched 19.2 kB in 4min 4s (78 B/s)
2022-02-06 12:07:24,861: DEBUG - Reading package lists...
2022-02-06 12:07:24,906: WARNING - W: Failed to fetch http://forge.yunohost.org/debian/dists/buster/InRelease Connection failed [IP: 80.67.172.144 80]
2022-02-06 12:07:24,908: WARNING - W: Some index files failed to download. They have been ignored, or old ones used instead.
2022-02-06 12:07:24,974: DEBUG - + ynh_exec_warn_less ynh_install_app_dependencies postgresql postgresql-contrib libstdc++6 rabbitmq-server libcurl4-dev
2022-02-06 12:07:24,974: DEBUG - + [[ 6 -eq 1 ]]
2022-02-06 12:07:24,974: DEBUG - + ynh_install_app_dependencies postgresql postgresql-contrib libstdc++6 rabbitmq-server libcurl4-dev
2022-02-06 12:07:24,974: DEBUG - + local 'dependencies=postgresql postgresql-contrib libstdc++6 rabbitmq-server libcurl4-dev'
2022-02-06 12:07:24,974: INFO - [#####++.............] > Installing dependencies...
2022-02-06 12:07:24,976: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2022-02-06 12:07:24,978: DEBUG - ++ echo 'postgresql postgresql-contrib libstdc++6 rabbitmq-server libcurl4-dev'
2022-02-06 12:07:24,981: DEBUG - + dependencies='postgresql, postgresql-contrib, libstdc++6, rabbitmq-server, libcurl4-dev'
2022-02-06 12:07:24,981: DEBUG - + local 'dependencies=postgresql, postgresql-contrib, libstdc++6, rabbitmq-server, libcurl4-dev'
2022-02-06 12:07:24,981: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/manifest.json
2022-02-06 12:07:24,982: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/manifest.json
2022-02-06 12:07:24,992: DEBUG - + local version=6.4.0~ynh2
2022-02-06 12:07:24,992: DEBUG - + '[' -z 6.4.0~ynh2 ']'
2022-02-06 12:07:24,993: DEBUG - + '[' 6.4.0~ynh2 == null ']'
2022-02-06 12:07:24,993: DEBUG - + local dep_app=onlyoffice
2022-02-06 12:07:24,993: DEBUG - + [[ postgresql, postgresql-contrib, libstdc++6, rabbitmq-server, libcurl4-dev =~ [<=>] ]]
2022-02-06 12:07:24,995: DEBUG - ++ sort -u
2022-02-06 12:07:24,996: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2022-02-06 12:07:24,996: DEBUG - ++ echo postgresql, postgresql-contrib, libstdc++6, rabbitmq-server, libcurl4-dev
2022-02-06 12:07:25,003: DEBUG - + local specific_php_version=
2022-02-06 12:07:25,003: DEBUG - + [[ '' != \7\.\3 ]]
2022-02-06 12:07:25,003: DEBUG - + [[ true == \t\r\u\e ]]
2022-02-06 12:07:25,003: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2022-02-06 12:07:25,003: DEBUG - + grep --quiet php
2022-02-06 12:07:25,007: DEBUG - + cat
2022-02-06 12:07:25,010: DEBUG - + ynh_package_install_from_equivs /tmp/onlyoffice-ynh-deps.control
2022-02-06 12:07:25,010: DEBUG - + local controlfile=/tmp/onlyoffice-ynh-deps.control
2022-02-06 12:07:25,012: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-02-06 12:07:25,012: DEBUG - ++ grep '^Package: ' /tmp/onlyoffice-ynh-deps.control
2022-02-06 12:07:25,017: DEBUG - + local pkgname=onlyoffice-ynh-deps
2022-02-06 12:07:25,018: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-02-06 12:07:25,020: DEBUG - ++ grep '^Version: ' /tmp/onlyoffice-ynh-deps.control
2022-02-06 12:07:25,023: DEBUG - + local pkgversion=6.4.0~ynh2
2022-02-06 12:07:25,024: DEBUG - + [[ -z onlyoffice-ynh-deps ]]
2022-02-06 12:07:25,024: DEBUG - + [[ -z 6.4.0~ynh2 ]]
2022-02-06 12:07:25,024: DEBUG - + ynh_package_update
2022-02-06 12:07:25,024: DEBUG - + ynh_apt update
2022-02-06 12:07:25,024: DEBUG - + ynh_wait_dpkg_free
2022-02-06 12:07:25,099: DEBUG - + return 0
2022-02-06 12:07:25,100: DEBUG - + LC_ALL=C
2022-02-06 12:07:25,100: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-02-06 12:07:25,100: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-02-06 12:07:25,230: DEBUG - Hit:1 http://security.debian.org/debian-security buster/updates InRelease
2022-02-06 12:07:25,230: DEBUG - Hit:2 http://deb.debian.org/debian buster InRelease
2022-02-06 12:07:25,230: DEBUG - Hit:3 http://deb.debian.org/debian buster-updates InRelease
2022-02-06 12:07:25,232: DEBUG - Hit:4 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
2022-02-06 12:07:25,247: DEBUG - Hit:5 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
2022-02-06 12:07:25,286: DEBUG - Hit:6 http://download.onlyoffice.com/repo/debian squeeze InRelease
2022-02-06 12:08:27,835: DEBUG - Ign:7 http://forge.yunohost.org/debian buster InRelease
2022-02-06 12:09:28,858: DEBUG - Ign:7 http://forge.yunohost.org/debian buster InRelease
2022-02-06 12:10:29,560: DEBUG - Ign:7 http://forge.yunohost.org/debian buster InRelease
2022-02-06 12:11:30,346: DEBUG - Err:7 http://forge.yunohost.org/debian buster InRelease
2022-02-06 12:11:30,347: DEBUG - Connection failed [IP: 80.67.172.144 80]
2022-02-06 12:11:31,332: DEBUG - Reading package lists...
2022-02-06 12:11:31,377: DEBUG - W: Failed to fetch http://forge.yunohost.org/debian/dists/buster/InRelease Connection failed [IP: 80.67.172.144 80]
2022-02-06 12:11:31,377: DEBUG - W: Some index files failed to download. They have been ignored, or old ones used instead.
2022-02-06 12:11:31,381: DEBUG - ++ mktemp --directory
2022-02-06 12:11:31,383: DEBUG - + local TMPDIR=/tmp/tmp.oKW3RRwDnA
2022-02-06 12:11:31,384: DEBUG - + echo 10
2022-02-06 12:11:31,385: DEBUG - + ynh_wait_dpkg_free
2022-02-06 12:11:31,461: DEBUG - + return 0
2022-02-06 12:11:31,462: DEBUG - + cp /tmp/onlyoffice-ynh-deps.control /tmp/tmp.oKW3RRwDnA/control
2022-02-06 12:11:31,464: DEBUG - + cd /tmp/tmp.oKW3RRwDnA
2022-02-06 12:11:31,465: DEBUG - + LC_ALL=C
2022-02-06 12:11:31,465: DEBUG - + equivs-build ./control
2022-02-06 12:11:32,190: DEBUG - + tee ./dpkg_log
2022-02-06 12:11:32,191: DEBUG - + LC_ALL=C
2022-02-06 12:11:32,192: DEBUG - + dpkg --force-depends --install ./onlyoffice-ynh-deps_6.4.0~ynh2_all.deb
2022-02-06 12:11:32,222: DEBUG - Selecting previously unselected package onlyoffice-ynh-deps.
2022-02-06 12:11:32,400: DEBUG - (Reading database ... 75439 files and directories currently installed.)
2022-02-06 12:11:32,404: DEBUG - Preparing to unpack .../onlyoffice-ynh-deps_6.4.0~ynh2_all.deb ...
2022-02-06 12:11:32,406: DEBUG - Unpacking onlyoffice-ynh-deps (6.4.0~ynh2) ...
2022-02-06 12:11:32,422: DEBUG - Setting up onlyoffice-ynh-deps (6.4.0~ynh2) ...
2022-02-06 12:11:32,442: DEBUG - + ynh_package_install --fix-broken
2022-02-06 12:11:32,442: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-02-06 12:11:32,442: DEBUG - + ynh_wait_dpkg_free
2022-02-06 12:11:32,495: DEBUG - + return 0
2022-02-06 12:11:32,495: DEBUG - + LC_ALL=C
2022-02-06 12:11:32,495: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-02-06 12:11:32,495: 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
2022-02-06 12:11:32,649: DEBUG - Reading package lists...
2022-02-06 12:11:32,895: DEBUG - Building dependency tree...
2022-02-06 12:11:32,897: DEBUG - Reading state information...
2022-02-06 12:11:33,184: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2022-02-06 12:11:33,185: DEBUG - + [[ -n /tmp/tmp.oKW3RRwDnA ]]
2022-02-06 12:11:33,186: DEBUG - + rm --recursive --force /tmp/tmp.oKW3RRwDnA
2022-02-06 12:11:33,187: DEBUG - + ynh_package_is_installed onlyoffice-ynh-deps
2022-02-06 12:11:33,199: DEBUG - + ynh_wait_dpkg_free
2022-02-06 12:11:33,255: DEBUG - + return 0
2022-02-06 12:11:33,255: DEBUG - + grep --count 'ok installed'
2022-02-06 12:11:33,257: DEBUG - + dpkg-query --show '--showformat=${Status}' onlyoffice-ynh-deps
2022-02-06 12:11:33,273: DEBUG - + rm /tmp/onlyoffice-ynh-deps.control
2022-02-06 12:11:33,275: DEBUG - + grep --quiet php
2022-02-06 12:11:33,324: INFO - [#######+............] > Creating a PostgreSQL database...
2022-02-06 12:11:33,326: DEBUG - ++ ynh_sanitize_dbid --db_name=onlyoffice
2022-02-06 12:11:33,339: DEBUG - ++ echo onlyoffice
2022-02-06 12:11:33,339: DEBUG - + db_name=onlyoffice
2022-02-06 12:11:33,339: DEBUG - + db_user=onlyoffice
2022-02-06 12:11:33,339: DEBUG - + ynh_app_setting_set --app=onlyoffice --key=db_name --value=onlyoffice
2022-02-06 12:11:33,339: DEBUG - + local _globalapp=onlyoffice
2022-02-06 12:11:33,404: DEBUG - + app=onlyoffice
2022-02-06 12:11:33,404: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2022-02-06 12:11:33,404: DEBUG - + ynh_app_setting set onlyoffice db_name onlyoffice
2022-02-06 12:11:33,493: DEBUG - + ynh_psql_test_if_first_run
2022-02-06 12:11:33,493: DEBUG - + grep -q 'ii postgresql-11'
2022-02-06 12:11:33,495: DEBUG - + dpkg --list
2022-02-06 12:11:33,520: DEBUG - + '[' -e /etc/postgresql/11 ']'
2022-02-06 12:11:33,521: DEBUG - + systemctl is-active postgresql@11-main -q
2022-02-06 12:11:33,532: DEBUG - + systemctl is-enabled postgresql -q
2022-02-06 12:11:33,543: DEBUG - + '[' '!' -f /etc/yunohost/psql ']'
2022-02-06 12:11:33,543: DEBUG - + ynh_psql_setup_db --db_user=onlyoffice --db_name=onlyoffice
2022-02-06 12:11:33,543: DEBUG - + db_pwd=
2022-02-06 12:11:33,584: DEBUG - + ynh_psql_user_exists --user=onlyoffice
2022-02-06 12:11:33,594: DEBUG - + grep --quiet onlyoffice
2022-02-06 12:11:33,597: DEBUG - ++ cat /etc/yunohost/psql
2022-02-06 12:11:33,599: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql -tAc 'SELECT rolname FROM pg_roles WHERE rolname='\''onlyoffice'\'';'
2022-02-06 12:11:33,722: DEBUG - + return 1
2022-02-06 12:11:33,725: DEBUG - ++ ynh_string_random
2022-02-06 12:11:33,726: DEBUG - ++ length=24
2022-02-06 12:11:33,727: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2022-02-06 12:11:33,729: DEBUG - ++ tr --complement --delete A-Za-z0-9
2022-02-06 12:11:33,730: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2022-02-06 12:11:33,735: DEBUG - + local new_db_pwd=**********
2022-02-06 12:11:33,735: DEBUG - + db_pwd=**********
2022-02-06 12:11:33,736: DEBUG - + ynh_psql_create_user onlyoffice **********
2022-02-06 12:11:33,736: DEBUG - + local user=onlyoffice
2022-02-06 12:11:33,736: DEBUG - + local pwd=**********
2022-02-06 12:11:33,736: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE USER onlyoffice WITH ENCRYPTED PASSWORD '\''**********'\'''
2022-02-06 12:11:33,752: DEBUG - + database=
2022-02-06 12:11:33,752: DEBUG - + '[' -n '' ']'
2022-02-06 12:11:33,753: DEBUG - ++ cat /etc/yunohost/psql
2022-02-06 12:11:33,755: DEBUG - + ynh_psql_connect_as --user=postgres --password=**********
2022-02-06 12:11:33,792: DEBUG - + database=
2022-02-06 12:11:33,793: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
2022-02-06 12:11:33,856: DEBUG - CREATE ROLE
2022-02-06 12:11:33,859: DEBUG - + ynh_psql_create_db onlyoffice onlyoffice
2022-02-06 12:11:33,859: DEBUG - + local db=onlyoffice
2022-02-06 12:11:33,860: DEBUG - + local user=onlyoffice
2022-02-06 12:11:33,860: DEBUG - + local 'sql=CREATE DATABASE onlyoffice;'
2022-02-06 12:11:33,860: DEBUG - + '[' -n onlyoffice ']'
2022-02-06 12:11:33,860: DEBUG - + sql+='ALTER DATABASE onlyoffice OWNER TO onlyoffice;'
2022-02-06 12:11:33,860: DEBUG - + sql+='GRANT ALL PRIVILEGES ON DATABASE onlyoffice TO onlyoffice WITH GRANT OPTION;'
2022-02-06 12:11:33,860: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE DATABASE onlyoffice;ALTER DATABASE onlyoffice OWNER TO onlyoffice;GRANT ALL PRIVILEGES ON DATABASE onlyoffice TO onlyoffice WITH GRANT OPTION;'
2022-02-06 12:11:33,879: DEBUG - + database=
2022-02-06 12:11:33,879: DEBUG - + '[' -n '' ']'
2022-02-06 12:11:33,879: DEBUG - ++ cat /etc/yunohost/psql
2022-02-06 12:11:33,881: DEBUG - + ynh_psql_connect_as --user=postgres --password=**********
2022-02-06 12:11:33,922: DEBUG - + database=
2022-02-06 12:11:33,922: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
2022-02-06 12:11:34,275: DEBUG - CREATE DATABASE
2022-02-06 12:11:34,276: DEBUG - ALTER DATABASE
2022-02-06 12:11:34,280: DEBUG - GRANT
2022-02-06 12:11:34,283: DEBUG - + ynh_app_setting_set --app=onlyoffice --key=psqlpwd --value=**********
2022-02-06 12:11:34,283: DEBUG - + local _globalapp=onlyoffice
2022-02-06 12:11:34,375: DEBUG - + app=onlyoffice
2022-02-06 12:11:34,375: DEBUG - + [[ psqlpwd =~ (unprotected|protected|skipped)_ ]]
2022-02-06 12:11:34,375: DEBUG - + ynh_app_setting set onlyoffice psqlpwd **********
2022-02-06 12:11:34,497: DEBUG - + '[' / = / ']'
2022-02-06 12:11:34,497: DEBUG - + ynh_replace_string --match_string=__SUB_PATH__ --replace_string= --target_file=../conf/nginx.conf
2022-02-06 12:11:34,498: INFO - [########+...........] > Configuring NGINX web server...
2022-02-06 12:11:34,587: DEBUG - + sed --in-place s@__SUB_PATH__@@g ../conf/nginx.conf
2022-02-06 12:11:34,591: DEBUG - + ynh_add_nginx_config nextclouddomain
2022-02-06 12:11:34,591: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,591: DEBUG - + '[' / '!=' / ']'
2022-02-06 12:11:34,591: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/conf/nginx.conf
2022-02-06 12:11:34,681: DEBUG - + sed --in-place 's@^#root_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/conf/nginx.conf
2022-02-06 12:11:34,684: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/conf/nginx.conf --destination=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,727: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/conf//var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/conf/nginx.conf ']'
2022-02-06 12:11:34,727: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/conf/nginx.conf ']'
2022-02-06 12:11:34,727: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/conf/nginx.conf
2022-02-06 12:11:34,727: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,741: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_onlyoffice.maindomain.tld.d_onlyoffice.conf
2022-02-06 12:11:34,742: DEBUG - ++ ynh_app_setting_get --app=onlyoffice --key=checksum__etc_nginx_conf.d_onlyoffice.maindomain.tld.d_onlyoffice.conf
2022-02-06 12:11:34,743: DEBUG - ++ local _globalapp=onlyoffice
2022-02-06 12:11:34,786: DEBUG - ++ app=onlyoffice
2022-02-06 12:11:34,786: DEBUG - ++ [[ checksum__etc_nginx_conf.d_onlyoffice.maindomain.tld.d_onlyoffice.conf =~ (unprotected|protected|skipped)_ ]]
2022-02-06 12:11:34,786: DEBUG - ++ ynh_app_setting get onlyoffice checksum__etc_nginx_conf.d_onlyoffice.maindomain.tld.d_onlyoffice.conf
2022-02-06 12:11:34,849: DEBUG - + local checksum_value=
2022-02-06 12:11:34,849: DEBUG - + backup_file_checksum=
2022-02-06 12:11:34,849: DEBUG - + '[' -n '' ']'
2022-02-06 12:11:34,849: DEBUG - + touch /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,853: DEBUG - + chown root:root /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,856: DEBUG - + chmod 640 /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,857: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/conf/nginx.conf /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,860: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,860: DEBUG - + local target=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,862: DEBUG - ++ tr -d '>= '
2022-02-06 12:11:34,863: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/manifest.json
2022-02-06 12:11:34,872: DEBUG - + local ynh_requirement=4.2.0
2022-02-06 12:11:34,872: DEBUG - + '[' -z 4.2.0 ']'
2022-02-06 12:11:34,873: DEBUG - + '[' 4.2.0 == null ']'
2022-02-06 12:11:34,873: DEBUG - + dpkg --compare-versions 4.2.0 ge 4.2
2022-02-06 12:11:34,876: DEBUG - + chmod o-rwx /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,878: DEBUG - + chmod g-w /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,879: DEBUG - + chown -R root:root /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,881: DEBUG - + ynh_system_user_exists onlyoffice
2022-02-06 12:11:34,896: DEBUG - + getent passwd onlyoffice
2022-02-06 12:11:34,900: DEBUG - + chown onlyoffice:onlyoffice /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,903: DEBUG - + grep -q '^/etc/cron'
2022-02-06 12:11:34,906: DEBUG - + echo /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,908: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:34,922: DEBUG - + test -n /
2022-02-06 12:11:34,922: DEBUG - + local path_url_slash_less=
2022-02-06 12:11:34,922: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,009: DEBUG - + sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,012: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,101: DEBUG - + sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,103: DEBUG - + test -n onlyoffice
2022-02-06 12:11:35,103: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=onlyoffice --target_file=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,168: DEBUG - + sed --in-place s@__NAME__@onlyoffice@g /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,170: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=onlyoffice --target_file=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,234: DEBUG - + sed --in-place s@__NAMETOCHANGE__@onlyoffice@g /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,236: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=onlyoffice --target_file=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,306: DEBUG - + sed --in-place s@__USER__@onlyoffice@g /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,308: DEBUG - + test -n /var/www/onlyoffice
2022-02-06 12:11:35,309: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/onlyoffice --target_file=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,374: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/onlyoffice@g /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,376: DEBUG - + test -n 7.3
2022-02-06 12:11:35,376: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,441: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,444: DEBUG - + test -n ''
2022-02-06 12:11:35,444: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
2022-02-06 12:11:35,445: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2022-02-06 12:11:35,447: DEBUG - ++ sort --unique
2022-02-06 12:11:35,448: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,451: DEBUG - + local delimit=@
2022-02-06 12:11:35,451: DEBUG - + for one_var in "${uniques_vars[@]}"
2022-02-06 12:11:35,451: DEBUG - + [[ -v nextclouddomain ]]
2022-02-06 12:11:35,451: DEBUG - + match_string=__NEXTCLOUDDOMAIN__
2022-02-06 12:11:35,451: DEBUG - + match_string=__NEXTCLOUDDOMAIN__
2022-02-06 12:11:35,452: DEBUG - + replace_string=nextcloud.maindomain.tld/nextcloud
2022-02-06 12:11:35,452: DEBUG - + replace_string=nextcloud.maindomain.tld/nextcloud
2022-02-06 12:11:35,452: DEBUG - + replace_string=nextcloud.maindomain.tld/nextcloud
2022-02-06 12:11:35,452: DEBUG - + sed --in-place s@__NEXTCLOUDDOMAIN__@nextcloud.maindomain.tld/nextcloud@g /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,454: DEBUG - + for one_var in "${uniques_vars[@]}"
2022-02-06 12:11:35,454: DEBUG - + [[ -v port ]]
2022-02-06 12:11:35,454: DEBUG - + match_string=__PORT__
2022-02-06 12:11:35,454: DEBUG - + match_string=__PORT__
2022-02-06 12:11:35,454: DEBUG - + replace_string=8095
2022-02-06 12:11:35,454: DEBUG - + replace_string=8095
2022-02-06 12:11:35,454: DEBUG - + replace_string=8095
2022-02-06 12:11:35,454: DEBUG - + sed --in-place s@__PORT__@8095@g /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,456: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,457: DEBUG - + update_only=0
2022-02-06 12:11:35,474: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_onlyoffice.maindomain.tld.d_onlyoffice.conf
2022-02-06 12:11:35,475: DEBUG - ++ cut '--delimiter= ' --fields=1
2022-02-06 12:11:35,477: DEBUG - ++ md5sum /etc/nginx/conf.d/onlyoffice.maindomain.tld.d/onlyoffice.conf
2022-02-06 12:11:35,480: DEBUG - + ynh_app_setting_set --app=onlyoffice --key=checksum__etc_nginx_conf.d_onlyoffice.maindomain.tld.d_onlyoffice.conf --value=318043580cbf038cb5907c0f65b29549
2022-02-06 12:11:35,480: DEBUG - + local _globalapp=onlyoffice
2022-02-06 12:11:35,542: DEBUG - + app=onlyoffice
2022-02-06 12:11:35,542: DEBUG - + [[ checksum__etc_nginx_conf.d_onlyoffice.maindomain.tld.d_onlyoffice.conf =~ (unprotected|protected|skipped)_ ]]
2022-02-06 12:11:35,542: DEBUG - + ynh_app_setting set onlyoffice checksum__etc_nginx_conf.d_onlyoffice.maindomain.tld.d_onlyoffice.conf 318043580cbf038cb5907c0f65b29549
2022-02-06 12:11:35,599: DEBUG - + '[' -n '' ']'
2022-02-06 12:11:35,600: DEBUG - + unset backup_file_checksum
2022-02-06 12:11:35,600: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2022-02-06 12:11:35,693: DEBUG - + service_name=nginx
2022-02-06 12:11:35,693: DEBUG - + action=reload
2022-02-06 12:11:35,693: DEBUG - + line_match=
2022-02-06 12:11:35,693: DEBUG - + length=20
2022-02-06 12:11:35,693: DEBUG - + log_path=/var/log/nginx/nginx.log
2022-02-06 12:11:35,693: DEBUG - + timeout=300
2022-02-06 12:11:35,694: DEBUG - + '[' reload == stop ']'
2022-02-06 12:11:35,694: DEBUG - + '[' reload == reload ']'
2022-02-06 12:11:35,694: DEBUG - + action=reload-or-restart
2022-02-06 12:11:35,694: DEBUG - + systemctl reload-or-restart nginx
2022-02-06 12:11:35,988: INFO - [#########+..........] > Configuring OnlyOffice...
2022-02-06 12:11:35,989: DEBUG - + debconf-set-selections
2022-02-06 12:11:35,990: DEBUG - + echo onlyoffice-documentserver onlyoffice/ds-port select 8095
2022-02-06 12:11:36,134: DEBUG - + debconf-set-selections
2022-02-06 12:11:36,137: DEBUG - + echo onlyoffice-documentserver onlyoffice/db-host string 127.0.0.1
2022-02-06 12:11:36,266: DEBUG - + debconf-set-selections
2022-02-06 12:11:36,271: DEBUG - + echo onlyoffice-documentserver onlyoffice/db-user string onlyoffice
2022-02-06 12:11:36,387: DEBUG - + debconf-set-selections
2022-02-06 12:11:36,391: DEBUG - + echo onlyoffice-documentserver onlyoffice/db-pwd password **********
2022-02-06 12:11:36,500: DEBUG - + debconf-set-selections
2022-02-06 12:11:36,503: DEBUG - + echo onlyoffice-documentserver onlyoffice/db-name string onlyoffice
2022-02-06 12:11:36,666: DEBUG - + ynh_exec_warn_less ynh_add_app_dependencies --package=onlyoffice-documentserver
2022-02-06 12:11:36,666: DEBUG - + [[ 2 -eq 1 ]]
2022-02-06 12:11:36,666: DEBUG - + ynh_add_app_dependencies --package=onlyoffice-documentserver
2022-02-06 12:11:36,666: INFO - [##########+.........] > Install OnlyOffice...
2022-02-06 12:11:36,685: DEBUG - + ynh_print_warn '--message=Packagers: ynh_add_app_dependencies is deprecated and is now only an alias to ynh_install_app_dependencies'
2022-02-06 12:11:36,695: DEBUG - + ynh_print_log 'Packagers: ynh_add_app_dependencies is deprecated and is now only an alias to ynh_install_app_dependencies'
2022-02-06 12:11:36,696: DEBUG - + echo -e 'Packagers: ynh_add_app_dependencies is deprecated and is now only an alias to ynh_install_app_dependencies'
2022-02-06 12:11:36,696: DEBUG - Packagers: ynh_add_app_dependencies is deprecated and is now only an alias to ynh_install_app_dependencies
2022-02-06 12:11:36,696: DEBUG - + ynh_install_app_dependencies onlyoffice-documentserver
2022-02-06 12:11:36,696: DEBUG - + local dependencies=onlyoffice-documentserver
2022-02-06 12:11:36,697: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2022-02-06 12:11:36,699: DEBUG - ++ echo onlyoffice-documentserver
2022-02-06 12:11:36,700: DEBUG - + dependencies=onlyoffice-documentserver
2022-02-06 12:11:36,700: DEBUG - + local dependencies=onlyoffice-documentserver
2022-02-06 12:11:36,700: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/manifest.json
2022-02-06 12:11:36,701: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_utbp8p2h/manifest.json
2022-02-06 12:11:36,706: DEBUG - + local version=6.4.0~ynh2
2022-02-06 12:11:36,707: DEBUG - + '[' -z 6.4.0~ynh2 ']'
2022-02-06 12:11:36,707: DEBUG - + '[' 6.4.0~ynh2 == null ']'
2022-02-06 12:11:36,707: DEBUG - + local dep_app=onlyoffice
2022-02-06 12:11:36,707: DEBUG - + [[ onlyoffice-documentserver =~ [<=>] ]]
2022-02-06 12:11:36,708: DEBUG - ++ sort -u
2022-02-06 12:11:36,710: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2022-02-06 12:11:36,711: DEBUG - ++ echo onlyoffice-documentserver
2022-02-06 12:11:36,714: DEBUG - + local specific_php_version=
2022-02-06 12:11:36,715: DEBUG - + [[ '' != \7\.\3 ]]
2022-02-06 12:11:36,715: DEBUG - + [[ false == \t\r\u\e ]]
2022-02-06 12:11:36,715: DEBUG - + local current_dependencies=
2022-02-06 12:11:36,715: DEBUG - + ynh_package_is_installed --package=onlyoffice-ynh-deps
2022-02-06 12:11:36,725: DEBUG - + ynh_wait_dpkg_free
2022-02-06 12:11:36,777: DEBUG - + return 0
2022-02-06 12:11:36,778: DEBUG - + grep --count 'ok installed'
2022-02-06 12:11:36,779: DEBUG - + dpkg-query --show '--showformat=${Status}' onlyoffice-ynh-deps
2022-02-06 12:11:36,804: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' onlyoffice-ynh-deps
2022-02-06 12:11:36,824: DEBUG - + current_dependencies='postgresql, postgresql-contrib, libstdc++6, rabbitmq-server, libcurl4-dev '
2022-02-06 12:11:36,825: DEBUG - + current_dependencies='postgresql, postgresql-contrib, libstdc++6, rabbitmq-server, libcurl4-dev '
2022-02-06 12:11:36,825: DEBUG - + dependencies='postgresql, postgresql-contrib, libstdc++6, rabbitmq-server, libcurl4-dev , onlyoffice-documentserver'
2022-02-06 12:11:36,825: DEBUG - + grep --quiet php
2022-02-06 12:11:36,828: DEBUG - + cat
2022-02-06 12:11:36,831: DEBUG - + ynh_package_install_from_equivs /tmp/onlyoffice-ynh-deps.control
2022-02-06 12:11:36,831: DEBUG - + local controlfile=/tmp/onlyoffice-ynh-deps.control
2022-02-06 12:11:36,833: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-02-06 12:11:36,834: DEBUG - ++ grep '^Package: ' /tmp/onlyoffice-ynh-deps.control
2022-02-06 12:11:36,838: DEBUG - + local pkgname=onlyoffice-ynh-deps
2022-02-06 12:11:36,839: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-02-06 12:11:36,841: DEBUG - ++ grep '^Version: ' /tmp/onlyoffice-ynh-deps.control
2022-02-06 12:11:36,844: DEBUG - + local pkgversion=6.4.0~ynh2
2022-02-06 12:11:36,844: DEBUG - + [[ -z onlyoffice-ynh-deps ]]
2022-02-06 12:11:36,845: DEBUG - + [[ -z 6.4.0~ynh2 ]]
2022-02-06 12:11:36,845: DEBUG - + ynh_package_update
2022-02-06 12:11:36,845: DEBUG - + ynh_apt update
2022-02-06 12:11:36,845: DEBUG - + ynh_wait_dpkg_free
2022-02-06 12:11:36,910: DEBUG - + return 0
2022-02-06 12:11:36,910: DEBUG - + LC_ALL=C
2022-02-06 12:11:36,910: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-02-06 12:11:36,910: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-02-06 12:11:37,072: DEBUG - Hit:1 http://security.debian.org/debian-security buster/updates InRelease
2022-02-06 12:11:37,072: DEBUG - Hit:2 http://deb.debian.org/debian buster InRelease
2022-02-06 12:11:37,072: DEBUG - Hit:3 http://deb.debian.org/debian buster-updates InRelease
2022-02-06 12:11:37,081: DEBUG - Hit:4 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
2022-02-06 12:11:37,120: DEBUG - Hit:5 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
2022-02-06 12:11:37,151: DEBUG - Hit:6 http://download.onlyoffice.com/repo/debian squeeze InRelease
2022-02-06 12:12:39,607: DEBUG - Ign:7 http://forge.yunohost.org/debian buster InRelease
2022-02-06 12:13:40,619: DEBUG - Ign:7 http://forge.yunohost.org/debian buster InRelease
2022-02-06 12:14:41,630: DEBUG - Ign:7 http://forge.yunohost.org/debian buster InRelease
2022-02-06 12:15:42,633: DEBUG - Err:7 http://forge.yunohost.org/debian buster InRelease
2022-02-06 12:15:42,637: DEBUG - Connection failed [IP: 80.67.172.144 80]
2022-02-06 12:15:43,866: DEBUG - Reading package lists...
2022-02-06 12:15:43,952: DEBUG - W: Failed to fetch http://forge.yunohost.org/debian/dists/buster/InRelease Connection failed [IP: 80.67.172.144 80]
2022-02-06 12:15:43,952: DEBUG - W: Some index files failed to download. They have been ignored, or old ones used instead.
2022-02-06 12:15:43,960: DEBUG - ++ mktemp --directory
2022-02-06 12:15:43,965: DEBUG - + local TMPDIR=/tmp/tmp.0LplXq72h2
2022-02-06 12:15:43,965: DEBUG - + echo 10
2022-02-06 12:15:43,967: DEBUG - + ynh_wait_dpkg_free
2022-02-06 12:15:44,032: DEBUG - + return 0
2022-02-06 12:15:44,033: DEBUG - + cp /tmp/onlyoffice-ynh-deps.control /tmp/tmp.0LplXq72h2/control
2022-02-06 12:15:44,037: DEBUG - + cd /tmp/tmp.0LplXq72h2
2022-02-06 12:15:44,037: DEBUG - + LC_ALL=C
2022-02-06 12:15:44,038: DEBUG - + equivs-build ./control
2022-02-06 12:15:44,803: DEBUG - + tee ./dpkg_log
2022-02-06 12:15:44,804: DEBUG - + LC_ALL=C
2022-02-06 12:15:44,804: DEBUG - + dpkg --force-depends --install ./onlyoffice-ynh-deps_6.4.0~ynh2_all.deb
2022-02-06 12:15:45,055: DEBUG - (Reading database ... 75443 files and directories currently installed.)
2022-02-06 12:15:45,059: DEBUG - Preparing to unpack .../onlyoffice-ynh-deps_6.4.0~ynh2_all.deb ...
2022-02-06 12:15:45,066: DEBUG - Unpacking onlyoffice-ynh-deps (6.4.0~ynh2) over (6.4.0~ynh2) ...
2022-02-06 12:15:45,103: DEBUG - dpkg: onlyoffice-ynh-deps: dependency problems, but configuring anyway as you requested:
2022-02-06 12:15:45,103: DEBUG - onlyoffice-ynh-deps depends on onlyoffice-documentserver; however:
2022-02-06 12:15:45,104: DEBUG - Package onlyoffice-documentserver is not installed.
2022-02-06 12:15:45,104: DEBUG -
2022-02-06 12:15:45,104: DEBUG - Setting up onlyoffice-ynh-deps (6.4.0~ynh2) ...
2022-02-06 12:15:45,129: DEBUG - + ynh_package_install --fix-broken
2022-02-06 12:15:45,129: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-02-06 12:15:45,129: DEBUG - + ynh_wait_dpkg_free
2022-02-06 12:15:45,215: DEBUG - + return 0
2022-02-06 12:15:45,216: DEBUG - + LC_ALL=C
2022-02-06 12:15:45,216: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-02-06 12:15:45,216: 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
2022-02-06 12:15:45,450: DEBUG - Reading package lists...
2022-02-06 12:15:45,753: DEBUG - Building dependency tree...
2022-02-06 12:15:45,755: DEBUG - Reading state information...
2022-02-06 12:15:45,924: DEBUG - Correcting dependencies... Done
2022-02-06 12:15:46,214: DEBUG - The following additional packages will be installed:
2022-02-06 12:15:46,216: DEBUG - gconf-service gconf2-common libdbus-glib-1-2 libfontenc1 libgconf-2-4
2022-02-06 12:15:46,216: DEBUG - libxaw7 libxfont2 libxkbfile1 libxmu6 libxss1 libxt6 mariadb-client
2022-02-06 12:15:46,217: DEBUG - onlyoffice-documentserver pwgen python-meld3 supervisor x11-xkb-utils
2022-02-06 12:15:46,217: DEBUG - xfonts-base xfonts-encodings xfonts-utils xserver-common xvfb
2022-02-06 12:15:46,219: DEBUG - Suggested packages:
2022-02-06 12:15:46,219: DEBUG - supervisor-doc
2022-02-06 12:15:46,220: DEBUG - Recommended packages:
2022-02-06 12:15:46,220: DEBUG - ttf-mscorefonts-installer
2022-02-06 12:15:46,252: DEBUG - The following NEW packages will be installed:
2022-02-06 12:15:46,254: DEBUG - gconf-service gconf2-common libdbus-glib-1-2 libfontenc1 libgconf-2-4
2022-02-06 12:15:46,254: DEBUG - libxaw7 libxfont2 libxkbfile1 libxmu6 libxss1 libxt6 mariadb-client
2022-02-06 12:15:46,255: DEBUG - onlyoffice-documentserver pwgen python-meld3 supervisor x11-xkb-utils
2022-02-06 12:15:46,255: DEBUG - xfonts-base xfonts-encodings xfonts-utils xserver-common xvfb
2022-02-06 12:15:46,723: DEBUG - Preconfiguring packages ...
2022-02-06 12:15:46,857: DEBUG - 0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
2022-02-06 12:15:46,857: DEBUG - Need to get 0 B/491 MB of archives.
2022-02-06 12:15:46,858: DEBUG - After this operation, 1241 MB of additional disk space will be used.
2022-02-06 12:15:46,895: DEBUG - Selecting previously unselected package libdbus-glib-1-2:amd64.
2022-02-06 12:15:47,094: DEBUG - (Reading database ... 75443 files and directories currently installed.)
2022-02-06 12:15:47,098: DEBUG - Preparing to unpack .../00-libdbus-glib-1-2_0.110-4_amd64.deb ...
2022-02-06 12:15:47,104: DEBUG - Unpacking libdbus-glib-1-2:amd64 (0.110-4) ...
2022-02-06 12:15:47,152: DEBUG - Preparing to unpack .../01-gconf2-common_3.2.6-5_all.deb ...
2022-02-06 12:15:47,155: DEBUG - Unpacking gconf2-common (3.2.6-5) ...
2022-02-06 12:15:47,323: DEBUG - Selecting previously unselected package libgconf-2-4:amd64.
2022-02-06 12:15:47,331: DEBUG - Preparing to unpack .../02-libgconf-2-4_3.2.6-5_amd64.deb ...
2022-02-06 12:15:47,334: DEBUG - Unpacking libgconf-2-4:amd64 (3.2.6-5) ...
2022-02-06 12:15:47,391: DEBUG - Selecting previously unselected package gconf-service.
2022-02-06 12:15:47,397: DEBUG - Preparing to unpack .../03-gconf-service_3.2.6-5_amd64.deb ...
2022-02-06 12:15:47,399: DEBUG - Unpacking gconf-service (3.2.6-5) ...
2022-02-06 12:15:47,459: DEBUG - Selecting previously unselected package libfontenc1:amd64.
2022-02-06 12:15:47,462: DEBUG - Preparing to unpack .../04-libfontenc1_1%3a1.1.3-1+b2_amd64.deb ...
2022-02-06 12:15:47,465: DEBUG - Unpacking libfontenc1:amd64 (1:1.1.3-1+b2) ...
2022-02-06 12:15:47,491: DEBUG - Selecting previously unselected package libxt6:amd64.
2022-02-06 12:15:47,497: DEBUG - Preparing to unpack .../05-libxt6_1%3a1.1.5-1+b3_amd64.deb ...
2022-02-06 12:15:47,499: DEBUG - Unpacking libxt6:amd64 (1:1.1.5-1+b3) ...
2022-02-06 12:15:47,547: DEBUG - Selecting previously unselected package libxmu6:amd64.
2022-02-06 12:15:47,554: DEBUG - Preparing to unpack .../06-libxmu6_2%3a1.1.2-2+b3_amd64.deb ...
2022-02-06 12:15:47,557: DEBUG - Unpacking libxmu6:amd64 (2:1.1.2-2+b3) ...
2022-02-06 12:15:47,592: DEBUG - Selecting previously unselected package libxaw7:amd64.
2022-02-06 12:15:47,602: DEBUG - Preparing to unpack .../07-libxaw7_2%3a1.0.13-1+b2_amd64.deb ...
2022-02-06 12:15:47,605: DEBUG - Unpacking libxaw7:amd64 (2:1.0.13-1+b2) ...
2022-02-06 12:15:47,663: DEBUG - Selecting previously unselected package libxfont2:amd64.
2022-02-06 12:15:47,668: DEBUG - Preparing to unpack .../08-libxfont2_1%3a2.0.3-1_amd64.deb ...
2022-02-06 12:15:47,671: DEBUG - Unpacking libxfont2:amd64 (1:2.0.3-1) ...
2022-02-06 12:15:47,723: DEBUG - Selecting previously unselected package libxkbfile1:amd64.
2022-02-06 12:15:47,729: DEBUG - Preparing to unpack .../09-libxkbfile1_1%3a1.0.9-2+b11_amd64.deb ...
2022-02-06 12:15:47,732: DEBUG - Unpacking libxkbfile1:amd64 (1:1.0.9-2+b11) ...
2022-02-06 12:15:47,771: DEBUG - Selecting previously unselected package libxss1:amd64.
2022-02-06 12:15:47,778: DEBUG - Preparing to unpack .../10-libxss1_1%3a1.2.3-1_amd64.deb ...
2022-02-06 12:15:47,781: DEBUG - Unpacking libxss1:amd64 (1:1.2.3-1) ...
2022-02-06 12:15:47,807: DEBUG - Selecting previously unselected package mariadb-client.
2022-02-06 12:15:47,814: DEBUG - Preparing to unpack .../11-mariadb-client_1%3a10.3.31-0+deb10u1_all.deb ...
2022-02-06 12:15:47,817: DEBUG - Unpacking mariadb-client (1:10.3.31-0+deb10u1) ...
2022-02-06 12:15:47,851: DEBUG - Selecting previously unselected package pwgen.
2022-02-06 12:15:47,857: DEBUG - Preparing to unpack .../12-pwgen_2.08-1_amd64.deb ...
2022-02-06 12:15:47,860: DEBUG - Unpacking pwgen (2.08-1) ...
2022-02-06 12:15:47,895: DEBUG - Selecting previously unselected package python-meld3.
2022-02-06 12:15:47,901: DEBUG - Preparing to unpack .../13-python-meld3_1.0.2-2_all.deb ...
2022-02-06 12:15:47,903: DEBUG - Unpacking python-meld3 (1.0.2-2) ...
2022-02-06 12:15:47,945: DEBUG - Preparing to unpack .../14-supervisor_3.3.5-1_all.deb ...
2022-02-06 12:15:47,948: DEBUG - Unpacking supervisor (3.3.5-1) ...
2022-02-06 12:15:48,023: DEBUG - Selecting previously unselected package x11-xkb-utils.
2022-02-06 12:15:48,028: DEBUG - Preparing to unpack .../15-x11-xkb-utils_7.7+4_amd64.deb ...
2022-02-06 12:15:48,031: DEBUG - Unpacking x11-xkb-utils (7.7+4) ...
2022-02-06 12:15:48,075: DEBUG - Selecting previously unselected package xserver-common.
2022-02-06 12:15:48,080: DEBUG - Preparing to unpack .../16-xserver-common_2%3a1.20.4-1+deb10u4_all.deb ...
2022-02-06 12:15:48,083: DEBUG - Unpacking xserver-common (2:1.20.4-1+deb10u4) ...
2022-02-06 12:15:48,135: DEBUG - Selecting previously unselected package xvfb.
2022-02-06 12:15:48,139: DEBUG - Preparing to unpack .../17-xvfb_2%3a1.20.4-1+deb10u4_amd64.deb ...
2022-02-06 12:15:48,142: DEBUG - Unpacking xvfb (2:1.20.4-1+deb10u4) ...
2022-02-06 12:15:48,321: DEBUG - Selecting previously unselected package onlyoffice-documentserver.
2022-02-06 12:15:48,329: DEBUG - Preparing to unpack .../18-onlyoffice-documentserver_7.0.0-132_amd64.deb ...
2022-02-06 12:15:48,331: DEBUG - Unpacking onlyoffice-documentserver (7.0.0-132) ...
2022-02-06 12:16:38,852: DEBUG - Selecting previously unselected package xfonts-encodings.
2022-02-06 12:16:38,875: DEBUG - Preparing to unpack .../19-xfonts-encodings_1%3a1.0.4-2_all.deb ...
2022-02-06 12:16:38,877: DEBUG - Unpacking xfonts-encodings (1:1.0.4-2) ...
2022-02-06 12:16:38,972: DEBUG - Preparing to unpack .../20-xfonts-utils_1%3a7.7+6_amd64.deb ...
2022-02-06 12:16:38,974: DEBUG - Unpacking xfonts-utils (1:7.7+6) ...
2022-02-06 12:16:39,028: DEBUG - Preparing to unpack .../21-xfonts-base_1%3a1.0.5_all.deb ...
2022-02-06 12:16:39,030: DEBUG - Unpacking xfonts-base (1:1.0.5) ...
2022-02-06 12:16:39,514: DEBUG - Setting up mariadb-client (1:10.3.31-0+deb10u1) ...
2022-02-06 12:16:39,519: DEBUG - Setting up libfontenc1:amd64 (1:1.1.3-1+b2) ...
2022-02-06 12:16:39,523: DEBUG - Setting up gconf2-common (3.2.6-5) ...
2022-02-06 12:16:39,534: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2022-02-06 12:16:39,714: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2022-02-06 12:16:39,796: DEBUG - Setting up libdbus-glib-1-2:amd64 (0.110-4) ...
2022-02-06 12:16:39,800: DEBUG - Setting up xfonts-encodings (1:1.0.4-2) ...
2022-02-06 12:16:39,803: DEBUG - Setting up libxt6:amd64 (1:1.1.5-1+b3) ...
2022-02-06 12:16:39,807: DEBUG - Setting up python-meld3 (1.0.2-2) ...
2022-02-06 12:16:39,928: DEBUG - Setting up libxss1:amd64 (1:1.2.3-1) ...
2022-02-06 12:16:39,932: DEBUG - Setting up libxkbfile1:amd64 (1:1.0.9-2+b11) ...
2022-02-06 12:16:39,936: DEBUG - Setting up libxfont2:amd64 (1:2.0.3-1) ...
2022-02-06 12:16:39,939: DEBUG - Setting up pwgen (2.08-1) ...
2022-02-06 12:16:39,943: DEBUG - Setting up libxmu6:amd64 (2:1.1.2-2+b3) ...
2022-02-06 12:16:39,949: DEBUG - Setting up supervisor (3.3.5-1) ...
2022-02-06 12:16:41,108: DEBUG - Setting up libgconf-2-4:amd64 (3.2.6-5) ...
2022-02-06 12:16:41,113: DEBUG - Setting up libxaw7:amd64 (2:1.0.13-1+b2) ...
2022-02-06 12:16:41,119: DEBUG - Setting up xfonts-utils (1:7.7+6) ...
2022-02-06 12:16:41,128: DEBUG - Setting up xfonts-base (1:1.0.5) ...
2022-02-06 12:16:41,207: DEBUG - Setting up gconf-service (3.2.6-5) ...
2022-02-06 12:16:41,212: DEBUG - Setting up x11-xkb-utils (7.7+4) ...
2022-02-06 12:16:41,217: DEBUG - Setting up xserver-common (2:1.20.4-1+deb10u4) ...
2022-02-06 12:16:41,222: DEBUG - Setting up xvfb (2:1.20.4-1+deb10u4) ...
2022-02-06 12:16:41,228: DEBUG - Setting up onlyoffice-documentserver (7.0.0-132) ...
2022-02-06 12:16:41,558: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2022-02-06 12:16:45,394: DEBUG - sed: can't read /etc/onlyoffice/documentserver/nginx/ds.conf: No such file or directory
2022-02-06 12:16:45,438: DEBUG - dpkg: error processing package onlyoffice-documentserver (--configure):
2022-02-06 12:16:45,438: DEBUG - installed onlyoffice-documentserver package post-installation script subprocess returned error exit status 2
2022-02-06 12:16:45,440: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2022-02-06 12:16:46,023: DEBUG - Processing triggers for fontconfig (2.13.1-2) ...
2022-02-06 12:16:46,476: DEBUG - Processing triggers for libc-bin (2.28-10) ...
2022-02-06 12:16:46,540: DEBUG - Processing triggers for systemd (241-7~deb10u8) ...
2022-02-06 12:16:46,879: DEBUG - Errors were encountered while processing:
2022-02-06 12:16:46,880: DEBUG - onlyoffice-documentserver
2022-02-06 12:16:47,110: DEBUG - E: Sub-process /usr/bin/dpkg returned an error code (1)
2022-02-06 12:16:47,117: DEBUG - ++ tr '\n' ' '
2022-02-06 12:16:47,118: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)'
2022-02-06 12:16:47,119: DEBUG - ++ cat /tmp/tmp.0LplXq72h2/dpkg_log
2022-02-06 12:16:47,128: DEBUG - + local 'problematic_dependencies=onlyoffice-documentserver '
2022-02-06 12:16:47,128: DEBUG - + [[ -n onlyoffice-documentserver ]]
2022-02-06 12:16:47,129: DEBUG - + grep -v 'fix-broken\|Reading state info'
2022-02-06 12:16:47,131: DEBUG - + sed --quiet '/Reading state info/,$p'
2022-02-06 12:16:47,132: DEBUG - + ynh_package_install onlyoffice-documentserver --dry-run
2022-02-06 12:16:47,133: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install onlyoffice-documentserver --dry-run
2022-02-06 12:16:47,133: DEBUG - + ynh_wait_dpkg_free
2022-02-06 12:16:47,193: DEBUG - + return 0
2022-02-06 12:16:47,193: DEBUG - + LC_ALL=C
2022-02-06 12:16:47,193: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-02-06 12:16:47,193: 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 onlyoffice-documentserver --dry-run
2022-02-06 12:16:48,101: DEBUG - onlyoffice-documentserver is already the newest version (7.0.0-132).
2022-02-06 12:16:48,102: DEBUG - onlyoffice-documentserver set to manually installed.
2022-02-06 12:16:48,102: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2022-02-06 12:16:48,102: DEBUG - 1 not fully installed or removed.
2022-02-06 12:16:48,102: DEBUG - Conf onlyoffice-documentserver (7.0.0-132 debian squeeze:squeeze [amd64])
2022-02-06 12:16:48,103: DEBUG - + ynh_die '--message=Unable to install dependencies'
2022-02-06 12:16:48,123: DEBUG - Unable to install dependencies
2022-02-06 12:16:48,123: DEBUG - + ynh_exit_properly
2022-02-06 12:16:49,632: ERROR - Unable to install onlyoffice: An error occurred inside the app installation script