<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Operations on AGW</title><link>https://agw-docs.pages.dev/docs/operations/</link><description>Recent content in Operations on AGW</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 25 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://agw-docs.pages.dev/docs/operations/index.xml" rel="self" type="application/rss+xml"/><item><title>Standalone and Docker</title><link>https://agw-docs.pages.dev/docs/operations/standalone/</link><pubDate>Fri, 25 Sep 2026 00:00:00 +0000</pubDate><guid>https://agw-docs.pages.dev/docs/operations/standalone/</guid><description>&lt;p&gt;Standalone provides management pages, conversations, and scheduled jobs in one Server. It suits a local trial or a single host. Defaults use SQLite for storage and run tasks in the Server process, without a separate database service.&lt;/p&gt;&#10;&lt;p&gt;Use the Docker image, or build a Portable Server for your operating system and processor. Both include Web. Start with local access, then configure directory mounts and remote access as needed.&lt;/p&gt;&#10;&lt;h2 id="local-docker-trial"&gt;Local Docker trial&#10;&lt;/h2&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-47058887-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="bash" data-td-line-count="5"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-47058887-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;docker run -d --name agw &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --restart unless-stopped &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -p 127.0.0.1:30816:8080 &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v agw-data:/data &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ghcr.io/zxyao145/agw:latest&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Open &lt;code&gt;http://localhost:30816/setup&lt;/code&gt; and initialize. Through a Docker port mapping, the container does not see a loopback source address, so Setup asks for the one-time Setup Code; find “Agw remote setup code” in the startup log with &lt;code&gt;docker logs agw&lt;/code&gt;. The image includes static Web assets, so the browser connects directly to Server. &lt;code&gt;latest&lt;/code&gt; is convenient for evaluation; use a fixed release tag for a maintained deployment.&lt;/p&gt;</description></item><item><title>Split Control/Data Plane deployment</title><link>https://agw-docs.pages.dev/docs/operations/split/</link><pubDate>Fri, 25 Sep 2026 00:00:00 +0000</pubDate><guid>https://agw-docs.pages.dev/docs/operations/split/</guid><description>&lt;p&gt;Split deployment runs management and scheduling in Control Plane and task execution in Data Plane. Use it when execution environments need separate maintenance or additional nodes. For a trial on one host, &lt;a href="https://agw-docs.pages.dev/docs/operations/standalone/"&gt;Standalone&lt;/a&gt; is simpler to configure.&lt;/p&gt;&#10;&lt;p&gt;This page assumes familiarity with containers, databases, and reverse proxies. Prepare shared PostgreSQL, Data Protection keys for decrypting credentials, and workspaces accessible to every execution node. The entry proxy must support WebSocket for conversation events.&lt;/p&gt;</description></item><item><title>Configuration and authentication</title><link>https://agw-docs.pages.dev/docs/operations/configuration/</link><pubDate>Fri, 25 Sep 2026 00:00:00 +0000</pubDate><guid>https://agw-docs.pages.dev/docs/operations/configuration/</guid><description>&lt;p&gt;This page covers deployment settings consumed by AGW Server and logging settings in the Host template. Configure models, Agents, Projects, and integration accounts through the management UI as described in their guides. Choose your deployment mode first, then apply changes and restart the relevant Hosts.&lt;/p&gt;&#10;&lt;h2 id="start-with-the-settings-relevant-to-your-task"&gt;Start with the settings relevant to your task&#10;&lt;/h2&gt;&#10;&lt;p&gt;For an initial local setup, keep defaults and complete initialization. Before relying on the service, locate its database and data directory and follow the &lt;a href="https://agw-docs.pages.dev/docs/operations/backup/"&gt;backup guide&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Data, backups, and upgrades</title><link>https://agw-docs.pages.dev/docs/operations/backup/</link><pubDate>Fri, 25 Sep 2026 00:00:00 +0000</pubDate><guid>https://agw-docs.pages.dev/docs/operations/backup/</guid><description>&lt;p&gt;A complete backup includes AGW configuration and records, encryption keys, and project files. Copying only the installation directory or code repository can leave out data needed to restore the service.&lt;/p&gt;&#10;&lt;p&gt;Locate the actual database, data directory, and Project workspaces first. Use the defaults below as a guide and confirm them against the running configuration.&lt;/p&gt;&#10;&lt;h2 id="what-to-preserve"&gt;What to preserve&#10;&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;AgwDataDir&lt;/code&gt; defaults to &lt;code&gt;~/agw&lt;/code&gt;; Docker uses &lt;code&gt;/data&lt;/code&gt;. Paths expand &lt;code&gt;~&lt;/code&gt;; other relative paths resolve from the process working directory. The default SQLite database file is &lt;code&gt;&amp;lt;AgwDataDir&amp;gt;/database/agw.db&lt;/code&gt;, or &lt;code&gt;/data/database/agw.db&lt;/code&gt; in Docker.&lt;/p&gt;</description></item><item><title>Logs and troubleshooting</title><link>https://agw-docs.pages.dev/docs/operations/troubleshooting/</link><pubDate>Fri, 25 Sep 2026 00:00:00 +0000</pubDate><guid>https://agw-docs.pages.dev/docs/operations/troubleshooting/</guid><description>&lt;p&gt;First locate the failing step: opening the page, signing in, calling a model, or using files and tools. Reproduce the problem with a small task so that each check narrows the cause.&lt;/p&gt;&#10;&lt;p&gt;Record the Server, Project, conversation, and time, then inspect the matching logs. In a split deployment, check Control Plane for management problems and Data Plane for execution problems.&lt;/p&gt;&#10;&lt;h2 id="diagnostic-order"&gt;Diagnostic order&#10;&lt;/h2&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;Symptom&lt;/th&gt;&#10; &lt;th scope="col"&gt;Check first&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;UI unavailable&lt;/td&gt;&#10; &lt;td&gt;Listener, port, container mapping, proxy target&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Setup fails&lt;/td&gt;&#10; &lt;td&gt;Database connection, writable directories, remote Setup Code&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Login or API Key fails&lt;/td&gt;&#10; &lt;td&gt;Actual Server, revoked API Key, database auth state&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Third-party sign-in fails&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;Auth:Oidc:PublicBaseUrl&lt;/code&gt;, the callback URL registered at the provider, client credentials, Server-to-provider network&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;No agent response&lt;/td&gt;&#10; &lt;td&gt;Model Provider, model ID, credentials, pending approval/input&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;CLI cannot start&lt;/td&gt;&#10; &lt;td&gt;Execution-node executable, account, environment&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Files missing&lt;/td&gt;&#10; &lt;td&gt;Selected root, Server path, mounts, permissions&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Job does not run&lt;/td&gt;&#10; &lt;td&gt;Enablement, future timestamp, UTC Cron, valid target, logs&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Wrong state after disconnect&lt;/td&gt;&#10; &lt;td&gt;Conversation selection, WebSocket proxy, background execution; in InProcess mode, running conversations show Interrupted after a Server restart and do not continue&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h2 id="example-the-page-opens-but-the-agent-does-not-reply"&gt;Example: the page opens but the agent does not reply&#10;&lt;/h2&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Check whether Chat is waiting for approval or information, and respond if needed.&lt;/li&gt;&#10;&lt;li&gt;Send a plain text question through the same model connection. If it fails, check the API endpoint, model ID, and credentials.&lt;/li&gt;&#10;&lt;li&gt;If text works but a tool task fails, check tool bindings, directories, and host permissions.&lt;/li&gt;&#10;&lt;li&gt;In split deployments, a working management page with a failed chat connection suggests checking that &lt;code&gt;/api/hubs/exec&lt;/code&gt; routes to Data Plane and supports WebSocket.&lt;/li&gt;&#10;&lt;li&gt;Find the specific error in Server logs at the recorded time. Repeat the same small task after the fix.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;This sequence separates model, tool, and connection failures without changing several settings at once.&lt;/p&gt;</description></item></channel></rss>