Video preview isn't working

Steps to reproduce

  1. Upload a video file
  2. Check the thumbnail for the video in media viewer

Expected behaviour

Tell us what should happen
A thumbnail of the video should display

Actual behaviour

Tell us what happens instead
I just see a grey play button

Server configuration

Operating system:

root@ucs-2346:/etc# cat os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian

Web server:

root@ucs-2346:/etc# apache2 -version
Server version: Apache/2.4.38 (Univention)
Server built:   2023-04-25T08:28:31

Database:

root@ucs-2346:/etc# systemctl status mysqld
● mariadb.service - MariaDB 10.3.39 database server
   Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/mariadb.service.d
           └─univention.conf
   Active: active (running) since Sun 2023-10-22 20:03:02 BST; 1h 7min ago
     Docs: man:mysqld(8)
           
 Main PID: 828 (mysqld)
   Status: "Taking your SQL requests now..."
    Tasks: 37 (limit: 2319)
   Memory: 73.7M
   CGroup: /system.slice/mariadb.service
           └─828 /usr/sbin/mysqld

Oct 22 20:03:02 ucs-2346 systemd[1]: Started MariaDB 10.3.39 database server.
Oct 22 20:03:02 ucs-2346 /etc/mysql/debian-start[920]: Upgrading MySQL tables if necessary.
Oct 22 20:03:03 ucs-2346 /etc/mysql/debian-start[926]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
Oct 22 20:03:03 ucs-2346 /etc/mysql/debian-start[926]: Looking for 'mysql' as: /usr/bin/mysql
Oct 22 20:03:03 ucs-2346 /etc/mysql/debian-start[926]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
Oct 22 20:03:03 ucs-2346 /etc/mysql/debian-start[926]: This installation of MariaDB is already upgraded to 10.3.39-MariaDB.
Oct 22 20:03:03 ucs-2346 /etc/mysql/debian-start[926]: There is no need to run mysql_upgrade again for 10.3.39-MariaDB.
Oct 22 20:03:03 ucs-2346 /etc/mysql/debian-start[926]: You can use --force if you still want to run mysql_upgrade
Oct 22 20:03:03 ucs-2346 /etc/mysql/debian-start[969]: Checking for insecure root accounts.
Oct 22 20:03:03 ucs-2346 /etc/mysql/debian-start[983]: Triggering myisam-recover for all MyISAM tables and aria-recover for all Aria tables

PHP version:

root@ucs-2346:/etc# php -verion
PHP 7.3.31-1~deb10u5 (cli) (built: Sep  4 2023 21:49:25) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.31, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.31-1~deb10u5, Copyright (c) 1999-2018, by Zend Technologies

ownCloud version: (see ownCloud admin page)

Version

[ownCloud ]()10.9.1 (stable)

Updated from an older ownCloud or fresh install:
Updated

Where did you install ownCloud from:
Downloaded the Virtualbox Appliance

Signing status (ownCloud 9.0 and above):
Not sure where to find this

Login as admin user into your ownCloud and access 

Don’t understand above

The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or 

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/…
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
LDAP

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud 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';
No such file - don't know how to log in to DB

Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:
Chrome Version 118.0.5993.89 (Official Build) (64-bit)

Operating system:

Windows 11

Logs

