Hive Platform maintenance

Use the following commands to manage the Platform:

  • sudo systemctl start hw-bw - to start Hive
  • sudo systemctl stop hw-bw - to stop Hive
  • sudo systemctl restart hw-bw - to restart Hive
  • sudo systemctl status hw-bw - to check Hive status

where, hw-bw is the Platform service name.

Encrypt sensitive data

We strongly recommend you encrypt sensitive data that is stored on the Platform. Encrypt the whole disk, or one of the following directories:

/opt/ /opt/hw-bw/ /opt/hw-bw/data /opt/hw-bw/config

For encryption, you can use:

Change maximum file size for uploading to the Platform

By default, the maximum size of files you can upload to the project Issue is 100 MB (1 GB per project). You can change this parameter and decrease or increase the uploaded file size:

  1. Open the file /opt/hw-bw/config/user.ini;

    nano /opt/hw-bw/config/user.ini
    
  2. Add the line b.file.upload.size.max and indicate the preferable file size (f.e. 2 MB):

    [main]
    b.file.upload.size.max = 2
    
  3. Save the file and run the following command to apply changes:

    /opt/hw-bw/bin/reconfig
    
  4. When you apply changes, the maximum size of the uploaded files will be 2 MB.

Deletion of Hive Platform

To delete Hive Platform (root privileges required):

  1. Stop the platform:

    systemctl stop hw-bw
    
  2. Disable the platform services:

    systemctl disable hw-bw
    
  3. Delete the platform folder:

    rm -rf /opt/hw-bw
    
  4. Platform will be removed from the server.

See also