Used to check for browser translation.
用于检测浏览器翻译。
ブラウザの翻訳を検出する
Server Management

Check Status


The blocklet server status command provides a snapshot of the current state of your Blocklet Server and all installed blocklets. This is the primary command for checking if the server is running correctly and for viewing basic information about your setup.

Usage#

To check the status, run the following command in your terminal:

blocklet server status

Understanding the Output#

The command's output is divided into three main sections:

  1. Server Information: Displays core details about the Blocklet Server daemon process.
    • Status: The current state of the server (e.g., running, starting, stopped, error). If running, it also shows the uptime.
    • Mode: The operational mode of the server (e.g., production, debug).
    • Data Directory: The file system path where Blocklet Server stores its data.
    • Router Engine: The routing provider in use.
    • Database: The database provider being used.
  2. Blocklets Status: If any blocklets are installed, their status is displayed in a table with the following columns:
    • Name: The title of the blocklet.
    • Status: The current state of the blocklet (e.g., running, stopped).
    • URL: The access URL for the blocklet.
  3. Access URLs: If the server is running, this section lists the URLs you can use to access the Blocklet Server's web interface.

Example Output#

Here is an example of what you might see after running the command:

Blocklet Server status: Running (2h 15m 30s)
Blocklet Server mode: Production
Blocklet Server Data Directory: /home/user/.blocklet-server
Blocklet Server Router Engine: @blocklet/router-nginx
Blocklet Server Database: @blocklet/db-sqlite

Blocklets Status:
┌──────────────────────────────┬───────────────┬────────────────────────────────────────────────────────────────────┐
│ Name │ Status │ URL
├──────────────────────────────┼───────────────┼────────────────────────────────────────────────────────────────────┤
│ Blocklet Manager │ running │ https://z2qa751e32f51a56b7f329d4924b1c313a05f.did.abtnet.io │
DID Wallet │ running │ https://z380d6f51e32f51a56b7f329d4924b1c313a05f.did.abtnet.io │
└──────────────────────────────┴───────────────┴────────────────────────────────────────────────────────────────────┘

You can access your blocklet server with either of the following URLs:
- http://192.168.1.100
- https://my-server.example.com

If no blocklets are installed, you will see a message: No blocklets installed yet.

If the server is not running, the output will be: Blocklet Server is not started.

Options#

Option

Description

--force-intranet

Forces the command to display only intranet URLs, ignoring any external IP addresses.


After checking the status, you might want to view detailed logs or stop the server. For more information, see how to View Logs or Stop Server.