Skip to content

Encryption.php logging errors with files_primary_s3 configuration even though I do not and have not ever had encryption turned on #337

Open
@posita

Description

@posita

I keep seeing errors in owncloud.log like this:

{"reqId":"…","level":3,"time":"2022-05-16T08:28:20+00:00","remoteAddr":"…","user":"<username>","app":"PHP","method":"GET","url":"\/remote.php\/dav\/files\/<username>\/<path>","message":"fread() expects parameter 1 to be resource, bool given at \/…\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#927"}
{"reqId":"…","level":3,"time":"2022-05-16T08:28:20+00:00","remoteAddr":"…","user":"<username>","app":"PHP","method":"GET","url":"\/remote.php\/dav\/files\/<username>\/<path>","message":"fclose() expects parameter 1 to be resource, bool given at \/…\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#928"}

I have had files_primary_s3 configured for storage since before this user was created. I have never had encryption turned on. I am nervous about this because I have had an entire installation obliterated by encryption interacting with files_primary_s3 before it was identified as an incompatible feature.

I don't know whether this should be part of owncloud/encryption, owncloud/files_primary_s3, or owncloud/core.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions