core icon indicating copy to clipboard operation
core copied to clipboard

User sharing configuration mysteriously deleted

Open christianrj opened this issue 12 years ago • 4 comments

Steps to reproduce

I don't know how to reproduce this problem. The user in question has two folders shared with him. But today, one of the folders lost the sharing configuration with that user for no reason.

Expected behaviour

The share configuration must remain as it was configured. Must not be deleted or lost by the system.

Actual behaviour

The sharing configuration has been lost. I had to manually create the sharing again after a report that the client was asking to delete ALL files of a user.

Server configuration

Operating system: CentOS 6.5 64 bit

Web server: Apache 2.2.27

Database: MySQL 5.5.39

PHP version: PHP 5.5.16

ownCloud version: 6.0.5 stable

Updated from an older ownCloud or fresh install: 6.0.4

List of activated apps: Activity, Deleted files, Share files, Versions, Disable Remenber Login

The content of config/config.php:

  'instanceid' => '',
  'passwordsalt' => '',
  'trusted_domains' => 
  array (
    0 => '',
    1 => '',
    2 => '',
  ),
  'datadirectory' => '/oc/data',
  'dbtype' => 'mysql',
  'version' => '6.0.5.1',
  'dbname' => '',
  'dbhost' => '',
  'dbtableprefix' => '',
  'dbuser' => '',
  'dbpassword' => '',
  'installed' => true,
  'loglevel' => '1',
  'logdateformat' => 'd-m-Y - H:i:s',
  'logtimezone' => 'America/Sao_Paulo',
  'log_rotate_size' => 5242880,
  'mail_smtpmode' => '',
  'mail_smtphost' => '',
  'mail_smtpauth' => ,
  'mail_smtpname' => '',
  'mail_smtppassword' => '',
  'knowledgebaseenabled' => false,
  'maintenance' => false,
  'forcessl' => false,
  'updatechecker' => false,
  'default_language' => 'pt_BR',
  'theme' => '',
  'appstoreenabled' => false,
  'memcached_servers' => 
  array (
    0 => 
    array (
      0 => 'localhost',
      1 => 11211,
    ),
  ),
  'maxZipInputSize' => 2147483648,
  'allowZipDownload' => true,

Are you using external storage, if yes which one: local

Are you using encryption: no

Client configuration

Browser: Chrome 38

Operating system: Windows 7 Ultimate 64 bit

Logs

Web server error log

[Sun Oct 12 13:01:31 2014] [error] [client xxxxxx] File does not exist: /var/www/html/owncloud/vtigercrm
[Mon Oct 13 06:42:14 2014] [error] [client xxxxxx] File does not exist: /var/www/html/owncloud/admin
[Mon Oct 13 10:05:44 2014] [error] [client xxxxxx] File does not exist: /var/www/html/owncloud/vtigercrm
[Tue Oct 14 09:09:04 2014] [error] [client xxxxxx] File does not exist: /var/www/html/owncloud/vtigercrm
[Tue Oct 14 20:45:00 2014] [error] [client xxxxxx] File does not exist: /var/www/html/owncloud/vtigercrm
[Wed Oct 15 09:38:39 2014] [error] [client xxxxxx] File does not exist: /var/www/html/owncloud/vtigercrm
[Wed Oct 15 17:15:23 2014] [error] [client xxxxxx] client denied by server configuration: /var/www/html/owncloud/data/htaccesstest.txt

ownCloud log (data/owncloud.log)

http://pastebin.com/cPVzU6BS
http://pastebin.com/dFkJauLN
http://pastebin.com/hyHhBRPG

Browser log

No relevant logs to show

christianrj avatar Oct 15 '14 20:10 christianrj

@schiesbn any idea?

karlitschek avatar Oct 16 '14 08:10 karlitschek

@christianrj did you move the "data" directory to a new folder ? Please check whether oc_storages contains hard-coded absolute paths.

PVince81 avatar Oct 16 '14 08:10 PVince81

please also check the oc_share table, can you find a entry for the missing share? If you can find the share in the table check the "file_source" column, does it point to the correct fileID in the file_cache table?

schiessle avatar Oct 16 '14 09:10 schiessle

I think this was a fault by one of our former OC admins. Not an Owncloud problem. I'm closing this report. Thank you!

christianrj avatar Dec 01 '14 16:12 christianrj