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

Error when enabling the Metrics app #1937

Open
christoph-bittmann opened this issue May 30, 2024 · 0 comments
Open

Error when enabling the Metrics app #1937

christoph-bittmann opened this issue May 30, 2024 · 0 comments

Comments

@christoph-bittmann
Copy link

Description
When attempting to enable the Metrics app in either the ncp-webpanel or ncp-config, I receive the following error message: “ERROR: Metrics services not running!”
Is it an known issue and what can I do to get metrics app running?

Detailed error stacktrace

[ metrics ] (Tue May 28 21:15:48 CEST 2024) Adding password for user metrics Generate config... Installing template 'ncp-metrics.cfg.sh'... done. Enabling and starting services... Synchronizing state of prometheus-node-exporter.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable prometheus-node-exporter ● prometheus-node-exporter.service - Prometheus exporter for machine metrics Loaded: loaded (/lib/systemd/system/prometheus-node-exporter.service; enabled; preset: enabled) Active: active (running) since Mon 2024-05-27 20:46:38 CEST; 24h ago Docs: https://github.com/prometheus/node_exporter Main PID: 75580 (prometheus-node) Tasks: 6 (limit: 9129) Memory: 1.6M CPU: 70ms CGroup: /system.slice/prometheus-node-exporter.service └─75580 /usr/bin/prometheus-node-exporter "--collector.filesystem.ignored-mount-points=^/(dev|proc|run|sys|mnt|var/log|var/lib/docker)(\$|/)"

May 27 20:46:38 nextcloudpi prometheus-node-exporter[75580]: ts=2024-05-27T18:46:38.179Z caller=node_exporter.go:117 level=info collector=thermal_zone
May 27 20:46:38 nextcloudpi prometheus-node-exporter[75580]: ts=2024-05-27T18:46:38.179Z caller=node_exporter.go:117 level=info collector=time
May 27 20:46:38 nextcloudpi prometheus-node-exporter[75580]: ts=2024-05-27T18:46:38.179Z caller=node_exporter.go:117 level=info collector=timex
May 27 20:46:38 nextcloudpi prometheus-node-exporter[75580]: ts=2024-05-27T18:46:38.179Z caller=node_exporter.go:117 level=info collector=udp_queues
May 27 20:46:38 nextcloudpi prometheus-node-exporter[75580]: ts=2024-05-27T18:46:38.179Z caller=node_exporter.go:117 level=info collector=uname
May 27 20:46:38 nextcloudpi prometheus-node-exporter[75580]: ts=2024-05-27T18:46:38.179Z caller=node_exporter.go:117 level=info collector=vmstat
May 27 20:46:38 nextcloudpi prometheus-node-exporter[75580]: ts=2024-05-27T18:46:38.179Z caller=node_exporter.go:117 level=info collector=xfs
May 27 20:46:38 nextcloudpi prometheus-node-exporter[75580]: ts=2024-05-27T18:46:38.179Z caller=node_exporter.go:117 level=info collector=zfs
May 27 20:46:38 nextcloudpi prometheus-node-exporter[75580]: ts=2024-05-27T18:46:38.183Z caller=tls_config.go:232 level=info msg="Listening on" address=[::]:9100
May 27 20:46:38 nextcloudpi prometheus-node-exporter[75580]: ts=2024-05-27T18:46:38.183Z caller=tls_config.go:235 level=info msg="TLS is disabled." http2=false address=[::]:9100
● ncp-metrics-exporter.service - NCP Metrics Exporter
Loaded: loaded (/etc/systemd/system/ncp-metrics-exporter.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2024-05-28 21:16:16 CEST; 34ms ago
Process: 409121 ExecStart=/usr/local/lib/ncp-metrics/ncp-metrics-exporter (code=exited, status=1/FAILURE)
Main PID: 409121 (code=exited, status=1/FAILURE)
CPU: 5ms

May 28 21:16:16 nextcloudpi systemd[1]: ncp-metrics-exporter.service: Failed with result 'exit-code'.
ERROR: Metrics services not running!

System information

NextcloudPi diagnostics

grep: /etc/apache2/sites-available/nextcloud.conf: Datei oder Verzeichnis nicht gefunden
NextcloudPi version  v1.54.2
NextcloudPi image    
OS                   Armbian 24.5.1 bookworm \l . 6.6.31-current-bcm2712 (aarch64)
automount            yes
USB devices          sda 
datadir              /var/www/nextcloud/data
data in SD           yes
data filesystem      ext2/ext3
data disk usage      233G/930G
rootfs usage         233G/930G
swapfile             /dev/zram0
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    28.0.6.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          up
Postfix service      up
Internet check       ok
Public IPv4          ***REMOVED SENSITIVE VALUE***
Public IPv6          ***REMOVED SENSITIVE VALUE***
Port 80              open
Port 443             open
IP                   ***REMOVED SENSITIVE VALUE***
Gateway              ***REMOVED SENSITIVE VALUE***
Interface            end0
Certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               3days

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "7": "nextcloudpi",
            "5": "nextcloudpi.local",
            "8": "nextcloudpi.lan",,
            "11": "2003:db:bf10:c00:b995:f230:f983:b73d",
            "1": "192.168.10.158",
            "14": "nextcloudpi",
            "22": "192.168.10.3"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.6.1",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***/",
        "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": "\/var\/www\/nextcloud\/data\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "loglevel": "2",
        "log_type": "file",
        "htaccess.RewriteBase": "\/",
        "maintenance": false,
        "theme": "",
        "logfile": "\/var\/www\/nextcloud\/data\/nextcloud.log",
        "data-fingerprint": "1625284ad5a8371c9d00ef8472c1bf3d",
        "app_install_overwrite": [
            "ransomware_detection",
            "files_rightclick"
        ],
        "maintenance_window_start": 0,
        "default_phone_region": "DE"
    }
}

