nextcloud / nextcloud/nextcloudpi

Autoupload from android app suddenly stops

Open
#1,655 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

more info needed
Dominant language
Shell
Stars
2.9k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

System information

NextCloudPi image    NextCloudPi_RaspberryPi_v1.50.3.img
OS                   Debian GNU/Linux 11. 5.10.92-v8+ (aarch64)
automount            no
USB devices          none
datadir              /var/www/nextcloud/data
data in SD           yes
data filesystem      ext2/ext3
data disk usage      4.3G/59G
rootfs usage         4.3G/59G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    24.0.5.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          down
Postfix service      up
Internet check       ok
public IP            ***REMOVED SENSITIVE VALUE***
public IP            ***REMOVED SENSITIVE VALUE***
Port check 80        closed
Port check 443       closed
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
Interface            wlan0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               1:47
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "7": "nextcloudpi",
            "5": "nextcloudpi.local",
            "8": "nextcloudpi.lan",
            "3": "correntrpi.hopto.org",
            "11": "93.42.69.117",
            "1": "192.168.1.64",
            "14": "nextcloudpi"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "24.0.5.1",
        "overwrite.cli.url": "https:\/\/correntrpi.hopto.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": "\/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***",
        "htaccess.RewriteBase": "\/",
        "maintenance": false


<!-- NextCloudPi version  v1.50.3
NextCloudPi image    NextCloudPi_RaspberryPi_v1.50.3.img
OS                   Debian GNU/Linux 11. 5.10.92-v8+ (aarch64)
automount            no
USB devices          none
datadir              /var/www/nextcloud/data
data in SD           yes
data filesystem      ext2/ext3
data disk usage      4.3G/59G
rootfs usage         4.3G/59G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    24.0.5.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          down
Postfix service      up
Internet check       ok
public IP            ***REMOVED SENSITIVE VALUE***
public IP            ***REMOVED SENSITIVE VALUE***
Port check 80        closed
Port check 443       closed
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
Interface            wlan0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               1:47

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "7": "nextcloudpi",
            "5": "nextcloudpi.local",
            "8": "nextcloudpi.lan",
            "3": "correntrpi.hopto.org",
            "11": "93.42.69.117",
            "1": "192.168.1.64",
            "14": "nextcloudpi"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "24.0.5.1",
        "overwrite.cli.url": "https:\/\/correntrpi.hopto.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": "\/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***",
        "htaccess.RewriteBase": "\/",
        "maintenance": false
    }
}

HTTPd logs

