Dynamic folder doesn't work (User.Name)

Hello everybody,

When a user sends a file to Personal Files, the files go only to the DataSource folder (/var/cells/data/personal), along with the files of other users. For some reason a folder with the user’s name is not created as follows the myfiles model

my-files >> Path = DataSources.personal + “/” + User.Name;

Any ideas why this happens?
Thanks!

I did a fresh and clean installation via Docker on Debian 12
I’m using Pydio Cells Home Edition 4.4.4

I assume that you used the default installation “mode” and that your personal Datasource is in flat mode.

It is then expected that all the files of the datasource are at the root of the /var/cells/data/personal folder on the file system with UUID as file names - the folders inside each user’s my files are not even created and only virtually present in the index.

If you want to have the same tree structure on your file system as the one exposed by the Pydio server, you have to use the “structured” mode. You can choose this mode at installation or change it afterwards - please refer to the documentation and let us know if you need more help.

For info; why do you need this ?
Is it just a “check” or do you intend to directly impact the files via the file system ? Just remember that the later is usually a bad idea :slight_smile:

Hello @bsinou

Thanks for the feedback!

I really didn’t understand how Pydio works very well, but after looking through the documentation I understood that I needed to migrate to structure mode or create containers that way. And that’s what I did, to make it simpler.

Just to document it here, in case anyone else needs it, I used the variable
“CELLS_DEFAULT_DS_STRUCT: true” in my docker-compose.yml

Why do I need this?
In the current solution, my users (internal) who receive files from their clients (external), get these files via SMB sharing, on Windows stations, where they can view the root folder (datasource) with all the subfolders of the solution’s users.

In structure mode I can do this, just having to add sync via cells cli in crontab :wink:

All the best!

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