gliffcheung commented on issue #10532:
URL: https://github.com/apache/apisix/issues/10532#issuecomment-1824119616

   > can you try installing the healthcheck library manually once?
   
   @shreemaan-abhishek The healthcheck library is installed already.
   ```bash
   $ luarocks list --tree=/usr/local/apisix/deps  | grep health -A2
   lua-resty-healthcheck-api7
      2.2.3-0 (installed) - /usr/local/apisix/deps/lib/luarocks/rocks-5.1
   ```
   
   I try to install manually, and the last two line of output is abnormal.
   ```bash
   $ luarocks install lua-resty-healthcheck-api7 2.2.3-0 
--tree=/usr/local/apisix/deps
   Installing https://luarocks.org/lua-resty-healthcheck-api7-2.2.3-0.src.rock
   
   lua-resty-healthcheck-api7 2.2.3-0 depends on lua-resty-worker-events 1.0.0 
(1.0.0-1 installed)
   lua-resty-healthcheck-api7 2.2.3-0 is now installed in 
/usr/local/apisix/deps (license: Apache 2.0)
   
   Missing dependencies for apisix master-0:
      lua-resty-healthcheck-api7 2.2.2 (not installed)
   ```
   
   And I found the version of dependencies is incorrect in 
`/usr/local/apisix/deps/lib/luarocks/rocks-5.1/manifest` which should be 
updated automatically I think. I modify the constraints of api7-lua-resty-http 
manually and exec `apisix reload`, but the apisix still outputs the same 
content in `error.log`.
   ```lua
   dependencies = {
      apisix = {
         ["master-0"] = {
            {
               constraints = {
                  {
                     op = "==",
                     version = {
                        2, 2, 2, string = "2.2.2"
                     }
                  }
               },
               name = "lua-resty-healthcheck-api7"
            }
           ....
         }
      }
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to