Download applications encounter permission error

My YunoHost server

Debian 11,
CPU1: 13th Gen Intel(R) Core™ i5-13500 (Cores 20)
Memory: 64125 MB
YunoHost version: 11.1.20
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 tried to install LEANTIME application.
I encountered the following error:

An error occured inside the script snippet
Sub-operations
Update accesses for permission ‘leantime’
Update URL related to permission ‘leantime’
Create permission ‘leantime’

Similar error message also encountered while installing any other applications

Please help. Thank you.

NB: you can use paste.yunohost.org to share logs and error messages. You can also directly include error messages using backticks like this :


args:
  app: leantime
  force: false
  label: Leantime
  no_remove_on_failure: false
ended_at: 2023-05-29 17:33:10.792229
error: An error occured inside the script snippet
interface: api
operation: app_install
parent: null
related_to:
- - app
  - leantime
started_at: 2023-05-29 17:33:03.659806
success: false
yunohost_version: 11.1.20

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

2023-05-30 01:33:03,668: INFO - Installing leantime...
2023-05-30 01:33:03,673: INFO - Provisionning sources...
2023-05-30 01:33:03,674: DEBUG - Prefetching asset main: Leantime-v2.3.23.tar.gz ...
2023-05-30 01:33:05,123: INFO - Provisionning system_user...
2023-05-30 01:33:05,154: INFO - Provisionning install_dir...
2023-05-30 01:33:05,161: INFO - Provisionning permissions...
2023-05-30 01:33:05,182: DEBUG - Permission 'leantime.main' updated
2023-05-30 01:33:05,184: DEBUG - Full log of this operation:Update URL related to permission 'leantime'
2023-05-30 01:33:05,191: DEBUG - Permission 'leantime.main' created
2023-05-30 01:33:05,191: DEBUG - Full log of this operation: Create permission 'leantime'
2023-05-30 01:33:05,203: DEBUG - Permission 'leantime.main' updated
2023-05-30 01:33:05,203: DEBUG - Full log of this operation: #/tools/logs/20230529-173305-user_permission_update-leantime
2023-05-30 01:33:05,213: DEBUG - Nothing to update in LDAP
2023-05-30 01:33:05,213: DEBUG - Permission 'leantime.main' updated
2023-05-30 01:33:05,214: DEBUG - Full log of this operation:#/tools/logs/20230529-173305-permission_url-leantime, Update URL related to permission 'leantime'
2023-05-30 01:33:05,219: DEBUG - The permission database has been resynchronized
2023-05-30 01:33:05,228: DEBUG - SSOwat configuration regenerated

2023-05-30 01:33:07,888: DEBUG -  debian/rules clean
2023-05-30 01:33:07,901: DEBUG - dh clean
2023-05-30 01:33:07,943: DEBUG -    dh_clean
2023-05-30 01:33:07,958: DEBUG -  debian/rules binary
2023-05-30 01:33:07,959: DEBUG - dh binary
2023-05-30 01:33:07,990: DEBUG -    dh_update_autotools_config
2023-05-30 01:33:08,002: DEBUG -    dh_autoreconf
2023-05-30 01:33:08,025: DEBUG -    create-stamp debian/debhelper-build-stamp
2023-05-30 01:33:08,025: DEBUG -    dh_prep
2023-05-30 01:33:08,040: DEBUG -    dh_install
2023-05-30 01:33:08,055: DEBUG -    dh_installdocs
2023-05-30 01:33:08,072: DEBUG -    dh_installchangelogs
2023-05-30 01:33:08,108: DEBUG -    dh_perl
2023-05-30 01:33:08,123: DEBUG -    dh_link
2023-05-30 01:33:08,138: DEBUG -    dh_strip_nondeterminism
2023-05-30 01:33:08,273: DEBUG -    dh_compress
2023-05-30 01:33:08,301: DEBUG -    dh_fixperms
2023-05-30 01:33:08,324: DEBUG -    dh_missing
2023-05-30 01:33:08,341: DEBUG -    dh_installdeb
2023-05-30 01:33:08,356: DEBUG -    dh_gencontrol
2023-05-30 01:33:08,422: DEBUG -    dh_md5sums
2023-05-30 01:33:08,440: DEBUG -    dh_builddeb

