The Basics
- Nextcloud Server version (e.g., 29.x.x):
31.0.2
- Operating system and version (e.g., Ubuntu 24.04):
UnRaid 7.0.0
- Web server and version (e.g, Apache 2.4.25):
provided by AIO
- Reverse proxy and version _(e.g. nginx 1.27.2)
Nginx Proxy Manager Plus 2.12.3+640668a
- PHP version (e.g, 8.3):
provided by AIO
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
today
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
Yes, Cloudflare
Summary of the issue you are facing:
After importing a contacts.vcf I wanted to delete contacts I no longer need. For each deleted contact I get the error “could not delete contact”. The contact disappears until the page is refreshed. Same for Address Books, but they do not get deleted at all, just the error
Steps to replicate it (hint: details matter!):
- Install NextCloud AIO on UnRaid
- set up everything
- import contacts exported by google takeout
- select any contact
- hit delete
- see the error
Log entries
Nextcloud
Admin settings show no log, I am not sure if the issue is caught in the logs, but here is the link; nextcloud log - Pastebin.com
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.
error - Pastebin.com → some sort of 400 error
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
Configuration
Nextcloud
config.php:
<?php
$CONFIG = array (
'one-click-instance' => true,
'one-click-instance.user-limit' => 100,
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'check_data_directory_permissions' => false,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'nextcloud-aio-redis',
'password' => '',
'port' => 6379,
),
'overwritehost' => 'nextcloud.TLD.de',
'overwriteprotocol' => 'https',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'nextcloud.TLD.de',
),
'datadirectory' => '/mnt/ncdata',
'dbtype' => 'pgsql',
'version' => '31.0.2.1',
'overwrite.cli.url' => 'https://nextcloud.TLD.de/',
'dbname' => 'nextcloud_database',
'dbhost' => 'nextcloud-aio-database:5432',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_nextcloud',
'dbpassword' => '',
'installed' => true,
'instanceid' => 'ockd4re5dw75',
'maintenance' => false,
'updatedirectory' => '/nc-updater',
'loglevel' => 2,
'app_install_overwrite' =>
array (
0 => 'nextcloud-aio',
),
'log_type' => 'file',
'logfile' => '/var/www/html/data/nextcloud.log',
'log_rotate_size' => 10485760,
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'preview_max_x' => 2048,
'preview_max_y' => 2048,
'jpeg_quality' => 60,
'enabledPreviewProviders' =>
array (
1 => 'OC\\Preview\\Image',
2 => 'OC\\Preview\\MarkDown',
3 => 'OC\\Preview\\MP3',
4 => 'OC\\Preview\\TXT',
5 => 'OC\\Preview\\OpenDocument',
6 => 'OC\\Preview\\Movie',
7 => 'OC\\Preview\\Krita',
0 => 'OC\\Preview\\Imaginary',
23 => 'OC\\Preview\\ImaginaryPDF',
),
'enable_previews' => true,
'upgrade.disable-web' => true,
'mail_smtpmode' => 'smtp',
'trashbin_retention_obligation' => 'auto, 30',
'versions_retention_obligation' => 'auto, 30',
'activity_expire_days' => 30,
'simpleSignUpLink.shown' => false,
'share_folder' => '/Shared',
'one-click-instance.link' => 'https://nextcloud.com/all-in-one/',
'upgrade.cli-upgrade-link' => 'https://github.com/nextcloud/all-in-one/discussions/2726',
'maintenance_window_start' => 100,
'allow_local_remote_servers' => true,
'davstorage.request_timeout' => 3600,
'documentation_url.server_logs' => 'https://github.com/nextcloud/all-in-one/discussions/5425',
'htaccess.RewriteBase' => '/',
'dbpersistent' => false,
'auth.bruteforce.protection.enabled' => true,
'ratelimit.protection.enabled' => true,
'files_external_allow_create_new_local' => false,
'trusted_proxies' =>
array (
0 => '127.0.0.1',
1 => '::1',
10 => '172.20.0.0/16',
),
'preview_imaginary_url' => 'http://nextcloud-aio-imaginary:9000',
'preview_imaginary_key' => '0b93c0e0c7328e9e0424e71afd4751c37cfbca89436cae7a',
);
Apps
default apps provided by the AIO install
If any additional data is required, I’ll try my best to provide those, but may take some time
Any help is appreciated