New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A log appears in owncloud.log file sharing a folder via link #25455

Closed
davitol opened this Issue Jul 12, 2016 · 16 comments

Comments

Projects
None yet
9 participants
@davitol
Contributor

davitol commented Jul 12, 2016

Steps to reproduce

  1. Create a folder
  2. Share it via link
  3. Make it editable
  4. Access the link

Expected behaviour

No logs should be written in owncloud.log file

Actual behaviour

A log appears in owncloud.log file

Server configuration

Operating system:
Ubuntu 14.04

Web server:
Apache

Database:
MySQL

PHP version:
5.5.9

ownCloud version:
{"9.1.0.11","versionstring":"9.1.0 RC1","edition":"Enterprise"}

Updated from an older ownCloud or fresh install:
Fresh

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

Are you using encryption:
No

Logs

{"reqId":"VlK0aQ9d3+O0F\/0xspAY","remoteAddr":"82.159.139.58","app":"filesystem","message":"Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.","level":2,"time":"2016-07-12T08:04:15+00:00","method":"PROPFIND","url":"\/public.php\/webdav\/","user":"--"}

Client configuration

browser

Firefox

@davitol davitol added this to the 9.2 milestone Jul 12, 2016

@enoch85

This comment has been minimized.

Show comment
Hide comment
@enoch85

enoch85 Jul 25, 2016

Member

I can confirm this on 9.1 stable using Ubuntu 16.04 and PHP 7 + MySQL 5.7.


Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:23:51+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:23:49+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:23:48+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:43+02:00
Warning filesystem  Storage wrapper 'readonly' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:41+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:39+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:27+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:27+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:25+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:25+02:00
Warning filesystem  Storage wrapper 'readonly' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:17+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:14+02:00
Member

enoch85 commented Jul 25, 2016

I can confirm this on 9.1 stable using Ubuntu 16.04 and PHP 7 + MySQL 5.7.


Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:23:51+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:23:49+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:23:48+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:43+02:00
Warning filesystem  Storage wrapper 'readonly' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:41+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:39+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:27+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:27+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:25+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:25+02:00
Warning filesystem  Storage wrapper 'readonly' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:17+02:00
Warning filesystem  Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems. 2016-07-25T14:25:14+02:00
@MaxuNs

This comment has been minimized.

Show comment
Hide comment
@MaxuNs

MaxuNs Aug 25, 2016

I have the same problem on OC 9.1.0 (stable) + Ubuntu 14.04.1 + PHP 5 + MySQL 5.5.50 on Federated two Servers:

Warning filesystem Storage wrapper 'readonly' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.

Warning filesystem Storage wrapper 'readonly' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.

Warning filesystem Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.

MaxuNs commented Aug 25, 2016

I have the same problem on OC 9.1.0 (stable) + Ubuntu 14.04.1 + PHP 5 + MySQL 5.5.50 on Federated two Servers:

Warning filesystem Storage wrapper 'readonly' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.

Warning filesystem Storage wrapper 'readonly' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.

Warning filesystem Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.

@MaxuNs

This comment has been minimized.

Show comment
Hide comment
@MaxuNs

MaxuNs Aug 25, 2016

On Remote Server (on Federated) appears:

Fatal webdav Exception: {"Message":"HTTP/1.1 503 Storage not available","Exception":"Sabre\DAV\Exception\ServiceUnavailable","Code":0,"Trace":"#0 /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(903): OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath('Folder_Shared')\n#1 /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(334): Sabre\DAV\Server->getPropertiesForPath('Folder_Shared', Array, 1)\n#2 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#3 /var/www/owncloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(459): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)\n#5 /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#6 /var/www/owncloud/apps/dav/appinfo/v1/webdav.php(56): Sabre\DAV\Server->exec()\n#7 /var/www/owncloud/remote.php(164): require_once('/var/www/ownclo...')\n#8 {main}","File":"/var/www/owncloud/apps/dav/lib/Connector/Sabre/ObjectTree.php","Line":159,"User":"--"}

MaxuNs commented Aug 25, 2016

On Remote Server (on Federated) appears:

Fatal webdav Exception: {"Message":"HTTP/1.1 503 Storage not available","Exception":"Sabre\DAV\Exception\ServiceUnavailable","Code":0,"Trace":"#0 /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(903): OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath('Folder_Shared')\n#1 /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(334): Sabre\DAV\Server->getPropertiesForPath('Folder_Shared', Array, 1)\n#2 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#3 /var/www/owncloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(459): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)\n#5 /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#6 /var/www/owncloud/apps/dav/appinfo/v1/webdav.php(56): Sabre\DAV\Server->exec()\n#7 /var/www/owncloud/remote.php(164): require_once('/var/www/ownclo...')\n#8 {main}","File":"/var/www/owncloud/apps/dav/lib/Connector/Sabre/ObjectTree.php","Line":159,"User":"--"}

