I had this issue when running 18.0.1 (#19878) and fixed it by going to 18.0.2. The issue wasn't there in 18.0.3. Now, the issue has come back with 18.0.4.
The issue is present in four other systems running 18.0.4.
Users can open folder and view files in the browser window.
Spinning icon and the file does not load or play in the browser.
Users have to download the files to view or play them.
Operating system:
Ubuntu 18.04.4 LTS
Web server:
Apache/2.4.29 (Ubuntu)
Database:
MySQL 5.7.29
PHP version:
PHP 7.2.24-0ubuntu0.18.04.4
Nextcloud version: (see Nextcloud admin page)
18.0.4
Updated from an older Nextcloud/ownCloud or fresh install:
Update from 18.0.3
Where did you install Nextcloud from:
NC Updater app.
Signing status:
Signing status
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
No errors have been found.
List of activated apps:
App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Enabled:
Nextcloud configuration:
Config report
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here.
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder
Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';
Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
Browser:
Operating system:
Web server error log
Insert your webserver log here
Nextcloud log
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
I spun up another instance of NC on the same basic platform. Here are what my tests have shown:
Sabre\DAV\Exception\NotAuthenticated:
/var/www/html/apps/dav/lib/Connector/Sabre/ServerFactory.php - line 148:
{closure}("*** sensiti ... *")
<<closure>>
OCA\DAV\Connector\Sabre\ServerFactory->OCA\DAV\Connector\Sabre\{closure}("*** sensiti ... *")
/var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:
call_user_func_array(Closure {}, [ "*** sensi ... "])
/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php - line 466:
Sabre\Event\EventEmitter->emit("beforeMethod", [ "*** sensi ... "])
/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php - line 254:
Sabre\DAV\Server->invokeMethod("*** sensiti ... *", "*** sensiti ... *")
/var/www/html/apps/dav/appinfo/v1/publicwebdav.php - line 109:
Sabre\DAV\Server->exec()
/var/www/html/public.php - line 81:
require_once("/var/www/ht ... p")
it's a known bug for nextcloud 18.0.4, that has been ennoying me as well...
see #20132 and https://github.com/nextcloud/files_videoplayer/pull/152#issuecomment-619622484
the only workaround right now is to do that :
as admin in "settings",
in "sharing" page and then "federated cloud sharing" section
check "Allow users on this server to send shares to other servers"
hope that helps you.
@Walterfilms , you are awesome! This fixed the issue for me.
I subscribed to those issues you posted to follow the progress.
@Walterfilms - This workaround solved my "video playback problem" after upgrade to 18.0.4 with public shares too! Thanks a lot!
it's a known bug for nextcloud 18.0.4, that has been ennoying me as well...
see #20132 and nextcloud/files_videoplayer#152 (comment)
the only workaround right now is to do that :
as admin in "settings",
in "sharing" page and then "federated cloud sharing" section
check "Allow users on this server to send shares to other servers"
hope that helps you.
Unfortunately this did not workaround the issue for me of being able to view images in a shared link visible in the browser - same 401 error as described in #20132 (Nextcloud 18.0.4), even after unsharing and resharing the directory after toggling the above settings.
When will this be fixed?
Any status update on this, is this being triaged?
I updated to 19.0.0, hoping this would fix the problem. It still exists although the workaround by @Walterfilms worked. (Thanks)
thanks for the report ;)
i was hoping that it would be solved quickly too, but apparently it's only on the nextcloud 20 milestone :
I wonder if this issue should be pinned, maybe not the most important but very disturbing.
closing as a duplicate of #20132
Most helpful comment
it's a known bug for nextcloud 18.0.4, that has been ennoying me as well...
see #20132 and https://github.com/nextcloud/files_videoplayer/pull/152#issuecomment-619622484
the only workaround right now is to do that :
as admin in "settings",
in "sharing" page and then "federated cloud sharing" section
check "Allow users on this server to send shares to other servers"
hope that helps you.