<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[2026 upgrade fails at PG-3367 (0A000) when ProGet is installed in a non-public PostgreSQL schema]]></title><description><![CDATA[<p dir="auto">Hi,<br />
Upgrading ProGet 2025.26 (Build 11) to 2026.12 (Build 24) fails on our external PostgreSQL database. We can reproduce it locally with a minimal setup.</p>
<p dir="auto"><strong>Environment</strong></p>
<ul>
<li>ProGet 2025.26 (Build 11) → 2026.12 (Build 24), Docker image</li>
<li>External PostgreSQL 17.11 (Azure Database for PostgreSQL Flexible Server in production; <code>postgres:17</code> for the repro)</li>
<li>Database user <code>proget</code>, default <code>search_path</code> (<code>"$user", public</code>)</li>
</ul>
<p dir="auto"><strong>Error shown in logs</strong></p>
<pre><code>Executing tracked script DDL-DML/v26/26.x - Maintenance/PG-3367 IncreaseConnectorResponseContentType.sql...
0A000: cannot alter type of a column used by a view or rule
At least one script reported an error.
</code></pre>
<p dir="auto">Every restart afterwards reports "Scripts not executed; at least one script has unresolved errors", and the schema stays at 25.0.26.11.<br />
<strong>Cause, as far as we can tell</strong><br />
On our managed PostgreSQL, the <code>proget</code> user can't create objects in <code>public</code> (the PostgreSQL 15+ default), so a schema named <code>proget</code> (owned by <code>proget</code>) was created. Through the default <code>search_path</code>, ProGet installed all its objects there. During the upgrade, <code>DDL-DML/0000. Untracked/10. Drop all procs, types, views.sql</code> doesn't drop them. It has no logs like "drop cascades to ..." lines at all.<br />
The old view <code>proget."ConnectorResponses_Slim"</code> therefore still exists, and <a href="https://issues.inedo.com/issue/PG-3367" class="inedo-link inedo-link-pg" rel="nofollow ugc">PG-3367</a> can't alter <code>ConnectorResponses.Content_Type</code>. It looks like installation follows <code>search_path</code>, but the cleanup only covers <code>public</code>.<br />
<strong>Minimal reproduction</strong></p>
<ol>
<li>Start <code>postgres:17</code> with database <code>proget</code> and user <code>proget</code>.</li>
<li>Before ProGet's first start: <code>CREATE SCHEMA proget AUTHORIZATION proget;</code></li>
<li>Start ProGet <code>25.0.26</code> with <code>PROGET_POSTGRES_CONNECTION_STRING=Host=...;Database=proget;Username=proget;Password=...</code>. All objects are created in schema <code>proget</code>.</li>
<li>Switch to image <code>26.0.12</code> and start it. <a href="https://issues.inedo.com/issue/PG-3367" class="inedo-link inedo-link-pg" rel="nofollow ugc">PG-3367</a> fails with <code>0A000</code>.</li>
</ol>
<p dir="auto"><strong>Question</strong></p>
<ol>
<li>Is installing ProGet into a non-<code>public</code> schema supported? If not, could the installer detect it and fail at install time, rather than at a later upgrade?</li>
</ol>
]]></description><link>https://forums.inedo.com/topic/5863/2026-upgrade-fails-at-pg-3367-0a000-when-proget-is-installed-in-a-non-public-postgresql-schema</link><generator>RSS for Node</generator><lastBuildDate>Fri, 23 Oct 2026 09:15:51 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5863.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Oct 2026 05:16:23 GMT</pubDate><ttl>60</ttl></channel></rss>