Files with unusual characters gets deleted on server

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: 14.0.3
Operating system and version: CentOS Linux 7.5.1804
Apache or nginx version: Apache 2.4.6
PHP version:PHP 7.0.32

The issue you are facing:
Error on desktop client “files have been deleted from server”
When i go to the webui the file shows there but i cant acsess it… or delete it.
I suspect it has something to do with the + characters in the file name, but not sure.
i have renamed a file without the + characters and it syncs like it should
.

sorry for the bad english, :frowning:

image

.

.
Missing pdf file error when i ty to preview info about file or open it
image

I have tried occ files:scan --all but it fails due to an ldap error…not sure how i should fix this.
two questions

  1. why cant the client /server sync files with this type of caracters in (+)
  2. how do i get rid of the ghost file in the web ui?

Is this the first time you’ve seen this error? Yes:

The output of your Nextcloud log in Admin > Logging:

|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:20:40+0100|
|---|---|---|---|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:10:39+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:07:21+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T20:06:06+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T20:06:06+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T20:06:06+0100|
|Error|PHP|opendir(/Cloud_data/appdata_oc1fllq7iw9h/dav-photocache/0f6ba84ea6c1ef933e9b69fe5588bd52): failed to open dir: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#125|2018-11-15T20:06:06+0100|
|Error|PHP|unlink(/Cloud_data/appdata_oc1fllq7iw9h/avatar/torvidar/avatar.jpg): No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#227|2018-11-15T20:06:05+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:00:49+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:00:38+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T20:00:22+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T19:54:54+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T19:54:54+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:50:35+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:40:35+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T19:37:43+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T19:37:43+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T19:37:43+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T19:37:43+0100|
|Error|PHP|opendir(/Cloud_data/appdata_oc1fllq7iw9h/dav-photocache/0f6ba84ea6c1ef933e9b69fe5588bd52): failed to open dir: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#125|2018-11-15T19:37:42+0100|
|Error|PHP|unlink(/Cloud_data/appdata_oc1fllq7iw9h/avatar/torvidar/avatar.png): No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#227|2018-11-15T19:37:42+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:30:33+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T19:28:36+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T19:28:36+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:20:32+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T19:18:13+0100|
|Error|no app in context|OCP\Files\NotFoundException: |2018-11-15T19:18:12+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:15:03+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:15:02+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:10:30+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T19:00:22+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T18:50:21+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T18:40:20+0100|
|Error|PHP|ldap_control_paged_result_response(): Result is: No such object (32) at /var/www/html/apps/user_ldap/lib/LDAP.php#74|2018-11-15T18:30:06+0100|

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

<?php
$CONFIG = array (
  'instanceid' => '***********',
  'passwordsalt' => '*********************',
  'secret' => '*****************************',
  'trusted_domains' => 
  array (
    0 => '192.168.1.8',
    1 => '*************',
    2 => '192.168.1.11',
  ),
  'datadirectory' => '/Cloud_data',
  'overwrite.cli.url' => '**********',
  'dbtype' => 'mysql',
  'version' => '14.0.3.0',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '**********',
  'dbpassword' => '***************'',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'noreply',
  'mail_domain' => '**************',
  'mail_smtpauth' => 1,
  'mail_smtphost' => '**************',
  'mail_smtpport' => '465',
  'mail_smtpname' => '*************+',
  'mail_smtppassword' => '************',
  'mail_smtpsecure' => 'ssl',
  'theme' => '',
  'loglevel' => 2,
);

The output of your Apache/nginx/system log in /var/log/____:

Not sure wich logfile is needed.  Accsess log was huge...