Why the files I see in Nextcloud are not all I see in the drive?

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 : 24.0.5
Operating system and version (eg, Ubuntu 20.04): Win10 from a PC and Android from a smartphone
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me

The issue you are facing:
I have a NAS with RPI with OMV (latest version) and NC where I have an HD 4TB where I have all my files.
So I see the HD in my PC win10 network with some files in some folders, but when I go with NC with Win10 or Android I see less or 0 files in some folders, how it possible ?
Thanks Antonio

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:



Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.


Your idea of how Nextcloud works obviously differs from reality.

What you see in Nextcloud has little to do with the files you have on your hard drive. A file structure is shown of what is stored in the filecache table of the database. The file structure can therefore look different for each user. Files can also be shown on a location while not physically there but on a complete other location.

So if you now want to use files from your old stock in nextcloud, then they have to be included there in some way and registered in the database. From that moment you can also see them in the Nextcloud clients, whether Windows, web browser, Android or wherever.

The developers of Nextcloud have thought of everything and have developed tools that you should actually know, because they are described in detail in the manual!

Just because the developers go to great lengths to make such a great software stack available for free doesn’t mean it has no price. The price is reading the manual page by page, word by word!

Not reading the manual is not “missing_information”

I am missing information from your side:

  • On what filesystem your files are now?
  • What Filesystem your 4TB HD is formated?
  • How do you “see” the HD in your PC win 10 network?
    • In a SMB/CIFS share?
    • In a SFTP share?
  • What did you do, to integrate those files into your nextcloud?
  • What nextcloud version are you using?
  • Is it a docker appliance?
  • Where is your data directory located?

So please don’t get me wrong, it’s quite possible that you have read everything and your problem is much more complicated - I would love to help you but your information is just too sparse.

much luck!


  • On what filesystem your files are now? NTFS
  • What Filesystem your 4TB HD is formated? NTFS
  • How do you “see” the HD in your PC win 10 network? with connct drive and writing the home network path in Win File Manager, this is my path: \\4tb
    • In a SMB/CIFS share? it is also configured in OMV to have SMB/CIFS share
    • In a SFTP share? I don’t think so
  • What did you do, to integrate those files into your nextcloud? I have setted the External Storage
  • What nextcloud version are you using? 24.0.5
  • Is it a docker appliance? yes from OMV
  • Where is your data directory located? I don’t know

How? Where?

You cannot assume that everyone here knows OMV. So you should make the effort and explain exactly where and how you have “setted the External Storage”. In Nextcloud itself or in the Docker Configuration?

With that information maybe somebody knows what is hapening on your instance and why you do not see your files.

Much luck!

Nextcloud only knows Nextcloud-GUI, Nextcloud Apps and WebDAV files in database.

Maybe you must re-scan.