My YunoHost server
Hardware: Raspberry Pi 4 at home
YunoHost version: 11.2.9.1
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
Description of my issue
Hi all,
I have a problem with my nextcloud instance All was working well after I had sorted a problem with the USB stick.
I was busy downloading files to it via the nextcloud sync in Linux but then somehow the nextcloud instance stopped responding to the sync (and also via the web interface).
I suspected that this may have something to do with the load settings so tried changing these from the web interface.
This created a somewhat wierd response:
args:
app: nextcloud
args_file: null
key: main
value: null
ended_at: 2024-02-09 16:07:36.033375
error: Failed to apply config panel values.
interface: api
operation: app_config_set
parent: null
related_to:
-
- app
- nextcloud
started_at: 2024-02-09 16:07:32.618933
success: false
yunohost_version: 11.2.9.1
============
2024-02-09 16:07:32,640: DEBUG - Calling βapplyβ action from config script
2024-02-09 16:07:32,657: DEBUG - Executing command β[βshβ, β-cβ, β/bin/bash -x β./configβ apply 7>&1β]β
2024-02-09 16:07:32,675: DEBUG - + source _common.sh
2024-02-09 16:07:32,676: DEBUG - + source /usr/share/yunohost/helpers
2024-02-09 16:07:32,677: DEBUG - +++ set +o
2024-02-09 16:07:32,677: DEBUG - +++ grep xtrace
2024-02-09 16:07:32,681: DEBUG - ++ readonly βXTRACE_ENABLE=set -o xtraceβ
2024-02-09 16:07:32,682: DEBUG - ++ XTRACE_ENABLE=βset -o xtraceβ
2024-02-09 16:07:32,725: DEBUG - + ynh_abort_if_errors
2024-02-09 16:07:32,726: DEBUG - + trap ynh_exit_properly EXIT
2024-02-09 16:07:32,727: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=phpversion
2024-02-09 16:07:32,727: DEBUG - ++ local globalapp=nextcloud
2024-02-09 16:07:32,805: DEBUG - ++ app=nextcloud
2024-02-09 16:07:32,805: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped) ]]
2024-02-09 16:07:32,806: DEBUG - ++ ynh_app_setting get nextcloud phpversion
2024-02-09 16:07:32,960: DEBUG - + phpversion=7.4
2024-02-09 16:07:32,961: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=fpm_footprint
2024-02-09 16:07:32,962: DEBUG - ++ local globalapp=nextcloud
2024-02-09 16:07:33,038: DEBUG - ++ app=nextcloud
2024-02-09 16:07:33,039: DEBUG - ++ [[ fpm_footprint =~ (unprotected|protected|skipped) ]]
2024-02-09 16:07:33,039: DEBUG - ++ ynh_app_setting get nextcloud fpm_footprint
2024-02-09 16:07:33,197: DEBUG - + current_fpm_footprint=medium
2024-02-09 16:07:33,197: DEBUG - + ynh_app_config_run apply
2024-02-09 16:07:33,198: DEBUG - + old=()
2024-02-09 16:07:33,198: DEBUG - + declare -Ag old
2024-02-09 16:07:33,199: DEBUG - + changed=()
2024-02-09 16:07:33,199: DEBUG - + declare -Ag changed
2024-02-09 16:07:33,200: DEBUG - + file_hash=()
2024-02-09 16:07:33,200: DEBUG - + declare -Ag file_hash
2024-02-09 16:07:33,200: DEBUG - + binds=()
2024-02-09 16:07:33,201: DEBUG - + declare -Ag binds
2024-02-09 16:07:33,201: DEBUG - + types=()
2024-02-09 16:07:33,201: DEBUG - + declare -Ag types
2024-02-09 16:07:33,202: DEBUG - + formats=()
2024-02-09 16:07:33,202: DEBUG - + declare -Ag formats
2024-02-09 16:07:33,202: DEBUG - + case $1 in
2024-02-09 16:07:33,203: DEBUG - + max_progression=4
2024-02-09 16:07:33,311: INFO - [+++++β¦] > Reading config panel description and current configurationβ¦
2024-02-09 16:07:33,314: DEBUG - + ynh_app_config_get
2024-02-09 16:07:33,314: DEBUG - + _ynh_app_config_get
2024-02-09 16:07:33,315: DEBUG - ++ python3
2024-02-09 16:07:33,419: DEBUG - + lines=βmaintenance_mode|boolean|settings
2024-02-09 16:07:33,420: DEBUG - fpm_footprint|select|settings
2024-02-09 16:07:33,420: DEBUG - fpm_free_footprint|number|settings
2024-02-09 16:07:33,421: DEBUG - fpm_usage|select|settingsβ
2024-02-09 16:07:33,421: DEBUG - + for line in $lines
2024-02-09 16:07:33,422: DEBUG - + IFS=β|β
2024-02-09 16:07:33,422: DEBUG - + read short_setting type bind
2024-02-09 16:07:33,422: DEBUG - + binds[${short_setting}]=settings
2024-02-09 16:07:33,423: DEBUG - + types[${short_setting}]=boolean
2024-02-09 16:07:33,423: DEBUG - + file_hash[${short_setting}]=
2024-02-09 16:07:33,423: DEBUG - + formats[${short_setting}]=
2024-02-09 16:07:33,424: DEBUG - + ynh_app_config_get_one maintenance_mode boolean settings
2024-02-09 16:07:33,424: DEBUG - + _ynh_app_config_get_one maintenance_mode boolean settings
2024-02-09 16:07:33,425: DEBUG - + local short_setting=maintenance_mode
2024-02-09 16:07:33,425: DEBUG - + local type=boolean
2024-02-09 16:07:33,425: DEBUG - + local bind=settings
2024-02-09 16:07:33,426: DEBUG - + local getter=get__maintenance_mode
2024-02-09 16:07:33,426: DEBUG - + type -t get__maintenance_mode
2024-02-09 16:07:33,426: DEBUG - + grep -q β^function$β
2024-02-09 16:07:33,427: DEBUG - ++ get__maintenance_mode
2024-02-09 16:07:33,429: DEBUG - +++ cd /var/www/nextcloud
2024-02-09 16:07:33,430: DEBUG - +++ ynh_exec_as nextcloud php7.4 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:mode
2024-02-09 16:07:33,430: DEBUG - +++ local user=nextcloud
2024-02-09 16:07:33,431: DEBUG - +++ shift 1
2024-02-09 16:07:33,431: DEBUG - ++++ whoami
2024-02-09 16:07:33,435: DEBUG - +++ [[ nextcloud = root ]]
2024-02-09 16:07:33,435: DEBUG - +++ sudo -u nextcloud php7.4 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:mode
2024-02-09 16:07:33,583: DEBUG - ++ maintenance_mode_status=βThis version of Nextcloud requires at least PHP 8.0
You are currently running 7.4.33. Please update your PHP version.β
2024-02-09 16:07:33,584: DEBUG - ++ echo This version of Nextcloud requires at least PHP β8.0
Youβ are currently running 7.4.33. Please update your PHP version.
2024-02-09 16:07:33,585: DEBUG - ++ grep -q disabled
2024-02-09 16:07:33,589: DEBUG - ++ echo This version of Nextcloud requires at least PHP β8.0
Youβ are currently running 7.4.33. Please update your PHP version.
2024-02-09 16:07:33,590: DEBUG - ++ grep -q enabled
2024-02-09 16:07:33,595: DEBUG - ++ ynh_print_err ββmessage=Unexpected output from maintenance status check command.β
2024-02-09 16:07:33,620: DEBUG - ++ ynh_print_log β[Error] Unexpected output from maintenance status check command.β
2024-02-09 16:07:33,621: DEBUG - ++ echo -e β[Error] Unexpected output from maintenance status check command.β
2024-02-09 16:07:33,622: DEBUG - ++ exit 0
2024-02-09 16:07:33,622: WARNING - [Error] Unexpected output from maintenance status check command.
2024-02-09 16:07:33,624: DEBUG - + old[$short_setting]=
2024-02-09 16:07:33,625: DEBUG - + formats[${short_setting}]=yaml
2024-02-09 16:07:33,625: DEBUG - + for line in $lines
2024-02-09 16:07:33,625: DEBUG - + IFS=β|β
2024-02-09 16:07:33,626: DEBUG - + read short_setting type bind
2024-02-09 16:07:33,626: DEBUG - + binds[${short_setting}]=settings
2024-02-09 16:07:33,626: DEBUG - + types[${short_setting}]=select
2024-02-09 16:07:33,627: DEBUG - + file_hash[${short_setting}]=
2024-02-09 16:07:33,627: DEBUG - + formats[${short_setting}]=
2024-02-09 16:07:33,628: DEBUG - + ynh_app_config_get_one fpm_footprint select settings
2024-02-09 16:07:33,628: DEBUG - + _ynh_app_config_get_one fpm_footprint select settings
2024-02-09 16:07:33,629: DEBUG - + local short_setting=fpm_footprint
2024-02-09 16:07:33,629: DEBUG - + local type=select
2024-02-09 16:07:33,629: DEBUG - + local bind=settings
2024-02-09 16:07:33,630: DEBUG - + local getter=get__fpm_footprint
2024-02-09 16:07:33,630: DEBUG - + type -t get__fpm_footprint
2024-02-09 16:07:33,630: DEBUG - + grep -q β^function$β
2024-02-09 16:07:33,631: DEBUG - ++ get__fpm_footprint
2024-02-09 16:07:33,631: DEBUG - ++ β[β medium -eq medium β]β
2024-02-09 16:07:33,632: DEBUG - ++ echo medium
2024-02-09 16:07:33,635: DEBUG - + old[$short_setting]=medium
2024-02-09 16:07:33,636: DEBUG - + formats[${short_setting}]=yaml
2024-02-09 16:07:33,636: DEBUG - + for line in $lines
2024-02-09 16:07:33,636: DEBUG - + IFS=β|β
2024-02-09 16:07:33,637: DEBUG - + read short_setting type bind
2024-02-09 16:07:33,637: DEBUG - + binds[${short_setting}]=settings
2024-02-09 16:07:33,637: DEBUG - + types[${short_setting}]=number
2024-02-09 16:07:33,638: DEBUG - + file_hash[${short_setting}]=
2024-02-09 16:07:33,638: DEBUG - + formats[${short_setting}]=
2024-02-09 16:07:33,638: DEBUG - + ynh_app_config_get_one fpm_free_footprint number settings
2024-02-09 16:07:33,639: DEBUG - + ynh_app_config_get_one fpm_free_footprint number settings
2024-02-09 16:07:33,639: DEBUG - + local short_setting=fpm_free_footprint
2024-02-09 16:07:33,640: DEBUG - + local type=number
2024-02-09 16:07:33,641: DEBUG - + local bind=settings
2024-02-09 16:07:33,641: DEBUG - + local getter=get__fpm_free_footprint
2024-02-09 16:07:33,642: DEBUG - + type -t get__fpm_free_footprint
2024-02-09 16:07:33,643: DEBUG - + grep -q β^function$β
2024-02-09 16:07:33,644: DEBUG - ++ get__fpm_free_footprint
2024-02-09 16:07:33,645: DEBUG - ++ β[β medium -eq medium β]β
2024-02-09 16:07:33,646: DEBUG - ++ echo 0
2024-02-09 16:07:33,646: DEBUG - + old[$short_setting]=0
2024-02-09 16:07:33,646: DEBUG - + formats[${short_setting}]=yaml
2024-02-09 16:07:33,647: DEBUG - + for line in $lines
2024-02-09 16:07:33,647: DEBUG - + IFS=β|β
2024-02-09 16:07:33,648: DEBUG - + read short_setting type bind
2024-02-09 16:07:33,648: DEBUG - + binds[${short_setting}]=settings
2024-02-09 16:07:33,648: DEBUG - + types[${short_setting}]=select
2024-02-09 16:07:33,649: DEBUG - + file_hash[${short_setting}]=
2024-02-09 16:07:33,649: DEBUG - + formats[${short_setting}]=
2024-02-09 16:07:33,650: DEBUG - + ynh_app_config_get_one fpm_usage select settings
2024-02-09 16:07:33,650: DEBUG - + ynh_app_config_get_one fpm_usage select settings
2024-02-09 16:07:33,651: DEBUG - + local short_setting=fpm_usage
2024-02-09 16:07:33,651: DEBUG - + local type=select
2024-02-09 16:07:33,652: DEBUG - + local bind=settings
2024-02-09 16:07:33,653: DEBUG - + local getter=get__fpm_usage
2024-02-09 16:07:33,653: DEBUG - + type -t get__fpm_usage
2024-02-09 16:07:33,654: DEBUG - + grep -q β^function$β
2024-02-09 16:07:33,654: DEBUG - + [[ settings == ( ]]
2024-02-09 16:07:33,654: DEBUG - + [[ settings == \n\u\l\l ]]
2024-02-09 16:07:33,655: DEBUG - + [[ select == \f\i\l\e ]]
2024-02-09 16:07:33,655: DEBUG - + [[ select == \t\e\x\t ]]
2024-02-09 16:07:33,655: DEBUG - + local bind_after=
2024-02-09 16:07:33,656: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2024-02-09 16:07:33,656: DEBUG - + bind=:/etc/yunohost/apps/nextcloud/settings.yml
2024-02-09 16:07:33,656: DEBUG - ++ echo :/etc/yunohost/apps/nextcloud/settings.yml
2024-02-09 16:07:33,657: DEBUG - ++ cut -d: -f1
2024-02-09 16:07:33,657: DEBUG - + local bind_key=
2024-02-09 16:07:33,658: DEBUG - + bind_key=fpm_usage
2024-02-09 16:07:33,658: DEBUG - + [[ fpm_usage == > ]]
2024-02-09 16:07:33,659: DEBUG - ++ echo :/etc/yunohost/apps/nextcloud/settings.yml
2024-02-09 16:07:33,660: DEBUG - ++ cut -d: -f2
2024-02-09 16:07:33,661: DEBUG - ++ sed s@INSTALL_DIR@/var/www/nextcloud@
2024-02-09 16:07:33,662: DEBUG - ++ sed s/APP/nextcloud/
2024-02-09 16:07:33,664: DEBUG - ++ sed s@FINALPATH@@
2024-02-09 16:07:33,669: DEBUG - + local bind_file=/etc/yunohost/apps/nextcloud/settings.yml
2024-02-09 16:07:33,670: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/nextcloud/settings.yml --key=fpm_usage --after=
2024-02-09 16:07:33,832: DEBUG - ++ after=
2024-02-09 16:07:33,833: DEBUG - ++ [[ -f /etc/yunohost/apps/nextcloud/settings.yml ]]
2024-02-09 16:07:33,856: DEBUG - + old[$short_setting]=medium
2024-02-09 16:07:33,857: DEBUG - + ynh_app_config_validate
2024-02-09 16:07:33,857: DEBUG - + _ynh_app_config_validate
2024-02-09 16:07:34,039: INFO - [#####+++++β¦] > Checking what changed in the new configurationβ¦
2024-02-09 16:07:34,042: DEBUG - + local nothing_changed=true
2024-02-09 16:07:34,042: DEBUG - + local changes_validated=true
2024-02-09 16:07:34,043: DEBUG - + for short_setting in β${!old[@]}β
2024-02-09 16:07:34,043: DEBUG - + changed[$short_setting]=false
2024-02-09 16:07:34,044: DEBUG - + β[β -z x β]β
2024-02-09 16:07:34,044: DEBUG - + β[β β!β -z ββ β]β
2024-02-09 16:07:34,044: DEBUG - + [[ medium != \m\e\d\i\u\m ]]
2024-02-09 16:07:34,045: DEBUG - + for short_setting in β${!old[@]}β
2024-02-09 16:07:34,045: DEBUG - + changed[$short_setting]=false
2024-02-09 16:07:34,046: DEBUG - + β[β -z β]β
2024-02-09 16:07:34,046: DEBUG - + declare -g fpm_free_footprint=0
2024-02-09 16:07:34,047: DEBUG - + continue
2024-02-09 16:07:34,047: DEBUG - + for short_setting in β${!old[@]}β
2024-02-09 16:07:34,047: DEBUG - + changed[$short_setting]=false
2024-02-09 16:07:34,048: DEBUG - + β[β -z x β]β
2024-02-09 16:07:34,048: DEBUG - + β[β β!β -z ββ β]β
2024-02-09 16:07:34,048: DEBUG - + [[ medium != \m\e\d\i\u\m ]]
2024-02-09 16:07:34,049: DEBUG - + for short_setting in β${!old[@]}β
2024-02-09 16:07:34,049: DEBUG - + changed[$short_setting]=false
2024-02-09 16:07:34,049: DEBUG - + β[β -z x β]β
2024-02-09 16:07:34,050: DEBUG - + β[β β!β -z ββ β]β
2024-02-09 16:07:34,050: DEBUG - + [[ 0 != ββ ]]
2024-02-09 16:07:34,050: DEBUG - + changed[$short_setting]=true
2024-02-09 16:07:34,051: DEBUG - + nothing_changed=false
2024-02-09 16:07:34,051: DEBUG - + [[ false == \t\r\u\e ]]
2024-02-09 16:07:34,226: INFO - [##########+++++β¦] > Validating the new configurationβ¦
2024-02-09 16:07:34,229: DEBUG - + for short_setting in β${!old[@]}β
2024-02-09 16:07:34,229: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-02-09 16:07:34,230: DEBUG - + continue
2024-02-09 16:07:34,230: DEBUG - + for short_setting in β${!old[@]}β
2024-02-09 16:07:34,230: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-02-09 16:07:34,230: DEBUG - + continue
2024-02-09 16:07:34,231: DEBUG - + for short_setting in β${!old[@]}β
2024-02-09 16:07:34,231: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-02-09 16:07:34,231: DEBUG - + continue
2024-02-09 16:07:34,232: DEBUG - + for short_setting in β${!old[@]}β
2024-02-09 16:07:34,232: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-02-09 16:07:34,232: DEBUG - + local result=
2024-02-09 16:07:34,233: DEBUG - + type -t validate__maintenance_mode
2024-02-09 16:07:34,233: DEBUG - + grep -q β^function$β
2024-02-09 16:07:34,236: DEBUG - + [[ settings == ( ]]
2024-02-09 16:07:34,237: DEBUG - + β[β -n ββ β]β
2024-02-09 16:07:34,238: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-02-09 16:07:34,238: DEBUG - + β[β false == true β]β
2024-02-09 16:07:34,238: DEBUG - + β[β false == true β]β
2024-02-09 16:07:34,239: DEBUG - + β[β false == true β]β
2024-02-09 16:07:34,360: INFO - [###############+++++] > Applying the new configurationβ¦
2024-02-09 16:07:34,362: DEBUG - + ynh_app_config_apply
2024-02-09 16:07:34,363: DEBUG - + _ynh_app_config_apply
2024-02-09 16:07:34,363: DEBUG - + for short_setting in β${!old[@]}β
2024-02-09 16:07:34,364: DEBUG - + ynh_app_config_apply_one fpm_footprint
2024-02-09 16:07:34,364: DEBUG - + _ynh_app_config_apply_one fpm_footprint
2024-02-09 16:07:34,364: DEBUG - + local short_setting=fpm_footprint
2024-02-09 16:07:34,365: DEBUG - + local setter=set__fpm_footprint
2024-02-09 16:07:34,365: DEBUG - + local bind=settings
2024-02-09 16:07:34,365: DEBUG - + local type=select
2024-02-09 16:07:34,366: DEBUG - + β[β false == true β]β
2024-02-09 16:07:34,366: DEBUG - + for short_setting in β${!old[@]}β
2024-02-09 16:07:34,366: DEBUG - + ynh_app_config_apply_one fpm_free_footprint
2024-02-09 16:07:34,367: DEBUG - + _ynh_app_config_apply_one fpm_free_footprint
2024-02-09 16:07:34,367: DEBUG - + local short_setting=fpm_free_footprint
2024-02-09 16:07:34,368: DEBUG - + local setter=set__fpm_free_footprint
2024-02-09 16:07:34,368: DEBUG - + local bind=settings
2024-02-09 16:07:34,369: DEBUG - + local type=number
2024-02-09 16:07:34,369: DEBUG - + β[β false == true β]β
2024-02-09 16:07:34,370: DEBUG - + for short_setting in β${!old[@]}β
2024-02-09 16:07:34,370: DEBUG - + ynh_app_config_apply_one fpm_usage
2024-02-09 16:07:34,370: DEBUG - + _ynh_app_config_apply_one fpm_usage
2024-02-09 16:07:34,371: DEBUG - + local short_setting=fpm_usage
2024-02-09 16:07:34,371: DEBUG - + local setter=set__fpm_usage
2024-02-09 16:07:34,371: DEBUG - + local bind=settings
2024-02-09 16:07:34,372: DEBUG - + local type=select
2024-02-09 16:07:34,372: DEBUG - + β[β false == true β]β
2024-02-09 16:07:34,372: DEBUG - + for short_setting in β${!old[@]}β
2024-02-09 16:07:34,373: DEBUG - + ynh_app_config_apply_one maintenance_mode
2024-02-09 16:07:34,373: DEBUG - + _ynh_app_config_apply_one maintenance_mode
2024-02-09 16:07:34,373: DEBUG - + local short_setting=maintenance_mode
2024-02-09 16:07:34,374: DEBUG - + local setter=set__maintenance_mode
2024-02-09 16:07:34,374: DEBUG - + local bind=settings
2024-02-09 16:07:34,375: DEBUG - + local type=boolean
2024-02-09 16:07:34,375: DEBUG - + β[β true == true β]β
2024-02-09 16:07:34,376: DEBUG - + type -t set__maintenance_mode
2024-02-09 16:07:34,376: DEBUG - + grep -q β^function$β
2024-02-09 16:07:34,376: DEBUG - + set__maintenance_mode
2024-02-09 16:07:34,377: DEBUG - + cd /var/www/nextcloud
2024-02-09 16:07:34,377: DEBUG - + ynh_exec_as nextcloud php7.4 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:mode --off
2024-02-09 16:07:34,378: DEBUG - + local user=nextcloud
2024-02-09 16:07:34,378: DEBUG - + shift 1
2024-02-09 16:07:34,378: DEBUG - ++ whoami
2024-02-09 16:07:34,379: DEBUG - + [[ nextcloud = root ]]
2024-02-09 16:07:34,379: DEBUG - + sudo -u nextcloud php7.4 --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:mode --off
2024-02-09 16:07:34,524: DEBUG - This version of Nextcloud requires at least PHP 8.0
You are currently running 7.4.33. Please update your PHP version.+ ynh_exit_properly
2024-02-09 16:07:34,526: DEBUG - + [[ ββ =~ ^install$|^upgrade$|^restore$ ]]
PHP 8.2 is installed on my server and works (I used it to scan the files with occ earlier today) so the message at the end is strange.
If I try to access nextcloud from the Web interface as my user, it returns to the main user page straight away.
Iβd be really grateful for any help.
Best regards from Germany
Fil