Currently trying to build my personal Misskey instance. It quite feels like when I joined a Minecraft and got familiar with couple of friends server and built a town though seldom guests would visit…

Actually, everything began when I decided to build my own v2ray node for crossing the gfw... So I rented an oversea VPS. Afterwards I built some personal web service (including this homepage of mine). Since users other than Japanese are not welcomed in misskey.io I think its time to make a personal Misskey instance lol

Sorry for my bad English at the very beginning XD

Setting up

The installation of the Misskey is very simple! Even idiots like me is able to set up a personal individual step by step in a short time 😂 So if you also have the thoughts of building one, don't hesitate!

According to the guide on Misskey Hub, after docker and docker compose are installed on the VPS, the Misskey can be set up.

Nevertheless, it is more recommended to set SWAP in advance as most small VPS that we rent don't have too much RAM. It takes about 700 M of RAM while the container is running. My first installation just blew my VPS up since I forgot to set SWAP...

In addition, Misskey takes up about 8G of disk space right after deployed, Also make sure the VPS have enough spaces!

The installation guide on Misskey Hub suggested to build Misskey image locally but it will take up a lot of spaces. Another way is to use official image, which can be done by editing docker-compose.yml (reference)


# Misskey minimal deploy config
version: "3"

services:
  web:
    restart: always # restart automatically
    image: misskey/misskey:latest # Using official image here
    container_name: misskey_web 
    links:
      - db
      - redis
    ports:
      - "127.0.0.1:3000:3000"
    networks:
      - internal_network
      - external_network
    volumes:
      - ./config:/misskey/.config:ro 
      - ./files:/misskey/files 

  redis:
    restart: always
    image: redis:latest
    container_name: misskey_redis
    networks:
      - internal_network
    volumes:
      - ./redis:/data

  db:
    restart: always
    image: postgres:12.2-alpine
    container_name: misskey_db
    networks:
      - internal_network
    env_file:
      - ./config/docker.env
    volumes:
      - ./db:/var/lib/postgresql/data

networks:
  internal_network:
    internal: true
  external_network:


After finished building

Congrats! I had my personal instance now! It looks like a rough house though

However, several problems are found:

Unable to Upload Images

After registering an administrator account and debugging, I found that images could not be uploaded due to access rights issues. Solution: cd to .\Misskey, then sudo chown -R 991:991 files

Unable to Connect to the Fediverse

The following issues were observed:

  1. No posts from other servers appear in the "Global" timeline.
  2. Other users' profiles display incomplete content; past posts (except pinned ones) are not visible.
  3. My server does not appear in Misskey's server list.

Solutions:

  1. Configure relay servers can address the issue. But it will take up lots of disk space.
  2. Characteristics of Active Hub.
  3. It might just require some time?? I'm not really sure.

Backup and Migration

  • Currently using snapshot

Cleaning up redundant data

There's a script that is available for cleaning the data. As I used docker for Misskey, I chose to enter the container and then run the script. Pip and some requirements need to be installed before running the script. The script is here: https://github.com/ybw2016v/mkcl.git

postscript

After building the instance, I got a different feeling about Misskey. Previously I just regarded it as a new social platform slightly different from Twitter, Bsky sa and other centralized platforms. But now I might like to turn it into a place to share short content to make up for the "long articles" sharing of blogs, of course, including my drawings. I also plan to prepare two accounts in this instance. One account will be migrated from Misskey, and on the other account I wish to post Chinese content. After all, on the Misskey.io server, using Chinese/English will make me look like an alien account because it was hoped to be a Japanese community. The other hand, on Twitter, I used English since I was hoping to connect and communicate with more people around world (and tbh, partly because of unnecessary worries about exposing my identity)… But now it seems that these have become irrelevant on my own instance. I hope you won't feel uncomfortable about it!

现在我对 Misskey 有了另一种感受,此前我只是把它当作一个和 Twitter、Bsky 等平台略有区别的一个新的社交平台。但现在我好像更想把它变成一个弥补博客的‘长文章’的简短内容的分享处,当然还包括我画的画。我也准备在这个实例里准备两个账号,一个账号就是此前在 Misskey 的账号迁移过来,另一个账号我希望会用来发布一些中文内容,比如吐槽之类。毕竟在 Misskey.io 服务器上,使用中文/英文会显得我是个异类一样的账号,因为实例的管理者希望它是一个日本社群。在 Twitter 上我可能是出于希望能够和更多的人有连接、交流,同时也有一部分原因是对自己身份暴露的无谓担心,所以使用的英文……但现在看来,在我自己的实例上这些似乎变得无所谓。希望大家能接受!