Files are not shown in Nextcloud

Nextcloud version: 19.0.3
Operating system and version: Debian 10.5
Apache or nginx version: Apache2
PHP version: 7.4

The issue you are facing: I uploaded my files via WinSCP in the data/User/files folder. But when I open Nextcloud the files are not getting shown. How can I fix this? I already tried it with restarting apache2

Is this the first time you’ve seen this error?: Y

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

https://share.icemc.net/49f1a0a39bbb80ee55a6f9422d29b0e1.png

Run the following occ command to make Nextcloud aware of the files:

> ./occ files:scan --help
Description:
  rescan filesystem

Usage:
  files:scan [options] [--] [<user_id>...]

Arguments:
  user_id                will rescan all files of the given user(s)

Options:
      --output[=OUTPUT]  Output format (plain, json or json_pretty, default is plain) [default: "plain"]
  -p, --path=PATH        limit rescan to this path, eg. --path="/alice/files/Music", the user_id is determined by the path and the user_id parameter and --all are ignored
      --all              will rescan all files of all known users
      --unscanned        only scan files which are marked as not fully scanned
      --shallow          do not scan folders recursively
      --home-only        only scan the home storage, ignoring any mounted external storage or share
  -h, --help             Display this help message
  -q, --quiet            Do not output any message
  -V, --version          Display this application version
      --ansi             Force ANSI output
      --no-ansi          Disable ANSI output
  -n, --no-interaction   Do not ask any interactive question
      --no-warnings      Skip global warnings, show command output only
  -v|vv|vvv, --verbose   Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Ok, and where can I find the user id?

Which user account are you using to login to your Nextcloud?

My admin account. Its the only account which exists on the cloud

Ok, I found it out, thanks for the help