mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

zunda

さいちょうせん

$ git reset --hard
$ git clean -dxf
$ vi env.devel
$ cat env.devel
export RAILS_ENV=development
export NODE_ENV=development
export NODE_OPTIONS=--openssl-legacy-provider
$ . env.devel
$ bundle install --path=vendor/bundle
$ yarn install --pure-lockfile
$ bundle exec rails db:setup
$ bundle exec rails assets:precompile

おぉ!! 完走した。git clean -dxfで余計なファイルを消すのがミソかもね。

だがStreamingは落ちるw

ERR! TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, DataView, KeyObject, or CryptoKey. Received null

Ubuntu 22.04標準のRedis 5.6.0じゃ古すぎる疑惑か…いや、Readmeだと4+でおっけーっぽいな

streaming/index.jsの1250行目くらいのonErrorコールバックにconsole.trace();を追加しました

ERR! TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, DataView, KeyObject, or CryptoKey. Received null
Trace
at process.onError (/home/zunda/c/src/github.com/zunda/mastodon/streaming/index.js:1250:13)
at process.emit (node:events:513:28)
at process._fatalException (node:internal/process/execution:149:25)

うむわからん(Redisじゃなさそう)

あ!

export NODE_OPTIONS=--openssl-legacy-provider

してないからかも (しても落ちましたw