Artifactory Error: file does not exist – var/etc/security/master.key

Error

$ more router-service.log
2021-08-09T06:28:34.562Z [jfrou] [INFO ] [12eb5f8f306fefda] [security_keys.go:149          ]
 [main                ] - Master key is missing. Pending for 110 seconds with 2m0s timeout
2021-08-09T06:28:39.564Z [jfrou] [INFO ] [12eb5f8f306fefda] [security_keys.go:149          ]
 [main                ] - Master key is missing. Pending for 115 seconds with 2m0s timeout
2021-08-09T06:28:44.300Z [jfrou] [FATAL] [12eb5f8f306fefda] [bootstrap.go:98               ]
 [main                ] - Failed resolving master key: failed resolving 'shared.security.mas
terKey' key; file does not exist: /opt/artifactory-pro-7.21.5/var/etc/security/master.key
[root@localhost log]#
$ more metadata-service.log
2021-08-09T06:28:44.543Z [jfmd ] [PANIC] [74b40f69b408f150] [keys.go:22                    ]
 [main                ] - Failed resolving master key: failed resolving 'shared.security.mas
terKey' key; file does not exist: /opt/artifactory-pro-7.21.5/var/etc/security/master.key
goroutine 1 [running]:
runtime/debug.Stack(0x17575f8, 0x4, 0xc000245f01)
        /src/runtime/debug/stack.go:24 +0x9f
jfrog.com/jfrog-go-commons/v7/pkg/log.(*standardLogger).Panicfc(0xc0005c5980, 0x1b1e760, 0xc
000276c60, 0xc000245f40, 0x9b, 0xc000031d98, 0x0, 0x1)
        goroot/pkg/mod/jfrog.com/jfrog-go-commons/v7@v7.21.2-m007/pkg/log/standard_logger.go
:85 +0x9e
jfrog.com/metadata/v7/services/common.MustResolveSecurityKeys(0x1b1e760, 0xc000276c60, 0x1b27070, 0xc00055b8b0
, 0x1b32910, 0xc0005c5980)
        jfrog.com/metadata/v7@v7.21.4/services/common/keys.go:22 +0x1c2
main.main()
        jfrog.com/metadata/v7@v7.21.4/metadata.go:30 +0x3b1
 [init]
$ more event-service.log
    ] - Master key is missing. Pending for 115 seconds with 2m0s timeout [startup]
2021-08-09T06:28:44.736Z [jfevt] [FATAL] [773058374c55a614] [bootstrap.go:115              ] [main
    ] - Failed resolving master key: failed resolving 'shared.security.masterKey' key; file does not exist: /o
pt/artifactory-pro-7.21.5/var/etc/security/master.key [startup]

Solution

Installed New version of Artifactory and it should solve the issues.
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x