Hello @all,
we have update our ubuntu server from ubuntu 16 to ubuntu 20 lts. Same time we are updatet own cloud to version 10.7.0.4.
After ugrade i cannot use my smb shares. My external Storage Windows Network Drives App shows me the failure:
The library libsmbclient is not available
I have reinstalled on my ubuntu server libsmbclient and smbclient. After uprade my ubuntu server i see the failure:
php -m | grep -i smbc
PHP Warning: PHP Startup: smbclient: Unable to initialize module
Module compiled with module API=20200930
PHP compiled with module API=20190902
These options need to match
I think, that is my problem, but i dont now what i can do.
All other functions works fine.
Server configuration
Operating system:
Ubuntu 20 LTS
Web server:
Apache
Database:
PHP version:
7.4.3
ownCloud version: (see ownCloud admin page)
10.7.0.4
Updated from an older ownCloud or fresh install:
Where did you install ownCloud from:
UPDATE installed from GUI
**The content of config/config.php:**
Log in to the web-UI with an administrator account and click on
âadminâ -> âGenerate Config Reportâ -> âDownload ownCloud config reportâ
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.
or
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder
PHP Warning: PHP Startup: smbclient: Unable to initialize module
Module compiled with module API=20200930
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
{
âsystemâ: {
âinstanceidâ: âxxxâ,
âpasswordsaltâ: âREMOVED SENSITIVE VALUEâ,
âsecretâ: âREMOVED SENSITIVE VALUEâ,
âtrusted_domainsâ: [
â192.168.9.48â,
âfiledepot.xxxâ,
],
âdatadirectoryâ: â/var/www/html/bw-h/filedepot.xxx/dataâ,
âoverwrite.cli.urlâ: âhttp://192.168.9.48/xxx/filedepot.xxxâ,
âdbtypeâ: âmysqlâ,
âversionâ: â10.7.0.4â,
âdbnameâ: âxxx_filedepotâ,
âdbhostâ: âlocalhostâ,
âdbtableprefixâ: âoc_â,
âmysql.utf8mb4â: true,
âdbuserâ: âREMOVED SENSITIVE VALUEâ,
âdbpasswordâ: âREMOVED SENSITIVE VALUEâ,
âlogtimezoneâ: âUTCâ,
âinstalledâ: true,
âthemeâ: âxxxâ,
âloglevelâ: 2,
âmaintenanceâ: false,
âmemcache.localâ: â\OC\Memcache\Redisâ,
âredisâ: {
âhostâ: âlocalhostâ,
âportâ: 6379
},
âmemcache.lockingâ: â\OC\Memcache\Redisâ,
âmail_smtpmodeâ: âsmtpâ,
âmail_smtphostâ: âREMOVED SENSITIVE VALUEâ,
âmail_from_addressâ: âREMOVED SENSITIVE VALUEâ,
âmail_domainâ: âREMOVED SENSITIVE VALUEâ
}
}
List of activated apps:
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.
PHP Warning: PHP Startup: smbclient: Unable to initialize module
Module compiled with module API=20200930
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
Enabled:
- activity:
- Version: 2.6.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/activity
- comments:
- Version: 0.3.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/comments
- configreport:
- Version: 0.2.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/configreport
- dav:
- Version: 0.6.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/dav
- federatedfilesharing:
- Version: 0.5.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/federatedfilesharing
- federation:
- Version: 0.1.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/federation
- files:
- Version: 1.5.2
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files
- files_external:
- Version: 0.7.1
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_external
- files_external_ftp:
- Version: 0.2.1
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_external_ftp
- files_mediaviewer:
- Version: 1.0.4
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_mediaviewer
- files_pdfviewer:
- Version: 0.12.1
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_pdfviewer
- files_sharing:
- Version: 0.14.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_sharing
- files_texteditor:
- Version: 2.3.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_texteditor
- files_trashbin:
- Version: 0.9.1
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_trashbin
- files_versions:
- Version: 1.3.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_versions
- firstrunwizard:
- Version: 1.2.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/firstrunwizard
- gallery:
- Version: 16.1.1
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/gallery
- market:
- Version: 0.6.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/market
- notifications:
- Version: 0.5.2
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/notifications
- provisioning_api:
- Version: 0.5.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/provisioning_api
- systemtags:
- Version: 0.3.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/systemtags
- templateeditor:
- Version: 0.4.0
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/templateeditor
- updatenotification:
- Version: 0.2.1
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/updatenotification
Disabled:
- admin_audit:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/admin_audit
- announcementcenter:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/announcementcenter
- customgroups:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/customgroups
- encryption:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/encryption
- enterprise_key:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/enterprise_key
- external:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/external
- files_antivirus:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_antivirus
- files_classifier:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_classifier
- files_external_dropbox:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_external_dropbox
- files_ldap_home:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_ldap_home
- files_lifecycle:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_lifecycle
- files_videoplayer:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/files_videoplayer
- firewall:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/firewall
- graphapi:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/graphapi
- guests:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/guests
- metrics:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/metrics
- oauth2:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/oauth2
- openidconnect:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/openidconnect
- password_policy:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/password_policy
- ransomware_protection:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/ransomware_protection
- sharepoint:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/sharepoint
- systemtags_management:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/systemtags_management
- theme-enterprise:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/theme-enterprise
- user_external:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/user_external
- user_ldap:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/user_ldap
- user_shibboleth:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/user_shibboleth
- windows_network_drive:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/windows_network_drive
- wopi:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/wopi
- workflow:
- Path: /var/www/html/XXX/filedepot.XXX.de/apps/workflow
Are you using external storage, if yes which one: local/smb/sftp/âŚ
i will use smb, but it doesnt work
Are you using encryption: yes/no
no
Thank you for helpâŚ
Regards
Stefan