<?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[Nextcloud - update to 20.0.2 failed]]></title><description><![CDATA[<p dir="auto">Our nextcloud instance made an update to 20.0.2<br />
The migration script is failing...<br />
Add primary key to the filecache_extended table<br />
--&gt; can't add primary key on fileid</p>
<p dir="auto">The server is  in a deadloop where the migration script is launched</p>
<p dir="auto">We need to get our instance back<br />
Help would be really appreciated</p>
]]></description><link>https://forum.cloudron.io/topic/3827/nextcloud-update-to-20-0-2-failed</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 17:53:06 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/3827.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Dec 2020 21:13:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nextcloud - update to 20.0.2 failed on Tue, 01 Dec 2020 23:32:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> thanks a lot for your help !!<br />
Really appreciated..<br />
I confirm that our instance works correctly now <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=d69db52af35" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title="👍" alt="👍" /></p>
]]></description><link>https://forum.cloudron.io/post/20304</link><guid isPermaLink="true">https://forum.cloudron.io/post/20304</guid><dc:creator><![CDATA[Dimitri Veny]]></dc:creator><pubDate>Tue, 01 Dec 2020 23:32:41 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud - update to 20.0.2 failed on Tue, 01 Dec 2020 23:13:52 GMT]]></title><description><![CDATA[<p dir="auto">So it looks like the following SQL snippet will fixup that table and then lets Nextcloud create that primary key and thus be up and running again:</p>
<pre><code>CREATE TABLE foobar AS SELECT fileid, metadata_etag, creation_time, MAX(upload_time) AS upload_time FROM oc_filecache_extended GROUP BY fileid, metadata_etag, creation_time;
DROP TABLE oc_filecache_extended;
ALTER TABLE foobar RENAME TO oc_filecache_extended;
</code></pre>
<p dir="auto">I will try to test this on another instance first and then we make a new app package with that fix for others.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dimitri-veny" aria-label="Profile: Dimitri-Veny">@<bdi>Dimitri-Veny</bdi></a> can you please report if your instance works as expected?</p>
]]></description><link>https://forum.cloudron.io/post/20302</link><guid isPermaLink="true">https://forum.cloudron.io/post/20302</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 01 Dec 2020 23:13:52 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud - update to 20.0.2 failed on Tue, 01 Dec 2020 23:03:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dimitri-veny" aria-label="Profile: dimitri-veny">@<bdi>dimitri-veny</bdi></a> Just a heads up, we are close to a solution.</p>
]]></description><link>https://forum.cloudron.io/post/20301</link><guid isPermaLink="true">https://forum.cloudron.io/post/20301</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 01 Dec 2020 23:03:31 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud - update to 20.0.2 failed on Tue, 01 Dec 2020 22:03:22 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://github.com/nextcloud/server/issues/19494" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/nextcloud/server/issues/19494</a> seems to be a similar upstream issue.</p>
]]></description><link>https://forum.cloudron.io/post/20296</link><guid isPermaLink="true">https://forum.cloudron.io/post/20296</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 01 Dec 2020 22:03:22 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud - update to 20.0.2 failed on Tue, 01 Dec 2020 21:48:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dimitri-veny" aria-label="Profile: dimitri-veny">@<bdi>dimitri-veny</bdi></a> We try to respond as quickly as we can. Not sure which plan you are on, but we only have priority support for the paid plans - <a href="https://www.cloudron.io/pricing.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.cloudron.io/pricing.html</a></p>
]]></description><link>https://forum.cloudron.io/post/20295</link><guid isPermaLink="true">https://forum.cloudron.io/post/20295</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 01 Dec 2020 21:48:47 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud - update to 20.0.2 failed on Tue, 01 Dec 2020 21:26:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Thanks but how can we have this settled ?<br />
I have already sent an email to support<br />
What's their usual reponse time ?</p>
]]></description><link>https://forum.cloudron.io/post/20294</link><guid isPermaLink="true">https://forum.cloudron.io/post/20294</guid><dc:creator><![CDATA[Dimitri Veny]]></dc:creator><pubDate>Tue, 01 Dec 2020 21:26:32 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud - update to 20.0.2 failed on Tue, 01 Dec 2020 21:17:57 GMT]]></title><description><![CDATA[<p dir="auto">Seems the same as <a href="https://forum.cloudron.io/topic/3817/nextcloud-20-0-2-not-responding-key-is-duplicated">https://forum.cloudron.io/topic/3817/nextcloud-20-0-2-not-responding-key-is-duplicated</a></p>
]]></description><link>https://forum.cloudron.io/post/20293</link><guid isPermaLink="true">https://forum.cloudron.io/post/20293</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 01 Dec 2020 21:17:57 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud - update to 20.0.2 failed on Tue, 01 Dec 2020 21:17:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">indeed you are not the first one to hit this. Unfortunately some Nextcloud instances for some so far unknown reason created duplicate file ids in the database and the latest version requires a primary key on those (meaning also that they have to be unique)</p>
<p dir="auto">I saw that you contacted us on support with SSH enabled, I will take a look to see if we can find a solution besides restoring the app instance to the previous version.</p>
]]></description><link>https://forum.cloudron.io/post/20292</link><guid isPermaLink="true">https://forum.cloudron.io/post/20292</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 01 Dec 2020 21:17:02 GMT</pubDate></item></channel></rss>