Skip to content
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

copying skeleton results in errors on master #31514

Closed
patrickjahns opened this issue May 23, 2018 · 8 comments · Fixed by #31595
Closed

copying skeleton results in errors on master #31514

patrickjahns opened this issue May 23, 2018 · 8 comments · Fixed by #31595
Assignees
Labels
Milestone

Comments

@patrickjahns
Copy link
Contributor

Since #31285 got merged, errors appear on master.

As this is part of the objectstore fixes - resolving this could be a blocker for objectstore

Steps to reproduce

Run acceptance tests for firewall
or
Run unit tests for file_antivirus

Expected behaviour

No error messages appearing

Actual behaviour

Error messages with:

fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"

Server configuration

environment owncloudci/php:*

Logs

ownCloud log (data/owncloud.log)

{"reqId":"IcMW0oexfDaLMiBdjwDU","level":1,"time":"2018-05-23T09:24:59+00:00","remoteAddr":"172.21.0.6","user":"admin","app":"no app in context","method":"POST","url":"\/ocs\/v2.php\/cloud\/users","message":"Creating new account with UID user1 and backend OC\\User\\Database"}
{"reqId":"IcMW0oexfDaLMiBdjwDU","level":3,"time":"2018-05-23T09:24:59+00:00","remoteAddr":"172.21.0.6","user":"admin","app":"no app in context","method":"POST","url":"\/ocs\/v2.php\/cloud\/users","message":"User backend OC\\User\\Database is returning home: \/var\/www\/owncloud\/data\/user1 for user: user1 which differs from existing value: "}
{"reqId":"IcMW0oexfDaLMiBdjwDU","level":0,"time":"2018-05-23T09:24:59+00:00","remoteAddr":"172.21.0.6","user":"admin","app":"OC\\User\\SyncService","method":"POST","url":"\/ocs\/v2.php\/cloud\/users","message":"Setting home for <user1> to <\/var\/www\/owncloud\/data\/user1>"}
{"reqId":"IcMW0oexfDaLMiBdjwDU","level":0,"time":"2018-05-23T09:24:59+00:00","remoteAddr":"172.21.0.6","user":"admin","app":"OC\\User\\SyncService","method":"POST","url":"\/ocs\/v2.php\/cloud\/users","message":"Setting displayName for <user1> to <user1>"}
{"reqId":"IcMW0oexfDaLMiBdjwDU","level":1,"time":"2018-05-23T09:24:59+00:00","remoteAddr":"172.21.0.6","user":"admin","app":"ocs_api","method":"POST","url":"\/ocs\/v2.php\/cloud\/users","message":"Successful addUser call with userid: user1"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":0,"time":"2018-05-23T09:24:59+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"files_skeleton","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"copying skeleton for user1 from \/var\/www\/owncloud\/tests\/acceptance\/webUISkeleton to \/user1\/files\/"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:24:59+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:00+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:00+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:00+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:00+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:00+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:00+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:00+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:00+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:01+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:01+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:01+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:01+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:01+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:01+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:01+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:02+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:02+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:02+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:02+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:02+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:02+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:02+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:03+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:03+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:03+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:03+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:03+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:03+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:03+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:04+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:04+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:04+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:04+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:04+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:04+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:04+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:04+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:05+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:05+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:05+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:05+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:05+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:05+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:05+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:05+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:06+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:06+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:06+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:06+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:06+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:07+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:07+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:07+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:07+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:07+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:07+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:07+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:07+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:07+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:08+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:08+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:08+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:08+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:08+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:08+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:08+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:08+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:09+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:09+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:09+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:09+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:09+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:09+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:09+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:09+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:10+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:10+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:10+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:10+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:10+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:10+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:10+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:10+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:11+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:11+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:11+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:11+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:11+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:11+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:11+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:11+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:12+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:12+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:12+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:12+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:12+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:12+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
{"reqId":"6Sek4RULbZzGhUVpYCzD","level":3,"time":"2018-05-23T09:25:12+00:00","remoteAddr":"172.21.0.6","user":"user1","app":"PHP","method":"GET","url":"\/ocs\/v1.php\/cloud\/users\/user1","message":"fclose() expects parameter 1 to be resource, object given at \/var\/www\/owncloud\/lib\/private\/legacy\/util.php#437"}
@ownclouders
Copy link
Contributor

GitMate.io thinks possibly related issues are #28840 (-Error-), #26902 (error), #27853 (.htaccess in skeleton folder results in "Internal Server Error"), #29082 (a Error), and #23430 (Set flag in oc_preferences after copying skeleton files).

@PVince81
Copy link
Contributor

Run unit tests for file_antivirus

run object store unit tests or regular ones ?

@patrickjahns
Copy link
Contributor Author

@PVince81
regular ones where sufficient - before owncloud/files_antivirus#230

@PVince81 PVince81 self-assigned this May 30, 2018
@PVince81
Copy link
Contributor

assigning to self for now, will likely need help from @DeepDiver1975 next week

@PVince81
Copy link
Contributor

Interesting, it seems that stream_copy_to_stream already calls fclose, I see the debugger going in stream_close:

0  OC\Files\Stream\Checksum->stream_close() /srv/www/htdocs/owncloud/lib/private/Files/Stream/Checksum.php:166
1  fclose()        /srv/www/htdocs/owncloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php:124
2  Icewind\Streams\CallbackWrapper->stream_close() /srv/www/htdocs/owncloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php:124
3  Icewind\Streams\CallbackWrapper->stream_close() /srv/www/htdocs/owncloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php:107
4  OC_Util::copyr() /srv/www/htdocs/owncloud/lib/private/legacy/util.php:436
5  OC_Util::copyr() /srv/www/htdocs/owncloud/lib/private/legacy/util.php:429
6  OC_Util::copySkeleton() /srv/www/htdocs/owncloud/lib/private/legacy/util.php:406
7  OC\User\Session->prepareUserLogin() /srv/www/htdocs/owncloud/lib/private/User/Session.php:435
8  OC\User\Session->OC\User\{closure}() /srv/www/htdocs/owncloud/lib/private/User/Session.php:510
9  OC\User\Session->emittingCall() /srv/www/htdocs/owncloud/lib/public/Events/EventEmitterTrait.php:50
10 OC\User\Session->loginWithPassword() /srv/www/htdocs/owncloud/lib/private/User/Session.php:522
11 OC\User\Session->login() /srv/www/htdocs/owncloud/lib/private/User/Session.php:321
12 OC\User\Session->logClientIn() /srv/www/htdocs/owncloud/lib/private/User/Session.php:349
13 OC\User\Session->tryBasicAuthLogin() /srv/www/htdocs/owncloud/lib/private/User/Session.php:466
14 OC_API::loginUser() /srv/www/htdocs/owncloud/lib/private/legacy/api.php:359
15 OC_API::isAuthorised() /srv/www/htdocs/owncloud/lib/private/legacy/api.php:282
16 OC_API::call()  /srv/www/htdocs/owncloud/lib/private/legacy/api.php:128
17 OC\Route\Router->match() /srv/www/htdocs/owncloud/lib/private/Route/Router.php:342
18 {main}          /srv/www/htdocs/owncloud/ocs/v1.php:64

@PVince81
Copy link
Contributor

bah, of course... seems like a programming error: the $child->fopen() call is the one that returns the resource, and since it's not stored in a var it will discard the variable before moving on to the next instruction.

PR incoming... we need to fclose on the resource

@PVince81
Copy link
Contributor

PR here: #31595

@lock
Copy link

lock bot commented Jul 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants