Commit graph

5 commits

Author SHA1 Message Date
Carl Schwan
1bb4d7853f
Merge pull request #32134 from nextcloud/backport/32033/stable24
[stable24] Fix scanning app data with metadata
2022-04-25 18:56:52 +02:00
Carl Schwan
953c8875db Fix scanning app data with metadata
Previously we were listening to change in the appdata folder but an
appdata scan didn't setup the file system, so the view was unavailable.

**Test plan:**

1. rm -rf data/appdata_...../preview data/<user>/Media
2. occ files:scan-app-data
3. occ files:scan <user>

No errors and the files and metadata are correctly removed from the
database too.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-25 13:54:38 +00:00
Joas Schilling
c877bd3f7e
Fix older migrations to the version pattern
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-25 12:44:05 +02:00
Carl Schwan
1c7ecfc544 Fix an issue with the search backend update
And update autoloader

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-14 12:11:02 +02:00
Carl Schwan
7817845538 Add a metadata service to store file metadata
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-13 14:06:29 +02:00