[Mon Nov 07 18:37:09.636537 2022] [core:notice] [pid 703:tid 548219159616] AH000                                                                                                             94: Command line: '/usr/sbin/apache2'
[Mon Nov 07 18:38:58.136417 2022] [authz_host:error] [pid 705:tid 548159091072]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/ncp-log                                                                                                             o.svg failed, reason: unable to get the remote host name
[Mon Nov 07 18:38:58.136417 2022] [authz_host:error] [pid 705:tid 548016406912]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /js/minified                                                                                                             .js failed, reason: unable to get the remote host name
[Mon Nov 07 18:38:58.248956 2022] [authz_host:error] [pid 705:tid 548033200512]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/nc-butt                                                                                                             on.svg failed, reason: unable to get the remote host name, referer: https://next                                                                                                             cloudpi:4443/css/ncp.css
[Mon Nov 07 18:38:58.249116 2022] [authz_host:error] [pid 705:tid 548016406912]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/search.                                                                                                             svg failed, reason: unable to get the remote host name, referer: https://nextclo                                                                                                             udpi:4443/css/ncp.css
[Mon Nov 07 18:38:58.258563 2022] [authz_host:error] [pid 705:tid 548016406912]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/dashboa                                                                                                             rd.svg failed, reason: unable to get the remote host name, referer: https://next                                                                                                             cloudpi:4443/css/ncp.css
[Mon Nov 07 18:38:58.261195 2022] [authz_host:error] [pid 705:tid 548016406912]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/default                                                                                                             s-white.svg failed, reason: unable to get the remote host name, referer: https:/                                                                                                             /nextcloudpi:4443/css/ncp.css
[Mon Nov 07 18:38:58.266278 2022] [authz_host:error] [pid 705:tid 548016406912]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/setting                                                                                                             s-white.svg failed, reason: unable to get the remote host name, referer: https:/                                                                                                             /nextcloudpi:4443/css/ncp.css
[Mon Nov 07 18:38:58.272868 2022] [authz_host:error] [pid 705:tid 548016406912]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/logs.sv                                                                                                             g failed, reason: unable to get the remote host name, referer: https://nextcloud                                                                                                             pi:4443/css/ncp.css
[Mon Nov 07 18:38:58.273767 2022] [authz_host:error] [pid 705:tid 548033200512]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/wizard.                                                                                                             svg failed, reason: unable to get the remote host name, referer: https://nextclo                                                                                                             udpi:4443/css/ncp.css
[Mon Nov 07 18:38:58.572899 2022] [authz_host:error] [pid 705:tid 548159091072]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /ncp-launche                                                                                                             r.php failed, reason: unable to get the remote host name
[Mon Nov 07 18:39:03.476263 2022] [authz_host:error] [pid 704:tid 548024807808]                                                                                                              [client 192.168.1.69:50028] AH01753: access check of 'localhost' to /img/nc-butt                                                                                                             on.svg failed, reason: unable to get the remote host name
[Mon Nov 07 18:39:03.491998 2022] [authz_host:error] [pid 704:tid 548083556736]                                                                                                              [client 192.168.1.69:50028] AH01753: access check of 'localhost' to /core/img/ac                                                                                                             tions/checkbox-mixed.svg failed, reason: unable to get the remote host name
[Mon Nov 07 18:39:03.492586 2022] [authz_host:error] [pid 704:tid 548049985920]                                                                                                              [client 192.168.1.69:50028] AH01753: access check of 'localhost' to /core/img/ac                                                                                                             tions/checkbox-mixed-white.svg failed, reason: unable to get the remote host nam                                                                                                             e
[Mon Nov 07 18:39:03.504366 2022] [authz_host:error] [pid 704:tid 548117127552]                                                                                                              [client 192.168.1.69:50028] AH01753: access check of 'localhost' to /img/green-c                                                                                                             ircle.svg failed, reason: unable to get the remote host name
[Mon Nov 07 18:39:03.506759 2022] [authz_host:error] [pid 704:tid 548133912960]                                                                                                              [client 192.168.1.69:50028] AH01753: access check of 'localhost' to /core/img/ac                                                                                                             tions/checkbox-mark-white.svg failed, reason: unable to get the remote host name
[Mon Nov 07 18:39:37.638348 2022] [authz_host:error] [pid 705:tid 548159091072]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /ncp-launche                                                                                                             r.php failed, reason: unable to get the remote host name
[Mon Nov 07 18:39:37.667027 2022] [authz_host:error] [pid 705:tid 548159091072]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /ncp-launche                                                                                                             r.php failed, reason: unable to get the remote host name
[Mon Nov 07 18:40:38.320105 2022] [authz_host:error] [pid 705:tid 548159091072]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /ncp-launche                                                                                                             r.php failed, reason: unable to get the remote host name
[Mon Nov 07 18:42:28.122361 2022] [authz_host:error] [pid 705:tid 548159091072]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /ncp-launche                                                                                                             r.php failed, reason: unable to get the remote host name

tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory

