after updating from artifactory-oss:7.90.14 to artifactory-oss:7.98.8 we encounter following error each night at 00:06:
Failed to fetch package cleanup run statistics. .artifactory.rest.exception.MissingRestAddonException: This REST API is available only in Artifactory Pro (see: jfrog/artifactory/features). If you are already running Artifactory Pro please make sure your server is activated with a valid license key.
Related to there should be a Retention Policies menu visible in the administration section - but it isn't.
How can I disable this policy / job to avoid this error every night?
$ curl -H "Authorization: Bearer $TOKEN" -X PUT "localhost:8082/artifactory/artifactory/api/cleanup/policies/…"
{ "errors" : [ { "status" : 405, "message" : "" } ]
Also tried GET http://{host:port}/artifactory/api/cleanup/packages/policies
to get a list of all policies, but that results in 404 - no matter how I try to call it.
after updating from artifactory-oss:7.90.14 to artifactory-oss:7.98.8 we encounter following error each night at 00:06:
Failed to fetch package cleanup run statistics. .artifactory.rest.exception.MissingRestAddonException: This REST API is available only in Artifactory Pro (see: jfrog/artifactory/features). If you are already running Artifactory Pro please make sure your server is activated with a valid license key.
Related to https://jfrog/help/r/jfrog-platform-administration-documentation/cleanup-policies there should be a Retention Policies menu visible in the administration section - but it isn't.
How can I disable this policy / job to avoid this error every night?
$ curl -H "Authorization: Bearer $TOKEN" -X PUT "localhost:8082/artifactory/artifactory/api/cleanup/policies/…"
{ "errors" : [ { "status" : 405, "message" : "" } ]
Also tried GET http://{host:port}/artifactory/api/cleanup/packages/policies
to get a list of all policies, but that results in 404 - no matter how I try to call it.
1 Answer
Reset to default -1The issue has been identified, and the fix will be included in the next patch. The release is scheduled to be available within the next two weeks. Please stay tuned for the update, and thank you for your patience!
artifactCleanup.json
somewhere in your installation? What's its content? – Markus Commented Nov 20, 2024 at 7:08