PHP Error at Raspberrypi after a few hours of running

Hello, following is my setup. I have a Raspberry pi 3 b+ running with the newest Version of Nextcloudpi and nextcloud. When I start my Server, everything works smoothly at first. But when I look into the logs after a few hours, Im getting following error:

"PHP",“method”:“MOVE”,“url”:"/remote.php/dav/uploads/User/461234370/.file",“message”:"fseek() expects parameter 2 to be integer, float given at /var/www/nextcloud/3rdparty/icewind/streams/src/Wrapper.php#82"
(complete log in the ncp-report->)

Is this a problem of the connected client who trys to sync files?

After a reboot everything works fine again.

Has anybody seen this somewhere before? Or know what to do?

following a ncp-report:

NextCloudPi diagnostics

NextCloudPi version  v1.8.0
NextCloudPi image    NextCloudPi_01-14-19
distribution         Raspbian GNU/Linux 9 \n \l
automount            yes
USB devices          sda 
datadir              /media/USBdrive/ncdata
data in SD           no
data filesystem      btrfs
data disk usage      1.1T/2.8T
rootfs usage         2.0G/30G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    15.0.2.0
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
Postfix service      up
internet check       ok
port check 80        open
port check 443       open
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
uptime               22min

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "5": "nextcloudpi.local",
            "7": "nextcloudpi",
            "8": "nextcloudpi.lan",
            "1": "192.168.178.37",
            "20": "fbprivatcloud.duckdns.org",
            "21": "_",
            "22": "_",
            "4": "fbprivatcloud.duckdns.org",
            "11": "2001:16b8:55ef:4300:d89e:8a45:1dec:67a6"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "15.0.2.0",
        "overwrite.cli.url": "https:\/\/fbprivatcloud.duckdns.org\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/media\/USBdrive\/ncdata\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "maintenance": false,
        "logfile": "\/media\/USBdrive\/ncdata\/nextcloud.log",
        "loglevel": "2",
        "log_type": "file"
    }
}

HTTPd logs

[Thu Feb 28 06:25:03.612599 2019] [ssl:warn] [pid 922:tid 1996120304] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Thu Feb 28 06:25:04.000618 2019] [mpm_event:notice] [pid 922:tid 1996120304] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2q configured -- resuming normal operations
[Thu Feb 28 06:25:04.000696 2019] [core:notice] [pid 922:tid 1996120304] AH00094: Command line: '/usr/sbin/apache2'
[Thu Feb 28 08:21:20.049079 2019] [mpm_event:notice] [pid 922:tid 1996120304] AH00491: caught SIGTERM, shutting down
[Thu Feb 28 08:21:29.913789 2019] [ssl:warn] [pid 626:tid 1996210416] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Thu Feb 28 08:21:30.076756 2019] [ssl:warn] [pid 739:tid 1996210416] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Thu Feb 28 08:21:31.003969 2019] [mpm_event:notice] [pid 739:tid 1996210416] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2q configured -- resuming normal operations
[Thu Feb 28 08:21:31.004177 2019] [core:notice] [pid 739:tid 1996210416] AH00094: Command line: '/usr/sbin/apache2'

Database logs

2019-02-28  8:22:21 1996394288 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2019-02-28  8:22:21 1996394288 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-02-28  8:22:21 1996394288 [Note] InnoDB: The InnoDB memory heap is disabled
2019-02-28  8:22:21 1996394288 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-02-28  8:22:21 1996394288 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-02-28  8:22:21 1996394288 [Note] InnoDB: Compressed tables use zlib 1.2.8
2019-02-28  8:22:21 1996394288 [Note] InnoDB: Using Linux native AIO
2019-02-28  8:22:21 1996394288 [Note] InnoDB: Using generic crc32 instructions
2019-02-28  8:22:21 1996394288 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2019-02-28  8:22:21 1996394288 [Note] InnoDB: Completed initialization of buffer pool
2019-02-28  8:22:21 1996394288 [Note] InnoDB: Highest supported file format is Barracuda.
2019-02-28  8:22:22 1996394288 [Note] InnoDB: 128 rollback segment(s) are active.
2019-02-28  8:22:22 1996394288 [Note] InnoDB: Waiting for purge to start
2019-02-28  8:22:22 1996394288 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.41-84.1 started; log sequence number 83770342
2019-02-28  8:22:22 1384117056 [Note] InnoDB: Dumping buffer pool(s) not yet started
2019-02-28  8:22:22 1996394288 [Note] Plugin 'FEEDBACK' is disabled.
2019-02-28  8:22:22 1996394288 [Note] Server socket created on IP: '127.0.0.1'.
2019-02-28  8:22:22 1996394288 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.1.37-MariaDB-0+deb9u1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Raspbian 9.0

Nextcloud logs

{"reqId":"XHebvX8AAQEAAAOgZIcAAABL","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/4153311832\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHebvH8AAQEAAAOfKeoAAAAK","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/842988474\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHebvH8AAQEAAAOfKeoAAAAK","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/842988474\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHeaUn8AAQEAAAOfKbcAAAAS","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/3322172016\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHebvX8AAQEAAAOgZIcAAABL","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/4153311832\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHeauX8AAQEAAAOgZGsAAABR","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/2638152135\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHebvX8AAQEAAAOgZIcAAABL","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/4153311832\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHeaUn8AAQEAAAOfKbcAAAAS","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/3322172016\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHebvX8AAQEAAAOgZIcAAABL","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/4153311832\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHeauX8AAQEAAAOgZGsAAABR","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/2638152135\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHebr38AAQEAAAOfKeYAAAAS","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/931776045\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHeapn8AAQEAAAOfKcIAAAAC","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/1221923040\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHearn8AAQEAAAOfKcQAAAAA","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/2713665547\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHebr38AAQEAAAOfKeYAAAAS","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/931776045\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHebvH8AAQEAAAOfKeoAAAAK","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/842988474\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHeaU38AAQEAAAOfKbkAAAAT","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/3534364569\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHeaUn8AAQEAAAOfKbcAAAAS","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/3322172016\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHebvH8AAQEAAAOfKeoAAAAK","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/842988474\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHebvH8AAQEAAAOfKeoAAAAK","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/842988474\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}
{"reqId":"XHeaUn8AAQEAAAOfKbcAAAAS","level":3,"time":"2019-02-28T08:43:32+00:00","remoteAddr":"92.117.103.153","user":"Friedemann","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/Friedemann\/3322172016\/.file","message":"fseek() expects parameter 2 to be integer, float given at \/var\/www\/nextcloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#82","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.2.0"}

I am facing the same, but with different versions. Anyhow, did you get it fixed? If yes, how?

Kind regards
//Neph

no longer supported, latest stable NC is 20.0.4

same story, no longer supported, latest is v1.34.7

again, no longer supported, we are on Debian 10 Buster

Try using the latest image Index of /downloads/NextCloudPi_RPi_11-27-20/