# Cells does not recognize files/folders created directly on storage

**URL:** <https://forum.pydio.com/t/cells-does-not-recognize-files-folders-created-directly-on-storage/4446>\
**Category:** Pydio Cells\
**Created:** [April 19, 2022, 1:44pm UTC](https://forum.pydio.com/t/cells-does-not-recognize-files-folders-created-directly-on-storage/4446 "2022-04-19T13:44:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonio.nogueira](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@antonio.nogueira](https://forum.pydio.com/u/antonio.nogueira)\
**Post date:** [April 19, 2022, 1:44pm UTC](https://forum.pydio.com/t/cells-does-not-recognize-files-folders-created-directly-on-storage/4446/1 "2022-04-19T13:44:06Z")

</div>

When I create files or folders directly on Cells storage and even if I run  
cells admin resync --datasource=personal  
afterwords (both with cells started or stopped) I get Resync Triggered but when I access my area the folders I have created do not appear there.

Furthermore when I do an Upload files or folders are create on cells but upload never finishes and they never appear on the storage.

I am using Cells 3.0.6 with a reverse proxy setup under WAMP with Apache 2.4.41, PHP 7.3.13 and Mariadb 10.4.13 in a Windows 10 server.

Any help is most welcome

---

<div class="post-metadata">

**Author:** ![ghecquet](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/ghecquet/32/514_2.png) [@ghecquet](https://forum.pydio.com/u/ghecquet)\
**Post date:** [April 25, 2022, 6:23am UTC](https://forum.pydio.com/t/cells-does-not-recognize-files-folders-created-directly-on-storage/4446/2 "2022-04-25T06:23:50Z")

</div>

Hi,

Please note that in v3, the datasources are created by default using a flat structure. Meaning that we only keep the file structure as an index in the database and files are stored as objects on the disk. A resync will not do much. To be able to use structured datasource that keep in sync the data structure on the disk and the database, you can install cells using the `CELLS_DEFAULT_DS_STRUCT=true` environmment variable, or create a new datasource in the Cells console and select the Import Existing Data option.

As for the upload that never finishes, do you have any specific error, either in the browser or in the logs that could be helpful ?

Thanks,  
G

---

<div class="post-metadata">

**Author:** ![antonio.nogueira](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@antonio.nogueira](https://forum.pydio.com/u/antonio.nogueira)\
**Post date:** [April 28, 2022, 7:16am UTC](https://forum.pydio.com/t/cells-does-not-recognize-files-folders-created-directly-on-storage/4446/3 "2022-04-28T07:16:01Z")

</div>

Thanks @ghecquet your workaround worked and now the structure is updating. Concerning the upload problem it persists and I wonder if it is related with

 ![Storage](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/1/1b1b9fc9f0e774d7f772dca576421950df43d626.jpeg)

Furthermore I I checked the database and noticed that

 ![database](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/b/b8c059f2328e37e8bfd8facc46e053c592765ead.jpeg)

Every time I start cells I get two errors that might be relevant

2022-04-28T08:30:56.401+0100 ←[31mERROR←[0m ←[35mpydio.grpc.data.index.thumbnails←[0m Failed to init DB provider {“error”: “Error 1060: Duplicate column name ‘name’ handling data\_index\_thumbnails\_idx\_0.2.sql”}  
2022-04-28T08:30:56.466+0100 ←[31mERROR←[0m ←[35mpydio.grpc.data.index.thumbnails←[0m Could not run {“error”: “Error 1060: Duplicate column name ‘name’ handling data\_index\_thumbnails\_idx\_0.2.sql”}

I looked in the cells folder and I could not find the file  
data\_index\_thumbnails\_idx\_0.2.sql

The structure of data\_index\_thumbnails\_idx\_??? databases are

 ![index_thumnails_idx_nodes](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/e/ef30de86f5e9c693c82a544be45e32fbe23f9898.jpeg)

 ![index_thumbnails_idx_nodes](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/8/8ae6343f1de1d03d6773a013b1c917cef22080d1.jpeg)

 ![index_thumbnails_idx](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/b/b9dd317b76f0a152619988c884c3719fdd673818.jpeg)

Is there a way of fixing this problem?

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [June 27, 2022, 6:30pm UTC](https://forum.pydio.com/t/cells-does-not-recognize-files-folders-created-directly-on-storage/4446/4 "2022-06-27T18:30:31Z")

</div>

Closed on June 27, 2022, 6:30pm UTC

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