I have a problem since the update to NC 26 with the external storage. The connection to my external SMB share is still working (to Windows share and also to my Synology share). I see these shares in my NC and can browse through the folders and I can also open images or pdf files. But I can’t open any editable file like .md oder txt oder docx/xlsx … I get only the message “file not found”. I also can’t create new folders. Within my Windows I can work normally in these shares.
Nextcloud runs on Ubuntu 20.04.5 with PHP 8.1. All updates are installed.
What can I do?
Thank you!
Nextcloud version (eg, 20.0.5): 26.0.1
Operating system and version (eg, Ubuntu 20.04): 20.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.41
PHP version (eg, 7.4): 8.1.18
The issue you are facing: can’t open files on external storage
Is this the first time you’ve seen this error? (Y/N): N (also on another installation)
Steps to replicate it: try to click on a file on external storage (not jpeg or pdf, only editable files)
The output of your Nextcloud.log
{"reqId":"jVjc6sptqoP9Jj9sh8DL","level":3,"time":"2023-05-16T20:24:16+00:00","remoteAddr":"79.253.xx.xx","user":"ncadmin","app":"onlyoffice","method":"GET","url":"/core/preview?fileId=5&c=86a250d8d9ebb1bab68fcf0f8db0259e&x=250&y=250&forceIcon=0&a=1","message":"Failed to download thumbnail","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0","version":"26.0.1.1","exception":{"Exception":"GuzzleHttp\\Exception\\ServerException","Message":"Server error: `GET https://cloud.xxxx.de/apps/documentserver_community/open/3513054839//convert.jpeg` resulted in a `500 Internal Server Error` response:\n<!DOCTYPE html>\n<html class=\"ng-csp\" data-placeholder-focus=\"false\" lang=\"de\" data-locale=\"de_DE\" translate=\"no\" >\n\t<hea (truncated...)\n","Code":500,"Trace":[{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":69,"function":"create","class":"GuzzleHttp\\Exception\\RequestException","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":204,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":153,"function":"callHandler","class":"GuzzleHttp\\Promise\\Promise","type":"::"},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/TaskQueue.php","line":48,"function":"GuzzleHttp\\Promise\\{closure}","class":"GuzzleHttp\\Promise\\Promise","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":248,"function":"run","class":"GuzzleHttp\\Promise\\TaskQueue","type":"->"},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":224,"function":"invokeWaitFn","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":269,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":226,"function":"invokeWaitList","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":62,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"wait","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/var/www/nextcloud/lib/private/Http/Client/Client.php","line":226,"function":"request","class":"GuzzleHttp\\Client","type":"->"},{"file":"/var/www/nextcloud/apps/onlyoffice/lib/documentservice.php","line":374,"function":"get","class":"OC\\Http\\Client\\Client","type":"->"},{"file":"/var/www/nextcloud/apps/onlyoffice/lib/preview.php","line":276,"function":"Request","class":"OCA\\Onlyoffice\\DocumentService","type":"->"},{"file":"/var/www/nextcloud/lib/private/Preview/ProviderV1Adapter.php","line":53,"function":"getThumbnail","class":"OCA\\Onlyoffice\\Preview","type":"->"},{"file":"/var/www/nextcloud/lib/private/Preview/GeneratorHelper.php","line":64,"function":"getThumbnail","class":"OC\\Preview\\ProviderV1Adapter","type":"->"},{"file":"/var/www/nextcloud/lib/private/Preview/Generator.php","line":440,"function":"getThumbnail","class":"OC\\Preview\\GeneratorHelper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Preview/Generator.php","line":164,"function":"getMaxPreview","class":"OC\\Preview\\Generator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Preview/Generator.php","line":116,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->"},{"file":"/var/www/nextcloud/lib/private/PreviewManager.php","line":192,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->"},{"file":"/var/www/nextcloud/core/Controller/PreviewController.php","line":144,"function":"getPreview","class":"OC\\PreviewManager","type":"->"},{"file":"/var/www/nextcloud/core/Controller/PreviewController.php","line":113,"function":"fetchPreview","class":"OC\\Core\\Controller\\PreviewController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getPreviewByFileId","class":"OC\\Core\\Controller\\PreviewController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1056,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php","Line":113,"message":"Failed to download thumbnail","CustomMessage":"Failed to download thumbnail"}}
{"reqId":"MOxe9LkxFFDc9IDirCfN","level":4,"time":"2023-05-16T20:24:37+00:00","remoteAddr":"79.253.xx.xx","user":"ncadmin","app":"onlyoffice","method":"GET","url":"/ocs/v2.php/apps/onlyoffice/api/v1/config/319063?filePath=%2FSMB-Test%2Ftest%2Ftest.xlsx&guestName=null&inframe=true","message":"Config: 319063 Datei nicht gefunden","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0","version":"26.0.1.1","data":{"app":"onlyoffice"}}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
`<?php
$CONFIG = array (
'passwordsalt' => 'blabla',
'secret' => 'password',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '192.168.178.49',
2 => 'cloud.xxxx.de',
),
'trusted_proxies' =>
array (
0 => '192.168.178.45',
),
'datadirectory' => '/mnt/cloud-data/ncdata/ncdata',
'dbtype' => 'pgsql',
'version' => '26.0.1.1',
'overwrite.cli.url' => 'https://cloud.xxxx.de/',
'dbname' => 'nextcloud_db',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'ncadmin',
'dbpassword' => 'password',
'installed' => true,
'instanceid' => 'ocepzdj8lgia',
'default_language' => 'de',
'default_locale' => 'de_DE',
'default_phone_region' => 'de',
'mail_smtpmode' => 'smtp',
'log_rotate_size' => '10485760',
'memcache.local' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.5,
'dbindex' => 0,
'password' => 'password',
),
'htaccess.RewriteBase' => '/',
'enable_previews' => true,
'preview_libreoffice_path' => '/usr/bin/libreoffice',
'maintenance' => false,
'mail_smtpsecure' => 'ssl',
'mail_from_address' => 'cloud',
'mail_domain' => 'yyyy.de',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp',
'mail_smtpport' => '465',
'mail_smtpname' => 'cloud@yyyy.de',
'mail_smtppassword' => 'password!',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'loglevel' => 2,
'theme' => '',
'updater.release.channel' => 'stable',
'allow_local_remote_servers' => true,
'app_install_overwrite' =>
array (
0 => 'documentserver_community',
1 => 'drawio',
2 => 'keeweb',
3 => 'whiteboard',
4 => 'richdocuments',
5 => 'richdocumentscode',
),
'updater.secret' => 'password',
);
`
The output of your Apache/nginx/system log in /var/log/____
:
no related errors