<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>nextcloud &#8211; Tomas&#039; log of stuff</title>
	<atom:link href="https://blog.fjetland.com/tag/nextcloud/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.fjetland.com</link>
	<description>Notes from the sysadmin trenches, on hobby photography, and anything else that comes to mind</description>
	<lastBuildDate>Mon, 23 Jan 2023 10:28:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Nesting level error in containerized Nextcloud &#8211; Fix Circles</title>
		<link>https://blog.fjetland.com/2023/01/nesting-level-error-in-containerized-nextcloud-disable-circles/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nesting-level-error-in-containerized-nextcloud-disable-circles</link>
					<comments>https://blog.fjetland.com/2023/01/nesting-level-error-in-containerized-nextcloud-disable-circles/#respond</comments>
		
		<dc:creator><![CDATA[tomasf]]></dc:creator>
		<pubDate>Sun, 22 Jan 2023 22:32:04 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Containers]]></category>
		<category><![CDATA[containers]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[nextcloud]]></category>
		<guid isPermaLink="false">https://blog.fjetland.com/?p=1485</guid>

					<description><![CDATA[One of the first apps I set up on my Photon Docker host was Nextcloud. It&#8217;s an excellent solution for synchronizing and sharing files and comes as an official docker image. However, since I&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full is-resized"><img fetchpriority="high" decoding="async" src="https://blog.fjetland.com/wp-content/uploads/2023/01/ProAlias_enable_circles_7d2f049d-337a-469c-b56c-8be372f9f80e-gigapixel-art-scale-4_00x.jpg" alt="Circles illustration generated by MidJourney" class="wp-image-1486" width="1024" height="1024"/><figcaption class="wp-element-caption">Circles illustration generated by MidJourney</figcaption></figure>



<p>One of the first apps I set up on my <a href="https://blog.fjetland.com/2022/05/setting-up-photon-os-4-as-a-docker-host-vm-on-vsphere-7/">Photon Docker host</a> was <a href="https://nextcloud.com/" target="_blank" rel="noopener">Nextcloud</a>. It&#8217;s an excellent solution for synchronizing and sharing files and comes as an official docker image. However, since I first set it up, I&#8217;ve been troubled that the clients start getting disconnected from the server after a short while (hours, a couple of days). The web UI works fine, but the clients on desktop and mobile show up grey with a 500 error.</p>



<p>Checking the logs on the container, I get something like this:</p>



<pre class="wp-block-code"><code>PHP Fatal error: Nesting level too deep - recursive dependency? in /var/www/html/lib/private/Log/ExceptionSerializer.php on line 215</code></pre>



<p>Unfortunately, even after several new builds, this error seems to persist, so I guess I&#8217;ll record the workaround here, so I know how to reapply it if it&#8217;s overwritten in the future.</p>



<p>I&#8217;ll probably do this from within Portainer. If so, change the command to open the console to </p>



<pre class="wp-block-code"><code>/bin/bash -u 33</code></pre>



<p>Then run this as a workaround in Circles:</p>



<pre class="wp-block-code"><code>./occ config:app:set circles route_to_circle --value ''</code></pre>



<p>Then if needed, enable Circles again</p>



<pre class="wp-block-code"><code>./occ app:enable circles</code></pre>



<p>This seems to have fixed the problem for me. At least it&#8217;s been working so far.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.fjetland.com/2023/01/nesting-level-error-in-containerized-nextcloud-disable-circles/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
