What type of hardware are you using: Bare Metal, 32 GB RAM What YunoHost version are you running: 12.1.15.1 What app is this about: paperless-ngx 2.18.2~ynh1
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - checking for memalign... yes
Info: DEBUG - checking for aligned_alloc... yes
Info: DEBUG - checking for _aligned_malloc... no
Info: DEBUG - checking for posix_memalign... yes
Info: DEBUG - checking for URF support... yes
Info: DEBUG - checking for SmartOffice support... no
Info: DEBUG - checking for local CAL library source... no
Info: DEBUG - checking for GTK+ 3.x... no
Info: DEBUG - checking for GTK+ 2.x... no
Info: DEBUG - checking for X... libraries , headers
Info: DEBUG - checking for gethostbyname... yes
Info: DEBUG - checking for connect... yes
Info: DEBUG - checking for remove... yes
Info: DEBUG - checking for shmat... yes
Info: DEBUG - checking for IceConnectionNumber in -lICE... no
Info: DEBUG - checking for XOpenDisplay in -lX11... yes
Info: DEBUG - checking for XdbeQueryExtension in -lXext... no
Info: DEBUG - checking for XtAppCreateShell in -lXt... no
Info: DEBUG - configure: error: X11 libraries (libX11, libXt, libXext) not available, either install them, or rerun configure with "--without-x"
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app after installation failure…
yunohost app install paperless-ngx
Info: paperless-ngx wird installiert…
Info: Provisioning sources...
Info: Provisioning system_user...
Info: Provisioning install_dir...
Info: Provisioning data_dir...
Info: Provisioning permissions...
Info: Provisioning ports...
Info: Provisioning apt...
Warnung: E: Packages need to be removed but remove is disabled.
Warnung: The following packages have unmet dependencies:
Warnung: libpq-dev : Depends: libpq5 (= 15.14-0+deb12u1) but 17.6-1.pgdg12+1 is to be installed
Warnung: Unable to install apt dependencies
Fehler: provision_or_update failed for apt : An error occured inside the script snippet : Unable to install apt dependencies
Info: Der Vorgang'Installiere die Applikation 'paperless-ngx'' konnte nicht abgeschlossen werden. Bitte teile das vollständige Protokoll dieser Operation mit dem Befehl 'yunohost log share 20250908-203017-app_install-paperless-ngx', um Hilfe zu erhalten
Warnung: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - dpkg: paperless-ngx-ynh-deps: dependency problems, but configuring anyway as you requested:
Info: DEBUG - paperless-ngx-ynh-deps depends on libpq-dev; however:
Info: DEBUG - Package libpq-dev is not installed.
Info: DEBUG -
Info: DEBUG - Setting up paperless-ngx-ynh-deps (2.18.2~ynh1) ...
Info: DEBUG - + mapfile -t problematic_dependencies
Info: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)' /tmp/tmp.KwbG1QrDWi/dpkg_log
Info: DEBUG - + (( 1 != 0 ))
Info: DEBUG - + _ynh_apt_install libpq-dev --dry-run
Info: DEBUG - + _ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install libpq-dev --dry-run
Info: DEBUG - + _ynh_wait_dpkg_free
Info: DEBUG - + sed --quiet '/Reading state info/,$p'
Info: DEBUG - + grep -v 'fix-broken\|Reading state info'
Info: DEBUG - + return 0
Info: 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 libpq-dev --dry-run
Info: WARNING - The following packages have unmet dependencies:
Info: WARNING - libpq-dev : Depends: libpq5 (= 15.14-0+deb12u1) but 17.6-1.pgdg12+1 is to be installed
Info: DEBUG - + ynh_die 'Unable to install apt dependencies'
Info: WARNING - Unable to install apt dependencies
Info: ERROR - provision_or_update failed for apt : An error occured inside the script snippet : Unable to install apt dependencies
Warnung: Failed to provision apt : Der Vorgang'Installiere die Applikation 'paperless-ngx'' konnte nicht abgeschlossen werden. Bitte teile das vollständige Protokoll dieser Operation mit dem Befehl 'yunohost log share 20250908-203017-app_install-paperless-ngx', um Hilfe zu erhalten
Info: Deprovisioning sources...
Info: Deprovisioning system_user...
Info: Deprovisioning install_dir...
Info: Deprovisioning data_dir...
Info: Deprovisioning permissions...
Info: Deprovisioning ports...
Info: Deprovisioning apt...
Fehler: Automatische Ressourcen-Allokation (provisioning), die Unterbindung des Zugriffts auf Ressourcen (deprovisioning) oder die Aktualisierung der Ressourcen für paperless-ngx schlug fehl: Der Vorgang'Installiere die Applikation 'paperless-ngx'' konnte nicht abgeschlossen werden. Bitte teile das vollständige Protokoll dieser Operation mit dem Befehl 'yunohost log share 20250908-203017-app_install-paperless-ngx', um Hilfe zu erhalten
Fehler: None