<?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[Howto in case of upgrade ERROR: relation &quot;cost_object_journals_pkey&quot; does not exist&quot;]]></title><description><![CDATA[<p dir="auto">If you use OpenProject and the update throws an error, follow this short howto:</p>
<ul>
<li>enable recovery mode for the app</li>
<li>open the terminal</li>
<li>switch to postgres</li>
<li>have a look at the Indexes</li>
</ul>
<pre><code>\d+ cost_object_journals
</code></pre>
<ul>
<li>write down your "idx_12345_primary" key</li>
<li>alter the index</li>
</ul>
<pre><code>ALTER INDEX "idx_12345_primary" RENAME TO "cost_object_pkey";
</code></pre>
<ul>
<li>open a second terminal and do a manual migration</li>
</ul>
<pre><code>./start.sh
</code></pre>
<ul>
<li>disable recovery mode and restart the app.</li>
</ul>
<p dir="auto">Done.</p>
]]></description><link>https://forum.cloudron.io/topic/3451/howto-in-case-of-upgrade-error-relation-cost_object_journals_pkey-does-not-exist</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 21:09:18 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/3451.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Oct 2020 14:51:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Howto in case of upgrade ERROR: relation &quot;cost_object_journals_pkey&quot; does not exist&quot; on Sun, 18 Oct 2020 16:36:13 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for sharing.</p>
<p dir="auto">There's a lot to unpack there, especially the postgres stuff.<br />
I can see how many users wouldn't know what to do there.</p>
<p dir="auto">Can you expand on all those 'postgres' parts and what to look for?</p>
<p dir="auto">The 'manual migration' may not be needed since the app will do that on restart exiting recovery mode.</p>
]]></description><link>https://forum.cloudron.io/post/16272</link><guid isPermaLink="true">https://forum.cloudron.io/post/16272</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Sun, 18 Oct 2020 16:36:13 GMT</pubDate></item></channel></rss>