Octoprint Server Deployment - RPIForge/deployment-configs GitHub Wiki

Octoprint server

This is the deployment instructions for the Octorpint Server. This guide assumes you are using a Freenas or Truenass Core system to run all of the 3 main components. You instead can install them seperatly or use their cloud alternatives. While freenas/truenass might not be the best it does have built in ZFS support and is easily managed through a nice gui which is good for maintence and longevity.

openBalena Install

Since openBalena requires docker it must be installed in a standalone vm and not a jail.

You can find the instructions on how to intall here

InfluxDB Install

Influxdb should be installed in a jail as it simplifies the management and allows the sharing of resources.

You can find the instrcutions on how to install here

After installing influxdb follow these steps to initalize your server

  1. Go to the portal at <hostname/ip>:8086
  2. Create an account and an initial bucket called influx. This will house stats about influx
  3. Create the following 3 buckets. they should corispond to the ones listed under utils/datasources.py
    • status_data
    • temperature_data
    • location_data
  4. Create an API key for each raspiberry pi. This helps keep security even if the device is taken