HTTPd logs

[Thu May 30 20:16:24.062049 2024] [authz_host:error] [pid 765594:tid 281472986300704] [remote 192.168.10.24:36272] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Thu May 30 20:16:24.197200 2024] [authz_host:error] [pid 765594:tid 281472986300704] [remote 192.168.10.24:36272] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name

Database logs

tail: '/var/log/mysql/*.log' kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden

Nextcloud logs

{"reqId":"ZlYuyuNqU9hs2ODh3LZCxgAAAA8","level":2,"time":"2024-05-28T19:21:47+00:00","remoteAddr":"87.180.28.173","user":"ncp","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/ncp/","message":"Session token credentials are invalid","userAgent":"Mozilla/5.0 (Linux) mirall/3.12.3git (Nextcloud, org.kde.Platform-6.5.0-10036-tuxedo ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.6.1","data":{"app":"core","user":"null"}}
{"reqId":"ZlYu4-NqU9hs2ODh3LZCyAAAFBg","level":2,"time":"2024-05-28T19:22:12+00:00","remoteAddr":"87.180.28.173","user":"ncp","app":"core","method":"GET","url":"/csrftoken","message":"Login failed: 'ncp' (Remote IP: '87.180.28.173')","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:126.0) Gecko/20100101 Firefox/126.0","version":"28.0.6.1","data":{"app":"core"}}
{"reqId":"ZlYu4-NqU9hs2ODh3LZCyAAAFBg","level":2,"time":"2024-05-28T19:22:12+00:00","remoteAddr":"87.180.28.173","user":"ncp","app":"core","method":"GET","url":"/csrftoken","message":"Session token credentials are invalid","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:126.0) Gecko/20100101 Firefox/126.0","version":"28.0.6.1","data":{"app":"core","user":"null"}}
{"reqId":"ZlYzEQhmk936CvSHNLIMHgAAAEQ","level":2,"time":"2024-05-28T19:40:02+00:00","remoteAddr":"87.180.28.173","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/ncp/","message":"Login failed: 'ncp' (Remote IP: '87.180.28.173')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.29.0","version":"28.0.6.1","data":{"app":"core"}}
{"reqId":"ZlYzEQhmk936CvSHNLIMHgAAAEQ","level":2,"time":"2024-05-28T19:40:02+00:00","remoteAddr":"87.180.28.173","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/ncp/","message":"Session token credentials are invalid","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.29.0","version":"28.0.6.1","data":{"app":"core","user":"ncp"}}
{"reqId":"ZlYzEQhmk936CvSHNLIMHgAAAEQ","level":2,"time":"2024-05-28T19:40:03+00:00","remoteAddr":"87.180.28.173","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/ncp/","message":"Login failed: 'ncp' (Remote IP: '87.180.28.173')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.29.0","version":"28.0.6.1","data":{"app":"core"}}
{"reqId":"Zlatt6FU1Ay13x0TR9KecQAAABU","level":2,"time":"2024-05-29T04:23:20+00:00","remoteAddr":"87.180.28.173","user":"--","app":"core","method":"GET","url":"/ocs/v1.php/cloud/user?format=json","message":"Login failed: 'ncp' (Remote IP: '87.180.28.173')","userAgent":"Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.6.1","data":{"app":"core"}}
{"reqId":"Zlatt6FU1Ay13x0TR9KecQAAABU","level":2,"time":"2024-05-29T04:23:20+00:00","remoteAddr":"87.180.28.173","user":"--","app":"core","method":"GET","url":"/ocs/v1.php/cloud/user?format=json","message":"Session token credentials are invalid","userAgent":"Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.6.1","data":{"app":"core","user":"ncp"}}
{"reqId":"Zlatt6FU1Ay13x0TR9KecQAAABU","level":2,"time":"2024-05-29T04:23:21+00:00","remoteAddr":"87.180.28.173","user":"--","app":"core","method":"GET","url":"/ocs/v1.php/cloud/user?format=json","message":"Login failed: 'ncp' (Remote IP: '87.180.28.173')","userAgent":"Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.6.1","data":{"app":"core"}}
{"reqId":"ZleJrKFU1Ay13x0TR9Kf6QAACQU","level":2,"time":"2024-05-29T20:01:49+00:00","remoteAddr":"87.180.28.173","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: Ncp (Remote IP: 87.180.28.173)","userAgent":"Google Pixel 6a (Android)","version":"28.0.6.1","data":[]}
{"reqId":"ZleJuHcdjxAN6feoXWQLpwAAUQM","level":2,"time":"2024-05-29T20:02:01+00:00","remoteAddr":"87.180.28.173","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: ncp (Remote IP: 87.180.28.173)","userAgent":"Google Pixel 6a (Android)","version":"28.0.6.1","data":[]}
{"reqId":"ZleJx6FU1Ay13x0TR9Kf-AAABAw","level":2,"time":"2024-05-29T20:02:16+00:00","remoteAddr":"87.180.28.173","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: ncp (Remote IP: 87.180.28.173)","userAgent":"Google Pixel 6a (Android)","version":"28.0.6.1","data":[]}
{"reqId":"ZleJ1HcdjxAN6feoXWQLtgAARQA","level":2,"time":"2024-05-29T20:02:28+00:00","remoteAddr":"87.180.28.173","user":"--","app":"core","method":"POST","url":"/lostpassword/email","message":"Could not send password reset email: Could not send reset e-mail since there is no email for username ncp","userAgent":"","version":"28.0.6.1","data":{"app":"core"}}
{"reqId":"ZlgFISEG65J-WZ_BSKr5YAAAWBA","level":2,"time":"2024-05-30T04:48:35+00:00","remoteAddr":"87.180.28.173","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: ncp (Remote IP: 87.180.28.173)","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:126.0) Gecko/20100101 Firefox/126.0","version":"28.0.6.1","data":[]}
{"reqId":"ZlgFKyEG65J-WZ_BSKr5ZAAARRg","level":2,"time":"2024-05-30T04:48:46+00:00","remoteAddr":"87.180.28.173","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: ncp (Remote IP: 87.180.28.173)","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:126.0) Gecko/20100101 Firefox/126.0","version":"28.0.6.1","data":[]}
{"reqId":"ZlgFeyEG65J-WZ_BSKr5iAAAUw0","level":2,"time":"2024-05-30T04:50:04+00:00","remoteAddr":"87.180.28.173","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: Ncp (Remote IP: 87.180.28.173)","userAgent":"Google Pixel 6a (Android)","version":"28.0.6.1","data":[]}
{"reqId":"ZlgMQc63SaiBN8XjrMH_BgAAAAc","level":3,"time":"2024-05-30T05:22:32+00:00","remoteAddr":"87.180.28.173","user":"ncp","app":"no app in context","method":"PUT","url":"/remote.php/dav/files/ncp/Fotos/Aktuell/PXL_20240530_050530253.PORTRAIT.jpg","message":"Erwartete Dateigr\u00f6\u00dfe von 5437572 Bytes, aber 98304 Bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.29.0","version":"28.0.6.1","exception":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Erwartete Dateigr\u00f6\u00dfe von 5437572 Bytes, aber 98304 Bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein.","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":148,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1098,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":373,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":172,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":301,"message":"Erwartete Dateigr\u00f6\u00dfe von 5437572 Bytes, aber 98304 Bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein.","exception":{},"CustomMessage":"Erwartete Dateigr\u00f6\u00dfe von 5437572 Bytes, aber 98304 Bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein."}}
{"reqId":"ZliCBkQ5v1iriWmE2Bf_cAAAAJU","level":3,"time":"2024-05-30T13:41:30+00:00","remoteAddr":"146.0.112.195","user":"helmut-andreas","app":"no app in context","method":"PUT","url":"/remote.php/dav/files/helmut-andreas/Fotos/Handy/20240530_080737.jpg","message":"Expected filesize of 4755155 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 4399104 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.29.0","version":"28.0.6.1","exception":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Expected filesize of 4755155 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 4399104 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":148,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1098,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":373,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":172,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":301,"message":"Expected filesize of 4755155 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 4399104 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","exception":{},"CustomMessage":"Expected filesize of 4755155 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 4399104 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side."}}
{"reqId":"ZliCCm611mgeuBkXLi_yYQAAAMI","level":3,"time":"2024-05-30T13:41:31+00:00","remoteAddr":"146.0.112.195","user":"helmut-andreas","app":"no app in context","method":"PUT","url":"/remote.php/dav/files/helmut-andreas/Fotos/Handy/20240530_080748.jpg","message":"Expected filesize of 5291881 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 843776 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.29.0","version":"28.0.6.1","exception":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Expected filesize of 5291881 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 843776 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":148,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1098,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":373,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":172,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":301,"message":"Expected filesize of 5291881 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 843776 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","exception":{},"CustomMessage":"Expected filesize of 5291881 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 843776 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side."}}
{"reqId":"ZlihAkQ5v1iriWmE2Bf_1wAAAIE","level":3,"time":"2024-05-30T15:55:56+00:00","remoteAddr":"87.180.28.173","user":"ncp","app":"no app in context","method":"PUT","url":"/remote.php/dav/files/ncp/Fotos/Aktuell/PXL_20240530_142220239.jpg","message":"Erwartete Dateigr\u00f6\u00dfe von 4562427 Bytes, aber 57344 Bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.29.0","version":"28.0.6.1","exception":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Erwartete Dateigr\u00f6\u00dfe von 4562427 Bytes, aber 57344 Bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein.","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":148,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1098,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":373,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":172,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":301,"message":"Erwartete Dateigr\u00f6\u00dfe von 4562427 Bytes, aber 57344 Bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein.","exception":{},"CustomMessage":"Erwartete Dateigr\u00f6\u00dfe von 4562427 Bytes, aber 57344 Bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein."}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant