cambium-hosting

Manage Cambium hosting deployments across shop, Pi, and Railway environments.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ecnepsyroc-bot/Dejavara --skill cambium-hosting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cambium-hosting
Source: https://github.com/ecnepsyroc-bot/Dejavara/tree/main/deploy/skills/cambium-hosting
Command: npx skills add https://github.com/ecnepsyroc-bot/Dejavara --skill cambium-hosting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides clear, actionable operational guidance to deploy, manage, and replicate the Cambium platform across three environments (shop server, Phteah-Pi home replica, and Railway cloud replica), reducing downtime and preventing schema drift or misconfiguration when updating APIs, services, tunnels, or databases.

Core Features & Use Cases

  • Authoritative on-prem deployment: Step-by-step manual publish and service replacement workflow for the shop server where the shop is the source of truth.
  • Windows Service operations: Guidance for checking, stopping, and starting the CambiumApi Windows Service and where the service publish artifacts must be placed.
  • Database replication and sync: Patterns for pg_dump/pg_restore workflows, ownership fixes, recommended restore flags for Railway dumps, and scheduled SyncCli replication to the Pi.
  • Cloud and remote access: Cloudflare tunnel and SSH-tunnel notes for remote access, Railway connection quirks and schema checks, and WireGuard VPN topology for secure replication.
  • Operational safety practices: Warnings about treating Railway as a replica, enforcing schema-checks before pushes, handling BCrypt and password rotation quirks, and avoiding CI/CD to the shop server.

Quick Start

Build the API publish output, stop the CambiumApi service with administrative privileges, copy the publish folder to the service publish location on the shop server, and restart the service to deploy the new API.

Frequently Asked Questions about cambium-hosting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy an API update to a Windows Service on an on-prem shop server?

To deploy an API update to a Windows Service, stop the CambiumApi service with administrative privileges, copy the publish folder to the service publish location on the shop server, and restart the service.

What is the best way to replicate a PostgreSQL database to Railway and fix table ownership issues?

The best way to replicate PostgreSQL to Railway is using pg_dump and pg_restore workflows with recommended restore flags, followed by applying ownership fixes and enforcing schema-checks before pushing updates.

How does Cloudflare tunnel and WireGuard VPN work together for remote database replication?

Cloudflare tunnels provide remote access for Railway connections and SSH tunnels, while WireGuard VPN establishes a secure network topology for replicating database data to the Raspberry Pi home replica.

Can I use CI/CD pipelines to automatically push API updates directly to the shop server?

No, you should avoid using CI/CD pipelines to push API updates to the shop server, as the shop server requires manual publish deploys and service replacement to maintain operational safety.

Why do I need to run a schema-check before pushing database updates to Railway?

Running a schema-check before pushing to Railway prevents schema drift and misconfiguration, satisfying an operational safety requirement when treating the Railway cloud instance as a replica environment.

Does the Cambium platform support scheduled database synchronization to a Raspberry Pi replica?

Yes, the platform supports scheduled SyncCli replication workflows to synchronize the PostgreSQL database from the authoritative shop server to the Raspberry Pi home replica environment.