Misskey install shell script v3.2.3
v3.2.3
Since Misskey v2023.11.0, the minimum version of Node.js is now v22.11.0.
If you choiced systemd when you are installing, please run the following command to update Node.js.
sudo rm /usr/share/keyrings/nodesource.gpg;
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/nodesource.gpg;
NODE_MAJOR=22; echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list;
sudo apt update;
sudo apt install -y nodejs;
Next, go to the directory where Misskey was installed and rebuild.
sudo su - misskey;
cd misskey;
pnpm rebuild -r;
exit;
Then, run the update script as usual.