</details>

                       InstantUpload/Camera/PXL_20220812_124655759.jpg could not be located"}}
{"reqId":"Y2ll73xmubv-3xWvUjFxlgAAAI8","level":2,"time":"2022-11-07T20:09:19+00:                                                                                                             00","remoteAddr":"192.168.1.66","user":"ncp","app":"no app in context","method":                                                                                                             "HEAD","url":"/remote.php/dav/files/ncp//InstantUpload/Camera/IMG_20210629_00321                                                                                                             2.jpg","message":"File with name /InstantUpload/Camera/IMG_20210629_003212.jpg c                                                                                                             ould not be located","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.22.3                                                                                                             ","version":"24.0.5.1","exception":{"Exception":"Sabre\\DAV\\Exception\\NotFound                                                                                                             ","Message":"File with name /InstantUpload/Camera/IMG_20210629_003212.jpg could                                                                                                              not be located","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/sabre/dav                                                                                                             /lib/DAV/Tree.php","line":78,"function":"getChild","class":"OCA\\DAV\\Connector\                                                                                                             \Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/DAV/Vie                                                                                                             wOnlyPlugin.php","line":75,"function":"getNodeForPath","class":"Sabre\\DAV\\Tree                                                                                                             ","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmit                                                                                                             terTrait.php","line":89,"function":"checkViewOnly","class":"OCA\\DAV\\DAV\\ViewO                                                                                                             nlyPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/S                                                                                                             erver.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"                                                                                                             },{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":                                                                                                             251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":                                                                                                             "/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89                                                                                                             ,"function":"httpHead","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/v                                                                                                             ar/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"e                                                                                                             mit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdpa                                                                                                             rty/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":358,"fun                                                                                                             ction":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcl                                                                                                             oud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DA                                                                                                             V\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":166,"args                                                                                                             ":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once                                                                                                             "}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","Line                                                                                                             ":242,"message":"File with name /InstantUpload/Camera/IMG_20210629_003212.jpg co                                                                                                             uld not be located","exception":{},"CustomMessage":"File with name /InstantUploa                                                                                                             d/Camera/IMG_20210629_003212.jpg could not be located"}}
{"reqId":"Y2ll83xmubv-3xWvUjFxnwAAAJc","level":2,"time":"2022-11-07T20:09:23+00:                                                                                                             00","remoteAddr":"192.168.1.66","user":"ncp","app":"no app in context","method":                                                                                                             "HEAD","url":"/remote.php/dav/files/ncp//InstantUpload/Camera/20220805_150439.jp                                                                                                             g","message":"File with name /InstantUpload/Camera/20220805_150439.jpg could not                                                                                                              be located","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.22.3","versi                                                                                                             on":"24.0.5.1","exception":{"Exception":"Sabre\\DAV\\Exception\\NotFound","Messa                                                                                                             ge":"File with name /InstantUpload/Camera/20220805_150439.jpg could not be locat                                                                                                             ed","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tre                                                                                                             e.php","line":78,"function":"getChild","class":"OCA\\DAV\\Connector\\Sabre\\Dire                                                                                                             ctory","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/DAV/ViewOnlyPlugin.                                                                                                             php","line":75,"function":"getNodeForPath","class":"Sabre\\DAV\\Tree","type":"->                                                                                                             "},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php                                                                                                             ","line":89,"function":"checkViewOnly","class":"OCA\\DAV\\DAV\\ViewOnlyPlugin","                                                                                                             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/CorePlugin.php","line":251,"functio                                                                                                             n":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/ne                                                                                                             xtcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":                                                                                                             "httpHead","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextc                                                                                                             loud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class"                                                                                                             :"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/da                                                                                                             v/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\                                                                                                             Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Serv                                                                                                                                                                                                                          b/DAV/ViewOnlyPlugin.php","line":75,"function":"getNodeForPath","class":"Sabre\\                                                                                                             DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/Wil                                                                                                             dcardEmitterTrait.php","line":89,"function":"checkViewOnly","class":"OCA\\DAV\\D                                                                                                             AV\\ViewOnlyPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/                                                                                                             lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","t                                                                                                             ype":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php                                                                                                             ","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"}                                                                                                             ,{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",                                                                                                             "line":89,"function":"httpHead","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"                                                                                                             file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"fun                                                                                                             ction":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcl                                                                                                             oud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod",                                                                                                             "class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/s                                                                                                             abre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\                                                                                                             Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line"                                                                                                                                                                                            file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"fun                                                                                                             ction":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcl                                                                                                             oud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod",                                                                                                             "class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/s                                                                                                             abre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\                                                                                                             Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line"                                                                                                             :358,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/w                                                                                                             ww/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class"                                                                                                             :"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":                                                                                                             166,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"req                                                                                                             uire_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.p                                                                                                             hp","Line":242,"message":"File with name /InstantUpload/Camera/PXL_20220904_1842                                                                                                             09088.jpg could not be located","exception":{},"CustomMessage":"File with name /                                                                                                             InstantUpload/Camera/PXL_20220904_184209088.jpg could not be located"}}
{"reqId":"Y2lmCnxmubv-3xWvUjFxzQAAAIc","level":2,"time":"2022-11-07T20:09:46+00:                                                                                                             00","remoteAddr":"192.168.1.66","user":"ncp","app":"no app in context","method":                                                                                                             "HEAD","url":"/remote.php/dav/files/ncp//InstantUpload/Camera/PXL_20220807_08583                                                                                                             3221.jpg","message":"File with name /InstantUpload/Camera/PXL_20220807_085833221                                                                                                             .jpg could not be located","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/                                                                                                             3.22.3","version":"24.0.5.1","exception":{"Exception":"Sabre\\DAV\\Exception\\No                                                                                                             tFound","Message":"File with name /InstantUpload/Camera/PXL_20220807_085833221.j                                                                                                             pg could not be located","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/                                                                                                             sabre/dav/lib/DAV/Tree.php","line":78,"function":"getChild","class":"OCA\\DAV\\C                                                                                                                                                                                     /PXL_20220409_082946276.jpg could not be located"}}
 -->

I recently installed NextcloudPi on my Reaspberry Pi 4 Model B and setted the autoupload of my picture folders on my Pixel 4a with LineageOS 19.1, Nextcloud app 3.22.3. The upload started regularly but when it reached 500MB of items uploaded crashed and the app report "Server unavailable". Checking from web browser denies this: the server is up and running but not reachable from my phone. I noticed that rebooting my phone makes the upload to restart but after few MB uploaded it crashes again.

[Mon Nov 07 18:37:09.636537 2022] [core:notice] [pid 703:tid 548219159616] AH000                                                                                                             94: Command line: '/usr/sbin/apache2'
[Mon Nov 07 18:38:58.136417 2022] [authz_host:error] [pid 705:tid 548159091072]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/ncp-log                                                                                                             o.svg failed, reason: unable to get the remote host name
[Mon Nov 07 18:38:58.136417 2022] [authz_host:error] [pid 705:tid 548016406912]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /js/minified                                                                                                             .js failed, reason: unable to get the remote host name
[Mon Nov 07 18:38:58.248956 2022] [authz_host:error] [pid 705:tid 548033200512]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/nc-butt                                                                                                             on.svg failed, reason: unable to get the remote host name, referer: https://next                                                                                                             cloudpi:4443/css/ncp.css
[Mon Nov 07 18:38:58.249116 2022] [authz_host:error] [pid 705:tid 548016406912]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/search.                                                                                                             svg failed, reason: unable to get the remote host name, referer: https://nextclo                                                                                                             udpi:4443/css/ncp.css
[Mon Nov 07 18:38:58.258563 2022] [authz_host:error] [pid 705:tid 548016406912]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/dashboa                                                                                                             rd.svg failed, reason: unable to get the remote host name, referer: https://next                                                                                                             cloudpi:4443/css/ncp.css
[Mon Nov 07 18:38:58.261195 2022] [authz_host:error] [pid 705:tid 548016406912]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/default                                                                                                             s-white.svg failed, reason: unable to get the remote host name, referer: https:/                                                                                                             /nextcloudpi:4443/css/ncp.css
[Mon Nov 07 18:38:58.266278 2022] [authz_host:error] [pid 705:tid 548016406912]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/setting                                                                                                             s-white.svg failed, reason: unable to get the remote host name, referer: https:/                                                                                                             /nextcloudpi:4443/css/ncp.css
[Mon Nov 07 18:38:58.272868 2022] [authz_host:error] [pid 705:tid 548016406912]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/logs.sv                                                                                                             g failed, reason: unable to get the remote host name, referer: https://nextcloud                                                                                                             pi:4443/css/ncp.css
[Mon Nov 07 18:38:58.273767 2022] [authz_host:error] [pid 705:tid 548033200512]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /img/wizard.                                                                                                             svg failed, reason: unable to get the remote host name, referer: https://nextclo                                                                                                             udpi:4443/css/ncp.css
[Mon Nov 07 18:38:58.572899 2022] [authz_host:error] [pid 705:tid 548159091072]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /ncp-launche                                                                                                             r.php failed, reason: unable to get the remote host name
[Mon Nov 07 18:39:03.476263 2022] [authz_host:error] [pid 704:tid 548024807808]                                                                                                              [client 192.168.1.69:50028] AH01753: access check of 'localhost' to /img/nc-butt                                                                                                             on.svg failed, reason: unable to get the remote host name
[Mon Nov 07 18:39:03.491998 2022] [authz_host:error] [pid 704:tid 548083556736]                                                                                                              [client 192.168.1.69:50028] AH01753: access check of 'localhost' to /core/img/ac                                                                                                             tions/checkbox-mixed.svg failed, reason: unable to get the remote host name
[Mon Nov 07 18:39:03.492586 2022] [authz_host:error] [pid 704:tid 548049985920]                                                                                                              [client 192.168.1.69:50028] AH01753: access check of 'localhost' to /core/img/ac                                                                                                             tions/checkbox-mixed-white.svg failed, reason: unable to get the remote host nam                                                                                                             e
[Mon Nov 07 18:39:03.504366 2022] [authz_host:error] [pid 704:tid 548117127552]                                                                                                              [client 192.168.1.69:50028] AH01753: access check of 'localhost' to /img/green-c                                                                                                             ircle.svg failed, reason: unable to get the remote host name
[Mon Nov 07 18:39:03.506759 2022] [authz_host:error] [pid 704:tid 548133912960]                                                                                                              [client 192.168.1.69:50028] AH01753: access check of 'localhost' to /core/img/ac                                                                                                             tions/checkbox-mark-white.svg failed, reason: unable to get the remote host name
[Mon Nov 07 18:39:37.638348 2022] [authz_host:error] [pid 705:tid 548159091072]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /ncp-launche                                                                                                             r.php failed, reason: unable to get the remote host name
[Mon Nov 07 18:39:37.667027 2022] [authz_host:error] [pid 705:tid 548159091072]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /ncp-launche                                                                                                             r.php failed, reason: unable to get the remote host name
[Mon Nov 07 18:40:38.320105 2022] [authz_host:error] [pid 705:tid 548159091072]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /ncp-launche                                                                                                             r.php failed, reason: unable to get the remote host name
[Mon Nov 07 18:42:28.122361 2022] [authz_host:error] [pid 705:tid 548159091072]                                                                                                              [client 192.168.1.69:50014] AH01753: access check of 'localhost' to /ncp-launche                                                                                                             r.php failed, reason: unable to get the remote host name

tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory

</details>

                       InstantUpload/Camera/PXL_20220812_124655759.jpg could not be located"}}
{"reqId":"Y2ll73xmubv-3xWvUjFxlgAAAI8","level":2,"time":"2022-11-07T20:09:19+00:                                                                                                             00","remoteAddr":"192.168.1.66","user":"ncp","app":"no app in context","method":                                                                                                             "HEAD","url":"/remote.php/dav/files/ncp//InstantUpload/Camera/IMG_20210629_00321                                                                                                             2.jpg","message":"File with name /InstantUpload/Camera/IMG_20210629_003212.jpg c                                                                                                             ould not be located","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.22.3                                                                                                             ","version":"24.0.5.1","exception":{"Exception":"Sabre\\DAV\\Exception\\NotFound                                                                                                             ","Message":"File with name /InstantUpload/Camera/IMG_20210629_003212.jpg could                                                                                                              not be located","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/sabre/dav                                                                                                             /lib/DAV/Tree.php","line":78,"function":"getChild","class":"OCA\\DAV\\Connector\                                                                                                             \Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/DAV/Vie                                                                                                             wOnlyPlugin.php","line":75,"function":"getNodeForPath","class":"Sabre\\DAV\\Tree                                                                                                             ","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmit                                                                                                             terTrait.php","line":89,"function":"checkViewOnly","class":"OCA\\DAV\\DAV\\ViewO                                                                                                             nlyPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/S                                                                                                             erver.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"                                                                                                             },{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":                                                                                                             251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":                                                                                                             "/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89                                                                                                             ,"function":"httpHead","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/v                                                                                                             ar/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"e                                                                                                             mit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdpa                                                                                                             rty/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":358,"fun                                                                                                             ction":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcl                                                                                                             oud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DA                                                                                                             V\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":166,"args                                                                                                             ":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once                                                                                                             "}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","Line                                                                                                             ":242,"message":"File with name /InstantUpload/Camera/IMG_20210629_003212.jpg co                                                                                                             uld not be located","exception":{},"CustomMessage":"File with name /InstantUploa                                                                                                             d/Camera/IMG_20210629_003212.jpg could not be located"}}
{"reqId":"Y2ll83xmubv-3xWvUjFxnwAAAJc","level":2,"time":"2022-11-07T20:09:23+00:                                                                                                             00","remoteAddr":"192.168.1.66","user":"ncp","app":"no app in context","method":                                                                                                             "HEAD","url":"/remote.php/dav/files/ncp//InstantUpload/Camera/20220805_150439.jp                                                                                                             g","message":"File with name /InstantUpload/Camera/20220805_150439.jpg could not                                                                                                              be located","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.22.3","versi                                                                                                             on":"24.0.5.1","exception":{"Exception":"Sabre\\DAV\\Exception\\NotFound","Messa                                                                                                             ge":"File with name /InstantUpload/Camera/20220805_150439.jpg could not be locat                                                                                                             ed","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tre                                                                                                             e.php","line":78,"function":"getChild","class":"OCA\\DAV\\Connector\\Sabre\\Dire                                                                                                             ctory","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/DAV/ViewOnlyPlugin.                                                                                                             php","line":75,"function":"getNodeForPath","class":"Sabre\\DAV\\Tree","type":"->                                                                                                             "},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php                                                                                                             ","line":89,"function":"checkViewOnly","class":"OCA\\DAV\\DAV\\ViewOnlyPlugin","                                                                                                             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/CorePlugin.php","line":251,"functio                                                                                                             n":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/ne                                                                                                             xtcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":                                                                                                             "httpHead","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextc                                                                                                             loud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class"                                                                                                             :"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/da                                                                                                             v/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\                                                                                                             Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Serv                                                                                                                                                                                                                          b/DAV/ViewOnlyPlugin.php","line":75,"function":"getNodeForPath","class":"Sabre\\                                                                                                             DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/Wil                                                                                                             dcardEmitterTrait.php","line":89,"function":"checkViewOnly","class":"OCA\\DAV\\D                                                                                                             AV\\ViewOnlyPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/                                                                                                             lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","t                                                                                                             ype":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php                                                                                                             ","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"}                                                                                                             ,{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",                                                                                                             "line":89,"function":"httpHead","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"                                                                                                             file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"fun                                                                                                             ction":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcl                                                                                                             oud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod",                                                                                                             "class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/s                                                                                                             abre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\                                                                                                             Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line"                                                                                                                                                                                            file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"fun                                                                                                             ction":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcl                                                                                                             oud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod",                                                                                                             "class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/s                                                                                                             abre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\                                                                                                             Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line"                                                                                                             :358,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/w                                                                                                             ww/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class"                                                                                                             :"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":                                                                                                             166,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"req                                                                                                             uire_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.p                                                                                                             hp","Line":242,"message":"File with name /InstantUpload/Camera/PXL_20220904_1842                                                                                                             09088.jpg could not be located","exception":{},"CustomMessage":"File with name /                                                                                                             InstantUpload/Camera/PXL_20220904_184209088.jpg could not be located"}}
{"reqId":"Y2lmCnxmubv-3xWvUjFxzQAAAIc","level":2,"time":"2022-11-07T20:09:46+00:                                                                                                             00","remoteAddr":"192.168.1.66","user":"ncp","app":"no app in context","method":                                                                                                             "HEAD","url":"/remote.php/dav/files/ncp//InstantUpload/Camera/PXL_20220807_08583                                                                                                             3221.jpg","message":"File with name /InstantUpload/Camera/PXL_20220807_085833221                                                                                                             .jpg could not be located","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/                                                                                                             3.22.3","version":"24.0.5.1","exception":{"Exception":"Sabre\\DAV\\Exception\\No                                                                                                             tFound","Message":"File with name /InstantUpload/Camera/PXL_20220807_085833221.j                                                                                                             pg could not be located","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/                                                                                                             sabre/dav/lib/DAV/Tree.php","line":78,"function":"getChild","class":"OCA\\DAV\\C                                                                                                                                                                                     /PXL_20220409_082946276.jpg could not be located"


Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the reported HTTPd logs and the NextCloudPi and Nextcloud configuration, then reproduce the Android auto-upload failure. The issue does not identify a source file, test, or specific failure point; done means isolating the cause and verifying that auto-upload works reliably again.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, debian, linux, raspberry-pi, shell
Domain
backend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.