admin管理员组文章数量:1430867
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!
本文标签: artifactoryCan39t disable package cleanupError in logStack Overflow
版权声明:本文标题:artifactory - Can't disable package cleanup - Error in log - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745564687a2663687.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
artifactCleanup.json
somewhere in your installation? What's its content? – Markus Commented Nov 20, 2024 at 7:08