Recovering a lost file with a colon in the name

81x-eol
filesystem
client
help

#1

Hi everyone,

I'm trying to recover a missing file that contained a colon in the name and I understand (too late) is therefore not properly handled by ownCloud. I would appreciate any suggestions as to how to go about this.

Steps to reproduce
1. Create a file named "Blog: Homestead-XDebug" in the root folder of ownCloud locally ~/ownCloud/
2. Noticed that it wasn't available through the web interface or on another machine using the desktop client.
3. Moved "Blog: Homestead-XDebug" to a subfolder, thinking this would trigger a sync: ~/ownCloud/Blogs
4. ownCloud Desktop client sync'd files.
5. File no longer available in local Ubuntu file system at either location ~/ownCloud or ~/ownCloud/Blogs
6. File not available in web interface or Deleted Files section of web interface.
7. File not available in trash on local Ubuntu machine and having grepped locally and on the Raspberry Pi where ownCloud is installed, no trace of the file exists.

Client configuration
Client version: 2.0.1
Client operating system: Ubuntu 14.04

Server configuration
Operating system: Raspbian GNU/Linux 7 (wheezy)
Web server: Apache
Database: MySQL
PHP version: PHP 5.4.45
ownCloud version: 8.1
Updated from an older ownCloud or fresh install: Fresh
Special configurations: Served from Raspberry Pi on home network using port forwarding on router.

ownCloud log (data/owncloud.log)

{"reqId":"BFs2rWET7+htmv0wfteE","remoteAddr":"[xxxx]","app":"PHP","message":"Undefined index: You don\u2019t have permission to upload or create files here at \/home\/pi\/owncloud\/lib\/private\/l10n\/string.php#64","level":3,"time":"2017-02-04T08:29:20+00:00"}
{"reqId":"BFs2rWET7+htmv0wfteE","remoteAddr":"[xxxx]","app":"PHP","message":"Undefined index: You don\u2019t have permission to upload or create files here at \/home\/pi\/owncloud\/lib\/private\/l10n\/string.php#70","level":3,"time":"2017-02-04T08:29:20+00:00"}
{"reqId":"iiEGQj0\/mgkVsPEjzR01","remoteAddr":"[xxxx]","app":"PHP","message":"Undefined index: You don\u2019t have permission to upload or create files here at \/home\/pi\/owncloud\/lib\/private\/l10n\/string.php#64","level":3,"time":"2017-02-04T08:36:14+00:00"}
{"reqId":"iiEGQj0\/mgkVsPEjzR01","remoteAddr":"[xxxx]","app":"PHP","message":"Undefined index: You don\u2019t have permission to upload or create files here at \/home\/pi\/owncloud\/lib\/private\/l10n\/string.php#70","level":3,"time":"2017-02-04T08:36:14+00:00"}
{"reqId":"g44NMXvErwaW6ODi5MNR","remoteAddr":"[xxxx]","app":"PHP","message":"Undefined index: You don\u2019t have permission to upload or create files here at \/home\/pi\/owncloud\/lib\/private\/l10n\/string.php#64","level":3,"time":"2017-02-04T11:37:32+00:00"}
{"reqId":"g44NMXvErwaW6ODi5MNR","remoteAddr":"[xxxx]","app":"PHP","message":"Undefined index: You don\u2019t have permission to upload or create files here at \/home\/pi\/owncloud\/lib\/private\/l10n\/string.php#70","level":3,"time":"2017-02-04T11:37:32+00:00"}
{"reqId":"a\/WWtkhNdLUuphgolXrQ","remoteAddr":"[xxxx]","app":"PHP","message":"filesize(): stat failed for \/home\/pi\/owncloud\/data\/edward.crompton\/files_trashbin\/files\/[xxxx].d1483565787 at \/home\/pi\/owncloud\/lib\/private\/largefilehelper.php#196","level":3,"time":"2017-02-04T11:38:32+00:00"}
{"reqId":"yn0VGNNkavwjwhalx3e4","remoteAddr":"[xxxx]","app":"PHP","message":"Undefined index: You don\u2019t have permission to upload or create files here at \/home\/pi\/owncloud\/lib\/private\/l10n\/string.php#64","level":3,"time":"2017-02-04T11:43:36+00:00"}
{"reqId":"yn0VGNNkavwjwhalx3e4","remoteAddr":"[xxxx]","app":"PHP","message":"Undefined index: You don\u2019t have permission to upload or create files here at \/home\/pi\/owncloud\/lib\/private\/l10n\/string.php#70","level":3,"time":"2017-02-04T11:43:36+00:00"}

#2

Hi,

there are common file recovery tools available freely on the net helping you to support with such recovery tasks. A list is e.g. available at https://wiki.archlinux.org/index.php/File_Recovery

and

Please make sure that you're always running the latest available versions for the sync client as well as for ownCloud:

https://owncloud.org/changelog/
https://owncloud.org/changelog/desktop/


#4

Thanks, kljhlkhglklfgh. I recovered the file successfully recovered with TestDisk. Much appreciated.