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).
The Basics
- Nextcloud Server version (e.g., 29.x.x):
32.0.0
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04.3 LTS
- Web server and version (e.g, Apache 2.4.25):
Apache 2.4.58 (Ubuntu)
- Reverse proxy and version _(e.g. nginx 1.27.2)
Apache 2.4.58 (?)
- PHP version (e.g, 8.3):
8.3
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
As soon as I tried to setup Client Push
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Bare Metal
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
Total Linux noob here (but I’m learning).
After installing Nextcloud and getting it setup and working, I’ve been going through tuning it. Took me a bit to get Redis working, but that seems to be up and running fine.
I followed this guide to install Redis - https://bobcares.com/blog/memcache-in-nextcloud/ , though my Redis socket is /var/run/redis/redis-server.sock (not redis.sock).
When I run the Client Push setup wizard, I get the following error:
🗴 'overwrite.cli.url' is set to localhost, the push server will not be reachable from other machines
🗴 failed to run self-test with auto-generated config.
test output: [2025-10-21 14:30:49.524792 +00:00] ERROR [notify_push] src/main.rs:84: Self test failed: Error while communicating with nextcloud instance: error sending request for url (https://localhost/index.php/apps/notify_push/test/version)
[2025-10-21 14:30:49.619278 +00:00] WARN [notify_push] /build/source/src/lib.rs:286: Error while trying to get cookie from Nextcloud error sending request for url (https://localhost/index.php/apps/notify_push/test/cookie)
[2025-10-21 14:30:49.621155 +00:00] INFO [notify_push] src/main.rs:123: shutdown signal received, shutting down
✓ redis is configured
🗴 using unencrypted http for push server is strongly discouraged
🗴 push server URL is set to localhost, the push server will not be reachable from other machines
✓ push server is receiving redis messages
✓ push server can load mount info from database
🗴 push server can't connect to the Nextcloud server
error sending request for url (https://localhost/index.php/apps/notify_push/test/cookie)
See the steps in the README for manual setup instructions: https://github.com/nextcloud/notify_push
So I tried manual setup, following this guide: Setting up client push for Nextcloud | Arno Welzel . However, when I get to running sudo php /var/www/html/nextcloud/occ notify_push:self-test I get this:
An unhandled exception has been thrown:
RedisException: Permission denied in /var/www/html/nextcloud/lib/private/RedisFactory.php:104
Stack trace:
#0 /var/www/html/nextcloud/lib/private/RedisFactory.php(104): Redis->pconnect()
#1 /var/www/html/nextcloud/lib/private/RedisFactory.php(148): OC\RedisFactory->create()
#2 /var/www/html/nextcloud/lib/private/Memcache/Redis.php(54): OC\RedisFactory->getInstance()
#3 /var/www/html/nextcloud/lib/private/Memcache/Redis.php(60): OC\Memcache\Redis->getCache()
#4 /var/www/html/nextcloud/lib/private/AppConfig.php(1333): OC\Memcache\Redis->get()
#5 /var/www/html/nextcloud/lib/private/AppConfig.php(284): OC\AppConfig->loadConfig()
#6 /var/www/html/nextcloud/lib/private/AppConfig.php(1832): OC\AppConfig->searchValues()
#7 /var/www/html/nextcloud/lib/private/Memcache/Factory.php(119): OC\AppConfig->getAppInstalledVersions()
#8 /var/www/html/nextcloud/lib/private/Memcache/Factory.php(147): OC\Memcache\Factory->getGlobalPrefix()
#9 /var/www/html/nextcloud/lib/private/Server.php(932): OC\Memcache\Factory->createLocking()
#10 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(169): OC\Server->OC\{closure}()
#11 /var/www/html/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#12 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(136): Pimple\Container->offsetGet()
#13 /var/www/html/nextcloud/lib/private/ServerContainer.php(154): OC\AppFramework\Utility\SimpleContainer->query()
#14 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(45): OC\ServerContainer->query()
#15 /var/www/html/nextcloud/lib/private/Files/View.php(76): OC\AppFramework\Utility\SimpleContainer->get()
#16 /var/www/html/nextcloud/lib/private/Server.php(419): OC\Files\View->__construct()
#17 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(169): OC\Server->OC\{closure}()
#18 /var/www/html/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#19 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(136): Pimple\Container->offsetGet()
#20 /var/www/html/nextcloud/lib/private/ServerContainer.php(154): OC\AppFramework\Utility\SimpleContainer->query()
#21 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(45): OC\ServerContainer->query()
#22 /var/www/html/nextcloud/lib/private/Server.php(1257): OC\AppFramework\Utility\SimpleContainer->get()
#23 /var/www/html/nextcloud/lib/base.php(635): OC\Server->boot()
#24 /var/www/html/nextcloud/lib/base.php(1192): OC::init()
#25 /var/www/html/nextcloud/console.php(31): require_once('...')
#26 /var/www/html/nextcloud/occ(33): require_once('...')
So I’m kindof lost as to what I’m doing wrong. I’m thinking that because Redis is using a socket instead of a port, maybe that has something to do with it. Or maybe it’s a permission issue.
Log entries
Nextcloud
The only error in my Nextcloud log comes when I try to run the Client Push setup wizard.
rewind(): Stream does not support seeking at /var/www/html/nextcloud/apps/notify_push/lib/SetupWizard.php#138
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
An unhandled exception has been thrown:
RedisException: Permission denied in /var/www/html/nextcloud/lib/private/RedisFactory.php:104
Stack trace:
#0 /var/www/html/nextcloud/lib/private/RedisFactory.php(104): Redis->pconnect()
#1 /var/www/html/nextcloud/lib/private/RedisFactory.php(148): OC\RedisFactory->create()
#2 /var/www/html/nextcloud/lib/private/Memcache/Redis.php(54): OC\RedisFactory->getInstance()
#3 /var/www/html/nextcloud/lib/private/Memcache/Redis.php(60): OC\Memcache\Redis->getCache()
#4 /var/www/html/nextcloud/lib/private/AppConfig.php(1333): OC\Memcache\Redis->get()
#5 /var/www/html/nextcloud/lib/private/AppConfig.php(284): OC\AppConfig->loadConfig()
#6 /var/www/html/nextcloud/lib/private/AppConfig.php(1832): OC\AppConfig->searchValues()
#7 /var/www/html/nextcloud/lib/private/Memcache/Factory.php(119): OC\AppConfig->getAppInstalledVersions()
#8 /var/www/html/nextcloud/lib/private/Memcache/Factory.php(147): OC\Memcache\Factory->getGlobalPrefix()
#9 /var/www/html/nextcloud/lib/private/Server.php(932): OC\Memcache\Factory->createLocking()
#10 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(169): OC\Server->OC\{closure}()
#11 /var/www/html/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#12 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(136): Pimple\Container->offsetGet()
#13 /var/www/html/nextcloud/lib/private/ServerContainer.php(154): OC\AppFramework\Utility\SimpleContainer->query()
#14 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(45): OC\ServerContainer->query()
#15 /var/www/html/nextcloud/lib/private/Files/View.php(76): OC\AppFramework\Utility\SimpleContainer->get()
#16 /var/www/html/nextcloud/lib/private/Server.php(419): OC\Files\View->__construct()
#17 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(169): OC\Server->OC\{closure}()
#18 /var/www/html/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#19 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(136): Pimple\Container->offsetGet()
#20 /var/www/html/nextcloud/lib/private/ServerContainer.php(154): OC\AppFramework\Utility\SimpleContainer->query()
#21 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(45): OC\ServerContainer->query()
#22 /var/www/html/nextcloud/lib/private/Server.php(1257): OC\AppFramework\Utility\SimpleContainer->get()
#23 /var/www/html/nextcloud/lib/base.php(635): OC\Server->boot()
#24 /var/www/html/nextcloud/lib/base.php(1192): OC::init()
#25 /var/www/html/nextcloud/console.php(31): require_once('...')
#26 /var/www/html/nextcloud/occ(33): require_once('...')
Configuration
My /etc/systemd/system/notify_push.service looks like this:
[Unit]
After=network.target mariadb.service nginx.service postgresql.service redis.service
Description = Push daemon for Nextcloud clients
Documentation = https://github.com/nextcloud/notify_push
[Service]
# Change if you already have something running on this port
Environment = PORT=7867
Environment = NEXTCLOUD_URL=https://my.domain.net
ExecStart = /var/www/html/nextcloud/apps/notify_push/bin/x86_64/notify_push /var/www/html/nextcloud/config/config.php
# requires the push server to have been build with the systemd feature (enabled by default)
Type = notify
User = www-data
Restart = always
RestartSec = 60
[Install]
WantedBy = multi-user.target
And my /var/www/html/nextcloud/config/config.php looks like this:
<?php
$CONFIG = array (
'passwordsalt' => '[REDACTED]',
'secret' => '[REDACTED]',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '192.168.50.50',
2 => 'my.domain.net',
3 => 'nextcloud.my.domain.net',
),
'trusted_proxies' =>
array (
0 => 'mydomain.ddns.net',
1 => '127.0.0.1',
2 => '::1',
),
'datadirectory' => '/raider/nextcloud/data',
'dbtype' => 'mysql',
'version' => '32.0.0.13',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'deity',
'dbpassword' => '[REDACTED]',
'installed' => true,
'instanceid' => 'ocz5roayzekp',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'htaccess.RewriteBase' => '/',
'maintenance' => false,
'maintenance_window_start' => 1,
'default_language' => 'en',
'default_phone_region' => 'CA',
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'memories.db.triggers.fcu' => true,
'memories.exiftool' => '/var/www/html/nextcloud/apps/memories/bin-ext/exiftool-amd64-glibc',
'memories.vod.path' => '/var/www/html/nextcloud/apps/memories/bin-ext/go-vod-amd64',
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\TIFF',
1 => 'OC\\Preview\\HEIC',
2 => 'OC\\Preview\\Image',
3 => 'OC\\Preview\\Movie',
),
'preview_max_x' => 512,
'preview_max_y' => 512,
'memories.gis_type' => 1,
'app_install_overwrite' =>
array (
),