Skip to content

Video cannot be loaded while clicking on preview icon. In browser's console I can see a request with 404 status #3206

@vasiliybondarenko

Description

@vasiliybondarenko

Describe the bug
Video cannot be loaded while clicking on preview icon. In browser's console I can see a request with 404 status:

http://s.local:81/nextcloud/remote.php/dav/nextcloud/remote.php/dav/files/userId/InstantUpload/Viber/2025/09/20250921__0-02-0a-04ca9ce4b4751d401a1bf2747d116acb6afbc7cb0c7cfc3c8f687b93a91226b5_21c25f2c088.mp4

To Reproduce
Steps to reproduce the behavior:

  1. To to 'All Media'.
  2. Click on any video preview.
  3. See loading icon
  4. In browser console there is failed request like in description.

Expected behavior
Video should be loaded and played after clicking on preview icon.

Screenshots

Desktop (please complete the following information):

  • OS: MacOS
  • Browser chrome, safari
  • Version 15.6.1

Browser log

GET http://s.local:81/nextcloud/remote.php/dav/nextcloud/remote.php/dav/files/s…947c732…_21c25f2f5b3.mp4 net::ERR_ABORTED 404 (Not Found)
Videos.vue:185 Loading of file /files/shredinger/InstantUpload/Viber/2025/09/20250921__0-02-0a-b1441e947c732ae10bd1ec5e2a7d5ee9d591becf5986bc93b8ed7285553c6d30_21c25f2f5b3.mp4 failed, falling back to fetching it by hand
20250921__0-02-0a-b1…0_21c25f2f5b3.mp4:1 
 GET http://s.local:81/nextcloud/remote.php/dav/nextcloud/remote.php/dav/files/s…947c732…_21c25f2f5b3.mp4 net::ERR_ABORTED 404 (Not Found)
xhr-request.js:126 
 GET http://s.local:81/nextcloud/remote.php/dav/files/shredinger/files/shredinge…947c732…_21c25f2f5b3.mp4 404 (Not Found)
Videos.vue:186 Error evaluating async computed property: Error: Invalid response: 404 Not Found
    at Kl (http://s.local:81/nextcloud/apps/viewer/js/previewUtils-DaBzMef-.chunk.mjs:11:2474)
    at Ie (http://s.local:81/nextcloud/apps/viewer/js/previewUtils-DaBzMef-.chunk.mjs:11:2714)
    at http://s.local:81/nextcloud/apps/viewer/js/previewUtils-DaBzMef-.chunk.mjs:11:13614
    at async ka (http://s.local:81/nextcloud/apps/viewer/js/viewer-init.mjs?v=7541ec01-1:4807:3651)
xhr-request.js:126 Fetch failed loading: GET "http://s.local:81/nextcloud/remote.php/dav/files/shredinger/files/shredinge…947c732…_21c25f2f5b3.mp4".
notificationsService.js:74 XHR finished loading: GET "http://s.local:81/nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications".
notificationsService.js:74 XHR finished loading: GET "http://s.local:81/nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications".
index.js:293 OC.requestToken changed MGxG52Of+pdCi0K4RwWlGYCia2rg/MG2pN7cjqL+ZPo=:fScSnlvVuNoK6RXaCWnfKPCREiOilKbc7I/p1MqZFbY=
xhr-request.js:126 Fetch finished loading: GET "http://s.local:81/nextcloud/index.php/csrftoken".
notificationsService.js:74 XHR finished loading: GET "http://s.local:81/nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications".
heartbeatService.js:17 XHR finished loading: PUT "http://s.local:81/nextcloud/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json".
notificationsService.js:74 XHR finished loading: GET "http://s.local:81/nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications".



Additional context
The requested video actually exists on data directory.
Queried DB with the following query:

select path from oc_filecache where path like '%20250921__0-02-0a-b1441e947c732ae10bd1ec5e2a7d5ee9d591becf5986bc93b8ed7285553c6d30_21c25f2f5b3.mp4%' limit 10;

Found the following result:

+--------------------------------------------------------------------------------------------------------------------------------------+
| path                                                                                                                                 |
+--------------------------------------------------------------------------------------------------------------------------------------+
| files/InstantUpload/Viber/2025/09/20250921__0-02-0a-b1441e947c732ae10bd1ec5e2a7d5ee9d591becf5986bc93b8ed7285553c6d30_21c25f2f5b3.mp4 |
+--------------------------------------------------------------------------------------------------------------------------------------+

Tried nextcloud.occ files:scan --all - didn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions