Nextcloud version (eg, 20.0.5): 27.1.5
Operating system and version (eg, Ubuntu 20.04): Univention docker based app
The issue you are facing:
I have some mp4 files stored on an SMB share that is connected to NC. I can download and play these files fine when logged in through a web browser. When logging in from the iOS app on my phone I get an error message.
Is this the first time you’ve seen this error? (Y/N): I don’t think this has ever worked in the app. I can’t remember when I first tried it, maybe NC 24 or 25. I only recently needed this functionality again and I thought I’d ask about it.
Steps to replicate it:
- Setup SMB share and add an .mp4 file
- Access share through web browser and make sure the file plays
- Try from the iOS app, and you should get an error message.
The output of your Nextcloud log in Admin > Logging:
No message shows up in the log when the error happens on the phone
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'ucs.mydomain.com',
1 => '192.168.0.102',
),
'datadirectory' => '/var/lib/univention-appcenter/apps/nextcloud/data/nextcloud-data',
'overwrite.cli.url' => 'https://ucs.mydomain.com/nextcloud',
'dbtype' => 'pgsql',
'version' => '27.1.5.1',
'dbname' => 'nextcloud',
'dbhost' => '172.17.42.1',
'dbport' => '5432',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'xxx',
'installed' => true,
'instanceid' => 'ocm4pkdyapr4',
'updatechecker' => 'false',
'memcache.local' => '\\OC\\Memcache\\APCu',
'overwriteprotocol' => 'https',
'overwritewbroot' => '/nextcloud',
'htaccess.RewriteBase' => '/nextcloud',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
'trusted_proxies' =>
array (
0 => '172.17.42.1',
),
'loglevel' => 2,
'maintenance' => false,
'mail_from_address' => 'administrator',
'mail_smtpmode' => 'smtp',
'mail_domain' => 'mydomain.com',
'mail_smtpsecure' => 'tls',
'mail_smtphost' => 'mydomain.com',
'mail_smtpport' => '25',
'memcache.distributed' => '\\OC\\Memcache\\APCu',
'theme' => '',
'one-click-instance' => true,
'one-click-instance.user-limit' => 500,
'one-click-instance.link' => 'https://nextcloud.com/univention/',
);
The output of your Apache/nginx/system log in /var/log/____
:
172.17.42.1 - - [22/Dec/2023:15:19:08 +0000] "GET /nextcloud/remote.php/direct/pzR6Dxuou7ysp6kEnCr0Wzywjeg8Px4Gy2PdvVSXED2EAe2mZ16EgpQVhwo0 HTTP/1.1" 404 754 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/4.9.6"
Error on iOS says:
VLC is unable to open the MRL https://mydomain.com//nextcloud/remote.php/direct/pzR6Dxuou7ysp6kEnCr0Wzywjeg8Px4Gy2PdvVSXED2EAe2mZ16EgpQVhwo0