FS#69888 - [nextcloud] systemd-tmpfiles step taking 2 hours to run on unrelated package update
Attached to Project:
Community Packages
Opened by Marcus Hoffmann (BubuIIC) - Friday, 05 March 2021, 17:54 GMT
Last edited by David Runge (dvzrv) - Friday, 09 April 2021, 09:24 GMT
Opened by Marcus Hoffmann (BubuIIC) - Friday, 05 March 2021, 17:54 GMT
Last edited by David Runge (dvzrv) - Friday, 09 April 2021, 09:24 GMT
|
Details
Description: I migrated to the new nextcloud package
structure yesterday, now when I installed a gitlab
upgradeand it runs the `(2/4) Creating temporary files...`
post transaction hook this takes a very long time.
There's ~1.5M files on a slow-ish hdd in the nextcloud data dir, so iterating through all files there is expected to take quite long. I moved the data dir to `/var/lib/nextcloud/data` adn chowned it to nextcloud:nextcloud (this also took ages). I think those should be right? Is there a way t avoid having to check all the files on every update? Additional info: * package version: 21.0.0-9 |
This task depends upon
Closed by David Runge (dvzrv)
Friday, 09 April 2021, 09:24 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with nextcloud 21.0.1-1
Friday, 09 April 2021, 09:24 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with nextcloud 21.0.1-1
I will look into this change and most likely remove the recursiveness of the ownership management.