Releases: joinmisskey/bash-install
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.
Misskey install shell script v3.2.2
- The upload limit for nginx is now 250m instead of 80m.
- In the update script, added
git checkout -- .
beforegit pull
Misskey install shell script v3.2.1
v3.2.1
The Node.js download source (provided by nodesource) has changed.
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=20; 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;
Required for Misskey v2023.12.0 and later because the required version of Node.js has been increased.
Misskey install shell script v3.2.0
v3.2.0
- systemd environment now uses jemalloc.
Executesudo apt install libjemalloc-dev
and AddEnvironment="LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2"
underEnvironment="NODE_ENV=production"
in/etc/systemd/system/example.com.service
. In arm64 machine, you must changex86_64
toaarch64
. ProxyRemoteFiles: true
is now specified in default.yml during installation.- When updating with
-r
option,apt full-upgrade
no longer prompts for confirmation (not tested)
Misskey install shell script v3.1.0
v3.1.0
Changed to install Node.js v20.
You must update Node.js before updating Misskey.
First, install v20 with the following command.
curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
Next, go to the directory where you installed Misskey and update the npm module.
sudo su - misskey
cd misskey
pnpm i --frozen-lockfile --force
exit
Misskey install shell script v3.0.0
For Misskey v13 production and later RC (since 13.0.0-rc.10)
v3.0.0
- Followed as pnpm is now used
No migration is required. Please update the update script and use it.
Misskey install shell script v2.0.1
Fix fail of installing with docker.
Misskey install shell script v2.0.0
Script rewritten for Misskey v13.
- Using corepack and yarn v3
sudo corepack enable
- syslog is no longer specified.
Remove the following three lines from **default.yml: syslog:. ** - Set
signToActivityPubGet: true
; add to default.yml. - Added setting
proxyBypassHosts
. Please change the setting if necessary.
Miscellaneous
- Changed nginx installation method to the official one.
- Added a new setting to disable port opening when configuring nginx.
- added support for not configuring certbot (configure only on port 80) when configuring nginx.
- When configuring certbot, certbot is now executed via nginx (--webroot).
- Added
proxy_force_ranges on;
setting in nginx conf. - Added support for specifying a port to be watched by Misskey even when nginx is configured.
Translated with www.DeepL.com/Translator (free version)
Misskey install shell script v1.6.5
Misskey install shell script v1.6.5
execute docker image prune
in update script.
Misskey install shell script v1.6.4
Misskey install shell script v1.6.4
Fix errors when changing user in update.ubuntu.sh (use sudo -iu instead of sudo -u)