Deck: fclose(): supplied resource is not a valid stream resource at /var/www/html/nextcloud/apps/deck/lib/Service/FileService.php#156

Created on 18 Sep 2018  路  1Comment  路  Source: nextcloud/deck

Error in one of the php files belonging to this app
Bug from Logging in nextcloud setting:

fclose(): supplied resource is not a valid stream resource at /var/www/html/nextcloud/apps/deck/lib/Service/FileService.php#156

To Reproduce
(not sure)

Expected behavior
(no PHP error)

Screenshots
(no need)

Client details:

  • OS: Kubuntu
  • Browser: Firefox
  • Version: 63
  • Device: desktop


Server details

Operating system: Raspbian

Web server: apache2 version 2.4.25-3+deb armhf
Database: postgresql version 9.6+181+deb9

PHP version: php7.0 version 7.0.30-0+deb

Nextcloud version: 14.0.0

Where did you install Nextcloud from: Nextcloud wesbite (tar file)

Signing status: (not sure, help needed)

No errors have been found.

List of activated apps:


Activity 2.7.0 Official
Auditing / Logging 1.4.0 Official
Bookmarks 0.13.0
Calendar 1.6.2 Official
Comments 1.4.0 Official
Deck 0.4.1 
Deleted files 1.4.1 Official
External storage support 1.5.0 Official
File sharing 1.6.2 Official
Files Right Click 0.8.4
First run wizard 2.3.0 Official
Gallery 18.1.0 Official
Log Reader 2.0.0 Official
Monitoring 1.4.0 Official
Nextcloud announcements 1.3.0 Official
Notes 2.4.2 Official
Notifications 2.2.1 Official
Password policy 1.4.0 Official
PDF viewer 1.3.2 Official
Quota warning 1.3.0
Support 1.0.0 Official
Tasks 0.9.7
Text editor 2.6.0 Official
Update notification 1.4.1 Official
Usage survey 1.2.0 Official
Video player  1.3.0 Official 

Nextcloud configuration:

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "raspberry",
            "192.168.*.*"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/raspberry\/nextcloud",
        "dbtype": "pgsql",
        "version": "14.0.0.19",
        "installed": true,
        "maintenance": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "loglevel": 2,
        "enable_previews": false,
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***"
    }
}

Are you using an external user-backend, if yes which one: _none_


Logs

Nextcloud log (data/nextcloud.log)

{"reqId":"Blj7yHbaZPc7YUPov3T1","level":3,"time":"2018-09-18T10:17:35+00:00","remoteAddr":"192.168.12.155","user":"jibran","app":"PHP","method":"POST","url":"\/nextcloud\/index.php\/apps\/deck\/cards\/6\/attachment?type=deck_file","message":"fclose(): supplied resource is not a valid stream resource at \/var\/www\/html\/nextcloud\/apps\/deck\/lib\/Service\/FileService.php#156","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:63.0) Gecko\/20100101 Firefox\/63.0","version":"14.0.0.19"}
{"reqId":"uRkWqVuM08wK5gJAfbHo","level":3,"time":"2018-09-18T10:19:56+00:00","remoteAddr":"192.168.12.155","user":"jibran","app":"PHP","method":"POST","url":"\/nextcloud\/index.php\/apps\/deck\/cards\/5\/attachment?type=deck_file","message":"fclose(): supplied resource is not a valid stream resource at \/var\/www\/html\/nextcloud\/apps\/deck\/lib\/Service\/FileService.php#156","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:63.0) Gecko\/20100101 Firefox\/63.0","version":"14.0.0.19"}


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

1. to develop bug

Most helpful comment

Thanks for reporting.

>All comments

Thanks for reporting.

Was this page helpful?
0 / 5 - 0 ratings