2023-05-30 01:33:09,280: WARNING - Package php8.1-mysql is not available, but is referred to by another package.
2023-05-30 01:33:09,281: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-05-30 01:33:09,281: WARNING - is only available from another source
2023-05-30 01:33:09,281: DEBUG - 
2023-05-30 01:33:09,281: WARNING - Package php8.1-mbstring is not available, but is referred to by another package.
2023-05-30 01:33:09,281: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-05-30 01:33:09,281: WARNING - is only available from another source
2023-05-30 01:33:09,281: DEBUG - 
2023-05-30 01:33:09,281: WARNING - Package php8.1-xml is not available, but is referred to by another package.
2023-05-30 01:33:09,281: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-05-30 01:33:09,281: WARNING - is only available from another source
2023-05-30 01:33:09,281: DEBUG - 
2023-05-30 01:33:09,281: WARNING - Package php8.1-curl is not available, but is referred to by another package.
2023-05-30 01:33:09,282: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-05-30 01:33:09,282: WARNING - is only available from another source
2023-05-30 01:33:09,282: DEBUG - 
2023-05-30 01:33:09,282: WARNING - Package php8.1-gd is not available, but is referred to by another package.
2023-05-30 01:33:09,282: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-05-30 01:33:09,282: WARNING - is only available from another source
2023-05-30 01:33:09,282: DEBUG - 
2023-05-30 01:33:09,282: WARNING - Package php8.1-imagick is not available, but is referred to by another package.
2023-05-30 01:33:09,282: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-05-30 01:33:09,282: WARNING - is only available from another source
2023-05-30 01:33:09,282: DEBUG - 
2023-05-30 01:33:09,282: WARNING - Package php8.1-ldap is not available, but is referred to by another package.
2023-05-30 01:33:09,282: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-05-30 01:33:09,282: WARNING - is only available from another source
2023-05-30 01:33:09,282: DEBUG - 
2023-05-30 01:33:09,282: WARNING - Package php8.1 is not available, but is referred to by another package.
2023-05-30 01:33:09,282: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-05-30 01:33:09,283: WARNING - is only available from another source
2023-05-30 01:33:09,283: DEBUG - 
2023-05-30 01:33:09,283: WARNING - Package php8.1-fpm is not available, but is referred to by another package.
2023-05-30 01:33:09,283: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-05-30 01:33:09,283: WARNING - is only available from another source
2023-05-30 01:33:09,283: DEBUG - 
2023-05-30 01:33:09,283: WARNING - Package php8.1-common is not available, but is referred to by another package.
2023-05-30 01:33:09,283: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-05-30 01:33:09,283: WARNING - is only available from another source
2023-05-30 01:33:09,283: DEBUG - 
2023-05-30 01:33:09,283: WARNING - E: Package 'php8.1-mysql' has no installation candidate
2023-05-30 01:33:09,283: WARNING - E: Package 'php8.1-mbstring' has no installation candidate
2023-05-30 01:33:09,283: WARNING - E: Package 'php8.1-xml' has no installation candidate
2023-05-30 01:33:09,283: WARNING - E: Package 'php8.1-curl' has no installation candidate
2023-05-30 01:33:09,283: WARNING - E: Package 'php8.1-gd' has no installation candidate
2023-05-30 01:33:09,283: WARNING - E: Package 'php8.1-imagick' has no installation candidate
2023-05-30 01:33:09,284: WARNING - E: Package 'php8.1-ldap' has no installation candidate
2023-05-30 01:33:09,284: WARNING - E: Package 'php8.1' has no installation candidate
2023-05-30 01:33:09,284: WARNING - E: Package 'php8.1-fpm' has no installation candidate
2023-05-30 01:33:09,284: WARNING - E: Package 'php8.1-common' has no installation candidate
2023-05-30 01:33:09,284: DEBUG - + ynh_die '--message=Unable to install dependencies'
2023-05-30 01:33:09,287: WARNING - Unable to install dependencies
2023-05-30 01:33:09,287: DEBUG - + ynh_exit_properly
2023-05-30 01:33:09,287: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2023-05-30 01:33:10,791: ERROR - provision_or_update failed for apt : An error occured inside the script snippet

I reinstall yunohost under a user name not under root,
it now works.
Thanks

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