Web server error log

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/imagick.so' - /usr/lib/php/20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Oct 22 00:00:04.514350 2023] [mpm_prefork:notice] [pid 2008] AH00163: Apache/2.4.38 (Univention) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/3.7 configured -- resuming normal operations
[Sun Oct 22 00:00:04.514375 2023] [core:notice] [pid 2008] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 22 08:00:07.097236 2023] [mpm_prefork:notice] [pid 2008] AH00169: caught SIGTERM, shutting down
[Sun Oct 22 08:00:57.271594 2023] [suexec:notice] [pid 1920] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/imagick.so' - /usr/lib/php/20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Oct 22 08:00:57.736506 2023] [mpm_prefork:notice] [pid 1941] AH00163: Apache/2.4.38 (Univention) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/3.7 configured -- resuming normal operations
[Sun Oct 22 08:00:57.736553 2023] [core:notice] [pid 1941] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 22 11:26:11.860827 2023] [core:error] [pid 17676] (13)Permission denied: [client 192.168.0.10:61451] AH00132: file permissions deny server access: /var/www/univention/portal/icons/entries/login-ucs.svg, referer: 
[Sun Oct 22 11:31:45.461971 2023] [mpm_prefork:notice] [pid 1941] AH00169: caught SIGTERM, shutting down
[Sun Oct 22 11:31:45.536749 2023] [suexec:notice] [pid 18847] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/imagick.so' - /usr/lib/php/20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Oct 22 11:31:45.582276 2023] [mpm_prefork:notice] [pid 18848] AH00163: Apache/2.4.38 (Univention) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/3.7 configured -- resuming normal operations
[Sun Oct 22 11:31:45.582311 2023] [core:notice] [pid 18848] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 22 18:39:24.569486 2023] [proxy:error] [pid 18875] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:40001 (127.0.0.1) failed
[Sun Oct 22 18:39:24.577654 2023] [proxy_http:error] [pid 18875] [client 192.168.0.10:62575] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
[Sun Oct 22 18:39:26.122880 2023] [mpm_prefork:notice] [pid 18848] AH00169: caught SIGTERM, shutting down
[Sun Oct 22 18:40:13.656247 2023] [suexec:notice] [pid 2026] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/imagick.so' - /usr/lib/php/20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Oct 22 18:40:14.895695 2023] [mpm_prefork:notice] [pid 2033] AH00163: Apache/2.4.38 (Univention) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/3.7 configured -- resuming normal operations
[Sun Oct 22 18:40:14.895756 2023] [core:notice] [pid 2033] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 22 18:40:38.844899 2023] [core:error] [pid 2084] (13)Permission denied: [client 192.168.0.10:62587] AH00132: file permissions deny server access: /var/www/univention/portal/icons/entries/login-ucs.svg, referer: [Sun Oct 22 19:09:26.126468 2023] [mpm_prefork:notice] [pid 2033] AH00169: caught SIGTERM, shutting down
[Sun Oct 22 19:09:26.218181 2023] [suexec:notice] [pid 8743] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/imagick.so' - /usr/lib/php/20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Oct 22 19:09:26.278448 2023] [mpm_prefork:notice] [pid 8744] AH00163: Apache/2.4.38 (Univention) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/3.7 configured -- resuming normal operations
[Sun Oct 22 19:09:26.278534 2023] [core:notice] [pid 8744] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 22 19:35:32.382724 2023] [mpm_prefork:notice] [pid 8744] AH00169: caught SIGTERM, shutting down
[Sun Oct 22 19:35:32.457712 2023] [suexec:notice] [pid 10863] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/imagick.so' - /usr/lib/php/20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Oct 22 19:35:32.517529 2023] [mpm_prefork:notice] [pid 10864] AH00163: Apache/2.4.38 (Univention) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/3.7 configured -- resuming normal operations
[Sun Oct 22 19:35:32.517568 2023] [core:notice] [pid 10864] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 22 19:36:30.429822 2023] [:error] [pid 10865] [client 192.168.0.10:63307] PHP Warning:  require_once(../_include.php): failed to open stream: No such file or directory in /var/www/phpinfo.php on line 3
[Sun Oct 22 19:36:30.429855 2023] [:error] [pid 10865] [client 192.168.0.10:63307] PHP Fatal error:  require_once(): Failed opening required '../_include.php' (include_path='.:/usr/share/php') in /var/www/phpinfo.php on line 3
[Sun Oct 22 19:38:47.822403 2023] [:error] [pid 10869] [client 192.168.0.10:63331] PHP Warning:  require_once(../_include.php): failed to open stream: No such file or directory in /usr/share/univention-portal/phpinfo.php on line 3
[Sun Oct 22 19:38:47.822437 2023] [:error] [pid 10869] [client 192.168.0.10:63331] PHP Fatal error:  require_once(): Failed opening required '../_include.php' (include_path='.:/usr/share/php') in /usr/share/univention-portal/phpinfo.php on line 3
[Sun Oct 22 19:39:10.728513 2023] [:error] [pid 10907] [client 192.168.0.10:63335] PHP Warning:  require_once(../_include.php): failed to open stream: No such file or directory in /usr/share/univention-portal/phpinfo.php on line 3
[Sun Oct 22 19:39:10.728564 2023] [:error] [pid 10907] [client 192.168.0.10:63335] PHP Fatal error:  require_once(): Failed opening required '../_include.php' (include_path='.:/usr/share/php') in /usr/share/univention-portal/phpinfo.php on line 3
[Sun Oct 22 19:39:11.133068 2023] [:error] [pid 10875] [client 192.168.0.10:63337] PHP Warning:  require_once(../_include.php): failed to open stream: No such file or directory in /usr/share/univention-portal/phpinfo.php on line 3
[Sun Oct 22 19:39:11.133118 2023] [:error] [pid 10875] [client 192.168.0.10:63337] PHP Fatal error:  require_once(): Failed opening required '../_include.php' (include_path='.:/usr/share/php') in /usr/share/univention-portal/phpinfo.php on line 3
[Sun Oct 22 20:02:29.639888 2023] [mpm_prefork:notice] [pid 10864] AH00169: caught SIGTERM, shutting down
[Sun Oct 22 20:03:17.651603 2023] [suexec:notice] [pid 1954] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/imagick.so' - /usr/lib/php/20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Oct 22 20:03:18.335372 2023] [mpm_prefork:notice] [pid 1983] AH00163: Apache/2.4.38 (Univention) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/3.7 configured -- resuming normal operations
[Sun Oct 22 20:03:18.335415 2023] [core:notice] [pid 1983] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 22 20:03:24.546012 2023] [proxy:error] [pid 2000] (32)Broken pipe: [client 192.168.0.10:63665] AH01084: pass request body failed to 127.0.0.1:40001 (127.0.0.1)
[Sun Oct 22 20:03:24.546059 2023] [proxy_http:error] [pid 2000] [client 192.168.0.10:63665] AH01097: pass request body failed to 127.0.0.1:40001 (127.0.0.1) from 192.168.0.10 ()
[Sun Oct 22 20:03:26.474984 2023] [proxy:error] [pid 2002] (32)Broken pipe: [client 192.168.0.10:63667] AH01084: pass request body failed to 127.0.0.1:40001 (127.0.0.1)
[Sun Oct 22 20:03:26.475028 2023] [proxy_http:error] [pid 2002] [client 192.168.0.10:63667] AH01097: pass request body failed to 127.0.0.1:40001 (127.0.0.1) from 192.168.0.10 ()
[Sun Oct 22 20:38:06.265853 2023] [mpm_prefork:notice] [pid 1983] AH00169: caught SIGTERM, shutting down
[Sun Oct 22 20:38:06.360085 2023] [suexec:notice] [pid 5849] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/imagick.so' - /usr/lib/php/20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Oct 22 20:38:06.411174 2023] [mpm_prefork:notice] [pid 5850] AH00163: Apache/2.4.38 (Univention) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/3.7 configured -- resuming normal operations
[Sun Oct 22 20:38:06.411210 2023] [core:notice] [pid 5850] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 22 21:26:55.690289 2023] [core:error] [pid 9658] (13)Permission denied: [client 192.168.0.10:65021] AH00132: file permissions deny server access: /var/www/univention/portal/icons/entries/login-ucs.svg, referer: 

