Hi,
I have the issue that my Nextcloud deleted some important files I still need. However I recently cleaned up lots of files, which lead to the fact that I have about 47 500 files in my trashbin directory.
Steps to reproduce
- have many files in nextcloud
- delete lots of files
- open trashbin
Expected behaviour
Trashbin shows files that are actually in trashbin. It would probably make sense to organize them in the original folder structure for performance reasons.
It should be possible to restore or permanentely delete files.
Actual behaviour
Trashbin says it’s empty despite 47500 files summing up to ~200GB are in the folder on my server.
It is not possible to restore or delete files.
I guess this is due to the fact, that NC tries to fetch all files in one go, which obviously fails:

Regardless of whether this is an insane amount of files, I would expect this to work. Also configuring my reverse proxy with a longer timecould could only be seen as a workaround (and one I will not attempt) as I think 60 seconds should be plenty of time for a request.
Also on the server the database causes a high load. So I think there should be implemented some kind of chunking to reduce the overall load and split it up. Also with that amount of files some filtering would be good, not only for performance reasons, but also beause you otherwise cannot find what you need.
Server configuration detail
Operating system: Linux 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020 x86_64
Webserver: nginx/1.17.10 (fpm-fcgi)
Database: mysql 10.4.10
PHP version: 7.3.18
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, pdo_sqlite, session, posix, readline, Reflection, standard, SimpleXML, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, exif, gd, gmp, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache
Nextcloud version: 18.0.4 — 18.0.4.2
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: official docker image
Signing status
Array
(
)
List of activated apps
Enabled:
- accessibility: 1.4.0
- activity: 2.11.0
- apporder: 0.10.0
- bookmarks: 3.0.13
- calendar: 2.0.3
- camerarawpreviews: 0.7.3
- carnet: 0.22.0
- checksum: 0.4.4
- cloud_federation_api: 1.1.0
- comments: 1.8.0
- cookbook: 0.6.5
- cospend: 0.5.4
- dav: 1.14.0
- deck: 1.0.1
- drawio: 0.9.5
- federatedfilesharing: 1.8.0
- federation: 1.8.0
- files: 1.13.1
- files_external: 1.9.0
- files_markdown: 2.2.0
- files_pdfviewer: 1.7.0
- files_photospheres: 1.0.8
- files_rightclick: 0.15.2
- files_sharing: 1.10.1
- files_trashbin: 1.8.0
- files_versions: 1.11.0
- files_videoplayer: 1.7.0
- firstrunwizard: 2.7.0
- gpxmotion: 0.0.11
- gpxpod: 4.2.1
- keeweb: 0.6.2
- logreader: 2.3.0
- lookup_server_connector: 1.6.0
- metadata: 0.11.1
- nextcloud_announcements: 1.7.0
- notifications: 2.6.0
- oauth2: 1.6.0
- password_policy: 1.8.0
- phonetrack: 0.6.3
- photos: 1.0.0
- polls: 1.4.3
- previewgenerator: 2.3.0
- privacy: 1.2.0
- provisioning_api: 1.8.0
- quicknotes: 0.2.4
- recommendations: 0.6.0
- richdocuments: 3.6.0
- serverinfo: 1.8.0
- settings: 1.0.0
- sharebymail: 1.8.0
- support: 1.1.0
- survey_client: 1.6.0
- systemtags: 1.8.0
- tasks: 0.13.1
- text: 2.0.0
- theming: 1.9.0
- twofactor_backupcodes: 1.7.0
- updatenotification: 1.8.0
- viewer: 1.2.0
- workflowengine: 2.0.0
Disabled:
- admin_audit
- encryption
- flowupload
- user_ldap
Configuration (config/config.php)
{
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\OC\Memcache\APCu",
"filelocking.enabled": true,
"apps_paths": [
{
"path": "/var/www/html/apps",
"url": "/apps",
"writable": false
},
{
"path": "/var/www/html/custom_apps",
"url": "/custom_apps",
"writable": true
}
],
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
*** removed manually ***
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "18.0.4.2",
"overwrite.cli.url": "http://192.168.255.10:8080",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"overwriteprotocol": "https",
"loglevel": 2,
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"updater.secret": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"has_rebuilt_cache": true
}
External storages: yes
External storage configuration
Encryption: no
User-backends:
- OCUserDatabase
Hi,
I have the issue that my Nextcloud deleted some important files I still need. However I recently cleaned up lots of files, which lead to the fact that I have about 47 500 files in my trashbin directory.
Steps to reproduce
- have many files in nextcloud
- delete lots of files
- open trashbin
Expected behaviour
Trashbin shows files that are actually in trashbin. It would probably make sense to organize them in the original folder structure for performance reasons.
It should be possible to restore or permanentely delete files.
Actual behaviour
Trashbin says it’s empty despite 47500 files summing up to ~200GB are in the folder on my server.
It is not possible to restore or delete files.
I guess this is due to the fact, that NC tries to fetch all files in one go, which obviously fails:

