Hello,
I establish an SFTP successfully in the settings. But, mount folders are not visible on NC files.
NC has an error about SFTP.php in the log as given below.
However, previously created SFTP connection works fine.
I would appreciate any insight on this problem
Thank you,
Mufit
Nextcloud version: 20.0.8
Operating system and version: CentOS 8
Apache or nginx version: Apache 2.4.37
PHP version: 7.4
Is this the first time you’ve seen this error?: Y
Steps to replicate it:
- Install External Storage app
- Enter credentials for SFTP connection. Check mark in green circle.
- Come back to files. You can not find the mount.
The output of your Nextcloud log in Admin > Logging:
Error PHP Error: Trying to access array offset on value of type bool at /var/www/html/progs/nextcloud/apps/files_external/lib/Lib/Storage/SFTP.php#334
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
'instanceid' => 'xxxxxxxx',
'passwordsalt' => 'xxxxxxxxxxxx',
'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'trusted_domains' =>
array (
0 => 'cloud.example.com',
),
'datadirectory' => '/home/appdata/nextcloud/data',
'dbtype' => 'mysql',
'version' => '20.0.8.1',
'overwrite.cli.url' => 'https://cloud.example.com',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '3306',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'xxxxxxxx',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'admin',
'mail_domain' => 'randec.com',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'mail.example.com',
'mail_smtpport' => '587',
'mail_smtpname' => 'admin@example.com',
'mail_smtppassword' => 'xxxxxxxxxxxxxxx',
'app_install_overwrite' =>
array (
0 => 'emlviewer',
),
'maintenance' => false,
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'log_type' => 'file',
'loglevel' => 3,
'htaccess.RewriteBase' => '/',
);
The output of your Apache/nginx/system log in /var/log/____
:
`[Wed Mar 03 13:26:22.163241 2021] [proxy:error] [pid 40913:tid 140441102038784] (111)Connection refused: AH00957: HTTPS: attempt to connect to 207.180.195.152:8888 (onlyoffice.example.com) failed
[Wed Mar 03 13:26:22.163297 2021] [proxy_http:error] [pid 40913:tid 140441102038784] [client 94.54.241.75:3551] AH01114: HTTP: failed to make connection to backend: onlyoffice.example.com, referer: ONLYOFFICE Document Editor
There is error in Apache log, but OO works.