@mj-mel

This comment has been minimized.

Show comment
Hide comment
@mj-mel

mj-mel Aug 25, 2016

I too am experiencing this problem using the same versions as reported originally. Any progress?
Thanks

mj-mel commented Aug 25, 2016

I too am experiencing this problem using the same versions as reported originally. Any progress?
Thanks

@tflidd

This comment has been minimized.

Show comment
Hide comment
@tflidd

tflidd Aug 29, 2016

Contributor

9.1.1RC1 has this issue as well (not sure when it appeared for the first time).

Contributor

tflidd commented Aug 29, 2016

9.1.1RC1 has this issue as well (not sure when it appeared for the first time).

@kurdt94

This comment has been minimized.

Show comment
Hide comment
@kurdt94

kurdt94 Sep 6, 2016

Experience the same error in log @ fresh 9.1.0 (stable) install.

kurdt94 commented Sep 6, 2016

Experience the same error in log @ fresh 9.1.0 (stable) install.

@enoch85

This comment has been minimized.

Show comment
Hide comment
@enoch85

enoch85 Sep 27, 2016

Member

9.1.1 as well

Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.
Member

enoch85 commented Sep 27, 2016

9.1.1 as well

Storage wrapper 'sharePermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.
@stanelie

This comment has been minimized.

Show comment
Hide comment
@stanelie

stanelie Oct 4, 2016

Oups, strike my comment, wrong software version

stanelie commented Oct 4, 2016

Oups, strike my comment, wrong software version

@PVince81 PVince81 modified the milestones: 9.2, backlog Oct 14, 2016

@Jenlues

This comment has been minimized.

Show comment
Hide comment
@Jenlues

Jenlues Oct 24, 2016

9.1.1 (stable) on Debian as well

Jenlues commented Oct 24, 2016

9.1.1 (stable) on Debian as well

@enoch85

This comment has been minimized.

Show comment
Hide comment
@enoch85

enoch85 Oct 24, 2016

Member

@PVince81 Why backlog?

Member

enoch85 commented Oct 24, 2016

@PVince81 Why backlog?

@PVince81

This comment has been minimized.

Show comment
Hide comment
@PVince81

PVince81 Oct 24, 2016

Member

Because low severity and also: there are lots of tickets with high severity that needs attention.

But as it goes for any other tickets, anyone is free to take on this task any time.

Member

PVince81 commented Oct 24, 2016

Because low severity and also: there are lots of tickets with high severity that needs attention.

But as it goes for any other tickets, anyone is free to take on this task any time.

@enoch85

This comment has been minimized.

Show comment
Hide comment
@enoch85

enoch85 Oct 24, 2016

Member

Makes sense.

Member

enoch85 commented Oct 24, 2016

Makes sense.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Oct 27, 2016

same with centos 7.2 - php 7 - maraidb 10.1 - owncloud 9.1.1(stable)

ghost commented Oct 27, 2016

same with centos 7.2 - php 7 - maraidb 10.1 - owncloud 9.1.1(stable)

@enoch85

This comment has been minimized.

Show comment
Hide comment
@enoch85

enoch85 Oct 29, 2016

Member

It's fixed in Nextcloud.... nextcloud/server#1722

Member

enoch85 commented Oct 29, 2016

It's fixed in Nextcloud.... nextcloud/server#1722

@PVince81

This comment has been minimized.

Show comment
Hide comment
@PVince81

PVince81 Nov 2, 2016

Member

Well... that's the kind of hack I thought we should rather avoid but fix the core problem instead.

Member

PVince81 commented Nov 2, 2016

Well... that's the kind of hack I thought we should rather avoid but fix the core problem instead.

@PVince81

This comment has been minimized.

Show comment
Hide comment
@PVince81

PVince81 Nov 2, 2016

Member

Alternative PR that groups the hacks in one place, since it seems we can't avoid hacks at this point: #26520

Member

PVince81 commented Nov 2, 2016

Alternative PR that groups the hacks in one place, since it seems we can't avoid hacks at this point: #26520

@PVince81 PVince81 closed this in #26520 Nov 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment