Closed BigDogJonx closed 3 years ago
No news on that?
I have NC 20.0.6.1 (in docker) and have the same issue.
Is this Issue still valid in NC21.0.2? If not, please close this issue. Thanks! :)
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
Unsurprisingly, 3 years later (NC 29.0.5) the issue persists. Not sure about other types of external storage, however I have the same issue connecting to an external Nextcloud installation via the External Storage app. Copied files over 3 hours ago, still shows "pending" for the file size, until I manually open the folder, at which point the size is automagically known.
Currently running a file scan as recommended by the OP.
Steps to reproduce
Expected behaviour
Should show directory sizes and show in occ files:scan
Actual behaviour
Directories will remain "pending" in size until you click on that directory in Nextcloud files, then go back and you will notice it will now show directory folder size, however if there is subdirectories it will not work until you go into each subdirectory. Simpler way would be just to run the command for occ files:scan --all, that should index the files, currently it just scans and reports back the default 16 files and 9 folders but the SMB/CIFS in my case has 1000s of files and 100s of folders.
I have narrowed the issue down to php-smbclient not being installed (and not available to install on Ubuntu 20.04). Without this you cannot get the files:scan to work or folder sizes to show. If I go to the owncloud documentation listed here (Installing and Configuring the External Storage: Windows Network Drives App), and then follow the section to install from source listed here:
Then it works just fine. So I guess question is this a bug now that Ubuntu 20.04 doesnt allow you to install php-smbclient (which on 18.04 was allowed and this was resolved by installing that) or has this been removed to work?
Server configuration
Operating system: Ubuntu 20.04
Web server: Apache
Database: Postgres 12.2
PHP version: 7.4.3
Nextcloud version: (see Nextcloud admin page) 19.0.0
Updated from an older Nextcloud/ownCloud or fresh install: Fresh Install for Nextcloud and Ubuntu 20.04 LTS
Where did you install Nextcloud from: TechandMe script
List of activated apps:
Nextcloud configuration:
Config report
``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "192.168.0.113", "ubuntu", "ubuntu" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "19.0.0.12", "overwrite.cli.url": "https:\/\/ubuntu\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "upgrade.disable-web": "true", "log_type": "file", "logfile": "\/var\/log\/nextcloud\/nextcloud.log", "loglevel": "2", "mail_smtpmode": "smtp", "remember_login_cookie_lifetime": "1800", "log_rotate_size": "10485760", "trashbin_retention_obligation": "auto, 180", "versions_retention_obligation": "auto, 365", "simpleSignUpLink.shown": "false", "memcache.local": "\\OC\\Memcache\\APCu", "filelocking.enabled": true, "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "timeout": 0.5, "dbindex": 0, "password": "***REMOVED SENSITIVE VALUE***" }, "logtimezone": "US\/Eastern", "htaccess.RewriteBase": "\/", "maintenance": false } } ```Are you using external storage, if yes which one: local/smb/sftp/... SMB share (Windows ashare)
Are you using encryption: No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... No
Client configuration
Browser: Any browser
Operating system: Not a client side issue