<SOLVED> After updating nextcloud to 20.0 I got "smbclient" is not installed

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version: 20.0 (on docker)
Operating system and version: OMV5 (Debian)
Apache or nginx version: Apache/2.4.38 (Debian)
PHP version (eg, 7.1): 7.4.11

The issue you are facing:
After updating Nextcloud lost connection to my external storage. (“smbclient” is not installed)

Is this the first time you’ve seen this error? (Y/N):
Yes it happened on installataion on previus version but “apt-get install smbclient” and reboot got it working right. After this update it doesn’t work.

in docker console:
apt-get install smbclient
echo “extension=smbclient.so” > /usr/local/etc/php/conf.d/docker-php-ext-smbclient.ini