Nextcloud does not "see" smbclient which i need for external space

Hi,

we run a nextcloud instance with version 19, i know it is not supported anymore but i do need to connect to external diskspace to makee enough room to update.

On the machine is Plesk.

I have managed to install smbclient within the Plesksystem - with phpinfo.php i see that smbclient is installed.

Just Nextcloud tells me it is not installed.

Has anyone an idea what i might have overseen or did not activate in nextcloud?

Regards,
Jan

Hi @janvl,
You are missing the required support template. Please fill this form out and edit into your post.

Please also share details of your actual setup. No idea what Plesk is or how it impacts setting up smbclient. Is Nextcloud managed with Docker or Snap or something else?

Hi,
this install is on “shared hosting” and Plesk is one of the most used contron panels.
This has been running without complaints of the user for over 500 days.

My problem is to realise external storage with FTP. The FTP-Account on the other server has been tested and OK.

Data on my install

Nextcloud version : Nextcloud 19.0.10
Operating system and version : Ubuntu 16.04
Apache or nginx version : Apache 2.4.18
PHP version: 7.4

$CONFIG = array (
‘instanceid’ => ‘#########’,
‘passwordsalt’ => ‘###########’,
‘secret’ => ‘#############’,
‘trusted_domains’ =>
array (
0 => ‘#####.###’,
1 => ‘www.#####.###’,
),
‘datadirectory’ => ‘/var/www/vhosts/#####.###/httpdocs/data’,
‘overwrite.cli.url’ => ‘https://#####.###’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘19.0.10.1’,
‘dbname’ => ‘#######’,
‘dbhost’ => ‘localhost’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘mysql.utf8mb4’ => true,
‘dbuser’ => ‘######’,
‘dbpassword’ => ‘######’,
‘installed’ => true,
‘versions_retention_obligation’ => ‘disabled’,
‘maintenance’ => false,
‘theme’ => ‘’,
‘loglevel’ => 2,
‘mail_smtpmode’ => ‘smtp’,
‘mail_smtpsecure’ => ‘ssl’,
‘mail_sendmailmode’ => ‘smtp’,
‘mail_from_address’ => ‘####’,
‘mail_domain’ => ‘#####.###’,
‘mail_smtpauthtype’ => ‘LOGIN’,
‘mail_smtpauth’ => 1,
‘mail_smtphost’ => ‘######.###’,
‘mail_smtpport’ => ‘465’,
‘mail_smtpname’ => ‘######@######.##’,
‘mail_smtppassword’ => ‘########’,
‘app_install_overwrite’ =>
array (
0 => ‘deck’,
1 => ‘mindmaps’,
2 => ‘files_reader’,
),
);

Error in Logfile:

Error: stat(): stat failed for ftps://xxx:xxx@123.456.789.0123/ at /var/www/vhosts/#####.###/httpdocs/apps/files_external/lib/Lib/Storage/StreamWrapper.php#127

Apache-log only notices - warnings
1 error Python mismatch expected 2.7.6 found 2.7.12
(no idea how this could happpen)

Regards,
Jan

Try searching the generic error against the forum and internet / github.

https://help.nextcloud.com/search?q=Stat%20failed%20smbclient

Hi,

after i ran the cronjob which may have not been started for some time, the warning on smbclient is gone.

I can still not connect to the FTP-Account from Nextcloud, in the logging it says:

Error: stat(): stat failed for ftp://xxx:xxx@123.456.789.012/ at /var/www/vhosts/#####.###/httpdocs/apps/files_external/lib/Lib/Storage/StreamWrapper.php#127

It seems to have to do with the format in which the data is entered but i cannot find in the ducumentation what could be wrong.

I testet the ftp-account and that is OK.

Regards,
Jan