Zero byte files in 7.0.4

Ask all your questions regarding OC 7.x Please read the Support Forum Rules
Forum rules
ownCloud 7.x will be end of life soon. See maintenance and release schedule for more details.

Time to upgrade!

Before you post; make sure you are using at least PHP Version 5.3.x - Also read Support Forum - Read this before posting
richwalker
Newbie
Posts: 2
Joined: Tue Apr 12, 2016 1:38 pm
ownCloud version: 7.0.4
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.6.14+dfsg-0+deb8u

Zero byte files in 7.0.4

Postby richwalker » Tue Apr 12, 2016 1:54 pm

Please help us by providing the following info. Before posting please also check the pinned "Known issues" thread.

Steps to reproduce
Rename files on a client or move them around

Expected behaviour
They should end up in the right place!

Actual behaviour
The file is zeroed and there are no old versions. It cannot be restored.

Server configuration
Operating system: Debian Jessie
Web server: Apache
Database: Mysql
PHP version: 5.6.14+dfsg-0+deb8u1
ownCloud version (see ownCloud admin page): 7.0.4
Updated from an older ownCloud or fresh install: Fresh
ownCloud log (data/owncloud.log):

{"reqId":"570cd45b863b7","app":"files_sharing","message":"can not update etags on \/files\/ for user sgulbahar. Path does not exists","level":0,"time":"2016-04-12T10:57:32+00:00","method":"MOVE","url":"\/remote.php\/webdav\/CHIRON\/ShadowRobot_SW_collaboration_process_v1.0.odt"}
{"reqId":"570cd4d82fc02","app":"remote","message":"SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'waiting for initial communication packet', system error: 95","level":4,"time":"2016-04-12T10:58:31+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"570cd4ddaa732","app":"remote","message":"SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'waiting for initial communication packet', system error: 95","level":4,"time":"2016-04-12T10:58:37+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"570cd45b863b7","app":"PHP","message":"rename(\/usr\/share\/owncloud\/data\/ugo\/files_versions\/CHIRON\/ShadowRobot_SW_collaboration_process_v1.0.odt.v1460107208,\/usr\/share\/owncloud\/data\/ugo\/files_versions\/971441_CHIRON\/Engineering Space\/ShadowRobot_SW_collaboration_process_v1.0.odt.v1460107208): No such file or directory at \/usr\/share\/owncloud\/lib\/private\/files\/storage\/local.php#190","level":3,"time":"2016-04-12T10:58:44+00:00","method":"MOVE","url":"\/remote.php\/webdav\/CHIRON\/ShadowRobot_SW_collaboration_process_v1.0.odt"}
{"reqId":"570cd4ebd864c","app":"remote","message":"SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'waiting for initial communication packet', system error: 95","level":4,"time":"2016-04-12T10:58:51+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"570cd4ec2f825","app":"remote","message":"SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'waiting for initial communication packet', system error: 95","level":4,"time":"2016-04-12T10:58:51+00:00","method":"GET","url":"\/remote.php\/webdav\/971441_CHIRON\/Engineering%20Space\/ShadowRobot_SW_collaboration_process_v1.0.odt"}
{"reqId":"570cd4ecca098","app":"remote","message":"SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'waiting for initial communication packet', system error: 95","level":4,"time":"2016-04-12T10:58:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"570cd4eddc2c5","app":"remote","message":"SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'waiting for initial communication packet', system error: 95","level":4,"time":"2016-04-12T10:58:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}



Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):n):
None particularly.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Zero byte files in 7.0.4

Postby RealRancor » Tue Apr 12, 2016 2:02 pm

Hi,

ownCloud 7.0.4 is outdated and contains various bugs already fixed in newer versions.

In short-term please update to at least 7.0.13 (https://owncloud.org/changelog/), in mid-term upgrade to 8.0.x/8.1.x/8.2.x as oC7 will reach end-of-life in around one month.
*gone*

richwalker
Newbie
Posts: 2
Joined: Tue Apr 12, 2016 1:38 pm
ownCloud version: 7.0.4
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.6.14+dfsg-0+deb8u

Re: Zero byte files in 7.0.4

Postby richwalker » Tue Apr 12, 2016 2:07 pm

Thanks, was about to start an upgrade process, but wanted to capture this first in case it wasn't logged anywhere else!


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Community Edition 7.x”

Who is online

Users browsing this forum: No registered users and 3 guests