Manage Blocklet Server
The blocklet server command is your primary tool for managing the lifecycle of a Blocklet Server instance. It allows you to initialize, start, stop, and maintain your server and all the blocklets running on it.
For a practical walkthrough of setting up a new server, see the Getting Started guide.
Usage#
All server management commands follow a consistent structure:
blocklet server [command] [options]Global Options#
These options can be applied to any blocklet server command.
Option | Alias | Description |
|---|---|---|
|
| Specifies the path to the Blocklet Server configuration file. |
|
| Automatically answers "yes" to any confirmation prompts. |
Server Lifecycle#
The following diagram illustrates the typical command flow for managing a Blocklet Server instance:
Commands#
The blocklet server command suite is organized into several subcommands, each responsible for a specific aspect of server management. Click on a command to view its detailed documentation, including all available options and examples.
Command | Description |
|---|---|
Initializes a new Blocklet Server configuration. | |
Starts the Blocklet Server and its related services. | |
Stops the Blocklet Server and all running blocklets. | |
Displays the current status of the server and installed blocklets. | |
Shows log files for the server and blocklets. | |
Gathers environment information for debugging and issue reporting. | |
Upgrades the Blocklet Server to the latest version. | |
Performs server-level cleanup tasks, such as clearing caches. | |
Attempts to restart all blocklets on a running server. | |
Migrates the server database from one system to another (e.g., SQLite to Postgres). |
Now that you have an overview of server management, you can dive into the specifics of each command. A good place to start is the init command to set up your first server instance.