barkey/docs/manage.en.md
2018-07-25 07:29:55 +09:00

924 B

Management guide

Check the status of the job queue

In the directory of Misskey:

node_modules/kue/bin/kue-dashboard -p 3050

When you access port 3050, you will see the UI.

Mark as 'admin' user

node cli/mark-admin (User-ID or Username)

Mark as 'verified' user

node cli/mark-verified (User-ID or Username)

Suspend users

node cli/suspend (User-ID or Username)

e.g.

# Use id
node cli/suspend 57d01a501fdf2d07be417afe

# Use username
node cli/suspend @syuilo

# Use username (remote)
node cli/suspend @syuilo@misskey.xyz

Clean up cached remote files

node cli/clean-cached-remote-files

Clean up unused drive files

node cli/clean-unused-drive-files

We recommend that you announce a user that unused drive files will be deleted before performing this operation, as it may delete the user's important files.