After Upgrade to 10.6 (Ubuntu 20.04LTS) no shares on external storages

Hi,

i upgraded the owncloud from Ubuntu 14 to 20 and Owncloud from 9.1.8 to 10.6.
Installed is php7.4, postgreSQL, smbclient

Webgui works, upload and download works (incl. in external storage). I use Database and ldap user (DB User are external users, ldap are intern users)
External storages (SAMBA) are visible with 0 kb, folder are not visible.

The Shares for the Users are missing. All Shares are for external storage folder. In the Database i found share entries.
How i can solve this problem?

Log Errors:
{“reqId”:“FmStEtJ5ocrbepoeBWj6”,“level”:3,“time”:“2021-02-15T13:04:23+00:00”,“remoteAddr”:"",“user”:"–",“app”:“no app in context”,“method”:"–",“url”:"–",“message”:“Error while trying to create shared mount”

<?php
$CONFIG = array (
  'updatechecker' => false,
  'instanceid' => 'SENSETIVE',
  'passwordsalt' => 'SENSETIVE',
  'secret' => 'SENSETIVE',
  'trusted_domains' =>
  array (
    0 => 'SENSETIVE',

  ),
  'datadirectory' => '/var/www/owncloud/data',
  'overwrite.cli.url' => SENSETIVE,
  'dbtype' => 'pgsql',
  'version' => '10.6.0.5',
  'dbname' => 'SENSETIVE',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'SENSETIVE',
  'dbpassword' => 'SENSETIVE',
  'logtimezone' => 'UTC',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'filelocking.enabled' => true,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'theme' => 'SENSETIVE',
  'enable_avatars' => false,
  'knowledgebaseenabled' => false,
  'ldapIgnoreNamingRules' => false,
  'mail_smtpmode' => 'smtp',
  'mail_from_address' => 'SENSETIVE',
  'mail_domain' => 'SENSETIVE',
  'mail_smtphost' => 'SENSETIVE',
  'mail_smtpport' => 'SENSETIVE',
  'maintenance' => false,
  'loglevel' => 0,
  'filelocking.ttl' => 3600,
);

[PHP Modules]
apc
apcu
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
igbinary
imagick
imap
intl
json
ldap
libxml
mbstring
memcached
msgpack
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pgsql
Phar
posix
readline
redis
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
ssh2
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

Apps:
Enabled:

  • activity: 2.6.0
  • comments: 0.3.0
  • configreport: 0.2.0
  • dav: 0.6.0
  • federatedfilesharing: 0.5.0
  • federation: 0.1.0
  • files: 1.5.2
  • files_external: 0.7.1
  • files_mediaviewer: 1.0.4
  • files_pdfviewer: 0.11.2
  • files_sharing: 0.14.0
  • files_texteditor: 2.3.0
  • files_trashbin: 0.9.1
  • files_versions: 1.3.0
  • firstrunwizard: 1.2.0
  • gallery: 16.1.1
  • market: 0.6.0
  • notifications: 0.5.2
  • provisioning_api: 0.5.0
  • systemtags: 0.3.0
  • templateeditor: 0.4.0
  • updatenotification: 0.2.1
  • user_ldap: 0.15.2

Can you access your server share with the smbclient command from the ownCloud web application server?

You need to enable the ondrej ppa and install php7.4-smbclient.

add-apt-repository ppa:ondrej/php
# if this says command not found install software-properties-common first

apt-get update
apt-get install php7.4-smbclient
1 Like

Hi,

yes i can mount and browse the folder from the Owncloud VM.

php7.4-smbclient is already installed

php7.4-smbclient ist schon die neueste Version (1.0.1-1+ubuntu20.04.1+deb.sury.org+1).
php7.4-smbclient wurde als manuell installiert festgelegt.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.