Logs
args:
app: paperless-ngx
force: false
label: undefined
no_remove_on_failure: false
ended_at: 2024-03-11 15:46:11.112907
error: An error occured inside the script snippet
interface: api
operation: app_install
parent: null
related_to:
-
- app
- paperless-ngx
started_at: 2024-03-11 15:45:22.870391
success: false
yunohost_version: 11.2.10.3
============
2024-03-11 16:45:22,875: INFO - paperless-ngx wird installiert…
2024-03-11 16:45:22,880: INFO - Provisioning sources…
2024-03-11 16:45:22,880: DEBUG - Prefetching asset main: https://github.com/paperless-ngx/paperless-ngx/releases/download/v2.5.4/paperless-ngx-v2.5.4.tar.xz …
2024-03-11 16:45:32,896: DEBUG - Prefetching asset gs: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/ghostpdl-10.02.1.tar.gz …
2024-03-11 16:45:48,788: INFO - Provisioning system_user…
2024-03-11 16:45:48,919: INFO - Provisioning install_dir…
2024-03-11 16:45:48,926: INFO - Provisioning data_dir…
2024-03-11 16:45:48,932: INFO - Provisioning permissions…
2024-03-11 16:45:49,013: DEBUG - Berechtigung ‘paperless-ngx.main’ aktualisiert
2024-03-11 16:45:49,037: DEBUG - Vollständiges Log dieser Operation: ‘Aktualisiere URL, die mit der Berechtigung ‘paperless-ngx’ verknüpft ist’
2024-03-11 16:45:49,092: DEBUG - Berechtigung ‘paperless-ngx.main’ erstellt
2024-03-11 16:45:49,092: DEBUG - Vollständiges Log dieser Operation: ‘Erstelle Berechtigung ‘paperless-ngx’’
2024-03-11 16:45:49,175: DEBUG - Berechtigung ‘paperless-ngx.main’ aktualisiert
2024-03-11 16:45:49,175: DEBUG - Vollständiges Log dieser Operation: ‘Aktualisiere Zugriffe für Berechtigung ‘paperless-ngx’’
2024-03-11 16:45:49,237: DEBUG - Nothing to update in LDAP
2024-03-11 16:45:49,237: DEBUG - Berechtigung ‘paperless-ngx.main’ aktualisiert
2024-03-11 16:45:49,261: DEBUG - Vollständiges Log dieser Operation: ‘Aktualisiere URL, die mit der Berechtigung ‘paperless-ngx’ verknüpft ist’
2024-03-11 16:45:49,362: DEBUG - Berechtigung ‘paperless-ngx.api’ aktualisiert
2024-03-11 16:45:49,398: DEBUG - Vollständiges Log dieser Operation: ‘Aktualisiere URL, die mit der Berechtigung ‘paperless-ngx’ verknüpft ist’
2024-03-11 16:45:49,453: DEBUG - Berechtigung ‘paperless-ngx.api’ erstellt
2024-03-11 16:45:49,453: DEBUG - Vollständiges Log dieser Operation: ‘Erstelle Berechtigung ‘paperless-ngx’’
2024-03-11 16:45:49,511: DEBUG - Nothing to update in LDAP
2024-03-11 16:45:49,533: DEBUG - Berechtigung ‘paperless-ngx.api’ aktualisiert
2024-03-11 16:45:49,533: DEBUG - Vollständiges Log dieser Operation: ‘Aktualisiere Zugriffe für Berechtigung ‘paperless-ngx’’
2024-03-11 16:45:49,590: DEBUG - Nothing to update in LDAP
2024-03-11 16:45:49,590: DEBUG - Berechtigung ‘paperless-ngx.api’ aktualisiert
2024-03-11 16:45:49,610: DEBUG - Vollständiges Log dieser Operation: ‘Aktualisiere URL, die mit der Berechtigung ‘paperless-ngx’ verknüpft ist’
2024-03-11 16:45:49,672: DEBUG - The permission database has been resynchronized
2024-03-11 16:45:49,772: DEBUG - SSOwat-Konfiguration neu generiert
2024-03-11 16:45:49,775: INFO - Provisioning ports…
2024-03-11 16:45:49,796: INFO - Provisioning apt…
2024-03-11 16:45:49,812: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./provision_or_update_apt” 7>&1’]’
2024-03-11 16:45:49,817: DEBUG - + source /usr/share/yunohost/helpers
2024-03-11 16:45:49,817: DEBUG - +++ set +o
2024-03-11 16:45:49,817: DEBUG - +++ grep xtrace
2024-03-11 16:45:49,818: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2024-03-11 16:45:49,818: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2024-03-11 16:45:49,832: DEBUG - + ynh_abort_if_errors
2024-03-11 16:45:49,832: DEBUG - + trap ynh_exit_properly EXIT
2024-03-11 16:45:49,832: DEBUG - + ynh_install_app_dependencies python3 python3-pip python3-dev python3-venv default-libmysqlclient-dev fonts-liberation imagemagick gnupg libpq-dev libmagic-dev mime-support libzbar0 poppler-utils postgresql postgresql-contrib unpaper ghostscript icc-profiles-free qpdf liblept5 libxml2 pngquant zlib1g tesseract-ocr libatlas-base-dev libxslt1-dev redis-server pkg-config
2024-03-11 16:45:49,833: DEBUG - + local ‘dependencies=python3 python3-pip python3-dev python3-venv default-libmysqlclient-dev fonts-liberation imagemagick gnupg libpq-dev libmagic-dev mime-support libzbar0 poppler-utils postgresql postgresql-contrib unpaper ghostscript icc-profiles-free qpdf liblept5 libxml2 pngquant zlib1g tesseract-ocr libatlas-base-dev libxslt1-dev redis-server pkg-config’
2024-03-11 16:45:49,833: DEBUG - ++ echo ‘python3 python3-pip python3-dev python3-venv default-libmysqlclient-dev fonts-liberation imagemagick gnupg libpq-dev libmagic-dev mime-support libzbar0 poppler-utils postgresql postgresql-contrib unpaper ghostscript icc-profiles-free qpdf liblept5 libxml2 pngquant zlib1g tesseract-ocr libatlas-base-dev libxslt1-dev redis-server pkg-config’
2024-03-11 16:45:49,833: DEBUG - ++ sed ‘s/([^<=>])\ ([^(])/\1, \2/g’
2024-03-11 16:45:49,834: DEBUG - + dependencies=‘python3, python3-pip, python3-dev, python3-venv, default-libmysqlclient-dev, fonts-liberation, imagemagick, gnupg, libpq-dev, libmagic-dev, mime-support, libzbar0, poppler-utils, postgresql, postgresql-contrib, unpaper, ghostscript, icc-profiles-free, qpdf, liblept5, libxml2, pngquant, zlib1g, tesseract-ocr, libatlas-base-dev, libxslt1-dev, redis-server, pkg-config’
2024-03-11 16:45:49,834: DEBUG - + local ‘dependencies=python3, python3-pip, python3-dev, python3-venv, default-libmysqlclient-dev, fonts-liberation, imagemagick, gnupg, libpq-dev, libmagic-dev, mime-support, libzbar0, poppler-utils, postgresql, postgresql-contrib, unpaper, ghostscript, icc-profiles-free, qpdf, liblept5, libxml2, pngquant, zlib1g, tesseract-ocr, libatlas-base-dev, libxslt1-dev, redis-server, pkg-config’
2024-03-11 16:45:49,834: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-03-11 16:45:49,844: DEBUG - ++ ‘[’ ‘!’ -e ‘’ ‘]’
2024-03-11 16:45:49,844: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_k_oh9v7r/manifest.json ‘]’
2024-03-11 16:45:49,844: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_k_oh9v7r/manifest.toml ‘]’
2024-03-11 16:45:49,844: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_k_oh9v7r/manifest.toml
2024-03-11 16:45:49,844: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_k_oh9v7r/manifest.toml
2024-03-11 16:45:49,844: DEBUG - ++ grep -q ‘.json$’
2024-03-11 16:45:49,845: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_k_oh9v7r/manifest.toml
2024-03-11 16:45:49,845: DEBUG - ++ python3 -c ‘import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-03-11 16:45:49,845: DEBUG - ++ jq .version --raw-output
2024-03-11 16:45:49,889: DEBUG - + local version=2.5.4~ynh1
2024-03-11 16:45:49,889: DEBUG - + ‘[’ -z 2.5.4~ynh1 ‘]’
2024-03-11 16:45:49,889: DEBUG - + ‘[’ 2.5.4~ynh1 == null ‘]’
2024-03-11 16:45:49,889: DEBUG - + local dep_app=paperless-ngx
2024-03-11 16:45:49,889: DEBUG - + [[ python3, python3-pip, python3-dev, python3-venv, default-libmysqlclient-dev, fonts-liberation, imagemagick, gnupg, libpq-dev, libmagic-dev, mime-support, libzbar0, poppler-utils, postgresql, postgresql-contrib, unpaper, ghostscript, icc-profiles-free, qpdf, liblept5, libxml2, pngquant, zlib1g, tesseract-ocr, libatlas-base-dev, libxslt1-dev, redis-server, pkg-config =~ [<=>] ]]
2024-03-11 16:45:49,889: DEBUG - ++ echo python3, python3-pip, python3-dev, python3-venv, default-libmysqlclient-dev, fonts-liberation, imagemagick, gnupg, libpq-dev, libmagic-dev, mime-support, libzbar0, poppler-utils, postgresql, postgresql-contrib, unpaper, ghostscript, icc-profiles-free, qpdf, liblept5, libxml2, pngquant, zlib1g, tesseract-ocr, libatlas-base-dev, libxslt1-dev, redis-server, pkg-config
2024-03-11 16:45:49,890: DEBUG - ++ grep -oP ‘(?<=php)[0-9.]+(?=-|>|)’
2024-03-11 16:45:49,890: DEBUG - ++ sort -u
2024-03-11 16:45:49,890: DEBUG - + local specific_php_version=
2024-03-11 16:45:49,891: DEBUG - + grep --quiet php
2024-03-11 16:45:49,892: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-03-11 16:45:49,897: DEBUG - ++ ynh_wait_dpkg_free
2024-03-11 16:45:49,988: DEBUG - ++ return 0
2024-03-11 16:45:49,989: DEBUG - ++ dpkg-query --show ‘–showformat=${Status}’ postgresql-13
2024-03-11 16:45:49,989: DEBUG - ++ grep --count ‘ok installed’
2024-03-11 16:45:50,018: DEBUG - ++ echo yes
2024-03-11 16:45:50,018: DEBUG - + local psql_installed=yes
2024-03-11 16:45:50,018: DEBUG - + [[ true == \t\r\u\e ]]
2024-03-11 16:45:50,018: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2024-03-11 16:45:50,018: DEBUG - + cat
2024-03-11 16:45:50,019: DEBUG - + ynh_package_install_from_equivs /tmp/paperless-ngx-ynh-deps.control
2024-03-11 16:45:50,019: DEBUG - + local controlfile=/tmp/paperless-ngx-ynh-deps.control
2024-03-11 16:45:50,019: DEBUG - ++ grep '^Package: ’ /tmp/paperless-ngx-ynh-deps.control
2024-03-11 16:45:50,019: DEBUG - ++ cut '–delimiter= ’ --fields=2
2024-03-11 16:45:50,020: DEBUG - + local pkgname=paperless-ngx-ynh-deps
2024-03-11 16:45:50,021: DEBUG - ++ grep ‘^Version: ’ /tmp/paperless-ngx-ynh-deps.control
2024-03-11 16:45:50,021: DEBUG - ++ cut ‘–delimiter= ’ --fields=2
2024-03-11 16:45:50,022: DEBUG - + local pkgversion=2.5.4~ynh1
2024-03-11 16:45:50,022: DEBUG - + [[ -z paperless-ngx-ynh-deps ]]
2024-03-11 16:45:50,022: DEBUG - + [[ -z 2.5.4~ynh1 ]]
2024-03-11 16:45:50,022: DEBUG - + ynh_package_update
2024-03-11 16:45:50,022: DEBUG - + ynh_apt update
2024-03-11 16:45:50,022: DEBUG - + ynh_wait_dpkg_free
2024-03-11 16:45:50,103: DEBUG - + return 0
2024-03-11 16:45:50,103: DEBUG - + LC_ALL=C
2024-03-11 16:45:50,104: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-03-11 16:45:50,104: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-03-11 16:45:50,199: DEBUG - Hit:1 Index of /debian bullseye InRelease
2024-03-11 16:45:50,199: DEBUG - Hit:2 Index of /debian bullseye-updates InRelease
2024-03-11 16:45:50,248: DEBUG - Hit:3 Index of /debian/ bullseye InRelease
2024-03-11 16:45:50,298: DEBUG - Hit:4 https://packages.sury.org/php bullseye InRelease
2024-03-11 16:45:55,266: DEBUG - Hit:5 Index of /debian-security bullseye-security InRelease
2024-03-11 16:45:55,872: DEBUG - Reading package lists…
2024-03-11 16:45:55,880: DEBUG - ++ mktemp --directory
2024-03-11 16:45:55,881: DEBUG - + local TMPDIR=/tmp/tmp.sIPQWwY6KR
2024-03-11 16:45:55,881: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2024-03-11 16:45:55,885: DEBUG - + ynh_wait_dpkg_free
2024-03-11 16:45:55,980: DEBUG - + return 0
2024-03-11 16:45:55,980: DEBUG - + cp /tmp/paperless-ngx-ynh-deps.control /tmp/tmp.sIPQWwY6KR/control
2024-03-11 16:45:55,981: DEBUG - + cd /tmp/tmp.sIPQWwY6KR
2024-03-11 16:45:55,981: DEBUG - + LC_ALL=C
2024-03-11 16:45:55,981: DEBUG - + equivs-build ./control
2024-03-11 16:45:56,101: DEBUG - dpkg-buildpackage: info: source package paperless-ngx-ynh-deps
2024-03-11 16:45:56,101: DEBUG - dpkg-buildpackage: info: source version 2.5.4~ynh1
2024-03-11 16:45:56,101: DEBUG - dpkg-buildpackage: info: source distribution unstable
2024-03-11 16:45:56,102: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator root@debian-BULLSEYE-live-builder-AMD64
2024-03-11 16:45:56,131: DEBUG - dpkg-source --before-build .
2024-03-11 16:45:56,131: DEBUG - dpkg-buildpackage: info: host architecture amd64
2024-03-11 16:45:56,216: DEBUG - debian/rules clean
2024-03-11 16:45:56,218: DEBUG - dh clean
2024-03-11 16:45:56,285: DEBUG - dh_clean
2024-03-11 16:45:56,312: DEBUG - debian/rules binary
2024-03-11 16:45:56,313: DEBUG - dh binary
2024-03-11 16:45:56,368: DEBUG - dh_update_autotools_config
2024-03-11 16:45:56,391: DEBUG - dh_autoreconf
2024-03-11 16:45:56,424: DEBUG - create-stamp debian/debhelper-build-stamp
2024-03-11 16:45:56,425: DEBUG - dh_prep
2024-03-11 16:45:56,448: DEBUG - dh_install
2024-03-11 16:45:56,476: DEBUG - dh_installdocs
2024-03-11 16:45:56,507: DEBUG - dh_installchangelogs
2024-03-11 16:45:56,575: DEBUG - dh_perl
2024-03-11 16:45:56,604: DEBUG - dh_link
2024-03-11 16:45:56,632: DEBUG - dh_strip_nondeterminism
2024-03-11 16:45:56,683: DEBUG - dh_compress
2024-03-11 16:45:56,715: DEBUG - dh_fixperms
2024-03-11 16:45:56,746: DEBUG - dh_missing
2024-03-11 16:45:56,767: DEBUG - dh_installdeb
2024-03-11 16:45:56,794: DEBUG - dh_gencontrol
2024-03-11 16:45:56,888: DEBUG - dh_md5sums
2024-03-11 16:45:56,915: DEBUG - dh_builddeb
2024-03-11 16:45:56,937: DEBUG - dpkg-deb: building package ‘paperless-ngx-ynh-deps’ in ‘…/paperless-ngx-ynh-deps_2.5.4~ynh1_all.deb’.
2024-03-11 16:45:56,953: DEBUG - dpkg-genbuildinfo --build=binary
2024-03-11 16:45:57,352: DEBUG - dpkg-genchanges --build=binary >…/paperless-ngx-ynh-deps_2.5.4~ynh1_amd64.changes
2024-03-11 16:45:57,417: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2024-03-11 16:45:57,419: DEBUG - dpkg-source --after-build .
2024-03-11 16:45:57,501: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2024-03-11 16:45:57,504: DEBUG -
2024-03-11 16:45:57,504: DEBUG - The package has been created.
2024-03-11 16:45:57,504: DEBUG - Attention, the package has been created in the current directory,
2024-03-11 16:45:57,504: DEBUG - not in “…” as indicated by the message above!
2024-03-11 16:45:57,505: DEBUG - + LC_ALL=C
2024-03-11 16:45:57,505: DEBUG - + dpkg --force-depends --install ./paperless-ngx-ynh-deps_2.5.4~ynh1_all.deb
2024-03-11 16:45:57,505: DEBUG - + tee ./dpkg_log
2024-03-11 16:45:57,562: DEBUG - Selecting previously unselected package paperless-ngx-ynh-deps.
2024-03-11 16:45:57,736: DEBUG - (Reading database … 410353 files and directories currently installed.)
2024-03-11 16:45:57,763: DEBUG - Preparing to unpack …/paperless-ngx-ynh-deps_2.5.4~ynh1_all.deb …
2024-03-11 16:45:57,769: DEBUG - Unpacking paperless-ngx-ynh-deps (2.5.4~ynh1) …
2024-03-11 16:45:57,919: DEBUG - dpkg: paperless-ngx-ynh-deps: dependency problems, but configuring anyway as you requested:
2024-03-11 16:45:57,920: DEBUG - paperless-ngx-ynh-deps depends on default-libmysqlclient-dev; however:
2024-03-11 16:45:57,920: DEBUG - Package default-libmysqlclient-dev is not installed.
2024-03-11 16:45:57,920: DEBUG - paperless-ngx-ynh-deps depends on libpq-dev; however:
2024-03-11 16:45:57,920: DEBUG - Package libpq-dev is not installed.
2024-03-11 16:45:57,920: DEBUG - paperless-ngx-ynh-deps depends on libmagic-dev; however:
2024-03-11 16:45:57,920: DEBUG - Package libmagic-dev is not installed.
2024-03-11 16:45:57,920: DEBUG - paperless-ngx-ynh-deps depends on postgresql-contrib; however:
2024-03-11 16:45:57,920: DEBUG - Package postgresql-contrib is not installed.
2024-03-11 16:45:57,920: DEBUG - paperless-ngx-ynh-deps depends on icc-profiles-free; however:
2024-03-11 16:45:57,920: DEBUG - Package icc-profiles-free is not installed.
2024-03-11 16:45:57,920: DEBUG - paperless-ngx-ynh-deps depends on qpdf; however:
2024-03-11 16:45:57,920: DEBUG - Package qpdf is not installed.
2024-03-11 16:45:57,920: DEBUG - paperless-ngx-ynh-deps depends on liblept5; however:
2024-03-11 16:45:57,921: DEBUG - Package liblept5 is not installed.
2024-03-11 16:45:57,921: DEBUG - paperless-ngx-ynh-deps depends on pngquant; however:
2024-03-11 16:45:57,921: DEBUG - Package pngquant is not installed.
2024-03-11 16:45:57,921: DEBUG - paperless-ngx-ynh-deps depends on tesseract-ocr; however:
2024-03-11 16:45:57,921: DEBUG - Package tesseract-ocr is not installed.
2024-03-11 16:45:57,921: DEBUG - paperless-ngx-ynh-deps depends on libatlas-base-dev; however:
2024-03-11 16:45:57,921: DEBUG - Package libatlas-base-dev is not installed.
2024-03-11 16:45:57,921: DEBUG - paperless-ngx-ynh-deps depends on libxslt1-dev; however:
2024-03-11 16:45:57,921: DEBUG - Package libxslt1-dev is not installed.
2024-03-11 16:45:57,921: DEBUG -
2024-03-11 16:45:57,921: DEBUG - Setting up paperless-ngx-ynh-deps (2.5.4~ynh1) …
2024-03-11 16:45:57,981: DEBUG - + ynh_package_install --fix-broken
2024-03-11 16:45:57,981: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2024-03-11 16:45:57,981: DEBUG - + ynh_wait_dpkg_free
2024-03-11 16:45:58,064: DEBUG - + return 0
2024-03-11 16:45:58,064: DEBUG - + LC_ALL=C
2024-03-11 16:45:58,064: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-03-11 16:45:58,064: 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
2024-03-11 16:45:58,140: DEBUG - Reading package lists…
2024-03-11 16:45:58,297: DEBUG - Building dependency tree…
2024-03-11 16:45:58,301: DEBUG - Reading state information…
2024-03-11 16:45:58,426: DEBUG - Correcting dependencies… Done
2024-03-11 16:45:58,601: DEBUG - The following additional packages will be installed:
2024-03-11 16:45:58,602: DEBUG - default-libmysqlclient-dev icc-profiles-free icu-devtools libatlas-base-dev
2024-03-11 16:45:58,602: DEBUG - libicu-dev libimagequant0 liblept5 libmagic-dev libmariadb-dev
2024-03-11 16:45:58,602: DEBUG - libmariadb-dev-compat libpq-dev libssl-dev libtesseract4 libxml2-dev
2024-03-11 16:45:58,602: DEBUG - libxslt1-dev pngquant postgresql-contrib qpdf tesseract-ocr
2024-03-11 16:45:58,603: DEBUG - tesseract-ocr-eng tesseract-ocr-osd
2024-03-11 16:45:58,604: DEBUG - Suggested packages:
2024-03-11 16:45:58,604: DEBUG - libatlas-doc liblapack-doc icu-doc postgresql-doc-13 libssl-doc
2024-03-11 16:45:58,622: DEBUG - The following NEW packages will be installed:
2024-03-11 16:45:58,622: DEBUG - default-libmysqlclient-dev icc-profiles-free icu-devtools libatlas-base-dev
2024-03-11 16:45:58,622: DEBUG - libicu-dev libimagequant0 liblept5 libmagic-dev libmariadb-dev
2024-03-11 16:45:58,622: DEBUG - libmariadb-dev-compat libpq-dev libssl-dev libtesseract4 libxml2-dev
2024-03-11 16:45:58,623: DEBUG - libxslt1-dev pngquant postgresql-contrib qpdf tesseract-ocr
2024-03-11 16:45:58,623: DEBUG - tesseract-ocr-eng tesseract-ocr-osd
2024-03-11 16:45:59,149: DEBUG - 0 upgraded, 21 newly installed, 0 to remove and 1 not upgraded.
2024-03-11 16:45:59,149: DEBUG - Need to get 0 B/24.7 MB of archives.
2024-03-11 16:45:59,149: DEBUG - After this operation, 112 MB of additional disk space will be used.
2024-03-11 16:45:59,195: DEBUG - Selecting previously unselected package libssl-dev:amd64.
2024-03-11 16:45:59,370: DEBUG - (Reading database … 410357 files and directories currently installed.)
2024-03-11 16:45:59,397: DEBUG - Preparing to unpack …/00-libssl-dev_1.1.1w-0+deb11u1_amd64.deb …
2024-03-11 16:45:59,406: DEBUG - Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u1) …
2024-03-11 16:45:59,590: DEBUG - Selecting previously unselected package libmariadb-dev.
2024-03-11 16:45:59,647: DEBUG - Preparing to unpack …/01-libmariadb-dev_1%3a10.5.23-0+deb11u1_amd64.deb …
2024-03-11 16:45:59,653: DEBUG - Unpacking libmariadb-dev (1:10.5.23-0+deb11u1) …
2024-03-11 16:45:59,767: DEBUG - Selecting previously unselected package libmariadb-dev-compat:amd64.
2024-03-11 16:45:59,823: DEBUG - Preparing to unpack …/02-libmariadb-dev-compat_1%3a10.5.23-0+deb11u1_amd64.deb …
2024-03-11 16:45:59,829: DEBUG - Unpacking libmariadb-dev-compat:amd64 (1:10.5.23-0+deb11u1) …
2024-03-11 16:45:59,880: DEBUG - Selecting previously unselected package default-libmysqlclient-dev:amd64.
2024-03-11 16:45:59,937: DEBUG - Preparing to unpack …/03-default-libmysqlclient-dev_1.0.7_amd64.deb …
2024-03-11 16:45:59,943: DEBUG - Unpacking default-libmysqlclient-dev:amd64 (1.0.7) …
2024-03-11 16:45:59,992: DEBUG - Selecting previously unselected package icc-profiles-free.
2024-03-11 16:46:00,054: DEBUG - Preparing to unpack …/04-icc-profiles-free_2.0.1+dfsg-1.1_all.deb …
2024-03-11 16:46:00,060: DEBUG - Unpacking icc-profiles-free (2.0.1+dfsg-1.1) …
2024-03-11 16:46:00,149: DEBUG - Selecting previously unselected package icu-devtools.
2024-03-11 16:46:00,200: DEBUG - Preparing to unpack …/05-icu-devtools_67.1-7_amd64.deb …
2024-03-11 16:46:00,206: DEBUG - Unpacking icu-devtools (67.1-7) …
2024-03-11 16:46:00,284: DEBUG - Selecting previously unselected package libatlas-base-dev:amd64.
2024-03-11 16:46:00,343: DEBUG - Preparing to unpack …/06-libatlas-base-dev_3.10.3-10_amd64.deb …
2024-03-11 16:46:00,352: DEBUG - Unpacking libatlas-base-dev:amd64 (3.10.3-10) …
2024-03-11 16:46:00,682: DEBUG - Selecting previously unselected package libicu-dev:amd64.
2024-03-11 16:46:00,718: DEBUG - Preparing to unpack …/07-libicu-dev_67.1-7_amd64.deb …
2024-03-11 16:46:00,723: DEBUG - Unpacking libicu-dev:amd64 (67.1-7) …
2024-03-11 16:46:01,477: DEBUG - Selecting previously unselected package libimagequant0:amd64.
2024-03-11 16:46:01,537: DEBUG - Preparing to unpack …/08-libimagequant0_2.12.2-1.1_amd64.deb …
2024-03-11 16:46:01,549: DEBUG - Unpacking libimagequant0:amd64 (2.12.2-1.1) …
2024-03-11 16:46:01,628: DEBUG - Selecting previously unselected package liblept5:amd64.
2024-03-11 16:46:01,680: DEBUG - Preparing to unpack …/09-liblept5_1.79.0-1.1+deb11u1_amd64.deb …
2024-03-11 16:46:01,686: DEBUG - Unpacking liblept5:amd64 (1.79.0-1.1+deb11u1) …
2024-03-11 16:46:01,849: DEBUG - Selecting previously unselected package libmagic-dev:amd64.
2024-03-11 16:46:01,890: DEBUG - Preparing to unpack …/10-libmagic-dev_1%3a5.39-3+deb11u1_amd64.deb …
2024-03-11 16:46:01,896: DEBUG - Unpacking libmagic-dev:amd64 (1:5.39-3+deb11u1) …
2024-03-11 16:46:01,981: DEBUG - Selecting previously unselected package libpq-dev.
2024-03-11 16:46:02,039: DEBUG - Preparing to unpack …/11-libpq-dev_13.14-0+deb11u1_amd64.deb …
2024-03-11 16:46:02,045: DEBUG - Unpacking libpq-dev (13.14-0+deb11u1) …
2024-03-11 16:46:02,126: DEBUG - Selecting previously unselected package libtesseract4:amd64.
2024-03-11 16:46:02,188: DEBUG - Preparing to unpack …/12-libtesseract4_4.1.1-2.1_amd64.deb …
2024-03-11 16:46:02,192: DEBUG - Unpacking libtesseract4:amd64 (4.1.1-2.1) …
2024-03-11 16:46:02,358: DEBUG - Selecting previously unselected package libxml2-dev:amd64.
2024-03-11 16:46:02,416: DEBUG - Preparing to unpack …/13-libxml2-dev_2.9.14+dfsg-0.1+0~20230421.14+debian11~1.gbpf14485_amd64.deb …
2024-03-11 16:46:02,422: DEBUG - Unpacking libxml2-dev:amd64 (2.9.14+dfsg-0.1+0~20230421.14+debian11~1.gbpf14485) …
2024-03-11 16:46:02,556: DEBUG - Selecting previously unselected package libxslt1-dev:amd64.
2024-03-11 16:46:02,616: DEBUG - Preparing to unpack …/14-libxslt1-dev_1.1.34-4+deb11u1_amd64.deb …
2024-03-11 16:46:02,621: DEBUG - Unpacking libxslt1-dev:amd64 (1.1.34-4+deb11u1) …
2024-03-11 16:46:02,726: DEBUG - Selecting previously unselected package pngquant.
2024-03-11 16:46:02,770: DEBUG - Preparing to unpack …/15-pngquant_2.13.1-1_amd64.deb …
2024-03-11 16:46:02,776: DEBUG - Unpacking pngquant (2.13.1-1) …
2024-03-11 16:46:02,829: DEBUG - Selecting previously unselected package postgresql-contrib.
2024-03-11 16:46:02,888: DEBUG - Preparing to unpack …/16-postgresql-contrib_13+225+deb11u1_all.deb …
2024-03-11 16:46:02,894: DEBUG - Unpacking postgresql-contrib (13+225+deb11u1) …
2024-03-11 16:46:02,969: DEBUG - Selecting previously unselected package qpdf.
2024-03-11 16:46:03,028: DEBUG - Preparing to unpack …/17-qpdf_10.1.0-1_amd64.deb …
2024-03-11 16:46:03,034: DEBUG - Unpacking qpdf (10.1.0-1) …
2024-03-11 16:46:03,122: DEBUG - Selecting previously unselected package tesseract-ocr-eng.
2024-03-11 16:46:03,159: DEBUG - Preparing to unpack …/18-tesseract-ocr-eng_1%3a4.00~git30-7274cfa-1.1_all.deb …
2024-03-11 16:46:03,165: DEBUG - Unpacking tesseract-ocr-eng (1:4.00~git30-7274cfa-1.1) …
2024-03-11 16:46:03,342: DEBUG - Selecting previously unselected package tesseract-ocr-osd.
2024-03-11 16:46:03,402: DEBUG - Preparing to unpack …/19-tesseract-ocr-osd_1%3a4.00~git30-7274cfa-1.1_all.deb …
2024-03-11 16:46:03,408: DEBUG - Unpacking tesseract-ocr-osd (1:4.00~git30-7274cfa-1.1) …
2024-03-11 16:46:03,691: DEBUG - Selecting previously unselected package tesseract-ocr.
2024-03-11 16:46:03,749: DEBUG - Preparing to unpack …/20-tesseract-ocr_4.1.1-2.1_amd64.deb …
2024-03-11 16:46:03,754: DEBUG - Unpacking tesseract-ocr (4.1.1-2.1) …
2024-03-11 16:46:03,915: DEBUG - Setting up tesseract-ocr-eng (1:4.00~git30-7274cfa-1.1) …
2024-03-11 16:46:03,935: DEBUG - Setting up libpq-dev (13.14-0+deb11u1) …
2024-03-11 16:46:03,955: DEBUG - Setting up libmagic-dev:amd64 (1:5.39-3+deb11u1) …
2024-03-11 16:46:03,975: DEBUG - Setting up libatlas-base-dev:amd64 (3.10.3-10) …
2024-03-11 16:46:04,001: DEBUG - update-alternatives: using /usr/lib/x86_64-linux-gnu/atlas/libblas.so to provide /usr/lib/x86_64-linux-gnu/libblas.so (libblas.so-x86_64-linux-gnu) in auto mode
2024-03-11 16:46:04,016: DEBUG - update-alternatives: using /usr/lib/x86_64-linux-gnu/atlas/liblapack.so to provide /usr/lib/x86_64-linux-gnu/liblapack.so (liblapack.so-x86_64-linux-gnu) in auto mode
2024-03-11 16:46:04,029: DEBUG - Setting up liblept5:amd64 (1.79.0-1.1+deb11u1) …
2024-03-11 16:46:04,049: DEBUG - Setting up qpdf (10.1.0-1) …
2024-03-11 16:46:04,069: DEBUG - Setting up libimagequant0:amd64 (2.12.2-1.1) …
2024-03-11 16:46:04,089: DEBUG - Setting up icc-profiles-free (2.0.1+dfsg-1.1) …
2024-03-11 16:46:04,107: DEBUG - Setting up libssl-dev:amd64 (1.1.1w-0+deb11u1) …
2024-03-11 16:46:04,126: DEBUG - Setting up icu-devtools (67.1-7) …
2024-03-11 16:46:04,147: DEBUG - Setting up libtesseract4:amd64 (4.1.1-2.1) …
2024-03-11 16:46:04,168: DEBUG - Setting up libmariadb-dev (1:10.5.23-0+deb11u1) …
2024-03-11 16:46:04,187: DEBUG - Setting up postgresql-contrib (13+225+deb11u1) …
2024-03-11 16:46:04,219: DEBUG - Setting up tesseract-ocr-osd (1:4.00~git30-7274cfa-1.1) …
2024-03-11 16:46:04,252: DEBUG - Setting up libicu-dev:amd64 (67.1-7) …
2024-03-11 16:46:04,273: DEBUG - Setting up libmariadb-dev-compat:amd64 (1:10.5.23-0+deb11u1) …
2024-03-11 16:46:04,292: DEBUG - Setting up pngquant (2.13.1-1) …
2024-03-11 16:46:04,312: DEBUG - Setting up libxml2-dev:amd64 (2.9.14+dfsg-0.1+0~20230421.14+debian11~1.gbpf14485) …
2024-03-11 16:46:04,335: DEBUG - Setting up tesseract-ocr (4.1.1-2.1) …
2024-03-11 16:46:04,353: DEBUG - Setting up default-libmysqlclient-dev:amd64 (1.0.7) …
2024-03-11 16:46:04,371: DEBUG - Setting up libxslt1-dev:amd64 (1.1.34-4+deb11u1) …
2024-03-11 16:46:04,394: DEBUG - Processing triggers for man-db (2.9.4-2) …
2024-03-11 16:46:07,958: DEBUG - Processing triggers for libc-bin (2.31-13+deb11u8) …
2024-03-11 16:46:08,112: DEBUG - + [[ -n /tmp/tmp.sIPQWwY6KR ]]
2024-03-11 16:46:08,112: DEBUG - + rm --recursive --force /tmp/tmp.sIPQWwY6KR
2024-03-11 16:46:08,113: DEBUG - + ynh_package_is_installed paperless-ngx-ynh-deps
2024-03-11 16:46:08,118: DEBUG - + ynh_wait_dpkg_free
2024-03-11 16:46:08,237: DEBUG - + return 0
2024-03-11 16:46:08,238: DEBUG - + dpkg-query --show ‘–showformat=${Status}’ paperless-ngx-ynh-deps
2024-03-11 16:46:08,238: DEBUG - + grep --count ‘ok installed’
2024-03-11 16:46:08,267: DEBUG - + rm /tmp/paperless-ngx-ynh-deps.control
2024-03-11 16:46:08,268: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-03-11 16:46:08,273: DEBUG - ++ ynh_wait_dpkg_free
2024-03-11 16:46:08,368: DEBUG - ++ return 0
2024-03-11 16:46:08,368: DEBUG - ++ dpkg-query --show ‘–showformat=${Status}’ postgresql-13
2024-03-11 16:46:08,368: DEBUG - ++ grep --count ‘ok installed’
2024-03-11 16:46:08,397: DEBUG - ++ echo yes
2024-03-11 16:46:08,397: DEBUG - + local psql_installed2=yes
2024-03-11 16:46:08,397: DEBUG - + [[ yes != \y\e\s ]]
2024-03-11 16:46:08,397: DEBUG - + ynh_exit_properly
2024-03-11 16:46:08,398: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2024-03-11 16:46:09,400: INFO - Provisioning database…
2024-03-11 16:46:09,512: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./provision_database” 7>&1’]’
2024-03-11 16:46:09,516: DEBUG - + source /usr/share/yunohost/helpers
2024-03-11 16:46:09,516: DEBUG - +++ set +o
2024-03-11 16:46:09,516: DEBUG - +++ grep xtrace
2024-03-11 16:46:09,517: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2024-03-11 16:46:09,517: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2024-03-11 16:46:09,530: DEBUG - + ynh_abort_if_errors
2024-03-11 16:46:09,530: DEBUG - + trap ynh_exit_properly EXIT
2024-03-11 16:46:09,530: DEBUG - + ynh_psql_create_user paperless_ngx e1e3449f2ab290c5224fd088
2024-03-11 16:46:09,530: DEBUG - + local user=paperless_ngx
2024-03-11 16:46:09,530: DEBUG - + local pwd=**********
2024-03-11 16:46:09,530: DEBUG - + ynh_psql_execute_as_root ‘–sql=CREATE USER paperless_ngx WITH ENCRYPTED PASSWORD ‘'’**********’'’’
2024-03-11 16:46:09,539: DEBUG - + database=
2024-03-11 16:46:09,539: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-03-11 16:46:09,539: DEBUG - ++ cat /etc/yunohost/psql
2024-03-11 16:46:09,543: WARNING - cat: /etc/yunohost/psql: Datei oder Verzeichnis nicht gefunden
2024-03-11 16:46:09,544: DEBUG - + ynh_psql_connect_as --user=postgres --password=
2024-03-11 16:46:09,564: DEBUG - + database=
2024-03-11 16:46:09,564: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD= psql ‘’
2024-03-11 16:46:09,606: WARNING - psql: Fehler: konnte nicht mit dem Server verbinden: Datei oder Verzeichnis nicht gefunden
2024-03-11 16:46:09,607: WARNING - Läuft der Server lokal und akzeptiert er Verbindungen
2024-03-11 16:46:09,607: WARNING - auf dem Unix-Domain-Socket »/var/run/postgresql/.s.PGSQL.5432«?
2024-03-11 16:46:09,608: DEBUG - + ynh_exit_properly
2024-03-11 16:46:09,608: DEBUG - + local exit_code=2
2024-03-11 16:46:09,608: DEBUG - + [[ provision_database =~ ^install$|^upgrade$|^restore$ ]]
2024-03-11 16:46:09,608: DEBUG - + ‘[’ 2 -eq 0 ‘]’
2024-03-11 16:46:11,112: ERROR - provision failed for database : An error occured inside the script snippet
Moderation edit: please don’t paste logs like that, use the yunopaste function to provide a link
or at least put a spoiler use the “hide detail” forum function