Nextcloud version: 25.0.3
Operating system and version: OpenSUSE Leap 15.4
Apache:
apachectl -v
Server version: Apache/2.4.51 (Linux/SUSE)
Server built: 2022-06-10 07:45:34.000000000 +0000
PHP version:
php -version
PHP 8.0.27 (cli) (built: Jan 9 2023 12:00:00) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.27, Copyright (c) Zend Technologies
with Zend OPcache v8.0.27, Copyright (c), by Zend Technologies
The issue you are facing:
No image previews are generated after upgrade to NC25
Is this the first time you’ve seen this error? : Yes
Steps to replicate it:
- stop Apache
- remove preview folder
- run occ files:scan-app-data
- remove DB entries in oc_filecache
- start Apache
- run occ preview:generate-all -vvv (PreviewGenerator App)
- see preview directories beeing created and DB entries populating
- find empty preview directories and previews not working
The output of your Nextcloud log in Admin > Logging: nothing
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'myid',
'passwordsalt' => 'salt',
'secret' => 'really secret',
'trusted_domains' =>
array (
0 => 'URL1',
1 => 'URL2',
),
'datadirectory' => '/srv/www/vhosts/nextcloud/data/',
'overwrite.cli.url' => 'URL',
'dbtype' => 'mysql',
'version' => '25.0.3.2',
'dbname' => 'user',
'dbhost' => 'IP',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'dbuser',
'dbpassword' => 'dbpassword',
'logtimezone' => 'UTC',
'installed' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => 'true',
'memcache.locking' => 'OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '127.0.0.1',
'port' => 6379,
'password' => 'pw',
'timeout' => 1.5,
),
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_from_address' => 'user',
'mail_domain' => 'domain',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtpport' => '465',
'mail_smtpname' => user@domain',
'mail_smtppassword' => 'mailpw',
'mail_smtphost' => 'mailserver',
'maintenance' => false,
'loglevel' => 3,
'theme' => '',
'mysql.utf8mb4' => true,
'mail_sendmailmode' => 'smtp',
'updater.release.channel' => 'stable',
'default_phone_region' => 'DE',
'log_type' => 'file',
'logfile' => '/var/log/nextcloud.log',
'logdateformat' => 'F d, Y H:i:s',
'enable_previews' => true,
'enabledPreviewProviders' => [
'OC\Preview\PNG',
'OC\Preview\JPEG',
'OC\Preview\GIF',
'OC\Preview\BMP',
'OC\Preview\PDF',
'OC\Preview\SVG',
],
'preview_max_x' => 'NULL',
'preview_max_y' => 'NULL',
'preview_max_filesize_image' => 50,
'preview_max_memory' => 256,
);
The output of your Apache/nginx/system log in /var/log/____
:
[Mon Feb 06 17:29:50.257982 2023] [authz_core:error] [pid 3692] [client 172.71.250.139:24870] AH01630: client denied by server configuration: /srv/www/vhosts/nextcloud.eagleeye.loc/data/.ocdata
[Mon Feb 06 17:56:18.217582 2023] [php:error] [pid 3443] [client 162.158.90.60:12180] script '/srv/www/vhosts/nextcloud.eagleeye.loc/wp-plain.php' not found or unable to stat, referer: www.google.com
[Mon Feb 06 17:56:23.535040 2023] [php:error] [pid 4236] [client 162.158.90.61:47878] script '/srv/www/vhosts/nextcloud.eagleeye.loc/fhghyvzz.php' not found or unable to stat, referer: www.google.com
[Mon Feb 06 18:07:56.998185 2023] [authz_core:error] [pid 3902] [client 172.70.250.156:32280] AH01630: client denied by server configuration: /srv/www/vhosts/nextcloud.eagleeye.loc/data/.ocdata
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
still nothing