- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4.6k
Labels
Description
⚠️  This issue respects the following points: ⚠️ 
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
I tried to upload a file from another iOS app via "share" and tried to put it into my Nextcloud. But this upload always fail, even if there's sometimes only a current file uploaded on my NC.
Steps to reproduce
- send/share from any iOS app wit/to NC
- it will fail with "error"
- details can be found in logfile on NC server:
Expected behavior
No error should arise anywhere when uploading/sharing files to NC.
Nextcloud Server version
31
Operating system
Other
PHP engine version
PHP 8.3
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 32.0.1 to 32.0.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextwurz.mooo.com",
            "nextcloud.rhoenwurz.de"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forwarded_for_headers": [
            "HTTP_X_FORWARDED",
            "HTTP_FORWARDED_FOR"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.2.1",
        "overwrite.cli.url": "https:\/\/nextwurz.mooo.com",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "3306",
        "dbtableprefix": "",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "updater.release.channel": "stable",
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_smtpauth": 1,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "maintenance": false,
        "loglevel": 2,
        "app_install_overwrite": [
            "quota_warning",
            "occweb",
            "memories"
        ],
        "theme": "",
        "default_phone_region": "GER",
        "trashbin_retention_obligation": "auto,31",
        "maintenance_window_start": 1,
        "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-musl",
        "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
        "enabledPreviewProviders": [
            "OC\\Preview\\Image"
        ],
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "memories.index.path.blacklist": ".hetzner|.pixx|\\\/Music|\\\/My .*|\\\/Videos",
        "memories.db.triggers.fcu": true
    }
}List of activated Apps
Enabled:
  - activity: 4.0.0
  - admin_audit: 1.21.0
  - app_api: 5.0.2
  - bruteforcesettings: 4.0.0
  - calendar: 5.2.0
  - circles: 31.0.0
  - cloud_federation_api: 1.14.0
  - dav: 1.33.0
  - event_update_notification: 2.6.1
  - federatedfilesharing: 1.21.0
  - files: 2.3.1
  - files_downloadlimit: 4.0.0
  - files_external: 1.23.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.1
  - files_trashbin: 1.21.0
  - firstrunwizard: 4.0.0
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - memories: 7.5.2
  - nextcloud_announcements: 3.0.0
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - password_policy: 3.0.0
  - previewgenerator: 5.8.0
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - quota_warning: 1.21.0
  - related_resources: 2.0.0
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - spreed: 21.0.1
  - survey_client: 3.0.0
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - updatenotification: 1.21.0
  - viewer: 4.0.0
  - webhook_listeners: 1.2.0
  - workflowengine: 2.13.0
Disabled:
  - comments: 1.21.0 (installed 1.5.0)
  - contactsinteraction: 1.12.0 (installed 1.1.0)
  - dashboard: 7.11.0 (installed 6.0.0)
  - encryption: 2.19.0
  - federation: 1.21.0 (installed 1.5.0)
  - files_pdfviewer: 4.0.0 (installed 2.0.1)
  - files_versions: 1.24.0 (installed 1.17.0)
  - maps: 1.5.0 (installed 1.5.0)
  - photos: 4.0.0-dev.1 (installed 1.2.0)
  - recommendations: 4.0.0 (installed 0.8.0)
  - support: 3.0.0 (installed 1.0.0)
  - suspicious_login: 9.0.1 (installed 7.0.0)
  - systemtags: 1.21.1 (installed 1.5.0)
  - text: 5.0.0 (installed 3.1.0)
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - user_ldap: 1.22.0
  - user_status: 1.11.0 (installed 1.1.1)
  - weather_status: 1.11.0 (installed 1.0.0)Nextcloud Signing status
