Help with update on group folders

dam trying to share group folders for the users. So, i have created some group folder with group.
The actual Data will be synchronised with the group folder over job and shell script.
this scenario works, bu not files are visible in GUI.

Second Problem, is, that group folder will star under __groupfolders with numeric names. Such 1,2,…n
Is it posible to store group folders with the original names?


Best regards


Some folders with differenet groups (each group one folder) or same folder for several groups?

how do you synchronize - on a client or on the server?

Please show a sample I can not imagine what you say

On server:

  1. I have one Group “Family” with 5 users.
  2. I have created 5 Groupfolders, with read/write right for Group Family.
    It works perfectly. The clients see those folders and the data will be synchronised in both ways.

Now on my server i have one Job with rsync, that syncronized data with those 5 group folder. wuh… But the clients do not see this data.

And the last:
5 group folders with names “Photo, Music, Documents etc.” was created. So i founded on hdd where the group folder will be stored an this is folder under name “__groupfolders”. In this folder there are 5 groupfolders nut they have names such “1”, “2”,“3”



  • Music
  • Pictures


  • 1
  • 2
  • 3

My question was, if it possible to change name of folders “1”,“2” to real names “Documents”, “Music”?

thanks for helping

best Regards


No - in the database you will see:
folder_id - bigint(20) - autoincrement - primary index - notNULL
mount_point - varchar(4000) utf8_bin - notNULL
As long as you do not change (and I wouldn’t do it) the type to varchar, it will be a number.

But is it possible, that Nextcloud will observe those folders?
For example. Batch or shell script publish or move some files or folder in this group folder 1. But the clients and GUI do not show them?



You have to integrate them into the filecache table

But how can i do this? may be someone have some examples?


I think you can try occ with
Scan a group folder for outside changes

  groupfolders:scan [options] [--] <folder_id>

  folder_id              Id of the folder to configure

      --output[=OUTPUT]  Output format (plain, json or json_pretty, default is plain) [default: "plain"]
  -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

This should add the files into the DB - else they are not visible.

For example:

 occ groupfolders:scan 1
| Folders | Files | Elapsed time |
| 1139    | 7871  | 00:00:27     |