Nextcloud version : 20.0.8
Operating system and version : FreeBSD 12.2-RELEASE-p3 FreeBSD 12.2-RELEASE-p3 7851f4a452d(HEAD) TRUENAS amd64
Apache or nginx version : Apache/2.4.46 (FreeBSD) (fpm-fcgi)
PHP version : 7.4.15
The issue you are facing:
After updating to 20.0.8 (from 20.0.7, using updater.phar), no files are shown on the main files view. Menus show up on the left side, and I can reach the settings page, etc. If I create a new file or folder (using the New Folder option), nothing shows in the file view. It does show up on the server as “New folder”, with the correct date and time.
Is this the first time you’ve seen this error? (Y/N):Y
Steps to replicate it:
- Ran su -m www -c ‘php /usr/local/www/nextcloud/updater/updater.phar’
- Allowed script to start update
- Allowed script to run “occ upgrade”
- Did not leave maintenance mode active
Script reported success everywhere, but I did see the errors about smbclient.so (see next section below)
The output of your Nextcloud log in Admin > Logging:
PHP Startup: Unable to load dynamic library 'smbclient.so' (tried: /usr/local/lib/php/20190902/smbclient.so (/usr/local/lib/samba4/libsamba-util.so.0: Undefined symbol "memalign@FBSD_1.6"), /usr/local/lib/php/20190902/smbclient.so.so (Cannot open "/usr/local/lib/php/20190902/smbclient.so.so")) at Unknown#0
Error: Undefined index: readonly at /usr/local/www/nextcloud/apps/support/lib/Sections/ServerSection.php#268
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'redacted',
'passwordsalt' => 'redacted',
'secret' => 'redacted',
'trusted_domains' =>
array (
0 => 'redacted',
1 => 'redacted',
),
'datadirectory' => '/mnt/data',
'dbtype' => 'mysql',
'version' => '20.0.8.1',
'overwrite.cli.url' => 'https://redacted',
'overwritehost' => 'redacted',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:/tmp/mysql.sock',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud_admin',
'dbpassword' => 'redacted',
'installed' => true,
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
),
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\BMP',
4 => 'OC\\Preview\\XBitmapPNG',
5 => 'OC\\Preview\\TXT',
6 => 'OC\\Preview\\MP3',
7 => 'OC\\Preview\\MarkDown',
8 => 'OC\\Preview\\Photoshop',
9 => 'OC\\Preview\\PDF',
10 => 'OC\\Preview\\TIFF',
11 => 'OC\\Preview\\SVG',
12 => 'OC\\Preview\\Movie',
13 => 'OC\\Preview\\MSOffice2007',
14 => 'OC\\Preview\\Font',
),
'trusted_proxies' =>
array (
0 => 'redacted',
),
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => 'redacted',
'mail_smtpport' => '587',
'mail_from_address' => 'redacted',
'mail_domain' => 'redacted',
'mail_smtpname' => 'redacted',
'mail_smtppassword' => 'redacted',
'maintenance' => false,
'preview_max_x' => '1024',
'preview_max_y' => '1024',
'jpeg_quality' => '60',
'theme' => '',
'loglevel' => 0,
);
Pastebin of browser Javascript console from loading the “Files” tab