No errors have been found.Nextcloud Logs
# ack 2025-04-04.*T10:39.*thomas.*Uploads ~/nextcloud-data-users/nextcloud.log |tr "," "\n"
{"reqId":"qb9JWJJoqk6F1GR7VrAa"
"level":3
"time":"2025-04-04T10:39:10+00:00"
"remoteAddr":"172.23.0.2"
"user":"thomas"
"app":"webdav"
"method":"PROPFIND"
"url":"/remote.php/dav/files/thomas/My%20Uploads/cloudbeats.cbbackup"
"message":"OC\\Files\\Storage\\Wrapper\\Wrapper::hasUpdated(): Argument #2 ($time) must be of type int
 null given
 called in /var/www/html/lib/private/Files/Cache/Watcher.php on line 121"
"userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/6.5.0"
"version":"31.0.2.1"
"exception":{"Exception":"TypeError"
"Message":"OC\\Files\\Storage\\Wrapper\\Wrapper::hasUpdated(): Argument #2 ($time) must be of type int
 null given
 called in /var/www/html/lib/private/Files/Cache/Watcher.php on line 121"
"Code":0
"Trace":[{"file":"/var/www/html/lib/private/Files/Cache/Watcher.php"
"line":121
"function":"hasUpdated"
"class":"OC\\Files\\Storage\\Wrapper\\Wrapper"
"type":"->"
"args":[""
null]}
{"file":"/var/www/html/lib/private/Files/View.php"
"line":1388
"function":"needsUpdate"
"class":"OC\\Files\\Cache\\Watcher"
"type":"->"
"args":[""
{"__class__":"OC\\Files\\Cache\\CacheEntry"}]}
{"file":"/var/www/html/lib/private/Files/View.php"
"line":1422
"function":"getCacheEntry"
"class":"OC\\Files\\View"
"type":"->"
"args":[{"__class__":"OCA\\Files_Trashbin\\Storage"
"cache":null
"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"}
"watcher":null
"propagator":null
"updater":null}
""
"//My Uploads"]}
{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php"
"line":183
"function":"getFileInfo"
"class":"OC\\Files\\View"
"type":"->"
"args":["/thomas/files/My Uploads"]}
{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php"
"line":95
"function":"getChild"
"class":"OCA\\DAV\\Connector\\Sabre\\Directory"
"type":"->"
"args":["My Uploads"]}
{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php"
"line":971
"function":"getNodeForPath"
"class":"Sabre\\DAV\\Tree"
"type":"->"
"args":["files/thomas/My Uploads/cloudbeats.cbbackup"]}
{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php"
"line":1664
"function":"getPropertiesIteratorForPath"
"class":"Sabre\\DAV\\Server"
"type":"->"
"args":["files/thomas/My Uploads/cloudbeats.cbbackup"
["{DAV:}displayname"
"{http://nextcloud.org/ns}share-download-limits"
"{DAV:}getlastmodified"
"{DAV:}getetag"
"{DAV:}getcontenttype"
"And 42 more entries
 set log level to debug to see all entries"]
0]}
{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php"
"line":1649
"function":"writeMultiStatus"
"class":"Sabre\\DAV\\Server"
"type":"->"
"args":[{"__class__":"Sabre\\Xml\\Writer"
"elementMap":[]
"contextUri":"/remote.php/dav/"
"namespaceMap":{"DAV:":"d"
"http://sabredav.org/ns":"s"
"http://owncloud.org/ns":"oc"
"http://nextcloud.org/ns":"nc"}
"classMap":[]}
{"__class__":"Generator"}
false]}
{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php"
"line":346
"function":"generateMultiStatus"
"class":"Sabre\\DAV\\Server"
"type":"->"
"args":[{"__class__":"Generator"}
false]}
{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php"
"line":89
"function":"httpPropFind"
"class":"Sabre\\DAV\\CorePlugin"
"type":"->"
"args":[{"__class__":"Sabre\\HTTP\\Request"}
{"__class__":"Sabre\\HTTP\\Response"}]}
{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php"
"line":472
"function":"emit"
"class":"Sabre\\DAV\\Server"
"type":"->"
"args":["method:PROPFIND"
[{"__class__":"Sabre\\HTTP\\Request"}
{"__class__":"Sabre\\HTTP\\Response"}]]}
{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Server.php"
"line":49
"function":"invokeMethod"
"class":"Sabre\\DAV\\Server"
"type":"->"
"args":[{"__class__":"Sabre\\HTTP\\Request"}
{"__class__":"Sabre\\HTTP\\Response"}]}
{"file":"/var/www/html/apps/dav/lib/Server.php"
"line":397
"function":"start"
"class":"OCA\\DAV\\Connector\\Sabre\\Server"
"type":"->"
"args":[]}
{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php"
"line":21
"function":"exec"
"class":"OCA\\DAV\\Server"
"type":"->"
"args":[]}
{"file":"/var/www/html/remote.php"
"line":145
"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"]
"function":"require_once"}]
"File":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php"
"Line":165
"message":"OC\\Files\\Storage\\Wrapper\\Wrapper::hasUpdated(): Argument #2 ($time) must be of type int
 null given
 called in /var/www/html/lib/private/Files/Cache/Watcher.php on line 121"
"exception":{}
"CustomMessage":"OC\\Files\\Storage\\Wrapper\\Wrapper::hasUpdated(): Argument #2 ($time) must be of type int
 null given
 called in /var/www/html/lib/private/Files/Cache/Watcher.php on line 121"}}Additional info
I'm using docker from https://github.com/nextcloud/docker.git with .examples/docker-compose/with-nginx-proxy/mariadb/fpm