---
title: Deploy OTOBO with AI on Blossom
url: "/deploy/otobo/"
canonical_url: https://blossom88.com/deploy/otobo/
markdown_url: https://blossom88.com/deploy/otobo.md
summary: Set up a private OTOBO help desk and see how a support ticket moves between
  queues.
categories:
- deployment
- support
stack:
- Perl
- Plack
- PostgreSQL
---

# Deploy OTOBO with AI on Blossom

[OTOBO](https://github.com/RotherOSS/otobo) is an open-source service desk
for handling requests in queues. Move one ticket through the help desk and
check the history the next agent will see.

## Ask Your Agent

> **Ask your AI agent:** Deploy OTOBO on Blossom with managed PostgreSQL. Help me route a sample ticket to another queue.
>
> Follow this guide: https://blossom88.com/deploy/otobo/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## Have Ready

- **x86 Location** (Required): The OTOBO image used in this recipe runs on x86.
- **Managed PostgreSQL** (Required): Use an empty database and its scoped credentials in the installer.

## How It Runs

| Part | Role | Where |
|---|---|---|
| OTOBO web and daemon | Serve the agent portal and run background tasks with the same installed settings | Persistent Service with Blossom Account access |
| PostgreSQL | Store the help desk configuration and ticket history | Blossom Managed Data |

## Deploy OTOBO

Run the official image in an x86 Location. Link managed PostgreSQL and
enable Blossom Account access before opening the installer.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

The [OTOBO 11.1.1 release](https://github.com/RotherOSS/otobo/tree/rel-11_1_1)
uses the official `rotheross/otobo` image. For the pinned setup use
`docker.io/rotheross/otobo@sha256:6a013d90172c80ca01f378d0a4e0140203b7207e0a009b878aae65821a5c8b05`.
Mount one Volume at `/opt/otobo`. Use the
[startup command](/deploy/recipes/otobo/run-with-daemon.sh) with
`/bin/bash` to start and supervise the image's `web` and `daemon`
commands together. Set the Service port and TCP health check to 5000.
The PostgreSQL Link is `OTOBO_POSTGRES_URL`.

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data otobo-plan.yml
    blossom database_instance:create --data otobo-postgres.yml
    blossom app:create --data otobo-app.yml
    blossom environment:create --data otobo-environment.yml
    blossom environment_link:create --data otobo-postgres-link.yml
    blossom service:create --data otobo-web.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Finish the Private Installer

Open `/otobo/installer.pl` from the private HTTPS URL. Select PostgreSQL
and **Use an existing database**. Use the linked database's host, name
and scoped credentials. Set the HTTPS hostname, skip mail for the demo,
and save the installer-generated login. Create a named agent for daily use.

> **Ask your AI agent:** Finish the private OTOBO installer using my PostgreSQL Link and help me sign in to the agent portal.

> Follow this guide: https://blossom88.com/deploy/otobo/



## Move a Ticket and Read Its History

Create **Confirm the workshop booking** in the **Raw** queue. Add an
agent note, move the ticket to **Misc**, and open **History** to see
where it moved.

![Open the workshop request in the Misc queue.](/deploy/assets/images/otobo/otobo-ticket.webp)

> **Ask your AI agent:** Create a workshop booking ticket with an agent note, move it from Raw to Misc, and show me the move in its history.

> Follow this guide: https://blossom88.com/deploy/otobo/



<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

The [sample ticket helper](/deploy/recipes/otobo/native-ticket.pl) uses
OTOBO's ticket and article methods. Run its `create` mode inside the
Service from `/opt/otobo`, with `-I. -IKernel/cpan-lib -ICustom` in
Perl's include path. The helper skips notifications for the sample move.
Open the ticket it returns in the agent portal at `/otobo/index.pl`.

</details>

## Keep It Running

Replace the demo Container with the same Volume and PostgreSQL Link.
Sign in again, reopen the ticket and check that the daemon is running.

![Reopen the recorded queue move in History.](/deploy/assets/images/otobo/otobo-history.webp)


> **Ask your AI agent:** Replace the OTOBO demo Container, reopen the same ticket and history, and confirm the daemon is running.

> Follow this guide: https://blossom88.com/deploy/otobo/



<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom service:scale --id service-100 --desired-size 0 --follow
    blossom service:scale --id service-100 --desired-size 1 --follow
    blossom shell --service service-100 -- /opt/otobo/bin/otobo.Daemon.pl status

</details>

## What You Get

- A private OTOBO agent portal
- A sample support ticket and an agent note
- A queue history that shows where the request moved
- The same ticket and history after an app update

Tested on Blossom: After Container replacement, a fresh agent session reopened the same ticket and its queue history, and the background daemon was running.
