dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

Missing PFCOUNT

Open martadinata666 opened this issue 1 year ago • 0 comments

Describe the bug Missing PFCOUNT command on mastodon installation

To Reproduce Steps to reproduce the behavior:

  1. Replace redis to dragonfly on mastodon installation
  2. Load the mastodon web
  3. Web empty
  4. Check logs show Missing PFCOUNT

Expected behavior Web loaded, and run successfully.

Environment (please complete the following information):

  • OS: Ubuntu 22.04
  • Kernel: `6.2.1-060201-generic
  • Containerized?: Docker Compose
  • Dragonfly Version: 0.17.0

Log

[83618058-3981-4ac1-9d89-7d913e276f63] method=HEAD path=/health format=*/* controller=HealthController action=show status=200 duration=0.36 view=0.19 db=0.00
[8d0133b7-154c-445d-8392-caa4ff3d7cf0] method=GET path=/api/v1/instance format=*/* controller=Api::V1::InstancesController action=show status=200 duration=1.51 view=0.28 db=0.00
[f40159fd-6247-4f67-9f03-4e5de65b2a11] method=GET path=/.well-known/nodeinfo format=json controller=WellKnown::NodeInfoController action=index status=200 duration=1.02 view=0.51 db=0.00
[86aedd5c-da14-4bcd-9df2-899cfd971401] method=GET path=/nodeinfo/2.0 format=*/* controller=WellKnown::NodeInfoController action=show status=500 error='Redis::CommandError: ERR unknown command `PFCOUNT`' duration=1.96 view=0.00 db=0.00
[86aedd5c-da14-4bcd-9df2-899cfd971401]   
[86aedd5c-da14-4bcd-9df2-899cfd971401] Redis::CommandError (ERR unknown command `PFCOUNT`):
[86aedd5c-da14-4bcd-9df2-899cfd971401]   
[86aedd5c-da14-4bcd-9df2-899cfd971401] app/lib/activity_tracker.rb:50:in `sum'
[86aedd5c-da14-4bcd-9df2-899cfd971401] app/presenters/instance_presenter.rb:66:in `block in active_user_count'
[86aedd5c-da14-4bcd-9df2-899cfd971401] app/presenters/instance_presenter.rb:66:in `active_user_count'
[86aedd5c-da14-4bcd-9df2-899cfd971401] app/serializers/nodeinfo/serializer.rb:28:in `usage'
[86aedd5c-da14-4bcd-9df2-899cfd971401] app/controllers/concerns/cache_concern.rb:22:in `render_with_cache'
[86aedd5c-da14-4bcd-9df2-899cfd971401] app/controllers/well_known/nodeinfo_controller.rb:16:in `show'
[86aedd5c-da14-4bcd-9df2-899cfd971401] lib/mastodon/rack_middleware.rb:9:in `call'
[4e207fc1-dda8-4aa5-899e-2e3f6d64e8e2] method=GET path=/api/v1/streaming/public/local format=html controller=ApplicationController action=raise_not_found status=404 duration=3.78 view=2.05 db=0.00
[56488c9c-b4f1-48d3-9055-e27ea51d1abd] method=POST path=/inbox format=json controller=ActivityPub::InboxesController action=create status=202 duration=25.09 view=0.00 db=1.29 key=https://relay.gruenehoelle.nl/actor#main-key
[facc8d71-e724-4806-a702-0f321f9c29e3] method=GET path=/ format=*/* controller=HomeController action=index status=200 duration=52.70 view=32.25 db=6.46
[279f0cc5-9539-4d33-b1d3-6778aa15f902] method=GET path=/api/v1/mutes format=*/* controller=Api::V1::MutesController action=index status=200 duration=14.39 view=0.81 db=4.85
[db3b819f-939c-44af-914a-e3b9bdcab4b5] method=GET path=/api/v1/blocks format=*/* controller=Api::V1::BlocksController action=index status=200 duration=10.38 view=0.39 db=2.68
[46e0d300-6c53-40f8-aba2-1e0190c9297a] method=GET path=/api/v1/domain_blocks format=*/* controller=Api::V1::DomainBlocksController action=show status=200 duration=5.03 view=0.30 db=1.01
[426aadac-1953-40a2-b33a-8738b182e58e] method=HEAD path=/health format=*/* controller=HealthController action=show status=200 duration=0.35 view=0.16 db=0.00

martadinata666 avatar Mar 11 '23 08:03 martadinata666