Starting redis-server: /etc/init.d/redis-server: 51: ulimit: error setting limit (Operation not permitted)

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

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 :heart:

Nextcloud version 25.0.3.2
|NextcloudPi version|v1.51.0|
|NextcloudPi image|NextcloudPi_docker_01-22-23|
|OS|Debian GNU/Linux 11. 5.10.92-v8 (aarch64)|
Apache/2.4.56 (Debian)
PHP 8.1.14 (cli) (built: Jan 13 2023 10:38:02) (NTS)

System Info

‣ You should run Lets Encrypt for trusted encrypted access

‣ You should open your ports for Lets Encrypt and external access

NextcloudPi version v1.51.0
NextcloudPi image NextcloudPi_docker_01-22-23
OS Debian GNU/Linux 11. 5.10.92-v8 (aarch64)
automount no
USB devices none
datadir /data/ncdata/data
data in SD yes
data filesystem ext2/ext3
data disk usage 18G/27G
rootfs usage 18G/27G
swapfile none
dbdir /data/database
Nextcloud check ok
Nextcloud version 25.0.3.2
HTTPD service up
PHP service up
MariaDB service up
Redis service up
HPB service up
Postfix service up
Internet check ok
Public IPv4 123.126.82.8
Public IPv6 not found
Port 80 closed
Port 443 closed
IP 172.17.0.7
Gateway 172.17.0.1
Interface eth0
Certificates none
NAT loopback no
Uptime 2days

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

  1. docker run --detach
    –publish 14443:4443
    –publish 6080:443
    –volume ncdata:/data
    –name nextcloudpi
    ownyourbits/nextcloudpi-arm64:latest 192.168.1.2
  2. https://192.168.200.1:14443 ignore remote setting and default setting
  3. https://192.168.200.1:6080/i

The output of your Nextcloud log in Admin > Logging:

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php $CONFIG = array ( 'passwordsalt' => 'DUp6+5u8oatAlREvSkJPG+/R4+GOB/', 'secret' => 'jkR91hJET1rC01sFDcfYEY2v7yYD6kR3RiZGFoes0UiUWOIE', 'trusted_domains' => array ( 0 => 'localhost', 7 => 'nextcloudpi', 5 => 'nextcloudpi.local', 8 => 'nextcloudpi.lan', 3 => '0ae6462365d2', 11 => '123.126.82.8', 1 => '172.17.0.7', 14 => '0ae6462365d2', 6 => '*:6080', ), 'datadirectory' => '/data/ncdata/data', 'dbtype' => 'mysql', 'version' => '25.0.3.2', 'overwrite.cli.url' => 'https://0ae6462365d2/', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'ncadmin', 'dbpassword' => 'YSiaqvXKiFhUNMg1yChRRu8fykBb8AmEjRFvzsdG+HI=', 'installed' => true, 'instanceid' => 'ockemphm674h', 'memcache.local' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => '/var/run/redis/redis.sock', 'port' => 0, 'timeout' => 0.0, 'password' => '/nNg4iBszw7WILcGvcgnO9znyz9/sfJpOH2zLlXYHq4=', ), 'tempdirectory' => '/data/ncdata/data/tmp', 'mail_smtpmode' => 'sendmail', 'mail_smtpauthtype' => 'LOGIN', 'mail_from_address' => 'admin', 'mail_domain' => 'ownyourbits.com', 'preview_max_x' => '1024', 'preview_max_y' => '1024', 'jpeg_quality' => '60', 'overwriteprotocol' => 'https', 'trusted_proxies' => array ( 11 => '127.0.0.1', 12 => '::1', 13 => '0ae6462365d2', 14 => '', ), 'maintenance' => false, 'allow_local_remote_servers' => true, ); The output of your Apache/nginx/system log in `/var/log/____`: ``` PASTE HERE ``` PASTE HERE ``` Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary. Stopping redis-server: redis-server. Starting redis-server: /etc/init.d/redis-server: 51: ulimit: error setting limit (Operation not permitted) redis-server. Starting redis-server: /etc/init.d/redis-server: 51: ulimit: error setting limit (Operation not permitted) redis-server. Starting notify_push daemon