ownCloud log (data/owncloud.log)

Partial log - debug enabled

{"reqId":"ezLpvmEYpYKTL5syweES","level":3,"time":"2023-10-22T00:00:35+00:00","remoteAddr":"","user":"--","app":"files","method":"--","url":"--","message":"Exception: {\"Exception\":\"OC\\\\ServerNotAvailableException\",\"Message\":\"Lost connection to LDAP server.\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/LDAP.php(298): OCA\\\\User_LDAP\\\\LDAP->postFunctionCall()\\n#1 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/LDAP.php(197): OCA\\\\User_LDAP\\\\LDAP->invokeLDAPMethod(*** sensitive parameters replaced ***)\\n#2 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Access.php(273): OCA\\\\User_LDAP\\\\LDAP->read()\\n#3 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Access.php(210): OCA\\\\User_LDAP\\\\Access->executeRead()\\n#4 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Group_LDAP.php(331): OCA\\\\User_LDAP\\\\Access->readAttribute()\\n#5 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Group_LDAP.php(355): OCA\\\\User_LDAP\\\\Group_LDAP->getEntryGroupID()\\n#6 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Group_LDAP.php(450): OCA\\\\User_LDAP\\\\Group_LDAP->getUserPrimaryGroupIDs()\\n#7 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Group_LDAP.php(487): OCA\\\\User_LDAP\\\\Group_LDAP->getUserPrimaryGroup()\\n#8 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Group_Proxy.php(122): OCA\\\\User_LDAP\\\\Group_LDAP->getUserGroups()\\n#9 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Group\\\/Manager.php(322): OCA\\\\User_LDAP\\\\Group_Proxy->getUserGroups()\\n#10 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Group\\\/Manager.php(276): OC\\\\Group\\\\Manager->getUserIdGroups()\\n#11 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Share20\\\/DefaultShareProvider.php(853): OC\\\\Group\\\\Manager->getUserGroups()\\n#12 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Share20\\\/Manager.php(1427): OC\\\\Share20\\\\DefaultShareProvider->getAllSharedWith()\\n#13 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/MountProvider.php(72): OC\\\\Share20\\\\Manager->getAllSharedWith()\\n#14 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php(82): OCA\\\\Files_Sharing\\\\MountProvider->getMountsForUser()\\n#15 [internal function]: OC\\\\Files\\\\Config\\\\MountProviderCollection->OC\\\\Files\\\\Config\\\\{closure}(*** sensitive parameters replaced ***)\\n#16 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php(83): array_map()\\n#17 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php(446): OC\\\\Files\\\\Config\\\\MountProviderCollection->getMountsForUser()\\n#18 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php(374): OC\\\\Files\\\\Filesystem::initMountPoints()\\n#19 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/util.php(311): OC\\\\Files\\\\Filesystem::init()\\n#20 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php(101): OC_Util::setupFS()\\n#21 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php(137): OC\\\\Files\\\\Utils\\\\Scanner->getMounts()\\n#22 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files\\\/lib\\\/BackgroundJob\\\/ScanFiles.php(87): OC\\\\Files\\\\Utils\\\\Scanner->backgroundScan()\\n#23 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files\\\/lib\\\/BackgroundJob\\\/ScanFiles.php(111): OCA\\\\Files\\\\BackgroundJob\\\\ScanFiles->runScanner()\\n#24 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/BackgroundJob\\\/Job.php(66): OCA\\\\Files\\\\BackgroundJob\\\\ScanFiles->run()\\n#25 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/BackgroundJob\\\/TimedJob.php(63): OC\\\\BackgroundJob\\\\Job->execute()\\n#26 \\\/var\\\/www\\\/owncloud\\\/core\\\/Command\\\/System\\\/Cron.php(127): OC\\\\BackgroundJob\\\\TimedJob->execute()\\n#27 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Command\\\/Command.php(255): OC\\\\Core\\\\Command\\\\System\\\\Cron->execute()\\n#28 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(1009): Symfony\\\\Component\\\\Console\\\\Command\\\\Command->run()\\n#29 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(273): Symfony\\\\Component\\\\Console\\\\Application->doRunCommand()\\n#30 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(149): Symfony\\\\Component\\\\Console\\\\Application->doRun()\\n#31 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Console\\\/Application.php(165): Symfony\\\\Component\\\\Console\\\\Application->run()\\n#32 \\\/var\\\/www\\\/owncloud\\\/console.php(116): OC\\\\Console\\\\Application->run()\\n#33 \\\/var\\\/www\\\/owncloud\\\/occ(11): require_once('\\\/var\\\/www\\\/ownclo...')\\n#34 {main}\",\"File\":\"\\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/LDAP.php\",\"Line\":337}"}
{"reqId":"ezLpvmEYpYKTL5syweES","level":3,"time":"2023-10-22T00:00:41+00:00","remoteAddr":"","user":"--","app":"files","method":"--","url":"--","message":"Exception: {\"Exception\":\"OC\\\\ServerNotAvailableException\",\"Message\":\"Lost connection to LDAP server.\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/LDAP.php(298): OCA\\\\User_LDAP\\\\LDAP->postFunctionCall()\\n#1 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/LDAP.php(197): OCA\\\\User_LDAP\\\\LDAP->invokeLDAPMethod(*** sensitive parameters replaced ***)\\n#2 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Access.php(273): OCA\\\\User_LDAP\\\\LDAP->read()\\n#3 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Access.php(210): OCA\\\\User_LDAP\\\\Access->executeRead()\\n#4 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Group_LDAP.php(331): OCA\\\\User_LDAP\\\\Access->readAttribute()\\n#5 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Group_LDAP.php(355): OCA\\\\User_LDAP\\\\Group_LDAP->getEntryGroupID()\\n#6 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Group_LDAP.php(450): OCA\\\\User_LDAP\\\\Group_LDAP->getUserPrimaryGroupIDs()\\n#7 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Group_LDAP.php(487): OCA\\\\User_LDAP\\\\Group_LDAP->getUserPrimaryGroup()\\n#8 \\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/Group_Proxy.php(122): OCA\\\\User_LDAP\\\\Group_LDAP->getUserGroups()\\n#9 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Group\\\/Manager.php(322): OCA\\\\User_LDAP\\\\Group_Proxy->getUserGroups()\\n#10 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Group\\\/Manager.php(276): OC\\\\Group\\\\Manager->getUserIdGroups()\\n#11 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Share20\\\/DefaultShareProvider.php(853): OC\\\\Group\\\\Manager->getUserGroups()\\n#12 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Share20\\\/Manager.php(1427): OC\\\\Share20\\\\DefaultShareProvider->getAllSharedWith()\\n#13 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/MountProvider.php(72): OC\\\\Share20\\\\Manager->getAllSharedWith()\\n#14 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php(82): OCA\\\\Files_Sharing\\\\MountProvider->getMountsForUser()\\n#15 [internal function]: OC\\\\Files\\\\Config\\\\MountProviderCollection->OC\\\\Files\\\\Config\\\\{closure}(*** sensitive parameters replaced ***)\\n#16 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php(83): array_map()\\n#17 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php(446): OC\\\\Files\\\\Config\\\\MountProviderCollection->getMountsForUser()\\n#18 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php(374): OC\\\\Files\\\\Filesystem::initMountPoints()\\n#19 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/util.php(311): OC\\\\Files\\\\Filesystem::init()\\n#20 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php(101): OC_Util::setupFS()\\n#21 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php(137): OC\\\\Files\\\\Utils\\\\Scanner->getMounts()\\n#22 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files\\\/lib\\\/BackgroundJob\\\/ScanFiles.php(87): OC\\\\Files\\\\Utils\\\\Scanner->backgroundScan()\\n#23 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files\\\/lib\\\/BackgroundJob\\\/ScanFiles.php(111): OCA\\\\Files\\\\BackgroundJob\\\\ScanFiles->runScanner()\\n#24 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/BackgroundJob\\\/Job.php(66): OCA\\\\Files\\\\BackgroundJob\\\\ScanFiles->run()\\n#25 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/BackgroundJob\\\/TimedJob.php(63): OC\\\\BackgroundJob\\\\Job->execute()\\n#26 \\\/var\\\/www\\\/owncloud\\\/core\\\/Command\\\/System\\\/Cron.php(127): OC\\\\BackgroundJob\\\\TimedJob->execute()\\n#27 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Command\\\/Command.php(255): OC\\\\Core\\\\Command\\\\System\\\\Cron->execute()\\n#28 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(1009): Symfony\\\\Component\\\\Console\\\\Command\\\\Command->run()\\n#29 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(273): Symfony\\\\Component\\\\Console\\\\Application->doRunCommand()\\n#30 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(149): Symfony\\\\Component\\\\Console\\\\Application->doRun()\\n#31 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Console\\\/Application.php(165): Symfony\\\\Component\\\\Console\\\\Application->run()\\n#32 \\\/var\\\/www\\\/owncloud\\\/console.php(116): OC\\\\Console\\\\Application->run()\\n#33 \\\/var\\\/www\\\/owncloud\\\/occ(11): require_once('\\\/var\\\/www\\\/ownclo...')\\n#34 {main}\",\"File\":\"\\\/var\\\/lib\\\/univention-appcenter\\\/apps\\\/owncloud\\\/data\\\/custom\\\/user_ldap\\\/lib\\\/LDAP.php\",\"Line\":337}"}
{"reqId":"eqUJ4uP4WwzmJcMjPcXc","level":3,"time":"2023-10-22T15:31:44+00:00","remoteAddr":"172.17.42.1","user":"john","app":"no app in context","method":"POST","url":"\/owncloud\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares?format=json","message":"Failed to notify remote server of federated share, removing share (Sharing 
{"reqId":"Ym1hzQV1G9Q2o7hcSwlt","level":3,"time":"2023-10-22T15:32:19+00:00","remoteAddr":"172.17.42.1","user":"john","app":"no app in context","method":"POST","url":"\/owncloud\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares?format=json","message":"Failed to notify remote server of federated share, removing share (Sharing 
{"reqId":"dPsUOQXRBXFOhS4rnjWx","level":3,"time":"2023-10-22T20:42:42+00:00","remoteAddr":"172.17.42.1","user":"Administrator","app":"PHP","method":"POST","url":"\/owncloud\/apps\/user_ldap\/ajax\/wizard.php","message":"ldap_search(): Partial search results returned: Sizelimit exceeded at \/var\/lib\/univention-appcenter\/apps\/owncloud\/data\/custom\/user_ldap\/lib\/LDAP.php#296"}

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

I ran below commands to try to address the errors in the apache log

a2dismod php7.0
a2enmod proxy_fcgi setenvif
a2enconf php7.3-cgi
systemctl restart apache2

This fixed the errors in the apache log but still the video preview is not working

Hey,

i think you could try a few things first which i think could help:

  1. first update ownCloud 10.9.1 which has been released on 2022-01-12 (means nearly two years ago) to the most recent version 10.13.2
  2. second review the documentation about previews provided by the ownCloud people at Previews Configuration
  3. use libapache2-mod-php7.3 instead of php7.3-cgi because from what i know the cgi variant is not supported officially by the ownCloud people

Hi tom42

I tried to do a manual upgrade, downloaded the latest owncloud tar file and the two install/upgrade scripts, the scripts ran successfully but when I tried to run ‘occ upgrade’ it said I was on the latest release (even though the settings page said I was still on 10.9.1). I rebooted the UCM appliance but then couldn’t get nack into owncloud, so I rolled back to the old VM image I had backed up previously.

Then I upgraded UCM to lastest version and tried an owncloud upgrade from the UI. It failed with some docker error

12369 docker 23-10-29 15:02:47 [ INFO]: Pulling redis …
12369 docker 23-10-29 15:02:47 [ INFO]: Pulling owncloud …
12369 docker 23-10-29 15:03:02 [ INFO]: ^[[2A^[[2K^MPulling redis … ^[[31merror^[[0m^M^[[2B^[[1A^[[2K^MPulling owncloud … ^[[31merror^[[0m^M^[[1B
12369 docker 23-10-29 15:03:02 [ INFO]: ERROR: for redis b’Get https://docker.software-univention.de/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)’
12369 docker 23-10-29 15:03:02 [ INFO]:
12369 docker 23-10-29 15:03:02 [ INFO]: ERROR: for owncloud b’Get https://docker.software-univention.de/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)’
12369 docker 23-10-29 15:03:02 [ INFO]: Get https://docker.software-univention.de/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
12369 docker 23-10-29 15:03:02 [ INFO]: Get https://docker.software-univention.de/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
12369 docker 23-10-29 15:03:02 [ ERROR]: Command docker-compose -p owncloud pull failed with: Some networks were defined but are not used by any service: appcenter_net

Any idea what it could be?

Thanks,
John

Hey,

i think for this issue a new thread is required:

I think it is not related to the video preview issue and i’m not sure if other users which could give support for UCS relevant issues (i don’t have any knowledge to give such) will have a look in a topic having “video preview” in the title. :frowning:

Hi tom42

Okay, thanks for your help so far. I will circle back to this issue once upgrade completed.

I did manage to get Owcloud upgraded to version 10.12…1 but video preview still is not working

My preview setting in the config file are

‘enable_previews’ => true,
‘enabledPreviewProviders’ =>
array (
0 => ‘OC\Preview\Image’,
1 => ‘OC\Preview\JPEG’,
2 => ‘OC\Preview\MP4’,
3 => ‘OC\Preview\Movie’,
),
‘preview_max_x’ => 100,
‘preview_max_y’ => 100,
‘preview_max_scale_factor’ => NULL,

Hey,

i think there are many more things to check then only adding the preview settings to the config file. For example the documentation i have linked seems to explain that something called ffmpeg needs to be installed.

Hi

I already installed ffmpeg and imagemagick according to the documentation.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.