Closed kubrickfr closed 1 week ago
Cronjob running, any warnings in your setup overview, something in the logs?
Cronjob running
occ maintenance:repair --include-expensive
doesn't fix the mime type issue (unrelated?)
Nothing specials in the logs
What happens if you run the expire command manually?
occ versions:expire
Nothing, it says it's scheduled to run automatically
cc @artonge @icewind1991
The problem persists.
I would like to add that even if I deacivate the bacground job with occ config:app:set --value=no files_versions background_job_expire_versions
as suggested in the documentation, launching ./occ versions:expire
manually still results in Auto expiration is configured - expiration will be handled automatically according to the expiration patterns...
From what I understand from the code, the background job or the expire
command are not involved at all in delting the version according to the automatic schedule, it only deletes files that have expired if the admin has changed the versions_retention_obligation
setting.
"Normal expiration" is supposed to happen when a new version is created, it is then scheduled to abide by the rules, and I confirm that this works as expected (it's even written in the documentation "The versions are adjusted along this pattern every time a new version is created.").
⚠️ This issue respects the following points: ⚠️
Bug description
I waited for the fix to #45707 to land before opening this bug report, because I thought it was somewhat similar. But now I'm on 29.0.5 RC1 and I still have some version expiration issues.
Steps to reproduce
Expected behavior
According to https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/file_versioning.html, old versions should be deleted.
Installation method
Community Docker image
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 28.0.1 to 28.0.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response