<?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 becomes fully unresponsive - seemingly triggered by scheduled cronjob]]></title><description><![CDATA[<p dir="auto">I am running the latest version of Nextcloud on a Cloudron instance. Periodically the app gets unresponsive. It is shown as "Running" in the dashboard but is not functional on front end and sync. The only thing I found in the logs is the following. This coincides with the unresponsiveness. As these messages are not very descriptive, I am not sure what to do here. I already switched off all unused nextcloud plug ins. The Instance is small and only used by a handful of people. No heavy load, mostly syncing text files between 6 machines. CPU and RAM are rarely fully utilized.</p>
<p dir="auto">It does not fix itself. The app needs to be restarted manually.</p>
<pre><code>=&gt; Run cron job
ldap undefined
ldap undefined
localstorage undefined
localstorage undefined
postgresql undefined
postgresql undefined
redis undefined
redis undefined
scheduler undefined
scheduler undefined
sendmail undefined
sendmail undefined
turn undefined
turn undefined
</code></pre>
]]></description><link>https://forum.cloudron.io/topic/9455/nextcloud-becomes-fully-unresponsive-seemingly-triggered-by-scheduled-cronjob</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 20:46:11 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/9455.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Jun 2023 08:15:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nextcloud becomes fully unresponsive - seemingly triggered by scheduled cronjob on Fri, 23 Jun 2023 11:12:57 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> Uptime is normalizing again. No problems in the last 23 hours. In addition we are upgrading the server from 1 vCPU to a 4 vCPUs since more clients are using it than before. Thank you so much for the care!</p>
]]></description><link>https://forum.cloudron.io/post/68810</link><guid isPermaLink="true">https://forum.cloudron.io/post/68810</guid><dc:creator><![CDATA[whitespace]]></dc:creator><pubDate>Fri, 23 Jun 2023 11:12:57 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud becomes fully unresponsive - seemingly triggered by scheduled cronjob on Fri, 23 Jun 2023 03:47:09 GMT]]></title><description><![CDATA[<p dir="auto">One part of the issue was fixed with <a href="https://git.cloudron.io/cloudron/box/-/commit/6259849958a41af3f08bdb01e5ffe4367ef6df34" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/commit/6259849958a41af3f08bdb01e5ffe4367ef6df34</a> . The health check monitor was holding on to connections incorrectly and clogging up apache instances.</p>
]]></description><link>https://forum.cloudron.io/post/68791</link><guid isPermaLink="true">https://forum.cloudron.io/post/68791</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 23 Jun 2023 03:47:09 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud becomes fully unresponsive - seemingly triggered by scheduled cronjob on Wed, 21 Jun 2023 15:40:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitespace" aria-label="Profile: whitespace">@<bdi>whitespace</bdi></a> can you reach out to us at <a href="mailto:support@cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">support@cloudron.io</a>, I can debug on the server further.</p>
]]></description><link>https://forum.cloudron.io/post/68705</link><guid isPermaLink="true">https://forum.cloudron.io/post/68705</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 21 Jun 2023 15:40:11 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud becomes fully unresponsive - seemingly triggered by scheduled cronjob on Wed, 21 Jun 2023 14:15:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitespace" aria-label="Profile: whitespace">@<bdi>whitespace</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/necrevistonnezr" aria-label="Profile: necrevistonnezr">@<bdi>necrevistonnezr</bdi></a></p>
<p dir="auto">So it happened again.</p>
<p dir="auto">at 15:45 the log says</p>
<pre><code>Jun 21 15:45:09 =&gt; Run cron job
</code></pre>
<p dir="auto">At the exact same time my online monitor shows the Nextcloud as being offline.</p>
<p dir="auto">So I looked into the scheduled cron job which contains</p>
<pre><code>exec /usr/local/bin/gosu www-data:www-data php -f /app/code/cron.php

