pulsejet / memories

Fast, modern and advanced photo management suite. Runs as a Nextcloud app.
https://memories.gallery
GNU Affero General Public License v3.0
3.1k stars 82 forks source link

Transcoding error on local file: Forbidden (External storage not supported) #1293

Open hendricksond opened 6 days ago

hendricksond commented 6 days ago

Describe the bug

I'm running nextcloud & memories on bare metal. When I attempt to watch any video with memories transcoding enabled, I receive this error in the browser's network panel and the video falls back to direct play/no transcoding:

Request URL: https://<redacted>/apps/memories/api/video/transcode/fwrno34fb480/390258/index.m3u8
Request Method: GET
Status Code: 403 Forbidden
Response:

{"message":"Forbidden (External storage not supported)"}

I do have a folder on my nextcloud instance using external storage, but this video file is not in that folder. It's in a local directory.

Nothing shows up in the go-vod log:

2024/09/15 05:48:12 &{Version:0.2.5 Configured:true VersionMonitor:false Bind:127.0.0.1:47788 FFmpeg:/usr/bin/ffmpeg FFprobe:/usr/bin/ffprobe TempDir:/tmp/ocmfjrp8dabi ChunkSize:3 LookBehind:3 GoalBufferMin:1 GoalBufferMax:4 StreamIdleTime:60 ManagerIdleTime:60 QF:25 VAAPI:false VAAPILowPower:false NVENC:false NVENCTemporalAQ:false NVENCScale:cuda UseTranspose:false ForceSwTranspose:false UseGopSize:false}
2024/09/15 05:48:12 &{Version:0.2.5 Configured:true VersionMonitor:false Bind:127.0.0.1:47788 FFmpeg:/usr/bin/ffmpeg FFprobe:/usr/bin/ffprobe TempDir:/tmp/ocmfjrp8dabi ChunkSize:3 LookBehind:3 GoalBufferMin:1 GoalBufferMax:4 StreamIdleTime:60 ManagerIdleTime:60 QF:25 VAAPI:false VAAPILowPower:false NVENC:false NVENCTemporalAQ:false NVENCScale:cuda UseTranspose:false ForceSwTranspose:false UseGopSize:false}
2024/09/15 05:48:12 Starting go-vod 0.2.5 on 127.0.0.1:47788

There aren't any errors in the nextcloud server log, either.

Steps To Reproduce

  1. Upload a video to a local folder in nextcloud
  2. Add an external storage folder, but do not upload any videos there
  3. Configure memories to use transcoding
  4. Attempt to play the video
  5. Observe error in browser console/network tab

Platform

- OS: Windows 11
- Browser: Firefox 130
- Memories Version: 7.3.1
- Nextcloud Version: Nextcloud Hub 9 (30.0.0)
- PHP Version: 8.2.23

Screenshots

No response

Additional context

No response

hendricksond commented 6 days ago

Hmm, it might actually be a problem with Nextcloud 30. I see Memories isn't officially supported on it yet, and removing the configured external storage folder does not resolve the issue.