#author("2025-06-15T00:52:08+00:00","default:mogamin","mogamin") #author("2025-06-15T01:18:30+00:00","default:mogamin","mogamin") * 20250615 Sidekiq がうごいてない [#z03f0545] タイムラインの時間軸が過去で止まってた。 ** なんで [#g8217ee2] sidekiq が更新されたので、redis のバージョンが要件を満たさなくなってるみたいだ。 Update sidekiq to version 7 by mjankowski · Pull Request #34745 · mastodon/mastodon · GitHub https://github.com/mastodon/mastodon/pull/34745 $ tail -n 100 /var/log/syslog Jun 15 08:50:40 don bundle[271603]: 2025-06-14T23:50:40.926Z pid=271603 tid=5vln INFO: Sidekiq 7.3.9 connecting to Redis with options {size: 10, pool_name: "internal", url: "redis://localhost:6379/0", driver: :hiredis} Jun 15 08:50:40 don bundle[271603]: You are connecting to Redis 6.0.16, Sidekiq requires Redis 6.2.0 or greater ** 環境 [#ia1bb537] $ uname -a Linux kumarin 5.15.0-141-generic #151-Ubuntu SMP Sun May 18 21:35:19 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux ** Redis をアップデートしたい [#he44c1f7] Redis は apt で入れてた。けれどデフォルトのリポジトリにある版は古い……。 $ apt search redis-server redis-server/jammy,now 5:6.0.16-1ubuntu1 amd64 前に同様のことが起きた libvips は自前でビルドしたけれど、しんどかったのであんまりやりたくない。 調べたら Redis 公式のリポジトリがあるらしい、これを使おう。 Install Redis on Linux | Docs https://redis.io/docs/latest/operate/oss_and_stack/install/archive/install-redis/install-redis-on-linux/ ** Redis をアップデートする [#y67aa0f6] Redis のリポジトリを追加 curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list 新しい版が入ってきた。 $ sudo apt update $ apt list --upgradable redis-server/jammy 6:8.0.2-1rl1~jammy1 amd64 [5:6.0.16-1ubuntu1 からアップグレード可] redis-tools/jammy 6:8.0.2-1rl1~jammy1 amd64 [5:6.0.16-1ubuntu1 からアップグレード可] ので -y upgrade する。 sudo apt -y upgrade コマンドの完了と同時に sidekiq は復活して溜まった宿題を消化しはじめた。 がんばれ。 &attachref(Screenshot 2025-06-15 at 09-38-00 Sidekiq-1.png); ok。 &attachref(Screenshot 2025-06-15 at 09-38-49 Sidekiq.png); ** referred & thanks to [#p0a93ada] Update sidekiq to version 7 by mjankowski · Pull Request #34745 · mastodon/mastodon · GitHub https://github.com/mastodon/mastodon/pull/34745 Install Redis on Linux | Docs https://redis.io/docs/latest/operate/oss_and_stack/install/archive/install-redis/install-redis-on-linux/ Ubuntu Linux 20.04 LTSに、Redisをaptリポジトリからインストールする - CLOVER🍀 https://kazuhira-r.hatenablog.com/entry/2022/08/13/190600