Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. ![]()
The Basics
- Nextcloud Server version (e.g., 29.x.x):
replace me
- Operating system and version (e.g., Ubuntu 24.04):
replace me
- Web server and version (e.g, Apache 2.4.25):
replace me
- Reverse proxy and version _(e.g. nginx 1.27.2)
replace me
- PHP version (e.g, 8.3):
replace me
- Is this the first time you’ve seen this error? (Yes / No):
replace me
- When did this problem seem to first start?
replace me
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
replace me
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
replace me
Summary of the issue you are facing:
I am trying to edit /var/www/nexcloud/.user.ini as described here (Uploading big files > 512MB — Nextcloud latest Administration Manual latest documentation)
I cannot enter any directories or have them listed using ls (returns nothing).
ncpadmin@nextcloudpi:~$ ls
ncpadmin@nextcloudpi:~$
I have tried disabling and enabling SSH in the admin console, made sure the password is 10chars long and only valid characters.
ls -la gives this:
ncpadmin@nextcloudpi:~$ ls -la
total 28
drwxr-x— 3 ncpadmin ncpadmin 4096 Sep 17 09:21 .
drwxr-xr-x 4 root root 4096 Sep 17 09:02 ..
-rw------- 1 ncpadmin ncpadmin 1043 Sep 17 11:55 .bash_history
-rw-r–r-- 1 ncpadmin ncpadmin 220 Mar 29 2024 .bash_logout
-rw-r–r-- 1 ncpadmin ncpadmin 3523 Nov 8 2024 .bashrc
drwxr-xr-x 3 ncpadmin ncpadmin 4096 Sep 17 09:05 .local
-rw-r–r-- 1 ncpadmin ncpadmin 807 Mar 29 2024 .profile
-rw-r–r-- 1 ncpadmin ncpadmin 0 Sep 17 09:12 .sudo_as_admin_successful
I tried adding ncpadmin to www-data but no change.
Where do I go wrong?
Steps to replicate it (hint: details matter!):
-
Login via SSH (sudo enabled in Admin GUI)
-
ls command to list directory
-
nothing shown
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
[ nc-limits ] (Tue Sep 16 12:47:30 PM UTC 2025)
+ configure
++ get_total_mem
+++ free -b
+++ sed -n 2p
+++ awk '{ print $2 }'
++ local total_mem=3976511488
++ local MAX_32BIT=4096000000
++ [[ aarch64 == \a\r\m\v\7 ]]
++ echo 3976511488
+ local TOTAL_MEM=3976511488
+ file /bin/bash
+ grep 64-bit
+ local AUTOMEM=2982383616
+ local require_fpm_restart=false
+ local CONF=/etc/php/8.3/fpm/conf.d/90-ncp.ini
++ cat /etc/php/8.3/fpm/conf.d/90-ncp.ini
+ local 'CONF_VALUE=; disable .user.ini files for performance and workaround NC update bugs
user_ini.filename =
; from Nextcloud .user.ini
upload_max_filesize=10G
post_max_size=10G
memory_limit=2982383616
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset='\''UTF-8'\''
output_buffering=0
; slow transfers will be killed after this time
max_execution_time=3600
max_input_time=3600'
++ tmpl_php_max_memory
+++ get_total_mem
++++ free -b
++++ sed -n 2p
++++ awk '{ print $2 }'
+++ local total_mem=3976511488
+++ local MAX_32BIT=4096000000
+++ [[ aarch64 == \a\r\m\v\7 ]]
+++ echo 3976511488
++ local TOTAL_MEM=3976511488
+++ find_app_param nc-limits MEMORYLIMIT
+++ local script=nc-limits
+++ local param_id=MEMORYLIMIT
++++ basename nc-limits .sh
+++ local ncp_app=nc-limits
+++ local cfg_file=/usr/local/etc/ncp-config.d/nc-limits.cfg
++++ find_app_param_num nc-limits MEMORYLIMIT
++++ local script=nc-limits
++++ local param_id=MEMORYLIMIT
+++++ basename nc-limits .sh
++++ local ncp_app=nc-limits
++++ local cfg_file=/usr/local/etc/ncp-config.d/nc-limits.cfg
++++ [[ -f /usr/local/etc/ncp-config.d/nc-limits.cfg ]]
+++++ cat /usr/local/etc/ncp-config.d/nc-limits.cfg
++++ local 'cfg={
"id": "nc-limits",
"name": "Nc-limits",
"title": "nc-limits",
"description": "Configure system limits for NextcloudPi",
"info": "Examples: 200M or 2G. Write 0 for autoconfig",
"infotitle": "",
"params": [
{
"id": "MAXFILESIZE",
"name": "Maximum file size",
"value": "10G",
"default": "10G",
"suggest": "10G"
},
{
"id": "MEMORYLIMIT",
"name": "Memory limit",
"value": "0",
"default": "0",
"suggest": "0"
},
{
"id": "PHPTHREADS",
"name": "PHP threads",
"value": "0",
"default": "0",
"suggest": "0"
},
{
"id": "REDISMEM",
"name": "Redis memory",
"value": "0",
"default": "0",
"suggest": "0"
}
]
}'
+++++ jq '.params | length'
++++ local len=4
++++ (( i = 0 ))
++++ (( i < len ))
+++++ jq -r '.params[0].id'
++++ local p_id=MAXFILESIZE
++++ [[ MEMORYLIMIT == \M\A\X\F\I\L\E\S\I\Z\E ]]
++++ (( i++ ))
++++ (( i < len ))
+++++ jq -r '.params[1].id'
++++ local p_id=MEMORYLIMIT
++++ [[ MEMORYLIMIT == \M\E\M\O\R\Y\L\I\M\I\T ]]
++++ echo 1
++++ return 0
+++ local p_num=1
+++ jq -r '.params[1].value'
++ local MEMORYLIMIT=0
++ [[ 0 == \0 ]]
++ echo -n 2982383616
+ echo 'Using 2982383616 for PHP max memory'
Using 2982383616 for PHP max memory
+ install_template php/90-ncp.ini.sh /etc/php/8.3/fpm/conf.d/90-ncp.ini
+ local template=php/90-ncp.ini.sh
+ local target=/etc/php/8.3/fpm/conf.d/90-ncp.ini
++ mktemp
+ local bkp=/tmp/tmp.LkyHbyhe5k
+ echo 'Installing template '\''php/90-ncp.ini.sh'\''...'
Installing template 'php/90-ncp.ini.sh'...
++ dirname /etc/php/8.3/fpm/conf.d/90-ncp.ini
+ mkdir -p /etc/php/8.3/fpm/conf.d
+ [[ -f /etc/php/8.3/fpm/conf.d/90-ncp.ini ]]
+ cp -a /etc/php/8.3/fpm/conf.d/90-ncp.ini /tmp/tmp.LkyHbyhe5k
+ [[ '' == \-\-\d\e\f\a\u\l\t\s ]]
+ bash /usr/local/etc/ncp-templates/php/90-ncp.ini.sh
+ rm /tmp/tmp.LkyHbyhe5k
++ cat /etc/php/8.3/fpm/conf.d/90-ncp.ini
+ [[ ; disable .user.ini files for performance and workaround NC update bugs
user_ini.filename =
; from Nextcloud .user.ini
upload_max_filesize=10G
post_max_size=10G
memory_limit=2982383616
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset='UTF-8'
output_buffering=0
; slow transfers will be killed after this time
max_execution_time=3600
max_input_time=3600 == \;\ \d\i\s\a\b\l\e\ \.\u\s\e\r\.\i\n\i\ \f\i\l\e\s\ \f\o\r\ \p\e\r\f\o\r\m\a\n\c\e\ \a\n\d\ \w\o\r\k\a\r\o\u\n\d\ \N\C\ \u\p\d\a\t\e\ \b\u\g\s\
\u\s\e\r\_\i\n\i\.\f\i\l\e\n\a\m\e\ \=\
\
\;\ \f\r\o\m\ \N\e\x\t\c\l\o\u\d\ \.\u\s\e\r\.\i\n\i\
\u\p\l\o\a\d\_\m\a\x\_\f\i\l\e\s\i\z\e\=\1\0\G\
\p\o\s\t\_\m\a\x\_\s\i\z\e\=\1\0\G\
\m\e\m\o\r\y\_\l\i\m\i\t\=\2\9\8\2\3\8\3\6\1\6\
\m\b\s\t\r\i\n\g\.\f\u\n\c\_\o\v\e\r\l\o\a\d\=\0\
\a\l\w\a\y\s\_\p\o\p\u\l\a\t\e\_\r\a\w\_\p\o\s\t\_\d\a\t\a\=\-\1\
\d\e\f\a\u\l\t\_\c\h\a\r\s\e\t\=\'\U\T\F\-\8\'\
\o\u\t\p\u\t\_\b\u\f\f\e\r\i\n\g\=\0\
\
\;\ \s\l\o\w\ \t\r\a\n\s\f\e\r\s\ \w\i\l\l\ \b\e\ \k\i\l\l\e\d\ \a\f\t\e\r\ \t\h\i\s\ \t\i\m\e\
\m\a\x\_\e\x\e\c\u\t\i\o\n\_\t\i\m\e\=\3\6\0\0\
\m\a\x\_\i\n\p\u\t\_\t\i\m\e\=\3\6\0\0 ]]
+ local CONF=/etc/php/8.3/fpm/pool.d/www.conf
++ cat /etc/php/8.3/fpm/pool.d/www.conf
+ CONF_VALUE='[www]
user = www-data
group = www-data
listen = /run/php/php8.3-fpm.sock
listen.owner = www-data
listen.group = www-data
pm = static
pm.max_children = 37
pm.start_servers = 4
pm.min_spare_servers = 4
pm.max_spare_servers = 8
pm.status_path = /status
slowlog = log/$pool.log.slow'
++ tmpl_php_threads
+++ get_total_mem
++++ free -b
++++ sed -n 2p
++++ awk '{ print $2 }'
+++ local total_mem=3976511488
+++ local MAX_32BIT=4096000000
+++ [[ aarch64 == \a\r\m\v\7 ]]
+++ echo 3976511488
++ local TOTAL_MEM=3976511488
+++ find_app_param nc-limits PHPTHREADS
+++ local script=nc-limits
+++ local param_id=PHPTHREADS
++++ basename nc-limits .sh
+++ local ncp_app=nc-limits
+++ local cfg_file=/usr/local/etc/ncp-config.d/nc-limits.cfg
++++ find_app_param_num nc-limits PHPTHREADS
++++ local script=nc-limits
++++ local param_id=PHPTHREADS
+++++ basename nc-limits .sh
++++ local ncp_app=nc-limits
++++ local cfg_file=/usr/local/etc/ncp-config.d/nc-limits.cfg
++++ [[ -f /usr/local/etc/ncp-config.d/nc-limits.cfg ]]
+++++ cat /usr/local/etc/ncp-config.d/nc-limits.cfg
++++ local 'cfg={
"id": "nc-limits",
"name": "Nc-limits",
"title": "nc-limits",
"description": "Configure system limits for NextcloudPi",
"info": "Examples: 200M or 2G. Write 0 for autoconfig",
"infotitle": "",
"params": [
{
"id": "MAXFILESIZE",
"name": "Maximum file size",
"value": "10G",
"default": "10G",
"suggest": "10G"
},
{
"id": "MEMORYLIMIT",
"name": "Memory limit",
"value": "0",
"default": "0",
"suggest": "0"
},
{
"id": "PHPTHREADS",
"name": "PHP threads",
"value": "0",
"default": "0",
"suggest": "0"
},
{
"id": "REDISMEM",
"name": "Redis memory",
"value": "0",
"default": "0",
"suggest": "0"
}
]
}'
+++++ jq '.params | length'
++++ local len=4
++++ (( i = 0 ))
++++ (( i < len ))
+++++ jq -r '.params[0].id'
++++ local p_id=MAXFILESIZE
++++ [[ PHPTHREADS == \M\A\X\F\I\L\E\S\I\Z\E ]]
++++ (( i++ ))
++++ (( i < len ))
+++++ jq -r '.params[1].id'
++++ local p_id=MEMORYLIMIT
++++ [[ PHPTHREADS == \M\E\M\O\R\Y\L\I\M\I\T ]]
++++ (( i++ ))
++++ (( i < len ))
+++++ jq -r '.params[2].id'
++++ local p_id=PHPTHREADS
++++ [[ PHPTHREADS == \P\H\P\T\H\R\E\A\D\S ]]
++++ echo 2
++++ return 0
+++ local p_num=2
+++ jq -r '.params[2].value'
++ local PHPTHREADS=0
++ [[ 0 -eq 0 ]]
++ PHPTHREADS=37
++ [[ 37 -lt 16 ]]
++ echo -n 37
+ echo 'Using 37 PHP threads'
Using 37 PHP threads
+ install_template php/pool.d.www.conf.sh /etc/php/8.3/fpm/pool.d/www.conf
+ local template=php/pool.d.www.conf.sh
+ local target=/etc/php/8.3/fpm/pool.d/www.conf
++ mktemp
+ local bkp=/tmp/tmp.ZrDIflU8s6
+ echo 'Installing template '\''php/pool.d.www.conf.sh'\''...'
Installing template 'php/pool.d.www.conf.sh'...
++ dirname /etc/php/8.3/fpm/pool.d/www.conf
+ mkdir -p /etc/php/8.3/fpm/pool.d
+ [[ -f /etc/php/8.3/fpm/pool.d/www.conf ]]
+ cp -a /etc/php/8.3/fpm/pool.d/www.conf /tmp/tmp.ZrDIflU8s6
+ [[ '' == \-\-\d\e\f\a\u\l\t\s ]]
+ bash /usr/local/etc/ncp-templates/php/pool.d.www.conf.sh
System config value trusted_domains => 3 set to string nextcloudpi
System config value overwrite.cli.url set to string https://nextcloudpi/
+ rm /tmp/tmp.ZrDIflU8s6
++ cat /etc/php/8.3/fpm/pool.d/www.conf
+ [[ [www]
user = www-data
group = www-data
listen = /run/php/php8.3-fpm.sock
listen.owner = www-data
listen.group = www-data
pm = static
pm.max_children = 37
pm.start_servers = 4
pm.min_spare_servers = 4
pm.max_spare_servers = 8
pm.status_path = /status
slowlog = log/$pool.log.slow == \[\w\w\w\]\
\u\s\e\r\ \=\ \w\w\w\-\d\a\t\a\
\g\r\o\u\p\ \=\ \w\w\w\-\d\a\t\a\
\l\i\s\t\e\n\ \=\ \/\r\u\n\/\p\h\p\/\p\h\p\8\.\3\-\f\p\m\.\s\o\c\k\
\l\i\s\t\e\n\.\o\w\n\e\r\ \=\ \w\w\w\-\d\a\t\a\
\l\i\s\t\e\n\.\g\r\o\u\p\ \=\ \w\w\w\-\d\a\t\a\
\p\m\ \=\ \s\t\a\t\i\c\
\p\m\.\m\a\x\_\c\h\i\l\d\r\e\n\ \=\ \3\7\
\p\m\.\s\t\a\r\t\_\s\e\r\v\e\r\s\ \=\ \4\
\p\m\.\m\i\n\_\s\p\a\r\e\_\s\e\r\v\e\r\s\ \=\ \4\
\p\m\.\m\a\x\_\s\p\a\r\e\_\s\e\r\v\e\r\s\ \=\ \8\
\p\m\.\s\t\a\t\u\s\_\p\a\t\h\ \=\ \/\s\t\a\t\u\s\
\s\l\o\w\l\o\g\ \=\ \l\o\g\/\$\p\o\o\l\.\l\o\g\.\s\l\o\w ]]
+ local CONF=/etc/mysql/mariadb.conf.d/91-ncp.cnf
++ cat /etc/mysql/mariadb.conf.d/91-ncp.cnf
+ CONF_VALUE='[mysqld]
transaction_isolation = READ-COMMITTED
innodb_large_prefix=true
innodb_file_per_table=1
innodb_file_format=barracuda
max_allowed_packet=256M
[mysqldump]
max_allowed_packet = 256M
[server]
# innodb settings
skip-name-resolve
innodb_buffer_pool_size = 943796224
innodb_buffer_pool_instances = 1
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 32M
innodb_max_dirty_pages_pct = 90
innodb_log_file_size = 32M
# disable query cache
query_cache_type = 0
query_cache_size = 0
# other
tmp_table_size= 64M
max_heap_table_size= 64M'
+ install_template mysql/91-ncp.cnf.sh /etc/mysql/mariadb.conf.d/91-ncp.cnf
+ local template=mysql/91-ncp.cnf.sh
+ local target=/etc/mysql/mariadb.conf.d/91-ncp.cnf
++ mktemp
+ local bkp=/tmp/tmp.Jdp9jU9zmA
+ echo 'Installing template '\''mysql/91-ncp.cnf.sh'\''...'
Installing template 'mysql/91-ncp.cnf.sh'...
++ dirname /etc/mysql/mariadb.conf.d/91-ncp.cnf
+ mkdir -p /etc/mysql/mariadb.conf.d
+ [[ -f /etc/mysql/mariadb.conf.d/91-ncp.cnf ]]
+ cp -a /etc/mysql/mariadb.conf.d/91-ncp.cnf /tmp/tmp.Jdp9jU9zmA
+ [[ '' == \-\-\d\e\f\a\u\l\t\s ]]
+ bash /usr/local/etc/ncp-templates/mysql/91-ncp.cnf.sh
+ rm /tmp/tmp.Jdp9jU9zmA
++ cat /etc/mysql/mariadb.conf.d/91-ncp.cnf
+ [[ [mysqld]
transaction_isolation = READ-COMMITTED
innodb_large_prefix=true
innodb_file_per_table=1
innodb_file_format=barracuda
max_allowed_packet=256M
[mysqldump]
max_allowed_packet = 256M
[server]
# innodb settings
skip-name-resolve
innodb_buffer_pool_size = 943796224
innodb_buffer_pool_instances = 1
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 32M
innodb_max_dirty_pages_pct = 90
innodb_log_file_size = 32M
# disable query cache
query_cache_type = 0
query_cache_size = 0
# other
tmp_table_size= 64M
max_heap_table_size= 64M == \[\m\y\s\q\l\d\]\
\t\r\a\n\s\a\c\t\i\o\n\_\i\s\o\l\a\t\i\o\n\ \=\ \R\E\A\D\-\C\O\M\M\I\T\T\E\D\
\i\n\n\o\d\b\_\l\a\r\g\e\_\p\r\e\f\i\x\=\t\r\u\e\
\i\n\n\o\d\b\_\f\i\l\e\_\p\e\r\_\t\a\b\l\e\=\1\
\i\n\n\o\d\b\_\f\i\l\e\_\f\o\r\m\a\t\=\b\a\r\r\a\c\u\d\a\
\m\a\x\_\a\l\l\o\w\e\d\_\p\a\c\k\e\t\=\2\5\6\M\
\
\[\m\y\s\q\l\d\u\m\p\]\
\m\a\x\_\a\l\l\o\w\e\d\_\p\a\c\k\e\t\ \=\ \2\5\6\M\
\
\[\s\e\r\v\e\r\]\
\#\ \i\n\n\o\d\b\ \s\e\t\t\i\n\g\s\
\s\k\i\p\-\n\a\m\e\-\r\e\s\o\l\v\e\
\i\n\n\o\d\b\_\b\u\f\f\e\r\_\p\o\o\l\_\s\i\z\e\ \=\ \9\4\3\7\9\6\2\2\4\
\i\n\n\o\d\b\_\b\u\f\f\e\r\_\p\o\o\l\_\i\n\s\t\a\n\c\e\s\ \=\ \1\
\i\n\n\o\d\b\_\f\l\u\s\h\_\l\o\g\_\a\t\_\t\r\x\_\c\o\m\m\i\t\ \=\ \2\
\i\n\n\o\d\b\_\l\o\g\_\b\u\f\f\e\r\_\s\i\z\e\ \=\ \3\2\M\
\i\n\n\o\d\b\_\m\a\x\_\d\i\r\t\y\_\p\a\g\e\s\_\p\c\t\ \=\ \9\0\
\i\n\n\o\d\b\_\l\o\g\_\f\i\l\e\_\s\i\z\e\ \=\ \3\2\M\
\
\#\ \d\i\s\a\b\l\e\ \q\u\e\r\y\ \c\a\c\h\e\
\q\u\e\r\y\_\c\a\c\h\e\_\t\y\p\e\ \=\ \0\
\q\u\e\r\y\_\c\a\c\h\e\_\s\i\z\e\ \=\ \0\
\
\#\ \o\t\h\e\r\
\t\m\p\_\t\a\b\l\e\_\s\i\z\e\=\ \6\4\M\
\m\a\x\_\h\e\a\p\_\t\a\b\l\e\_\s\i\z\e\=\ \6\4\M ]]
+ [[ false == \t\r\u\e ]]
+ local CONF=/etc/redis/redis.conf
++ grep '^maxmemory' /etc/redis/redis.conf
++ awk '{ print $2 }'
+ local 'CURRENT_REDIS_MEM=allkeys-lru
0'
+ [[ 0 != \a\l\l\k\e\y\s\-\l\r\u\
\0 ]]
+ sed -i 's|^maxmemory .*|maxmemory 0|' /etc/redis/redis.conf
+ chown redis:redis /etc/redis/redis.conf
+ service redis-server restart
Redis server /var/run/redis/redis.sock:0 went away
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 14 set to string 127.0.1.1
Setup notify_push (attempt 1/5)
✓ redis is configured
✓ push server is receiving redis messages
✓ push server can load mount info from database
✓ push server can connect to the Nextcloud server
✓ push server is a trusted proxy
✓ push server is running the same version as the app
configuration saved
[ letsencrypt ] (Tue Sep 16 17:13:20 UTC 2025)
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Account registered.
Requesting a certificate for bdbjjpfmczqsbdw1.myfritz.net
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: bdbjjpfmczqsbdw1.myfritz.net
Type: connection
Detail: 2a02:908:1200:1::bdc: Fetching http://bdbjjpfmczqsbdw1.myfritz.net/.well-known/acme-challenge/hd64uSmKeRAhKX-GuJwNIz7jpap7p62dw5hZvXyWryk: Error getting validation data
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
[ nc-httpsonly ] (Tue Sep 16 17:16:48 UTC 2025)
Forcing HTTPS Off
[ letsencrypt ] (Tue Sep 16 17:18:57 UTC 2025)
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for bdbjjpfmczqsbdw1.myfritz.net
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: bdbjjpfmczqsbdw1.myfritz.net
Type: connection
Detail: 2a02:908:1200:1::bdc: Fetching http://bdbjjpfmczqsbdw1.myfritz.net/.well-known/acme-challenge/eQhONSp_ZGbaWrm4LpwrQaZZJv4AZP7saB1VLQFrTFM: Error getting validation data
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
[ nc-trusted-domains ] (Tue Sep 16 17:28:51 UTC 2025)
System config value trusted_domains => 20 set to string nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net
[ letsencrypt ] (Tue Sep 16 18:36:23 UTC 2025)
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net/fullchain.pem
Key is saved at: /etc/letsencrypt/live/nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net/privkey.pem
This certificate expires on 2025-12-15.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you like Certbot, please consider supporting our work by:
* Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
* Donating to EFF: https://eff.org/donate-le
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Installing template 'nextcloud.conf.sh'...
INFO: Letsencrypt domain is nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net
INFO: Metrics enabled: no
Apache self check:
Syntax OK
System config value trusted_domains => 11 set to string nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net
System config value trusted_domains => 3 set to string nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net
System config value overwrite.cli.url set to string https://nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net/
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
Setup notify_push (attempt 1/5)
✓ redis is configured
✓ push server is receiving redis messages
✓ push server can load mount info from database
✓ push server can connect to the Nextcloud server
✓ push server is a trusted proxy
✓ push server is running the same version as the app
configuration saved
[ nc-limits ] (Tue Sep 16 06:41:14 PM UTC 2025)
+ configure
++ get_total_mem
+++ free -b
+++ awk '{ print $2 }'
+++ sed -n 2p
++ local total_mem=3976511488
++ local MAX_32BIT=4096000000
++ [[ aarch64 == \a\r\m\v\7 ]]
++ echo 3976511488
+ local TOTAL_MEM=3976511488
+ file /bin/bash
+ grep 64-bit
+ local AUTOMEM=2982383616
+ local require_fpm_restart=false
+ local CONF=/etc/php/8.3/fpm/conf.d/90-ncp.ini
++ cat /etc/php/8.3/fpm/conf.d/90-ncp.ini
+ local 'CONF_VALUE=; disable .user.ini files for performance and workaround NC update bugs
user_ini.filename =
; from Nextcloud .user.ini
upload_max_filesize=10G
post_max_size=10G
memory_limit=2982383616
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset='\''UTF-8'\''
output_buffering=0
; slow transfers will be killed after this time
max_execution_time=3600
max_input_time=3600'
++ tmpl_php_max_memory
+++ get_total_mem
++++ free -b
++++ sed -n 2p
++++ awk '{ print $2 }'
+++ local total_mem=3976511488
+++ local MAX_32BIT=4096000000
+++ [[ aarch64 == \a\r\m\v\7 ]]
+++ echo 3976511488
++ local TOTAL_MEM=3976511488
+++ find_app_param nc-limits MEMORYLIMIT
+++ local script=nc-limits
+++ local param_id=MEMORYLIMIT
++++ basename nc-limits .sh
+++ local ncp_app=nc-limits
+++ local cfg_file=/usr/local/etc/ncp-config.d/nc-limits.cfg
++++ find_app_param_num nc-limits MEMORYLIMIT
++++ local script=nc-limits
++++ local param_id=MEMORYLIMIT
+++++ basename nc-limits .sh
++++ local ncp_app=nc-limits
++++ local cfg_file=/usr/local/etc/ncp-config.d/nc-limits.cfg
++++ [[ -f /usr/local/etc/ncp-config.d/nc-limits.cfg ]]
+++++ cat /usr/local/etc/ncp-config.d/nc-limits.cfg
++++ local 'cfg={
"id": "nc-limits",
"name": "Nc-limits",
"title": "nc-limits",
"description": "Configure system limits for NextcloudPi",
"info": "Examples: 200M or 2G. Write 0 for autoconfig",
"infotitle": "",
"params": [
{
"id": "MAXFILESIZE",
"name": "Maximum file size",
"value": "10G",
"default": "10G",
"suggest": "10G"
},
{
"id": "MEMORYLIMIT",
"name": "Memory limit",
"value": "0",
"default": "0",
"suggest": "0"
},
{
"id": "PHPTHREADS",
"name": "PHP threads",
"value": "0",
"default": "0",
"suggest": "0"
},
{
"id": "REDISMEM",
"name": "Redis memory",
"value": "0",
"default": "0",
"suggest": "0"
}
]
}'
+++++ jq '.params | length'
++++ local len=4
++++ (( i = 0 ))
++++ (( i < len ))
+++++ jq -r '.params[0].id'
++++ local p_id=MAXFILESIZE
++++ [[ MEMORYLIMIT == \M\A\X\F\I\L\E\S\I\Z\E ]]
++++ (( i++ ))
++++ (( i < len ))
+++++ jq -r '.params[1].id'
++++ local p_id=MEMORYLIMIT
++++ [[ MEMORYLIMIT == \M\E\M\O\R\Y\L\I\M\I\T ]]
++++ echo 1
++++ return 0
+++ local p_num=1
+++ jq -r '.params[1].value'
++ local MEMORYLIMIT=0
++ [[ 0 == \0 ]]
++ echo -n 2982383616
+ echo 'Using 2982383616 for PHP max memory'
Using 2982383616 for PHP max memory
+ install_template php/90-ncp.ini.sh /etc/php/8.3/fpm/conf.d/90-ncp.ini
+ local template=php/90-ncp.ini.sh
+ local target=/etc/php/8.3/fpm/conf.d/90-ncp.ini
++ mktemp
+ local bkp=/tmp/tmp.5sb8LiU1kQ
+ echo 'Installing template '\''php/90-ncp.ini.sh'\''...'
Installing template 'php/90-ncp.ini.sh'...
++ dirname /etc/php/8.3/fpm/conf.d/90-ncp.ini
+ mkdir -p /etc/php/8.3/fpm/conf.d
+ [[ -f /etc/php/8.3/fpm/conf.d/90-ncp.ini ]]
+ cp -a /etc/php/8.3/fpm/conf.d/90-ncp.ini /tmp/tmp.5sb8LiU1kQ
+ [[ '' == \-\-\d\e\f\a\u\l\t\s ]]
+ bash /usr/local/etc/ncp-templates/php/90-ncp.ini.sh
+ rm /tmp/tmp.5sb8LiU1kQ
++ cat /etc/php/8.3/fpm/conf.d/90-ncp.ini
+ [[ ; disable .user.ini files for performance and workaround NC update bugs
user_ini.filename =
; from Nextcloud .user.ini
upload_max_filesize=10G
post_max_size=10G
memory_limit=2982383616
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset='UTF-8'
output_buffering=0
; slow transfers will be killed after this time
max_execution_time=3600
max_input_time=3600 == \;\ \d\i\s\a\b\l\e\ \.\u\s\e\r\.\i\n\i\ \f\i\l\e\s\ \f\o\r\ \p\e\r\f\o\r\m\a\n\c\e\ \a\n\d\ \w\o\r\k\a\r\o\u\n\d\ \N\C\ \u\p\d\a\t\e\ \b\u\g\s\
\u\s\e\r\_\i\n\i\.\f\i\l\e\n\a\m\e\ \=\
\
\;\ \f\r\o\m\ \N\e\x\t\c\l\o\u\d\ \.\u\s\e\r\.\i\n\i\
\u\p\l\o\a\d\_\m\a\x\_\f\i\l\e\s\i\z\e\=\1\0\G\
\p\o\s\t\_\m\a\x\_\s\i\z\e\=\1\0\G\
\m\e\m\o\r\y\_\l\i\m\i\t\=\2\9\8\2\3\8\3\6\1\6\
\m\b\s\t\r\i\n\g\.\f\u\n\c\_\o\v\e\r\l\o\a\d\=\0\
\a\l\w\a\y\s\_\p\o\p\u\l\a\t\e\_\r\a\w\_\p\o\s\t\_\d\a\t\a\=\-\1\
\d\e\f\a\u\l\t\_\c\h\a\r\s\e\t\=\'\U\T\F\-\8\'\
\o\u\t\p\u\t\_\b\u\f\f\e\r\i\n\g\=\0\
\
\;\ \s\l\o\w\ \t\r\a\n\s\f\e\r\s\ \w\i\l\l\ \b\e\ \k\i\l\l\e\d\ \a\f\t\e\r\ \t\h\i\s\ \t\i\m\e\
\m\a\x\_\e\x\e\c\u\t\i\o\n\_\t\i\m\e\=\3\6\0\0\
\m\a\x\_\i\n\p\u\t\_\t\i\m\e\=\3\6\0\0 ]]
+ local CONF=/etc/php/8.3/fpm/pool.d/www.conf
++ cat /etc/php/8.3/fpm/pool.d/www.conf
+ CONF_VALUE='[www]
user = www-data
group = www-data
listen = /run/php/php8.3-fpm.sock
listen.owner = www-data
listen.group = www-data
pm = static
pm.max_children = 37
pm.start_servers = 4
pm.min_spare_servers = 4
pm.max_spare_servers = 8
pm.status_path = /status
slowlog = log/$pool.log.slow'
++ tmpl_php_threads
+++ get_total_mem
++++ free -b
++++ sed -n 2p
++++ awk '{ print $2 }'
+++ local total_mem=3976511488
+++ local MAX_32BIT=4096000000
+++ [[ aarch64 == \a\r\m\v\7 ]]
+++ echo 3976511488
++ local TOTAL_MEM=3976511488
+++ find_app_param nc-limits PHPTHREADS
+++ local script=nc-limits
+++ local param_id=PHPTHREADS
++++ basename nc-limits .sh
+++ local ncp_app=nc-limits
+++ local cfg_file=/usr/local/etc/ncp-config.d/nc-limits.cfg
++++ find_app_param_num nc-limits PHPTHREADS
++++ local script=nc-limits
++++ local param_id=PHPTHREADS
+++++ basename nc-limits .sh
++++ local ncp_app=nc-limits
++++ local cfg_file=/usr/local/etc/ncp-config.d/nc-limits.cfg
++++ [[ -f /usr/local/etc/ncp-config.d/nc-limits.cfg ]]
+++++ cat /usr/local/etc/ncp-config.d/nc-limits.cfg
++++ local 'cfg={
"id": "nc-limits",
"name": "Nc-limits",
"title": "nc-limits",
"description": "Configure system limits for NextcloudPi",
"info": "Examples: 200M or 2G. Write 0 for autoconfig",
"infotitle": "",
"params": [
{
"id": "MAXFILESIZE",
"name": "Maximum file size",
"value": "10G",
"default": "10G",
"suggest": "10G"
},
{
"id": "MEMORYLIMIT",
"name": "Memory limit",
"value": "0",
"default": "0",
"suggest": "0"
},
{
"id": "PHPTHREADS",
"name": "PHP threads",
"value": "0",
"default": "0",
"suggest": "0"
},
{
"id": "REDISMEM",
"name": "Redis memory",
"value": "0",
"default": "0",
"suggest": "0"
}
]
}'
+++++ jq '.params | length'
++++ local len=4
++++ (( i = 0 ))
++++ (( i < len ))
+++++ jq -r '.params[0].id'
++++ local p_id=MAXFILESIZE
++++ [[ PHPTHREADS == \M\A\X\F\I\L\E\S\I\Z\E ]]
++++ (( i++ ))
++++ (( i < len ))
+++++ jq -r '.params[1].id'
++++ local p_id=MEMORYLIMIT
++++ [[ PHPTHREADS == \M\E\M\O\R\Y\L\I\M\I\T ]]
++++ (( i++ ))
++++ (( i < len ))
+++++ jq -r '.params[2].id'
++++ local p_id=PHPTHREADS
++++ [[ PHPTHREADS == \P\H\P\T\H\R\E\A\D\S ]]
++++ echo 2
++++ return 0
+++ local p_num=2
+++ jq -r '.params[2].value'
++ local PHPTHREADS=0
++ [[ 0 -eq 0 ]]
++ PHPTHREADS=37
++ [[ 37 -lt 16 ]]
++ echo -n 37
+ echo 'Using 37 PHP threads'
Using 37 PHP threads
+ install_template php/pool.d.www.conf.sh /etc/php/8.3/fpm/pool.d/www.conf
+ local template=php/pool.d.www.conf.sh
+ local target=/etc/php/8.3/fpm/pool.d/www.conf
++ mktemp
+ local bkp=/tmp/tmp.PVlVAUhuNq
+ echo 'Installing template '\''php/pool.d.www.conf.sh'\''...'
Installing template 'php/pool.d.www.conf.sh'...
++ dirname /etc/php/8.3/fpm/pool.d/www.conf
+ mkdir -p /etc/php/8.3/fpm/pool.d
+ [[ -f /etc/php/8.3/fpm/pool.d/www.conf ]]
+ cp -a /etc/php/8.3/fpm/pool.d/www.conf /tmp/tmp.PVlVAUhuNq
+ [[ '' == \-\-\d\e\f\a\u\l\t\s ]]
+ bash /usr/local/etc/ncp-templates/php/pool.d.www.conf.sh
System config value trusted_domains => 3 set to string nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net
System config value overwrite.cli.url set to string https://nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net/
+ rm /tmp/tmp.PVlVAUhuNq
++ cat /etc/php/8.3/fpm/pool.d/www.conf
+ [[ [www]
user = www-data
group = www-data
listen = /run/php/php8.3-fpm.sock
listen.owner = www-data
listen.group = www-data
pm = static
pm.max_children = 37
pm.start_servers = 4
pm.min_spare_servers = 4
pm.max_spare_servers = 8
pm.status_path = /status
slowlog = log/$pool.log.slow == \[\w\w\w\]\
\u\s\e\r\ \=\ \w\w\w\-\d\a\t\a\
\g\r\o\u\p\ \=\ \w\w\w\-\d\a\t\a\
\l\i\s\t\e\n\ \=\ \/\r\u\n\/\p\h\p\/\p\h\p\8\.\3\-\f\p\m\.\s\o\c\k\
\l\i\s\t\e\n\.\o\w\n\e\r\ \=\ \w\w\w\-\d\a\t\a\
\l\i\s\t\e\n\.\g\r\o\u\p\ \=\ \w\w\w\-\d\a\t\a\
\p\m\ \=\ \s\t\a\t\i\c\
\p\m\.\m\a\x\_\c\h\i\l\d\r\e\n\ \=\ \3\7\
\p\m\.\s\t\a\r\t\_\s\e\r\v\e\r\s\ \=\ \4\
\p\m\.\m\i\n\_\s\p\a\r\e\_\s\e\r\v\e\r\s\ \=\ \4\
\p\m\.\m\a\x\_\s\p\a\r\e\_\s\e\r\v\e\r\s\ \=\ \8\
\p\m\.\s\t\a\t\u\s\_\p\a\t\h\ \=\ \/\s\t\a\t\u\s\
\s\l\o\w\l\o\g\ \=\ \l\o\g\/\$\p\o\o\l\.\l\o\g\.\s\l\o\w ]]
+ local CONF=/etc/mysql/mariadb.conf.d/91-ncp.cnf
++ cat /etc/mysql/mariadb.conf.d/91-ncp.cnf
+ CONF_VALUE='[mysqld]
transaction_isolation = READ-COMMITTED
innodb_large_prefix=true
innodb_file_per_table=1
innodb_file_format=barracuda
max_allowed_packet=256M
[mysqldump]
max_allowed_packet = 256M
[server]
# innodb settings
skip-name-resolve
innodb_buffer_pool_size = 943796224
innodb_buffer_pool_instances = 1
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 32M
innodb_max_dirty_pages_pct = 90
innodb_log_file_size = 32M
# disable query cache
query_cache_type = 0
query_cache_size = 0
# other
tmp_table_size= 64M
max_heap_table_size= 64M'
+ install_template mysql/91-ncp.cnf.sh /etc/mysql/mariadb.conf.d/91-ncp.cnf
+ local template=mysql/91-ncp.cnf.sh
+ local target=/etc/mysql/mariadb.conf.d/91-ncp.cnf
++ mktemp
+ local bkp=/tmp/tmp.9zuO2Go1vn
+ echo 'Installing template '\''mysql/91-ncp.cnf.sh'\''...'
Installing template 'mysql/91-ncp.cnf.sh'...
++ dirname /etc/mysql/mariadb.conf.d/91-ncp.cnf
+ mkdir -p /etc/mysql/mariadb.conf.d
+ [[ -f /etc/mysql/mariadb.conf.d/91-ncp.cnf ]]
+ cp -a /etc/mysql/mariadb.conf.d/91-ncp.cnf /tmp/tmp.9zuO2Go1vn
+ [[ '' == \-\-\d\e\f\a\u\l\t\s ]]
+ bash /usr/local/etc/ncp-templates/mysql/91-ncp.cnf.sh
+ rm /tmp/tmp.9zuO2Go1vn
++ cat /etc/mysql/mariadb.conf.d/91-ncp.cnf
+ [[ [mysqld]
transaction_isolation = READ-COMMITTED
innodb_large_prefix=true
innodb_file_per_table=1
innodb_file_format=barracuda
max_allowed_packet=256M
[mysqldump]
max_allowed_packet = 256M
[server]
# innodb settings
skip-name-resolve
innodb_buffer_pool_size = 943796224
innodb_buffer_pool_instances = 1
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 32M
innodb_max_dirty_pages_pct = 90
innodb_log_file_size = 32M
# disable query cache
query_cache_type = 0
query_cache_size = 0
# other
tmp_table_size= 64M
max_heap_table_size= 64M == \[\m\y\s\q\l\d\]\
\t\r\a\n\s\a\c\t\i\o\n\_\i\s\o\l\a\t\i\o\n\ \=\ \R\E\A\D\-\C\O\M\M\I\T\T\E\D\
\i\n\n\o\d\b\_\l\a\r\g\e\_\p\r\e\f\i\x\=\t\r\u\e\
\i\n\n\o\d\b\_\f\i\l\e\_\p\e\r\_\t\a\b\l\e\=\1\
\i\n\n\o\d\b\_\f\i\l\e\_\f\o\r\m\a\t\=\b\a\r\r\a\c\u\d\a\
\m\a\x\_\a\l\l\o\w\e\d\_\p\a\c\k\e\t\=\2\5\6\M\
\
\[\m\y\s\q\l\d\u\m\p\]\
\m\a\x\_\a\l\l\o\w\e\d\_\p\a\c\k\e\t\ \=\ \2\5\6\M\
\
\[\s\e\r\v\e\r\]\
\#\ \i\n\n\o\d\b\ \s\e\t\t\i\n\g\s\
\s\k\i\p\-\n\a\m\e\-\r\e\s\o\l\v\e\
\i\n\n\o\d\b\_\b\u\f\f\e\r\_\p\o\o\l\_\s\i\z\e\ \=\ \9\4\3\7\9\6\2\2\4\
\i\n\n\o\d\b\_\b\u\f\f\e\r\_\p\o\o\l\_\i\n\s\t\a\n\c\e\s\ \=\ \1\
\i\n\n\o\d\b\_\f\l\u\s\h\_\l\o\g\_\a\t\_\t\r\x\_\c\o\m\m\i\t\ \=\ \2\
\i\n\n\o\d\b\_\l\o\g\_\b\u\f\f\e\r\_\s\i\z\e\ \=\ \3\2\M\
\i\n\n\o\d\b\_\m\a\x\_\d\i\r\t\y\_\p\a\g\e\s\_\p\c\t\ \=\ \9\0\
\i\n\n\o\d\b\_\l\o\g\_\f\i\l\e\_\s\i\z\e\ \=\ \3\2\M\
\
\#\ \d\i\s\a\b\l\e\ \q\u\e\r\y\ \c\a\c\h\e\
\q\u\e\r\y\_\c\a\c\h\e\_\t\y\p\e\ \=\ \0\
\q\u\e\r\y\_\c\a\c\h\e\_\s\i\z\e\ \=\ \0\
\
\#\ \o\t\h\e\r\
\t\m\p\_\t\a\b\l\e\_\s\i\z\e\=\ \6\4\M\
\m\a\x\_\h\e\a\p\_\t\a\b\l\e\_\s\i\z\e\=\ \6\4\M ]]
+ [[ false == \t\r\u\e ]]
+ local CONF=/etc/redis/redis.conf
++ grep '^maxmemory' /etc/redis/redis.conf
++ awk '{ print $2 }'
+ local 'CURRENT_REDIS_MEM=allkeys-lru
0'
+ [[ 0 != \a\l\l\k\e\y\s\-\l\r\u\
\0 ]]
+ sed -i 's|^maxmemory .*|maxmemory 0|' /etc/redis/redis.conf
+ chown redis:redis /etc/redis/redis.conf
+ service redis-server restart
Connection lost
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
Setup notify_push (attempt 1/5)
✓ redis is configured
✓ push server is receiving redis messages
✓ push server can load mount info from database
✓ push server can connect to the Nextcloud server
✓ push server is a trusted proxy
✓ push server is running the same version as the app
configuration saved
[ letsencrypt ] (Tue Sep 16 18:51:08 UTC 2025)
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Renewing an existing certificate for nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net
Hook 'deploy-hook' ran with output:
Notification with ID 8
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net/fullchain.pem
Key is saved at: /etc/letsencrypt/live/nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net/privkey.pem
This certificate expires on 2025-12-15.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you like Certbot, please consider supporting our work by:
* Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
* Donating to EFF: https://eff.org/donate-le
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Installing template 'nextcloud.conf.sh'...
INFO: Letsencrypt domain is nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net
INFO: Metrics enabled: no
Apache self check:
Syntax OK
System config value trusted_domains => 11 set to string nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net
System config value trusted_domains => 3 set to string nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net
System config value overwrite.cli.url set to string https://nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net/
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
Setup notify_push (attempt 1/5)
✓ redis is configured
✓ push server is receiving redis messages
✓ push server can load mount info from database
✓ push server can connect to the Nextcloud server
✓ push server is a trusted proxy
✓ push server is running the same version as the app
configuration saved
[ nc-limits ] (Wed Sep 17 09:27:47 AM UTC 2025)
+ configure
++ get_total_mem
+++ free -b
+++ awk '{ print $2 }'
+++ sed -n 2p
++ local total_mem=3976511488
++ local MAX_32BIT=4096000000
++ [[ aarch64 == \a\r\m\v\7 ]]
++ echo 3976511488
+ local TOTAL_MEM=3976511488
+ file /bin/bash
+ grep 64-bit
+ local AUTOMEM=2982383616
+ local require_fpm_restart=false
+ local CONF=/etc/php/8.3/fpm/conf.d/90-ncp.ini
++ cat /etc/php/8.3/fpm/conf.d/90-ncp.ini
+ local 'CONF_VALUE=; disable .user.ini files for performance and workaround NC update bugs
user_ini.filename =
; from Nextcloud .user.ini
upload_max_filesize=100G
post_max_size=100G
memory_limit=2982383616
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset='\''UTF-8'\''
output_buffering=0
; slow transfers will be killed after this time
max_execution_time=3600
max_input_time=3600'
++ tmpl_php_max_memory
+++ get_total_mem
++++ free -b
++++ sed -n 2p
++++ awk '{ print $2 }'
+++ local total_mem=3976511488
+++ local MAX_32BIT=4096000000
+++ [[ aarch64 == \a\r\m\v\7 ]]
+++ echo 3976511488
++ local TOTAL_MEM=3976511488
+++ find_app_param nc-limits MEMORYLIMIT
+++ local script=nc-limits
+++ local param_id=MEMORYLIMIT
++++ basename nc-limits .sh
+++ local ncp_app=nc-limits
+++ local cfg_file=/usr/local/etc/ncp-config.d/nc-limits.cfg
++++ find_app_param_num nc-limits MEMORYLIMIT
++++ local script=nc-limits
++++ local param_id=MEMORYLIMIT
+++++ basename nc-limits .sh
++++ local ncp_app=nc-limits
++++ local cfg_file=/usr/local/etc/ncp-config.d/nc-limits.cfg
++++ [[ -f /usr/local/etc/ncp-config.d/nc-limits.cfg ]]
+++++ cat /usr/local/etc/ncp-config.d/nc-limits.cfg
++++ local 'cfg={
"id": "nc-limits",
"name": "Nc-limits",
"title": "nc-limits",
"description": "Configure system limits for NextcloudPi",
"info": "Examples: 200M or 2G. Write 0 for autoconfig",
"infotitle": "",
"params": [
{
"id": "MAXFILESIZE",
"name": "Maximum file size",
"value": "100G",
"default": "10G",
"suggest": "10G"
},
{
"id": "MEMORYLIMIT",
"name": "Memory limit",
"value": "0",
"default": "0",
"suggest": "0"
},
{
"id": "PHPTHREADS",
"name": "PHP threads",
"value": "0",
"default": "0",
"suggest": "0"
},
{
"id": "REDISMEM",
"name": "Redis memory",
"value": "0",
"default": "0",
"suggest": "0"
}
]
}'
+++++ jq '.params | length'
++++ local len=4
++++ (( i = 0 ))
++++ (( i < len ))
+++++ jq -r '.params[0].id'
++++ local p_id=MAXFILESIZE
++++ [[ MEMORYLIMIT == \M\A\X\F\I\L\E\S\I\Z\E ]]
++++ (( i++ ))
++++ (( i < len ))
+++++ jq -r '.params[1].id'
++++ local p_id=MEMORYLIMIT
++++ [[ MEMORYLIMIT == \M\E\M\O\R\Y\L\I\M\I\T ]]
++++ echo 1
++++ return 0
+++ local p_num=1
+++ jq -r '.params[1].value'
++ local MEMORYLIMIT=0
++ [[ 0 == \0 ]]
++ echo -n 2982383616
+ echo 'Using 2982383616 for PHP max memory'
Using 2982383616 for PHP max memory
+ install_template php/90-ncp.ini.sh /etc/php/8.3/fpm/conf.d/90-ncp.ini
+ local template=php/90-ncp.ini.sh
+ local target=/etc/php/8.3/fpm/conf.d/90-ncp.ini
++ mktemp
+ local bkp=/tmp/tmp.qYY0rlp5nu
+ echo 'Installing template '\''php/90-ncp.ini.sh'\''...'
Installing template 'php/90-ncp.ini.sh'...
++ dirname /etc/php/8.3/fpm/conf.d/90-ncp.ini
+ mkdir -p /etc/php/8.3/fpm/conf.d
+ [[ -f /etc/php/8.3/fpm/conf.d/90-ncp.ini ]]
+ cp -a /etc/php/8.3/fpm/conf.d/90-ncp.ini /tmp/tmp.qYY0rlp5nu
+ [[ '' == \-\-\d\e\f\a\u\l\t\s ]]
+ bash /usr/local/etc/ncp-templates/php/90-ncp.ini.sh
+ rm /tmp/tmp.qYY0rlp5nu
++ cat /etc/php/8.3/fpm/conf.d/90-ncp.ini
+ [[ ; disable .user.ini files for performance and workaround NC update bugs
user_ini.filename =
; from Nextcloud .user.ini
upload_max_filesize=100G
post_max_size=100G
memory_limit=2982383616
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset='UTF-8'
output_buffering=0
; slow transfers will be killed after this time
max_execution_time=3600
max_input_time=3600 == \;\ \d\i\s\a\b\l\e\ \.\u\s\e\r\.\i\n\i\ \f\i\l\e\s\ \f\o\r\ \p\e\r\f\o\r\m\a\n\c\e\ \a\n\d\ \w\o\r\k\a\r\o\u\n\d\ \N\C\ \u\p\d\a\t\e\ \b\u\g\s\
\u\s\e\r\_\i\n\i\.\f\i\l\e\n\a\m\e\ \=\
\
\;\ \f\r\o\m\ \N\e\x\t\c\l\o\u\d\ \.\u\s\e\r\.\i\n\i\
\u\p\l\o\a\d\_\m\a\x\_\f\i\l\e\s\i\z\e\=\1\0\0\G\
\p\o\s\t\_\m\a\x\_\s\i\z\e\=\1\0\0\G\
\m\e\m\o\r\y\_\l\i\m\i\t\=\2\9\8\2\3\8\3\6\1\6\
\m\b\s\t\r\i\n\g\.\f\u\n\c\_\o\v\e\r\l\o\a\d\=\0\
\a\l\w\a\y\s\_\p\o\p\u\l\a\t\e\_\r\a\w\_\p\o\s\t\_\d\a\t\a\=\-\1\
\d\e\f\a\u\l\t\_\c\h\a\r\s\e\t\=\'\U\T\F\-\8\'\
\o\u\t\p\u\t\_\b\u\f\f\e\r\i\n\g\=\0\
\
\;\ \s\l\o\w\ \t\r\a\n\s\f\e\r\s\ \w\i\l\l\ \b\e\ \k\i\l\l\e\d\ \a\f\t\e\r\ \t\h\i\s\ \t\i\m\e\
\m\a\x\_\e\x\e\c\u\t\i\o\n\_\t\i\m\e\=\3\6\0\0\
\m\a\x\_\i\n\p\u\t\_\t\i\m\e\=\3\6\0\0 ]]
+ local CONF=/etc/php/8.3/fpm/pool.d/www.conf
++ cat /etc/php/8.3/fpm/pool.d/www.conf
+ CONF_VALUE='[www]
user = www-data
group = www-data
listen = /run/php/php8.3-fpm.sock
listen.owner = www-data
listen.group = www-data
pm = static
pm.max_children = 37
pm.start_servers = 4
pm.min_spare_servers = 4
pm.max_spare_servers = 8
pm.status_path = /status
slowlog = log/$pool.log.slow'
++ tmpl_php_threads
+++ get_total_mem
++++ free -b
++++ awk '{ print $2 }'
++++ sed -n 2p
+++ local total_mem=3976511488
+++ local MAX_32BIT=4096000000
+++ [[ aarch64 == \a\r\m\v\7 ]]
+++ echo 3976511488
++ local TOTAL_MEM=3976511488
+++ find_app_param nc-limits PHPTHREADS
+++ local script=nc-limits
+++ local param_id=PHPTHREADS
++++ basename nc-limits .sh
+++ local ncp_app=nc-limits
+++ local cfg_file=/usr/local/etc/ncp-config.d/nc-limits.cfg
++++ find_app_param_num nc-limits PHPTHREADS
++++ local script=nc-limits
++++ local param_id=PHPTHREADS
+++++ basename nc-limits .sh
++++ local ncp_app=nc-limits
++++ local cfg_file=/usr/local/etc/ncp-config.d/nc-limits.cfg
++++ [[ -f /usr/local/etc/ncp-config.d/nc-limits.cfg ]]
+++++ cat /usr/local/etc/ncp-config.d/nc-limits.cfg
++++ local 'cfg={
"id": "nc-limits",
"name": "Nc-limits",
"title": "nc-limits",
"description": "Configure system limits for NextcloudPi",
"info": "Examples: 200M or 2G. Write 0 for autoconfig",
"infotitle": "",
"params": [
{
"id": "MAXFILESIZE",
"name": "Maximum file size",
"value": "100G",
"default": "10G",
"suggest": "10G"
},
{
"id": "MEMORYLIMIT",
"name": "Memory limit",
"value": "0",
"default": "0",
"suggest": "0"
},
{
"id": "PHPTHREADS",
"name": "PHP threads",
"value": "0",
"default": "0",
"suggest": "0"
},
{
"id": "REDISMEM",
"name": "Redis memory",
"value": "0",
"default": "0",
"suggest": "0"
}
]
}'
+++++ jq '.params | length'
++++ local len=4
++++ (( i = 0 ))
++++ (( i < len ))
+++++ jq -r '.params[0].id'
++++ local p_id=MAXFILESIZE
++++ [[ PHPTHREADS == \M\A\X\F\I\L\E\S\I\Z\E ]]
++++ (( i++ ))
++++ (( i < len ))
+++++ jq -r '.params[1].id'
++++ local p_id=MEMORYLIMIT
++++ [[ PHPTHREADS == \M\E\M\O\R\Y\L\I\M\I\T ]]
++++ (( i++ ))
++++ (( i < len ))
+++++ jq -r '.params[2].id'
++++ local p_id=PHPTHREADS
++++ [[ PHPTHREADS == \P\H\P\T\H\R\E\A\D\S ]]
++++ echo 2
++++ return 0
+++ local p_num=2
+++ jq -r '.params[2].value'
++ local PHPTHREADS=0
++ [[ 0 -eq 0 ]]
++ PHPTHREADS=37
++ [[ 37 -lt 16 ]]
++ echo -n 37
+ echo 'Using 37 PHP threads'
Using 37 PHP threads
+ install_template php/pool.d.www.conf.sh /etc/php/8.3/fpm/pool.d/www.conf
+ local template=php/pool.d.www.conf.sh
+ local target=/etc/php/8.3/fpm/pool.d/www.conf
++ mktemp
+ local bkp=/tmp/tmp.KAYFFmFymN
+ echo 'Installing template '\''php/pool.d.www.conf.sh'\''...'
Installing template 'php/pool.d.www.conf.sh'...
++ dirname /etc/php/8.3/fpm/pool.d/www.conf
+ mkdir -p /etc/php/8.3/fpm/pool.d
+ [[ -f /etc/php/8.3/fpm/pool.d/www.conf ]]
+ cp -a /etc/php/8.3/fpm/pool.d/www.conf /tmp/tmp.KAYFFmFymN
+ [[ '' == \-\-\d\e\f\a\u\l\t\s ]]
+ bash /usr/local/etc/ncp-templates/php/pool.d.www.conf.sh
System config value trusted_domains => 3 set to string nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net
System config value overwrite.cli.url set to string https://nextcloudpi.bdbjjpfmczqsbdw1.myfritz.net/
+ rm /tmp/tmp.KAYFFmFymN
++ cat /etc/php/8.3/fpm/pool.d/www.conf
+ [[ [www]
user = www-data
group = www-data
listen = /run/php/php8.3-fpm.sock
listen.owner = www-data
listen.group = www-data
pm = static
pm.max_children = 37
pm.start_servers = 4
pm.min_spare_servers = 4
pm.max_spare_servers = 8
pm.status_path = /status
slowlog = log/$pool.log.slow == \[\w\w\w\]\
\u\s\e\r\ \=\ \w\w\w\-\d\a\t\a\
\g\r\o\u\p\ \=\ \w\w\w\-\d\a\t\a\
\l\i\s\t\e\n\ \=\ \/\r\u\n\/\p\h\p\/\p\h\p\8\.\3\-\f\p\m\.\s\o\c\k\
\l\i\s\t\e\n\.\o\w\n\e\r\ \=\ \w\w\w\-\d\a\t\a\
\l\i\s\t\e\n\.\g\r\o\u\p\ \=\ \w\w\w\-\d\a\t\a\
\p\m\ \=\ \s\t\a\t\i\c\
\p\m\.\m\a\x\_\c\h\i\l\d\r\e\n\ \=\ \3\7\
\p\m\.\s\t\a\r\t\_\s\e\r\v\e\r\s\ \=\ \4\
\p\m\.\m\i\n\_\s\p\a\r\e\_\s\e\r\v\e\r\s\ \=\ \4\
\p\m\.\m\a\x\_\s\p\a\r\e\_\s\e\r\v\e\r\s\ \=\ \8\
\p\m\.\s\t\a\t\u\s\_\p\a\t\h\ \=\ \/\s\t\a\t\u\s\
\s\l\o\w\l\o\g\ \=\ \l\o\g\/\$\p\o\o\l\.\l\o\g\.\s\l\o\w ]]
+ local CONF=/etc/mysql/mariadb.conf.d/91-ncp.cnf
++ cat /etc/mysql/mariadb.conf.d/91-ncp.cnf
+ CONF_VALUE='[mysqld]
transaction_isolation = READ-COMMITTED
innodb_large_prefix=true
innodb_file_per_table=1
innodb_file_format=barracuda
max_allowed_packet=256M
[mysqldump]
max_allowed_packet = 256M
[server]
# innodb settings
skip-name-resolve
innodb_buffer_pool_size = 943796224
innodb_buffer_pool_instances = 1
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 32M
innodb_max_dirty_pages_pct = 90
innodb_log_file_size = 32M
# disable query cache
query_cache_type = 0
query_cache_size = 0
# other
tmp_table_size= 64M
max_heap_table_size= 64M'
+ install_template mysql/91-ncp.cnf.sh /etc/mysql/mariadb.conf.d/91-ncp.cnf
+ local template=mysql/91-ncp.cnf.sh
+ local target=/etc/mysql/mariadb.conf.d/91-ncp.cnf
++ mktemp
+ local bkp=/tmp/tmp.X14l10jNkP
+ echo 'Installing template '\''mysql/91-ncp.cnf.sh'\''...'
Installing template 'mysql/91-ncp.cnf.sh'...
++ dirname /etc/mysql/mariadb.conf.d/91-ncp.cnf
+ mkdir -p /etc/mysql/mariadb.conf.d
+ [[ -f /etc/mysql/mariadb.conf.d/91-ncp.cnf ]]
+ cp -a /etc/mysql/mariadb.conf.d/91-ncp.cnf /tmp/tmp.X14l10jNkP
+ [[ '' == \-\-\d\e\f\a\u\l\t\s ]]
+ bash /usr/local/etc/ncp-templates/mysql/91-ncp.cnf.sh
+ rm /tmp/tmp.X14l10jNkP
++ cat /etc/mysql/mariadb.conf.d/91-ncp.cnf
+ [[ [mysqld]
transaction_isolation = READ-COMMITTED
innodb_large_prefix=true
innodb_file_per_table=1
innodb_file_format=barracuda
max_allowed_packet=256M
[mysqldump]
max_allowed_packet = 256M
[server]
# innodb settings
skip-name-resolve
innodb_buffer_pool_size = 943796224
innodb_buffer_pool_instances = 1
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 32M
innodb_max_dirty_pages_pct = 90
innodb_log_file_size = 32M
# disable query cache
query_cache_type = 0
query_cache_size = 0
# other
tmp_table_size= 64M
max_heap_table_size= 64M == \[\m\y\s\q\l\d\]\
\t\r\a\n\s\a\c\t\i\o\n\_\i\s\o\l\a\t\i\o\n\ \=\ \R\E\A\D\-\C\O\M\M\I\T\T\E\D\
\i\n\n\o\d\b\_\l\a\r\g\e\_\p\r\e\f\i\x\=\t\r\u\e\
\i\n\n\o\d\b\_\f\i\l\e\_\p\e\r\_\t\a\b\l\e\=\1\
\i\n\n\o\d\b\_\f\i\l\e\_\f\o\r\m\a\t\=\b\a\r\r\a\c\u\d\a\
\m\a\x\_\a\l\l\o\w\e\d\_\p\a\c\k\e\t\=\2\5\6\M\
\
\[\m\y\s\q\l\d\u\m\p\]\
\m\a\x\_\a\l\l\o\w\e\d\_\p\a\c\k\e\t\ \=\ \2\5\6\M\
\
\[\s\e\r\v\e\r\]\
\#\ \i\n\n\o\d\b\ \s\e\t\t\i\n\g\s\
\s\k\i\p\-\n\a\m\e\-\r\e\s\o\l\v\e\
\i\n\n\o\d\b\_\b\u\f\f\e\r\_\p\o\o\l\_\s\i\z\e\ \=\ \9\4\3\7\9\6\2\2\4\
\i\n\n\o\d\b\_\b\u\f\f\e\r\_\p\o\o\l\_\i\n\s\t\a\n\c\e\s\ \=\ \1\
\i\n\n\o\d\b\_\f\l\u\s\h\_\l\o\g\_\a\t\_\t\r\x\_\c\o\m\m\i\t\ \=\ \2\
\i\n\n\o\d\b\_\l\o\g\_\b\u\f\f\e\r\_\s\i\z\e\ \=\ \3\2\M\
\i\n\n\o\d\b\_\m\a\x\_\d\i\r\t\y\_\p\a\g\e\s\_\p\c\t\ \=\ \9\0\
\i\n\n\o\d\b\_\l\o\g\_\f\i\l\e\_\s\i\z\e\ \=\ \3\2\M\
\
\#\ \d\i\s\a\b\l\e\ \q\u\e\r\y\ \c\a\c\h\e\
\q\u\e\r\y\_\c\a\c\h\e\_\t\y\p\e\ \=\ \0\
\q\u\e\r\y\_\c\a\c\h\e\_\s\i\z\e\ \=\ \0\
\
\#\ \o\t\h\e\r\
\t\m\p\_\t\a\b\l\e\_\s\i\z\e\=\ \6\4\M\
\m\a\x\_\h\e\a\p\_\t\a\b\l\e\_\s\i\z\e\=\ \6\4\M ]]
+ [[ false == \t\r\u\e ]]
+ local CONF=/etc/redis/redis.conf
++ grep '^maxmemory' /etc/redis/redis.conf
++ awk '{ print $2 }'
+ local 'CURRENT_REDIS_MEM=allkeys-lru
0'
+ [[ 0 != \a\l\l\k\e\y\s\-\l\r\u\
\0 ]]
+ sed -i 's|^maxmemory .*|maxmemory 0|' /etc/redis/redis.conf
+ chown redis:redis /etc/redis/redis.conf
+ service redis-server restart
Redis server /var/run/redis/redis.sock:0 went away
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
Setup notify_push (attempt 1/5)
✓ redis is configured
✓ push server is receiving redis messages
✓ push server can load mount info from database
✓ push server can connect to the Nextcloud server
✓ push server is a trusted proxy
✓ push server is running the same version as the app
configuration saved
[ SSH ] (Wed Sep 17 09:36:49 UTC 2025)
ncpadmin exists, changing password
New password: Retype new password: passwd: password updated successfully
Enabled sudo for ncpadmin
Synchronizing state of ssh.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable ssh
SSH enabled
[ SSH ] (Wed Sep 17 10:01:16 UTC 2025)
Synchronizing state of ssh.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable ssh
Removed "/etc/systemd/system/multi-user.target.wants/ssh.service".
Removed "/etc/systemd/system/sshd.service".
SSH disabled
[ SSH ] (Wed Sep 17 10:03:28 UTC 2025)
ncpadmin exists, changing password
New password: Retype new password: passwd: password updated successfully
Enabled sudo for ncpadmin
Synchronizing state of ssh.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable ssh
Created symlink /etc/systemd/system/sshd.service → /lib/systemd/system/ssh.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ssh.service → /lib/systemd/system/ssh.service.
SSH enabled
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
PASTE
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
cannot acces /var, see steps to replicate
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
ncpadmin@nextcloudpi:~$ occ config:list system
-bash: occ: command not found
Apps
The output of occ app:list (if possible).
-bash: occ: command not found
Tips for increasing the likelihood of a response
- Use the
preformatted textformatting option in the editor for all log entries and configuration output. - If screenshots are useful, feel free to include them.
- If possible, also include key error output in text form so it can be searched for.
- Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.