</code></pre>
<p dir="auto">Now I'd be at the point of restarting the app manually.<br />
Does this give any clue?</p>
<hr />
<p dir="auto">EDIT:</p>
<p dir="auto">It happened again independently from the scheduled cron task. The last log entries were regular stuff of loading the activity page in a browser via GET requests.</p>
]]></description><link>https://forum.cloudron.io/post/68695</link><guid isPermaLink="true">https://forum.cloudron.io/post/68695</guid><dc:creator><![CDATA[whitespace]]></dc:creator><pubDate>Wed, 21 Jun 2023 14:15:50 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud becomes fully unresponsive - seemingly triggered by scheduled cronjob on Wed, 21 Jun 2023 13:37:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/necrevistonnezr" aria-label="Profile: necrevistonnezr">@<bdi>necrevistonnezr</bdi></a> This was my first thought too. I was able to log-in and specifically deactivated all nextcloud applications not needed. The only active apps are Files, Activity and Calendar.</p>
<p dir="auto">I looked into the thread and gave the Nextcloud more Memory and ramped up max-request workers. Testing right now.</p>
]]></description><link>https://forum.cloudron.io/post/68694</link><guid isPermaLink="true">https://forum.cloudron.io/post/68694</guid><dc:creator><![CDATA[whitespace]]></dc:creator><pubDate>Wed, 21 Jun 2023 13:37:36 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud becomes fully unresponsive - seemingly triggered by scheduled cronjob on Wed, 21 Jun 2023 13:20:24 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> The nextcloud is not behind a proxy or Cloudflare. Just a domain mapped via DNS API. Nothing extraordinary. I renewed certs and synched DNS already. In the meantime I have asked my VPS host if there are any known networking issues. Waiting for a response there.</p>
<p dir="auto">The concrete things that are not running as soon as the problem occurs are 1. the Nextcloud frontend and 2. the Nextcloud sync via desktop clients. As far as I have tested, this does not go away automatically. Only a restart via dashboard fixes it.</p>
]]></description><link>https://forum.cloudron.io/post/68693</link><guid isPermaLink="true">https://forum.cloudron.io/post/68693</guid><dc:creator><![CDATA[whitespace]]></dc:creator><pubDate>Wed, 21 Jun 2023 13:20:24 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud becomes fully unresponsive - seemingly triggered by scheduled cronjob on Wed, 21 Jun 2023 13:19:59 GMT]]></title><description><![CDATA[<p dir="auto">Are you running Nextcloud-Office or something like that by any chance?<br />
I had a <a href="https://forum.cloudron.io/post/68577">similar issue recently</a> - Nextcloud was "running" but unresponsive - in the end it was memory and "MaxRequestWorkers", for "tuning" Nextcloud see <a href="https://forum.cloudron.io/post/68145">https://forum.cloudron.io/post/68145</a></p>
]]></description><link>https://forum.cloudron.io/post/68692</link><guid isPermaLink="true">https://forum.cloudron.io/post/68692</guid><dc:creator><![CDATA[necrevistonnezr]]></dc:creator><pubDate>Wed, 21 Jun 2023 13:19:59 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud becomes fully unresponsive - seemingly triggered by scheduled cronjob on Wed, 21 Jun 2023 13:07:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitespace" aria-label="Profile: whitespace">@<bdi>whitespace</bdi></a> if the dashboard says 'Running', it means that it is responding internally to healthchecks. By any chance is nextcloud behind some proxy/cloudflare etc? Just want to rule out any network issues before we try something.</p>
<p dir="auto">I would bump the <a href="https://docs.cloudron.io/apps/#memory-limit" target="_blank" rel="noopener noreferrer nofollow ugc">memory limit</a> for a start and see if that helps.</p>
]]></description><link>https://forum.cloudron.io/post/68691</link><guid isPermaLink="true">https://forum.cloudron.io/post/68691</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 21 Jun 2023 13:07:10 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud becomes fully unresponsive - seemingly triggered by scheduled cronjob on Wed, 21 Jun 2023 13:04:58 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> ps aux gives me this. I have a hard time interpreting all values admittedly but in my interpretation there is nothing extraordinary.</p>
<p dir="auto"><img src="/assets/uploads/files/1687352499073-img_0619-resized.jpeg" alt="IMG_0619.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/68690</link><guid isPermaLink="true">https://forum.cloudron.io/post/68690</guid><dc:creator><![CDATA[whitespace]]></dc:creator><pubDate>Wed, 21 Jun 2023 13:04:58 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud becomes fully unresponsive - seemingly triggered by scheduled cronjob on Wed, 21 Jun 2023 12:37:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitespace" aria-label="Profile: whitespace">@<bdi>whitespace</bdi></a> those <code>undefined</code> logs can be ignored and are not the source of the error. They are spurious logs caused by a console.log in our code which we left in by mistake. Sorry, it's misleading!</p>
<p dir="auto">Back to the original issue, when the app goes unresponsive, are you able to open a <a href="https://docs.cloudron.io/apps/#web-terminal" target="_blank" rel="noopener noreferrer nofollow ugc">Web terminal</a> and do a <code>ps aux</code> ? I wonder if apache is getting stuck or something.</p>
]]></description><link>https://forum.cloudron.io/post/68688</link><guid isPermaLink="true">https://forum.cloudron.io/post/68688</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 21 Jun 2023 12:37:49 GMT</pubDate></item></channel></rss>