For me, it’s not an issue about migrating to a new phone. It also didn’t work on the old phone (though it did work for a little while on the old phone long ago). My data storage folder is /storage/emulated/0/Android/media/com.nextcloud.client
.
Under Settings > Auto Upload I have the following things:
- Camera (Remote folder: /Camera)
- Camera (second one - Remote folder: /instantUpload/Camera)
- MapMyWalk
- Markup (?)
- Screenshots
- AllTrails
- Download
- Instagram
- Messages
- Voice (Remote folder: /instantUpload/Voice)
- Voice (second one - Remote folder: /instantUpload/Voice)
- WhatsApp Video
Many of these seem associated with specific apps. I’ve listed the Remote folder for the duplicated ones. Not sure why I have two Voice ones with the same Remote folder.
I misspoke, I have only 2 Camera things. But they don’t look like one has only videos and the other has only pictures.
As I mentioned, I cannot delete ones I don’t want and perhaps reconfigure them. I can only either include them for auto-upload or hide them.
I’ve tried both unmetered and metered wifi. No difference. It’s my understanding that my home wifi is unmetered. I don’t want to delete files that are uploaded because I use an app called Wallpaper Changer that changes my wallpaper and it’s based on the images from my camera. I like having them change periodically and also periodically I remove photos from my phone if they happen to be taking up too much space. By far my videos eat up the space way before still photos. I generally try to keep just 6 months of still photos on my phone.
I cleared out all of the prior failed uploads. Took 2 new pictures and saw NC attempt to upload the photos. Both failed with Folder error. Nothing was written to the logs.
I find the nextcloud.log to be pretty much unreadable by mere humans. Here’s an excerpt of the tail end of the nextcloud.log
{"reqId":"a5UNFh10AMNETBGZff4l","level":3,"time":"2023-07-20T14:46:41+00:00","remoteAddr":"192.168.0.1","user":"andrew","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/notifications/api/v2/push?format=json","message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.25.0","version":"27.0.0.8","exception":{"Exception":"Exception","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"ValueError","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Security/Crypto.php","line":160,"function":"hash_hkdf","args":["sha512",["SensitiveParameterValue"]]},{"file":"/var/www/html/lib/private/Security/Crypto.php","line":134,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":127,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":146,"function":"retrieveKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":["user-andrew"]},{"file":"/var/www/html/apps/notifications/lib/Controller/PushController.php","line":119,"function":"getKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":[["OC\\User\\User"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"registerDevice","class":"OCA\\Notifications\\Controller\\PushController","type":"->","args":["219c84a5d11b8c035fb6a3a5b9a8db041387162c3d515f8d0fafbf7d77d668181fa4cc80a57904943b7d681b633bf94419d253718b7f8add118f128be70d9596","-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApEayvam+9ETZA2Kccq6u\nas1zA0tCBqdyJIIYKRemzQLCDh26VGfvrXcZ/RCD31BZyLdrsp5Yp5MCQlpqzS52\nn5LFwCUp5QBhPY8VgrPGUamyM/C3+OZ527rGKPfQEGYFRouGSBwCQWDDixridLqU\nsBszGoyJuYISvVYgOX64sQvAgXw0rcAuY2YPnkUWorxNSiuzaw0YitqK03Yw9+xN\n2GX0SbySVIKmcLojEC53T3QsHHDJqh43h4y+bBk9oY9kWhqnSMRKfF1TI9b8r7JH\ncUkbJ8k9ba+QqZ0HCQQb/nu48q8Tugp+nShhmyjeVN0Lg6EZisDN+qvBCu9RWwmJ\nxQIDAQAB\n-----END PUBLIC KEY-----\n","https://push-notifications.nextcloud.com"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Security/Crypto.php","Line":160},"CustomMessage":"--"}}
{"reqId":"woiTPlS2IBt3uLdygv1d","level":2,"time":"2023-07-20T22:27:23+00:00","remoteAddr":"192.168.0.1","user":"--","app":"core","method":"GET","url":"/ocs/v1.php/cloud/user?format=json","message":"Login failed: 'andrew' (Remote IP: '192.168.0.1')","userAgent":"Filelink for *cloud","version":"27.0.0.8","data":{"app":"core"}}
{"reqId":"M5KN8H9O2xQwYYRknC4l","level":3,"time":"2023-07-20T23:11:24+00:00","remoteAddr":"192.168.0.1","user":"andrew","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/notifications/api/v2/push?format=json","message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.25.0","version":"27.0.0.8","exception":{"Exception":"Exception","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"ValueError","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Security/Crypto.php","line":160,"function":"hash_hkdf","args":["sha512",["SensitiveParameterValue"]]},{"file":"/var/www/html/lib/private/Security/Crypto.php","line":134,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":127,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":146,"function":"retrieveKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":["user-andrew"]},{"file":"/var/www/html/apps/notifications/lib/Controller/PushController.php","line":119,"function":"getKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":[["OC\\User\\User"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"registerDevice","class":"OCA\\Notifications\\Controller\\PushController","type":"->","args":["219c84a5d11b8c035fb6a3a5b9a8db041387162c3d515f8d0fafbf7d77d668181fa4cc80a57904943b7d681b633bf94419d253718b7f8add118f128be70d9596","-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApEayvam+9ETZA2Kccq6u\nas1zA0tCBqdyJIIYKRemzQLCDh26VGfvrXcZ/RCD31BZyLdrsp5Yp5MCQlpqzS52\nn5LFwCUp5QBhPY8VgrPGUamyM/C3+OZ527rGKPfQEGYFRouGSBwCQWDDixridLqU\nsBszGoyJuYISvVYgOX64sQvAgXw0rcAuY2YPnkUWorxNSiuzaw0YitqK03Yw9+xN\n2GX0SbySVIKmcLojEC53T3QsHHDJqh43h4y+bBk9oY9kWhqnSMRKfF1TI9b8r7JH\ncUkbJ8k9ba+QqZ0HCQQb/nu48q8Tugp+nShhmyjeVN0Lg6EZisDN+qvBCu9RWwmJ\nxQIDAQAB\n-----END PUBLIC KEY-----\n","https://push-notifications.nextcloud.com"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Security/Crypto.php","Line":160},"CustomMessage":"--"}}
{"reqId":"2y5bvEEZ3qoS0QZqZVEf","level":3,"time":"2023-07-20T23:13:18+00:00","remoteAddr":"192.168.0.1","user":"andrew","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/notifications/api/v2/push?format=json","message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.25.0","version":"27.0.0.8","exception":{"Exception":"Exception","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"ValueError","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Security/Crypto.php","line":160,"function":"hash_hkdf","args":["sha512",["SensitiveParameterValue"]]},{"file":"/var/www/html/lib/private/Security/Crypto.php","line":134,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":127,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":146,"function":"retrieveKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":["user-andrew"]},{"file":"/var/www/html/apps/notifications/lib/Controller/PushController.php","line":119,"function":"getKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":[["OC\\User\\User"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"registerDevice","class":"OCA\\Notifications\\Controller\\PushController","type":"->","args":["219c84a5d11b8c035fb6a3a5b9a8db041387162c3d515f8d0fafbf7d77d668181fa4cc80a57904943b7d681b633bf94419d253718b7f8add118f128be70d9596","-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApEayvam+9ETZA2Kccq6u\nas1zA0tCBqdyJIIYKRemzQLCDh26VGfvrXcZ/RCD31BZyLdrsp5Yp5MCQlpqzS52\nn5LFwCUp5QBhPY8VgrPGUamyM/C3+OZ527rGKPfQEGYFRouGSBwCQWDDixridLqU\nsBszGoyJuYISvVYgOX64sQvAgXw0rcAuY2YPnkUWorxNSiuzaw0YitqK03Yw9+xN\n2GX0SbySVIKmcLojEC53T3QsHHDJqh43h4y+bBk9oY9kWhqnSMRKfF1TI9b8r7JH\ncUkbJ8k9ba+QqZ0HCQQb/nu48q8Tugp+nShhmyjeVN0Lg6EZisDN+qvBCu9RWwmJ\nxQIDAQAB\n-----END PUBLIC KEY-----\n","https://push-notifications.nextcloud.com"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Security/Crypto.php","Line":160},"CustomMessage":"--"}}
{"reqId":"JgJPeE6ZHiADgIhBkYT3","level":3,"time":"2023-07-20T23:43:02+00:00","remoteAddr":"192.168.0.1","user":"andrew","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/notifications/api/v2/push?format=json","message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.25.0","version":"27.0.0.8","exception":{"Exception":"Exception","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"ValueError","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Security/Crypto.php","line":160,"function":"hash_hkdf","args":["sha512",["SensitiveParameterValue"]]},{"file":"/var/www/html/lib/private/Security/Crypto.php","line":134,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":127,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":146,"function":"retrieveKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":["user-andrew"]},{"file":"/var/www/html/apps/notifications/lib/Controller/PushController.php","line":119,"function":"getKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":[["OC\\User\\User"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"registerDevice","class":"OCA\\Notifications\\Controller\\PushController","type":"->","args":["219c84a5d11b8c035fb6a3a5b9a8db041387162c3d515f8d0fafbf7d77d668181fa4cc80a57904943b7d681b633bf94419d253718b7f8add118f128be70d9596","-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApEayvam+9ETZA2Kccq6u\nas1zA0tCBqdyJIIYKRemzQLCDh26VGfvrXcZ/RCD31BZyLdrsp5Yp5MCQlpqzS52\nn5LFwCUp5QBhPY8VgrPGUamyM/C3+OZ527rGKPfQEGYFRouGSBwCQWDDixridLqU\nsBszGoyJuYISvVYgOX64sQvAgXw0rcAuY2YPnkUWorxNSiuzaw0YitqK03Yw9+xN\n2GX0SbySVIKmcLojEC53T3QsHHDJqh43h4y+bBk9oY9kWhqnSMRKfF1TI9b8r7JH\ncUkbJ8k9ba+QqZ0HCQQb/nu48q8Tugp+nShhmyjeVN0Lg6EZisDN+qvBCu9RWwmJ\nxQIDAQAB\n-----END PUBLIC KEY-----\n","https://push-notifications.nextcloud.com"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Security/Crypto.php","Line":160},"CustomMessage":"--"}}
{"reqId":"aXFnoRSm74NXl3XPPDk6","level":3,"time":"2023-07-20T23:43:09+00:00","remoteAddr":"192.168.0.1","user":"andrew","app":"PHP","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/256/Camera/20221226_133902.jpg","message":"Allowed memory size of 536870912 bytes exhausted (tried to allocate 28672 bytes) at /var/www/html/lib/private/legacy/OC_Image.php#533","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.25.0","version":"27.0.0.8","data":{"app":"PHP"}}
{"reqId":"iO5lT0I4XsGH9f6NTo9B","level":3,"time":"2023-07-20T23:43:19+00:00","remoteAddr":"192.168.0.1","user":"andrew","app":"PHP","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/256/Camera/20221226_133902.jpg","message":"Allowed memory size of 536870912 bytes exhausted (tried to allocate 28672 bytes) at /var/www/html/lib/private/legacy/OC_Image.php#533","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.25.0","version":"27.0.0.8","data":{"app":"PHP"}}
{"reqId":"MhP9BqLDODTFq8cxPRXk","level":3,"time":"2023-07-20T23:43:24+00:00","remoteAddr":"192.168.0.1","user":"andrew","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/notifications/api/v2/push?format=json","message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.25.0","version":"27.0.0.8","exception":{"Exception":"Exception","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"ValueError","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Security/Crypto.php","line":160,"function":"hash_hkdf","args":["sha512",["SensitiveParameterValue"]]},{"file":"/var/www/html/lib/private/Security/Crypto.php","line":134,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":127,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":146,"function":"retrieveKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":["user-andrew"]},{"file":"/var/www/html/apps/notifications/lib/Controller/PushController.php","line":119,"function":"getKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":[["OC\\User\\User"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"registerDevice","class":"OCA\\Notifications\\Controller\\PushController","type":"->","args":["219c84a5d11b8c035fb6a3a5b9a8db041387162c3d515f8d0fafbf7d77d668181fa4cc80a57904943b7d681b633bf94419d253718b7f8add118f128be70d9596","-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApEayvam+9ETZA2Kccq6u\nas1zA0tCBqdyJIIYKRemzQLCDh26VGfvrXcZ/RCD31BZyLdrsp5Yp5MCQlpqzS52\nn5LFwCUp5QBhPY8VgrPGUamyM/C3+OZ527rGKPfQEGYFRouGSBwCQWDDixridLqU\nsBszGoyJuYISvVYgOX64sQvAgXw0rcAuY2YPnkUWorxNSiuzaw0YitqK03Yw9+xN\n2GX0SbySVIKmcLojEC53T3QsHHDJqh43h4y+bBk9oY9kWhqnSMRKfF1TI9b8r7JH\ncUkbJ8k9ba+QqZ0HCQQb/nu48q8Tugp+nShhmyjeVN0Lg6EZisDN+qvBCu9RWwmJ\nxQIDAQAB\n-----END PUBLIC KEY-----\n","https://push-notifications.nextcloud.com"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Security/Crypto.php","Line":160},"CustomMessage":"--"}}
{"reqId":"quNXmWktga3WTbnZYSil","level":3,"time":"2023-07-20T23:43:25+00:00","remoteAddr":"192.168.0.1","user":"andrew","app":"PHP","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/256/Camera/20221226_133902.jpg","message":"Allowed memory size of 536870912 bytes exhausted (tried to allocate 28672 bytes) at /var/www/html/lib/private/legacy/OC_Image.php#533","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.25.0","version":"27.0.0.8","data":{"app":"PHP"}}
{"reqId":"bJx2r0TUldrjPhIScfRY","level":3,"time":"2023-07-20T23:46:55+00:00","remoteAddr":"192.168.0.1","user":"andrew","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/notifications/api/v2/push?format=json","message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.25.0","version":"27.0.0.8","exception":{"Exception":"Exception","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"ValueError","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Security/Crypto.php","line":160,"function":"hash_hkdf","args":["sha512",["SensitiveParameterValue"]]},{"file":"/var/www/html/lib/private/Security/Crypto.php","line":134,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":127,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":146,"function":"retrieveKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":["user-andrew"]},{"file":"/var/www/html/apps/notifications/lib/Controller/PushController.php","line":119,"function":"getKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":[["OC\\User\\User"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"registerDevice","class":"OCA\\Notifications\\Controller\\PushController","type":"->","args":["219c84a5d11b8c035fb6a3a5b9a8db041387162c3d515f8d0fafbf7d77d668181fa4cc80a57904943b7d681b633bf94419d253718b7f8add118f128be70d9596","-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApEayvam+9ETZA2Kccq6u\nas1zA0tCBqdyJIIYKRemzQLCDh26VGfvrXcZ/RCD31BZyLdrsp5Yp5MCQlpqzS52\nn5LFwCUp5QBhPY8VgrPGUamyM/C3+OZ527rGKPfQEGYFRouGSBwCQWDDixridLqU\nsBszGoyJuYISvVYgOX64sQvAgXw0rcAuY2YPnkUWorxNSiuzaw0YitqK03Yw9+xN\n2GX0SbySVIKmcLojEC53T3QsHHDJqh43h4y+bBk9oY9kWhqnSMRKfF1TI9b8r7JH\ncUkbJ8k9ba+QqZ0HCQQb/nu48q8Tugp+nShhmyjeVN0Lg6EZisDN+qvBCu9RWwmJ\nxQIDAQAB\n-----END PUBLIC KEY-----\n","https://push-notifications.nextcloud.com"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Security/Crypto.php","Line":160},"CustomMessage":"--"}}
Tried json_pp
but it just gave me an error:
Wizard Earth:cat nextcloud.log | json_pp
garbage after JSON object, at character offset 477 (before ""reqId":"PJRRJda8gXy...") at /usr/local/bin/json_pp line 56.
Wizard Earth:
I’m sure there are other gremlins in my NC instance if I hit + on the NC app on my phone while in a Test
directory I just created then browse over to DCIM (or any other directory) and try to upload a file it says it is but then quickly ends and nothing is uploaded. The log contained:
{"reqId":"RfWbCyz4Jep5QbRVoB0G","level":3,"time":"2023-07-21T00:22:37+00:00","remoteAddr":"192.168.0.1","user":"andrew","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/notifications/api/v2/push?format=json","message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.25.0","version":"27.0.0.8","exception":{"Exception":"Exception","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"ValueError","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Security/Crypto.php","line":160,"function":"hash_hkdf","args":["sha512",["SensitiveParameterValue"]]},{"file":"/var/www/html/lib/private/Security/Crypto.php","line":134,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":127,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":146,"function":"retrieveKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":["user-andrew"]},{"file":"/var/www/html/apps/notifications/lib/Controller/PushController.php","line":119,"function":"getKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":[["OC\\User\\User"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"registerDevice","class":"OCA\\Notifications\\Controller\\PushController","type":"->","args":["219c84a5d11b8c035fb6a3a5b9a8db041387162c3d515f8d0fafbf7d77d668181fa4cc80a57904943b7d681b633bf94419d253718b7f8add118f128be70d9596","-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApEayvam+9ETZA2Kccq6u\nas1zA0tCBqdyJIIYKRemzQLCDh26VGfvrXcZ/RCD31BZyLdrsp5Yp5MCQlpqzS52\nn5LFwCUp5QBhPY8VgrPGUamyM/C3+OZ527rGKPfQEGYFRouGSBwCQWDDixridLqU\nsBszGoyJuYISvVYgOX64sQvAgXw0rcAuY2YPnkUWorxNSiuzaw0YitqK03Yw9+xN\n2GX0SbySVIKmcLojEC53T3QsHHDJqh43h4y+bBk9oY9kWhqnSMRKfF1TI9b8r7JH\ncUkbJ8k9ba+QqZ0HCQQb/nu48q8Tugp+nShhmyjeVN0Lg6EZisDN+qvBCu9RWwmJ\nxQIDAQAB\n-----END PUBLIC KEY-----\n","https://push-notifications.nextcloud.com"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Security/Crypto.php","Line":160},"CustomMessage":"--"}}
{"reqId":"igoy2ddXyggEvR6VCeLL","level":3,"time":"2023-07-21T00:22:56+00:00","remoteAddr":"192.168.0.1","user":"andrew","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/notifications/api/v2/push?format=json","message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.25.0","version":"27.0.0.8","exception":{"Exception":"Exception","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty in file '/var/www/html/lib/private/Security/Crypto.php' line 160","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"ValueError","Message":"hash_hkdf(): Argument #2 ($key) cannot be empty","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Security/Crypto.php","line":160,"function":"hash_hkdf","args":["sha512",["SensitiveParameterValue"]]},{"file":"/var/www/html/lib/private/Security/Crypto.php","line":134,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":127,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Security/IdentityProof/Manager.php","line":146,"function":"retrieveKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":["user-andrew"]},{"file":"/var/www/html/apps/notifications/lib/Controller/PushController.php","line":119,"function":"getKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->","args":[["OC\\User\\User"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"registerDevice","class":"OCA\\Notifications\\Controller\\PushController","type":"->","args":["219c84a5d11b8c035fb6a3a5b9a8db041387162c3d515f8d0fafbf7d77d668181fa4cc80a57904943b7d681b633bf94419d253718b7f8add118f128be70d9596","-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApEayvam+9ETZA2Kccq6u\nas1zA0tCBqdyJIIYKRemzQLCDh26VGfvrXcZ/RCD31BZyLdrsp5Yp5MCQlpqzS52\nn5LFwCUp5QBhPY8VgrPGUamyM/C3+OZ527rGKPfQEGYFRouGSBwCQWDDixridLqU\nsBszGoyJuYISvVYgOX64sQvAgXw0rcAuY2YPnkUWorxNSiuzaw0YitqK03Yw9+xN\n2GX0SbySVIKmcLojEC53T3QsHHDJqh43h4y+bBk9oY9kWhqnSMRKfF1TI9b8r7JH\ncUkbJ8k9ba+QqZ0HCQQb/nu48q8Tugp+nShhmyjeVN0Lg6EZisDN+qvBCu9RWwmJ\nxQIDAQAB\n-----END PUBLIC KEY-----\n","https://push-notifications.nextcloud.com"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Notifications\\Controller\\PushController"],"registerDevice"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\PushController","registerDevice",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["v2","ocs.notifications.Push.registerDevice"]]},{"file":"/var/www/html/ocs/v1.php","line":64,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/push"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Security/Crypto.php","Line":160},"CustomMessage":"--"}}