Hi,

I have an ownCloud Server, and a group of 6 users shares >5000 Files (>3GB) 
between each other.

One user, let’s call him Netty, uses Windows 7 Professional and his ownCloud 
folder is stored on a shared network volume. The other 5 users store their 
files locally.

Yesterday one user (not Netty) complained, that a lot of files (but not all) 
were deleted. But Netty sees (all?) the files on his locally mounted network 
share. After analyzing this, I found the following situation:

From time to time Netty's ownCloud client  deletes some files and usually 
recreates them later. In the activity log it looks like Netty deletes the files 
and recreates them. But in reality, Netty does not delete the files, and does 
not notice any downtime of the network share.

When the files are deleted by Netty's ownCloud client, the files on all other 
users local folder  are deleted too — seems obvious.

Usually the files are newly created later by Netty.


This happens with the example files too, here a shortened summary from the 
table oc_activity in the ownCloud database, for the Squirrel picture:


   SELECT TIMESTAMP WITH TIME ZONE'epoch' + timestamp * INTERVAL '1 second' AS 
readable_time,
          activity_id AS act_id,
          priority AS prio,
          type,
          'Netty' AS "user",
          messageparams,
          file
     FROM oc_activity
    WHERE "user" = affecteduser
      AND file LIKE '%Squirrel%'
 ORDER BY timestamp DESC;

     readable_time      | act_id | prio |     type     | user  | messageparams 
|         file
------------------------+--------+------+--------------+-------+---------------+----------------------
 2015-06-05 15:05:23+02 | 299179 |   40 | file_deleted | Netty | a:0:{}        
| /Photos/Squirrel.jpg
 2015-06-05 14:11:23+02 | 296793 |   40 | file_created | Netty | a:0:{}        
| /Photos/Squirrel.jpg
 2015-06-05 12:35:25+02 | 256475 |   40 | file_deleted | Netty | a:0:{}        
| /Photos/Squirrel.jpg
 2015-05-18 10:34:38+02 | 203730 |   40 | file_changed | Netty | a:0:{}        
| /Photos/Squirrel.jpg
 2015-04-27 17:09:17+02 | 136041 |   40 | file_created | Netty | a:0:{}        
| /Photos/Squirrel.jpg
 2015-04-27 16:13:14+02 | 114641 |   40 | file_deleted | Netty | a:0:{}        
| /Photos/Squirrel.jpg
 2015-04-22 14:56:27+02 |  94354 |   40 | file_created | Netty | a:0:{}        
| /Photos/Squirrel.jpg
 2015-04-22 13:42:36+02 |  59053 |   40 | file_deleted | Netty | a:0:{}        
| /Photos/Squirrel.jpg
(8 Zeilen)

Zeit: 97,025 ms


User Netty never touched the image. But it got deleted and recreated. This only 
happens for THIS user.

Does anyone have experience with the local ownCloud directory on Windows shares?


It seems, that for some reason Netty's ownCloud client (1.8.1) thinks that the 
files are deleted, but they aren’t; later it sees the files again and recreates 
them.

But: why?
Does anyone know a similar situation?
Any other ideas?

At the moment there are a lot of files, which are deleted and NOT recreated. It 
is not known, if the files are still on the network share and will be recreated 
in ownCloud on monday.

Is there a tool to restore deleted files with date range? On the ownCloud web 
interface it is only possible to select all deleted files or select them file 
by file — but not e.g. according to a date range. Maybe there is a command line 
utility to restore everything which was deleted yesterday?


Setup:

 * ownCloud Server 8.0.3
 * PHP 5.5.25, mod_php on Apache 2.4, prefork MPM
 * Zend OPCache is enabled
 * PostgreSQL 9.4
 * FreeBSD 10.1 with ZFS, files stored on a compressed filesystem
 * Frontend Apache 2.4, event MPM; as reverse proxy, with HTTPS
 * mod_xsendfile enabled

All ownCloud Clients: 1.8.1; usually Windows 7 Professional; one group member 
with OS X (me).

User Netty stores his local ownCloud directory on a Windows share. This is 
intentional: as backup => all other users can access the network share if 
ownCloud gets down or my server is broken etc.

Netty has direct/local access to the network share, two others only via VPN.

Connection to the ownCloud server usually via HTTPS Proxy.


Ciao
  Alvar

--
Alvar C.H. Freude
http://alvar.a-blast.org/ | http://blog.alvar-freude.de/
Coole Sachen: http://www.assoziations-blaster.de/ | http://www.wen-waehlen.de/



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to