Regardless of whether this is an insane amount of files, I would expect this to work. Also configuring my reverse proxy with a longer timecould could only be seen as a workaround (and one I will not attempt) as I think 60 seconds should be plenty of time for a request.
Also on the server the database causes a high load. So I think there should be implemented some kind of chunking to reduce the overall load and split it up. Also with that amount of files some filtering would be good, not only for performance reasons, but also beause you otherwise cannot find what you need.
Server configuration detail
Operating system: Linux 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020 x86_64
Webserver: nginx/1.17.10 (fpm-fcgi)
Database: mysql 10.4.10
PHP version: 7.3.18
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, pdo_sqlite, session, posix, readline, Reflection, standard, SimpleXML, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, exif, gd, gmp, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache
Nextcloud version: 18.0.4 — 18.0.4.2
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: official docker image
Signing status
Array
(
)
List of activated apps
Enabled:
- accessibility: 1.4.0
- activity: 2.11.0
- apporder: 0.10.0
- bookmarks: 3.0.13
- calendar: 2.0.3
- camerarawpreviews: 0.7.3
- carnet: 0.22.0
- checksum: 0.4.4
- cloud_federation_api: 1.1.0
- comments: 1.8.0
- cookbook: 0.6.5
- cospend: 0.5.4
- dav: 1.14.0
- deck: 1.0.1
- drawio: 0.9.5
- federatedfilesharing: 1.8.0
- federation: 1.8.0
- files: 1.13.1
- files_external: 1.9.0
- files_markdown: 2.2.0
- files_pdfviewer: 1.7.0
- files_photospheres: 1.0.8
- files_rightclick: 0.15.2
- files_sharing: 1.10.1
- files_trashbin: 1.8.0
- files_versions: 1.11.0
- files_videoplayer: 1.7.0
- firstrunwizard: 2.7.0
- gpxmotion: 0.0.11
- gpxpod: 4.2.1
- keeweb: 0.6.2
- logreader: 2.3.0
- lookup_server_connector: 1.6.0
- metadata: 0.11.1
- nextcloud_announcements: 1.7.0
- notifications: 2.6.0
- oauth2: 1.6.0
- password_policy: 1.8.0
- phonetrack: 0.6.3
- photos: 1.0.0
- polls: 1.4.3
- previewgenerator: 2.3.0
- privacy: 1.2.0
- provisioning_api: 1.8.0
- quicknotes: 0.2.4
- recommendations: 0.6.0
- richdocuments: 3.6.0
- serverinfo: 1.8.0
- settings: 1.0.0
- sharebymail: 1.8.0
- support: 1.1.0
- survey_client: 1.6.0
- systemtags: 1.8.0
- tasks: 0.13.1
- text: 2.0.0
- theming: 1.9.0
- twofactor_backupcodes: 1.7.0
- updatenotification: 1.8.0
- viewer: 1.2.0
- workflowengine: 2.0.0
Disabled:
- admin_audit
- encryption
- flowupload
- user_ldap
Configuration (config/config.php)
{
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\OC\Memcache\APCu",
"filelocking.enabled": true,
"apps_paths": [
{
"path": "/var/www/html/apps",
"url": "/apps",
"writable": false
},
{
"path": "/var/www/html/custom_apps",
"url": "/custom_apps",
"writable": true
}
],
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
*** removed manually ***
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "18.0.4.2",
"overwrite.cli.url": "http://192.168.255.10:8080",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"overwriteprotocol": "https",
"loglevel": 2,
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"updater.secret": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"has_rebuilt_cache": true
}
External storages: yes
External storage configuration
Encryption: no
User-backends:
- OCUserDatabase
Что происходит при удалении файлов в общем доступе?
Когда вы удаляете файл в Nextcloud, он не удаляется сразу, он перемещается в корзину. Файл не удаляется окончательно, пока вы не удалите его вручную или когда приложение «Удаленные файлы» удалит его, чтобы освободить место для новых файлов.
Найдите удаленные файлы, нажав кнопку Удаленные файлы на странице Файлы веб-интерфейса Nextcloud. У вас будет возможность либо восстановить, либо окончательно удалить файлы.
Как приложение удаленных файлов управляет пространством хранения?
Чтобы пользователи не выполняли свои квоты хранения, приложение «Удаленные файлы» выделяет не более 50% доступного в настоящее время свободного пространства для удаленных файлов. Если ваши удаленные файлы превышают этот предел, Nextcloud удаляет самые старые файлы (файлы с самыми старыми временными метками с момента их удаления) до тех пор, пока не будет снова достигнут предел использования памяти.
Nextcloud проверяет возраст удаленных файлов при каждом добавлении новых файлов в удаленные файлы. По умолчанию удаленные файлы остаются в корзине 30 дней.
Спасибо, что сообщили о проблемах в Nextcloud! Это средство отслеживания проблем Nextcloud. Если у вас есть какие-либо вопросы о поддержке, посетите https://nextcloud.com/support. Это средство отслеживания ошибок для серверного компонента. Найдите другие компоненты на https://github.com/nextcloud/. Чтобы сообщить о потенциальных проблемах безопасности, посетите https://nextcloud.com/security/. Чтобы мы могли помочь вам, пожалуйста, внимательно заполните информацию ниже. Вы также можете использовать приложение шаблона проблемы, чтобы предварительно заполнить большую часть необходимой информации: https://apps.nextcloud.com/apps/issuetemplate. Если вы являетесь клиентом, отправьте свою проблему непосредственно на портале Nextcloud https: //. nextcloud.com, поэтому наши преданные инженеры быстрее решат эту проблему. Обратите внимание, что Nextcloud — это проект с открытым исходным кодом, поддерживаемый Nextcloud GmbH. Большинство наших добровольцев являются домашними пользователями и поэтому в первую очередь заботятся о проблемах, которые затрагивают домашних пользователей. Наши оплачиваемые инженеры уделяют приоритетное внимание проблемам наших клиентов. Если вы не являетесь ни домашним пользователем, ни клиентом, подумайте о том, чтобы заплатить кому-нибудь, чтобы он исправил вашу проблему, сделайте это самостоятельно или станьте клиентом.
Действия по воспроизведению
- Перейдите в раздел «Файлы» и нажмите «Удаленные файлы».
- Выбрать несколько файлов
- Нажмите на тройные точки «Действия».
- Нажмите «Удалить».
Ожидаемое поведение
Выбранные файлы удаляются
Фактическое поведение
Ошибка показывает «Ошибка при удалении файлов из корзины»
Из выбранных файлов удаляется только один файл.
Конфигурация сервера
Операционная система :
Arch linux, ядро 4.19.8
Веб сервер:
Apache 2.4.37
База данных:
Мариадб 10.1.37
Версия PHP:
PHP 7.3.0
Версия Nextcloud: (см. Страницу администратора Nextcloud)
NextCloud 15.0.0.10
Обновлено из более старой версии Nextcloud / ownCloud или из новой установки:
Обновлено из последней версии
Откуда вы установили Nextcloud:
Репозиторий пакетов Arch linux
Статус подписи:
Статус подписи
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
Техническая информация
В следующем списке указано, какие файлы не прошли проверку целостности. Пожалуйста, прочитайте
предыдущая связанная документация, чтобы узнать больше об ошибках и способах их исправления.
их.
Полученные результаты
- основной
- EXTRA_FILE
- ocs / .rnd
- .rnd
- EXTRA_FILE
Необработанный вывод
Множество
(
[core] => Массив
(
[EXTRA_FILE] => Массив
(
[ocs / .rnd] => Массив
(
[ожидается] =>
[current] => 53379c25bc5d27655048e9c27dad56254a859a95db527e4a7c230c416331f116f50f292097b1cc24841179c2c67ec047a8488aa17be63db910447b2d58ba1e62
)
[.rnd] => Array
(
[expected] =>
[current] => eccb3e406ecc10541a2411aa233cc361bd5db68a94b6b2194ac3a415b3fabf1393b69028c5f52263100c04a77bd3188e9be9a3c5afb4cde34ee2030d4ff69d2b
)
)
)
)
Список активированных приложений:
Список приложений
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Предупреждение PHP: действует ограничение require_once (): open_basedir. Файл(/
Конфигурация Nextcloud:
Отчет о конфигурации
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here.
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Невозможно запустить команду occ. См. Пункт выше. Содержимое config.php:
$ CONFIG = массив (
‘instanceid’ => »,
‘passwordsalt’ => »,
‘секрет’ => »,
‘доверенные_домены’ =>
множество (
0 => »,
1 => ‘.nl ‘,
2 => ‘127.0.0.1’,
),
‘datadirectory’ => ‘/данные’,
‘overwrite.cli.url’ => ‘https:/ nextcloud / ‘,
‘memcache.local’ => ‘ OC Memcache APCu’,
‘dbtype’ => ‘mysql’,
‘version’ => ’15 .0.0.10 ‘,
‘dbname’ => »,
‘dbhost’ => ‘localhost’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => »,
‘dbpassword’ => »,
‘logtimezone’ => ‘UTC’,
‘установлен’ => истина,
‘appstore.experimental.enabled’ => истина,
‘mail_from_address’ => »,
‘mail_smtpmode’ => »,
‘mail_domain’ => »,
‘mail_smtpsecure’ => ‘tls’,
‘mail_smtpauthtype’ => ‘ВХОД’,
‘mail_smtphost’ => »,
‘mail_smtpport’ => »,
‘обслуживание’ => ложь,
‘theme’ => »,
‘loglevel’ => 2,
);
Вы используете внешнее хранилище, если да, то какое: local / smb / sftp / …
Нет
Вы используете шифрование: да / нет
Нет
Вы используете внешний пользовательский сервер, если да, какой: LDAP / ActiveDirectory / Webdav / …
Непригодный
Конфигурация клиента
Mozilla Firefox 64.0 (64-разрядная)
Операционная система:
Arch linux
Журналы
Журнал ошибок веб-сервера
Журнал ошибок веб-сервера
Insert your webserver log here
Журнал Nextcloud (data / nextcloud.log)
Журнал Nextcloud
Insert your Nextcloud log here
Журнал браузера
Журнал браузера
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
При работе в Nextcloud возникают ошибки.
Для их устранения необходимо перевести облачное хранилище в режим обслуживания. Сделаем это с помощью утилиты occ находящаяся в корне web-проекта.
Переводим в режим обслуживания выполнив команду:
# sudo -u www-data php occ maintenance:mode --on
Для отключения режима обслуживания выполним команду:
# sudo -u www-data php occ maintenance:mode --off
В режиме обслуживания на Desktop-клиентах будет запрошен пароль пользователя.
Ошибка «File is locked»
Ошибка при использовании серверов с медленной дисковой подсистемой.
Для исправления потребует перевести хранилища в режим обслуживания и выполненить SQL-запрос по очистке таблицы блокировок.
> delete from oc_file_locks;
Ошибка «Файл был удален с сервера» («File was deleted from server»)
Это довольно распространенная не блокирующая ошибка и синхронизация будет продолжаться, но в логах клиента будут присутствовать соответствующие ошибки.
Для устранения этой ошибки необходимо воспользоваться встроенной функцией сканирования файлового хранилища. Эта функция может быть запущена для всех пользователей:
# sudo -u www-data php occ files:scan --all
Это доволно длительная операция и зависящая от того сколько пользователей и файлов и для устранения проблем у одного пользователя можно указать вместо параметра его имя или идентификатор из Active Directory:
# sudo -u www-data php occ files:scan 2718B513-40C2-497A-8461-5CA930CEC4E9
Если вам известно расположение сбойного файла, то можно указать какой каталог требуется пересканировать:
# sudo -u www-data php occ files:scan 2718B513-40C2-497A-8461-5CA930CEC4E9 --path="2718B513-40C2-497A-8461-5CA930CEC4E9/files_versions/"
Когда штатные средства не помогают, придется удалить записи о файлах напрямую из базы данных, подключаемся базе данных mysql и выполняем запрос файлового идентификатора искомого файла.
> select fileid,path from oc_filecache where path like '%data/4.%';
Где, ‘%data/4.%’ — это запрос части имени файла вызывающего ошибку.
Следующим этапом удаляем идентификаторы сбойных файлов:
> delete from oc_filecache where fileid=589434;
589434 — соответственно идентификатор сбойного файла.
Ошибка «Precondition failed (An If-Match header was specified and the resource did not exist)»
Ошибка возникает на стороне клиента и оптимальным решением является переместить файл на временное хранение в другой каталог и после окончания синхронизации переместить файл обратно.
Steps to reproduce
- Delete a file from storage, without deleting the associated DB entry (AKA fake a dirty delete for some reason…)
- load the file location in Nextcloud web interface
- Try to delete the file.
- Refresh. «Deleted» file still shows.
Expected behaviour
System tries to delete the file, then deletes the database entry.
On SabreDAVExceptionNotFound the orphaned database entry should be deleted as well
Actual behaviour
System tries to delete the file, returns SabreDAVExceptionNotFound and aborts
Server configuration
Operating system:
Linux sleipnir 4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2017-03-30) x86_64 GNU/Linux
Web server:
NGINX 1.10.3-1
Database:
mariadb 10.1.23-9+deb9u1
PHP version:
PHP7.0.19-1 FPM
Nextcloud version: (see Nextcloud admin page)
12.0.0
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from NC 11 to NC12 on release date.
Where did you install Nextcloud from:
Updater Module in NC
Signing status:
Signing status
No errors have been found.
List of activated apps:
App list
Enabled:
— activity: 2.5.2
— bruteforcesettings: 1.0.2
— comments: 1.2.0
— dav: 1.3.0
— federatedfilesharing: 1.2.0
— federation: 1.2.0
— files: 1.7.2
— files_markdown: 1.0.1
— files_pdfviewer: 1.1.1
— files_sharing: 1.4.0
— files_texteditor: 2.4.1
— files_trashbin: 1.2.0
— files_versions: 1.5.0
— files_videoplayer: 1.1.0
— firstrunwizard: 2.1
— gallery: 17.0.0
— logreader: 2.0.0
— lookup_server_connector: 1.0.0
— nextcloud_announcements: 1.1
— notifications: 2.0.0
— oauth2: 1.0.5
— password_policy: 1.2.2
— provisioning_api: 1.2.0
— serverinfo: 1.2.0
— sharebymail: 1.2.0
— survey_client: 1.0.0
— systemtags: 1.2.0
— theming: 1.3.0
— twofactor_backupcodes: 1.1.1
— updatenotification: 1.2.0
— user_ldap: 1.2.1
— workflowengine: 1.2.0
Disabled:
— admin_audit
— encryption
— files_external
— user_external
Nextcloud configuration:
Config report
{
«system»: {
«updatechecker»: false,
«instanceid»: «oc6n6tqq77xl»,
«passwordsalt»: «***REMOVED SENSITIVE VALUE***»,
«secret»: «***REMOVED SENSITIVE VALUE***»,
«trusted_domains»: [
«tsunami.ageg.ca»,
«nextcloud.ageg.ca»
],
«datadirectory»: «/srv/owncloud/data»,
«overwrite.cli.url»: «https://tsunami.ageg.ca»,
«dbhost»: «localhost»,
«dbname»: «nextcloud»,
«dbtype»: «mysql»,
«dbuser»: «***REMOVED SENSITIVE VALUE***»,
«dbpassword»: «***REMOVED SENSITIVE VALUE***»,
«dbtableprefix»: «oc_»,
«version»: «12.0.0.29»,
«logtimezone»: «UTC»,
«installed»: true,
«theme»: «»,
«forcessl»: true,
«forceSSLforSubdomains»: true,
«openssl»: {
«config»: «/etc/ssl/openssl.cnf»
},
«memcache.local»: «\OC\Memcache\Redis»,
«memcache.locking»: «\OC\Memcache\Redis»,
«redis»: {
«host»: «127.0.0.1»,
«port»: 6379
},
«mail_smtpmode»: «smtp»,
«mail_smtpsecure»: «tls»,
«mail_from_address»: «serveur»,
«mail_domain»: «ageg.ca»,
«mail_smtpauthtype»: «PLAIN»,
«mail_smtpauth»: 1,
«mail_smtphost»: «sleipnir.ageg.ca»,
«mail_smtpport»: «587»,
«mail_smtpname»: «***REMOVED SENSITIVE VALUE***»,
«mail_smtppassword»: «***REMOVED SENSITIVE VALUE***»,
«ldapIgnoreNamingRules»: false,
«loglevel»: 0,
«maintenance»: false,
«trashbin_retention_obligation»: «auto»,
«htaccess.RewriteBase»: «/»,
«ldapProviderFactory»: «\OCA\User_LDAP\LDAPProviderFactory»,
«updater.release.channel»: «stable»
}
}
Are you using external storage, if yes which one: local storage on filesystem (outside nextcloud folder)
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration (delete this part if not used)
LDAP config
+——————————-+————————————————————+
| Configuration | s01 |
+——————————-+————————————————————+
| hasMemberOfFilterSupport | |
| hasPagedResultSupport | |
| homeFolderNamingRule | |
| lastJpegPhotoLookup | 0 |
| ldapAgentName | cn=nextcloud,ou=services,dc=ageg,dc=ca |
| ldapAgentPassword | *** |
| ldapAttributesForGroupSearch | |
| ldapAttributesForUserSearch | |
| ldapBackupHost | |
| ldapBackupPort | |
| ldapBase | dc=ageg,dc=ca |
| ldapBaseGroups | dc=ageg,dc=ca |
| ldapBaseUsers | dc=ageg,dc=ca |
| ldapCacheTTL | 600 |
| ldapConfigurationActive | 1 |
| ldapDefaultPPolicyDN | |
| ldapDynamicGroupMemberURL | |
| ldapEmailAttribute | mail |
| ldapExperiencedAdmin | 0 |
| ldapExpertUUIDGroupAttr | |
| ldapExpertUUIDUserAttr | |
| ldapExpertUsernameAttr | |
| ldapGidNumber | gidNumber |
| ldapGroupDisplayName | cn |
| ldapGroupFilter | |
| ldapGroupFilterGroups | |
| ldapGroupFilterMode | 0 |
| ldapGroupFilterObjectclass | |
| ldapGroupMemberAssocAttr | uniqueMember |
| ldapHost | ldapi:/// |
| ldapIgnoreNamingRules | |
| ldapLoginFilter | (&(|(objectclass=inetOrgPerson))(|(uid=%uid)(|(cn=%uid)))) |
| ldapLoginFilterAttributes | cn |
| ldapLoginFilterEmail | 0 |
| ldapLoginFilterMode | 0 |
| ldapLoginFilterUsername | 1 |
| ldapNestedGroups | 0 |
| ldapOverrideMainServer | |
| ldapPagingSize | 500 |
| ldapPort | 389 |
| ldapQuotaAttribute | |
| ldapQuotaDefault | |
| ldapTLS | 0 |
| ldapUserDisplayName | displayname |
| ldapUserDisplayName2 | |
| ldapUserFilter | (|(objectclass=inetOrgPerson)) |
| ldapUserFilterGroups | |
| ldapUserFilterMode | 0 |
| ldapUserFilterObjectclass | inetOrgPerson |
| ldapUuidGroupAttribute | auto |
| ldapUuidUserAttribute | auto |
| turnOffCertCheck | 0 |
| turnOnPasswordChange | 0 |
| useMemberOfToDetectMembership | 1 |
+——————————-+————————————————————+
Client configuration
Browser:
Chromium 59.0.3071.86 (Developer Build) (64-bit)
Firefox 52.0.2 (64-bit)
Operating system:
Debian 4.9.30-2 (2017-06-12) x86_64 GNU/Linux
Logs
Web server error log
Web server error log
==> nextcloud.access.log <==
10.236.34.39 — — [16/Jun/2017:21:43:30 -0400] «DELETE /remote.php/webdav/Documents%20de%20R%C3%A9f%C3%A9rence/Guide/Guide%20Utilisation%20Informatique/E17-GuideEmail-005-GF.log HTTP/2.0» 404 8486 «-» «Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36»
(No Internal NGINX or PHP Error Reported)
Nextcloud log (data/nextcloud.log)
Nextcloud log
==> /srv/owncloud/data/nextcloud.log <==
{«reqId»:»7M9ys6vkDj17ZnJydp1u»,»level»:0,»time»:»2017-06-17T01:43:30+00:00″,»remoteAddr»:»10.236.34.39″,»user»:»root»,»app»:»webdav»,»method»:»DELETE»,»url»:»/remote.php/webdav/Documents%20de%20R%C3%A9f%C3%A9rence/Guide/Guide%20Utilisation%20Informatique/E17-GuideEmail-005-GF.log»,»message»:»Exception: {«Message»:»HTTP\/1.1 404 File with name Documents de R\u00e9f\u00e9rence\/Guide\/Guide Utilisation Informatique\/E17-GuideEmail-005-GF.log could not be located»,»Exception»:»Sabre\\DAV\\Exception\\NotFound»,»Code»:0,»Trace»:»#0 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Tree.php(178): OCA\\DAV\\Connector\\Sabre\\ObjectTree->getNodeForPath(‘Documents de R\\xC3…’)\n#1 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(287): Sabre\\DAV\\Tree->delete(‘Documents de R\\xC3…’)\n#2 [internal function]: Sabre\\DAV\\CorePlugin->httpDelete(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit(‘method:DELETE’, Array)\n#5 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(71): Sabre\\DAV\\Server->exec()\n#7 \/var\/www\/nextcloud\/remote.php(162): require_once(‘\/var\/www\/nextcl…’)\n#8 {main}»,»File»:»\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/ObjectTree.php»,»Line»:173,»User»:»root»}»,»userAgent»:»Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36″,»version»:»12.0.0.29″}
Browser log
Browser log
core.js?v=766da77867c932e851b286643f995ef2-38:5720 DELETE https://tsunami.ageg.ca/remote.php/webdav/Documents%20de%20R%C3%A9f%C3%A9rence/Guide/Guide%20Utilisation%20Informatique/E17-GuideEmail-005-GF.log 404 ()
request @ core.js?v=766da77867c932e851b286643f995ef2-38:5720
_simpleCall @ client.js?v=766da77867c932e851b286643f995ef2-38:665
remove @ client.js?v=766da77867c932e851b286643f995ef2-38:699
(anonymous) @ merged-index.js?v=766da77867c932e851b286643f995ef2-38:6417
_.each._.forEach @ core.js?v=766da77867c932e851b286643f995ef2-38:166
do_delete @ merged-index.js?v=766da77867c932e851b286643f995ef2-38:6416
_onClickDeleteSelected @ merged-index.js?v=766da77867c932e851b286643f995ef2-38:4743
dispatch @ core.js?v=766da77867c932e851b286643f995ef2-38:3
r.handle @ core.js?v=766da77867c932e851b286643f995ef2-38:3