I am attempting to watch a video on my nextcloud IOS app and whenever I try to watch the video I get an error (shown in the photo).
Troubleshooting Steps Attempted
-
Enabled Direct Link API
-
Set
dav.direct.enabled: truein Nextcloud config -
Restarted web server
-
-
Fixed Encrypted Files Issue
-
Discovered files were still encrypted from previous encryption setup
-
Re-enabled encryption temporarily
-
Ran
encryption:decrypt-allto decrypt all files -
Disabled encryption again
-
Rescanned files with
files:scan
-
-
Fixed Database File Paths
-
Deleted old encrypted file cache entries from database
-
Rescanned all files to update paths from
files_encryption/keys/...tofiles/.Private/... -
Verified file paths corrected in database
-
-
Tested Direct Link API
-
Confirmed API returns HTTP 200 with valid URLs
-
Verified direct links work when accessed via curl
-
Token expiration set to 8 hours (default)
-
-
Nginx Proxy Manager Configuration
-
Removed
proxy_set_header Accept-Encoding ""; -
Added
proxy_buffering off;for streaming support -
Removed unnecessary custom location blocks
-
Ensured proper headers forwarded
-
-
Apache Configuration
-
Enabled
mod_headers -
Added range request support for video files
-
Restarted Apache
-
-
iOS App Troubleshooting
-
Force closed and restarted app
-
Cleared app cache
-
Reinstalled Nextcloud iOS app (version 7.2.3.7)
-
Verified no external VLC app installed
-
