<?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 won't start :(]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">I hope someone can help me, I'm running Cloudron 7.4.2 with Nextcloud 26.01 (4.17.0) and Nextcloud fails to start. In the Event log it shows 'App Down'.</p>
<p dir="auto">The problem started when I did the reboot in the message - Cloudron requires a reboot - to complete the install of 7.4.2. NC didn't restart. I tried to restart it, but that failed, I increased the memory and that made no difference. Event log showed App ran out of memory. In Cloudron Services Redis showed red, and out of memory so I increased it and restarted the whole server. Nothing helped.</p>
<p dir="auto">In the logs I could see a db error: "Unknown database type polygon requested, Doctrine\DBAL\Platforms\PostgreSQL"</p>
<p dir="auto">2023-06-02T07:51:17.000Z files_sharing	      recognize		       workflowengine<br />
2023-06-02T07:51:18.000Z<br />
2023-06-02T07:51:18.000Z<br />
2023-06-02T07:51:18.000Z<br />
2023-06-02T07:51:18.000Z [32mNextcloud is already latest version[39m<br />
2023-06-02T07:51:18.000Z [32mdb:convert-filecache-bigint[39m<br />
2023-06-02T07:51:18.000Z [33mIn AbstractPlatform.php line 396:[39m<br />
2023-06-02T07:51:18.000Z [37;41m                                                                               [39;49m<br />
2023-06-02T07:51:18.000Z [37;41m                                                                               [39;49m<br />
2023-06-02T07:51:18.000Z [37;41m  100Platform may not support it.                                              [39;49m<br />
2023-06-02T07:51:18.000Z [37;41m  Unknown database type polygon requested, Doctrine\DBAL\Platforms\PostgreSQL  [39;49m<br />
2023-06-02T07:51:25.000Z =&gt; Healtheck error: Error: connect EHOSTUNREACH 172.18.16.4:80<br />
2023-06-02T07:51:33.000Z =&gt; Healtheck error: Error: connect EHOSTUNREACH 172.18.16.4:80</p>
<p dir="auto">I saw that there was an update to 26.02 (4.17.1) so I applied the update - this has fixed errors in the past. Unfortunately that didn't fix the db issue, and I now see in the logs:</p>
<p dir="auto">Jun 02 15:19:50 ==&gt; run migration<br />
Jun 02 15:19:50 Nextcloud is in maintenance mode, no apps are loaded.</p>
<p dir="auto">Any idea how I can recover NC?</p>
<p dir="auto">Thanks!!!</p>
]]></description><link>https://forum.cloudron.io/topic/9327/nextcloud-won-t-start</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 22:56:33 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/9327.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Jun 2023 14:21:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nextcloud won't start :( on Sun, 04 Jun 2023 09:42:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ei8fdb" aria-label="Profile: ei8fdb">@<bdi>ei8fdb</bdi></a> said in <a href="/post/67594">Nextcloud won't start <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=cb8b82e1523" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></a>:</p>
<blockquote>
<p dir="auto">The one thing I could not figure out was how to make the connection between the error message</p>
</blockquote>
<p dir="auto">I mostly guessed from the <code>Unknown database type polygon requested</code> message. That pointed to some geometry related data type - <a href="http://postgis.net/" target="_blank" rel="noopener noreferrer nofollow ugc">http://postgis.net/</a> . From that I went digging into the database (from the dump file) as to who created this type. I got <code>oc_memories_planet_geometry</code> from that. Was quite tricky to figure because the memories app was not installed on the OPs server (but was installed sometime in the past) and this was just the remains of the app in the database.</p>
]]></description><link>https://forum.cloudron.io/post/67640</link><guid isPermaLink="true">https://forum.cloudron.io/post/67640</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 04 Jun 2023 09:42:14 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud won't start :( on Sun, 04 Jun 2023 09:39:47 GMT]]></title><description><![CDATA[<p dir="auto">I found the isssue here. The memories app needs the <code>postgis</code> extension in PostgreSQL. For some reason, it doesn't enable this, I guess it expects it to be enabled already.</p>
<p dir="auto">The fix if you want to use this app (for the future) is:</p>
<ul>
<li>Be sure to be on nextcloud package 4.17.2 atleast</li>
<li>Open <a href="https://docs.cloudron.io/apps/#web-terminal" target="_blank" rel="noopener noreferrer nofollow ugc">Web terminal</a> and click the PostgreSQL button on top. Press enter and run <code>CREATE EXTENSION IF NOT EXISTS postgis;</code> .</li>
<li>Now the app works even after restarts</li>
</ul>
]]></description><link>https://forum.cloudron.io/post/67639</link><guid isPermaLink="true">https://forum.cloudron.io/post/67639</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 04 Jun 2023 09:39:47 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud won't start :( on Sat, 03 Jun 2023 14:58:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ei8fdb" aria-label="Profile: ei8fdb">@<bdi>ei8fdb</bdi></a> did you install geo locations for geo tagging your photos?</p>
<p dir="auto">I recently installed geo, and I have been using memories for a long Time without issues, its a great plugin! So either the recent update killed it or it is the geo locations doing it.</p>
]]></description><link>https://forum.cloudron.io/post/67615</link><guid isPermaLink="true">https://forum.cloudron.io/post/67615</guid><dc:creator><![CDATA[max]]></dc:creator><pubDate>Sat, 03 Jun 2023 14:58:00 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud won't start :( on Sat, 03 Jun 2023 09:55:45 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> said in <a href="/post/67591">Nextcloud won't start <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=cb8b82e1523" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></a>:</p>
<blockquote>
<p dir="auto">;</p>
</blockquote>
<p dir="auto">Gah. I originally used that exact syntax, but forgot the ; !</p>
<p dir="auto">Only when you highlighted it did I remember. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f926.png?v=cb8b82e1523" class="not-responsive emoji emoji-android emoji--face_palm" style="height:1.4em;width:auto;vertical-align:middle" title=":face_palm:" alt="🤦" />   Thanks very much <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> you saved me a lot of time. And even more so on a Saturday.</p>
<p dir="auto">The one thing I could not figure out was how to make the connection between the error message (for others, <strong>bolded</strong> below)</p>
<pre><code>Jun 03 10:45:37 In AbstractPlatform.php line 396:
Jun 03 10:45:37
**Jun 03 10:45:37 Unknown database type polygon requested, Doctrine\DBAL\Platforms\PostgreSQL
Jun 03 10:45:37 100Platform may not support it.**
</code></pre>
<p dir="auto">and that it was related to 1) an pp, and 2) what app in particular.</p>
<p dir="auto">I'd appreciate if you could explain how you made this connection. (When you have time. It's Saturday and everyone deserves their time off!)</p>
]]></description><link>https://forum.cloudron.io/post/67594</link><guid isPermaLink="true">https://forum.cloudron.io/post/67594</guid><dc:creator><![CDATA[ei8fdb]]></dc:creator><pubDate>Sat, 03 Jun 2023 09:55:45 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud won't start :( on Sat, 03 Jun 2023 09:42:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ei8fdb" aria-label="Profile: ei8fdb">@<bdi>ei8fdb</bdi></a> Something like:</p>
<ul>
<li>Enable recovery mode</li>
<li>Open webterminal.</li>
<li>Click MySQL button on top . This will paste a command. Press enter. This will give a MySQL shell.</li>
<li>execute <code>DROP table oc_memories_planet_geometry;</code> (note the semicoloon at the end)</li>
<li>Disable recovery mode</li>
</ul>
]]></description><link>https://forum.cloudron.io/post/67591</link><guid isPermaLink="true">https://forum.cloudron.io/post/67591</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 03 Jun 2023 09:42:15 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud won't start :( on Sat, 03 Jun 2023 09:02:04 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> I have this exact issue also. I was trying out Memories over NC Photos, and my server updated and boom <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f4a5.png?v=cb8b82e1523" class="not-responsive emoji emoji-android emoji--boom" style="height:1.4em;width:auto;vertical-align:middle" title="💥" alt="💥" /> my instance won't start.</p>
<blockquote>
<p dir="auto">I have to DROP table oc_memories_planet_geometry manually to get it working again . It seems disabling/removing the app does not remove the tables...</p>
</blockquote>
<p dir="auto">Could you post the commands for dropping the relevant table? Databases are one thing I'm really not confident working with and it'd save me a lot of work. If it helps, I cannot get to the Nextcloud instance commandline as it won't start. Thanks.</p>
]]></description><link>https://forum.cloudron.io/post/67588</link><guid isPermaLink="true">https://forum.cloudron.io/post/67588</guid><dc:creator><![CDATA[ei8fdb]]></dc:creator><pubDate>Sat, 03 Jun 2023 09:02:04 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud won't start :( on Sat, 03 Jun 2023 08:49:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/max" aria-label="Profile: max">@<bdi>max</bdi></a> I can easily reproduce this.</p>
<ul>
<li>Install nextcloud</li>
<li>Install memories</li>
<li>Restart nextcloud</li>
</ul>
<pre><code>Jun 03 10:44:40 =&gt; Healtheck error: Error: connect ECONNREFUSED 172.18.20.56:80
Jun 03 10:44:40 Nextcloud is already latest version
Jun 03 10:44:40
Jun 03 10:44:40 In AbstractPlatform.php line 396:
Jun 03 10:44:40
Jun 03 10:44:40 Unknown database type polygon requested, Doctrine\DBAL\Platforms\PostgreSQL
Jun 03 10:44:40 100Platform may not support it.
</code></pre>
<ul>
<li>I have to <code>DROP table oc_memories_planet_geometry</code> manually to get it working again . It seems disabling/removing the app does not remove the tables...</li>
</ul>
]]></description><link>https://forum.cloudron.io/post/67587</link><guid isPermaLink="true">https://forum.cloudron.io/post/67587</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 03 Jun 2023 08:49:38 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud won't start :( on Sat, 03 Jun 2023 08:41:20 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 Girish, that's amazing!</p>
<p dir="auto">I had disabled Memories and NC still wouldn't start.</p>
<p dir="auto">I did recently install geolocations so Memories coukd worked with locations. I was suspicious that this was the app requiring polygons on Postgres, but I couldn't find anything else about it. It was running for 5 or 6 weeks after that, until the update of NC.</p>
]]></description><link>https://forum.cloudron.io/post/67585</link><guid isPermaLink="true">https://forum.cloudron.io/post/67585</guid><dc:creator><![CDATA[max]]></dc:creator><pubDate>Sat, 03 Jun 2023 08:41:20 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud won't start :( on Sat, 03 Jun 2023 07:26:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/max" aria-label="Profile: max">@<bdi>max</bdi></a> turns out there was a memories plugin (<a href="https://apps.nextcloud.com/apps/memories" target="_blank" rel="noopener noreferrer nofollow ugc">https://apps.nextcloud.com/apps/memories</a>) that you possibly installed in the past. This plugin had a table which was using some geometry stuff. I deleted that table manually (memory_geometry iirc)  and the app starts up after that.</p>
]]></description><link>https://forum.cloudron.io/post/67578</link><guid isPermaLink="true">https://forum.cloudron.io/post/67578</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 03 Jun 2023 07:26:23 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud won't start :( on Sat, 03 Jun 2023 06:18:26 GMT]]></title><description><![CDATA[<p dir="auto">Disable ALL the apps to be sure.</p>
]]></description><link>https://forum.cloudron.io/post/67576</link><guid isPermaLink="true">https://forum.cloudron.io/post/67576</guid><dc:creator><![CDATA[scooke]]></dc:creator><pubDate>Sat, 03 Jun 2023 06:18:26 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud won't start :( on Fri, 02 Jun 2023 17:34:49 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a><br />
I have disabled the apps I think might be linked but I still get not responding - there seem to be lots of things not responding, see list, so I'll open a support ticket</p>
]]></description><link>https://forum.cloudron.io/post/67558</link><guid isPermaLink="true">https://forum.cloudron.io/post/67558</guid><dc:creator><![CDATA[max]]></dc:creator><pubDate>Fri, 02 Jun 2023 17:34:49 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud won't start :( on Fri, 02 Jun 2023 14:38:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/max" aria-label="Profile: max">@<bdi>max</bdi></a> This feels like maybe one of the plugins you installed wants a specific database feature. Is there any plugin that requires some postgis/maps style feature? You can follow <a href="https://docs.cloudron.io/apps/nextcloud/#fixing-a-broken-install" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/nextcloud/#fixing-a-broken-install</a> to disable the plugin and then start nextcloud.</p>
]]></description><link>https://forum.cloudron.io/post/67547</link><guid isPermaLink="true">https://forum.cloudron.io/post/67547</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 02 Jun 2023 14:38:44 GMT</pubDate></item></channel></rss>