Blog | LordVan's Page / Bloghttps://blog.lordvan.com/blog/2024-03-28T00:13:16.958052+00:00If you were looking for something specific you probably got redirected here from an old link to my (now gone) drupal blog. I migrated all the pages & blog entries to this blog, so just use the search here to find what you were looking for.nextcloud issue with theme/ unable to process request2019-03-14T07:16:44+00:002024-03-28T00:13:16.958052+00:00lordvanhttps://blog.lordvan.com/blog/author/lordvan/https://blog.lordvan.com/blog/nextcloud-issue-with-theme-unable-to-process-request/<p><strong>Update: Still having the issue after some time after all :(</strong></p>
<p>So I have a a (private) nextcloud instance and I kept having errors like "unable to process request,." "Connection to server lost" and it would stop loading at an empty page..</p>
<p>In the logs I had loads of messages like this:</p>
<table class="_3uGuI0yVAuPKT3b3TlPQEe" style="margin: 0px 0px 14px; border: 0px; vertical-align: middle; text-align: start;">
<tbody style="margin: 0px; border: 0px; vertical-align: baseline;">
<tr class="_3Xop2Ws4JqrH2AiIIuuGjA _2ZTTmsq774FZTPlwng5NtT" style="margin: 0px; border: 0px; vertical-align: baseline;">
<td class="_1iRsampa7fzsi7y-nMku4p" style="margin: 0px; vertical-align: top; text-align: left;"><span class="loglevel, loglevel_3" style="margin: 0px; border: 0px; vertical-align: baseline;">Error</span></td>
<td class="kYQqkPvNw9NwBMkl4n_N6" style="margin: 0px; vertical-align: top; text-align: left;">PHP</td>
<td class="AELn4NjlYf3GptgGfhi9k" style="margin: 0px; vertical-align: top; text-align: left;"><span style="margin: 0px; border: 0px; vertical-align: baseline;">mime_content_type(): Failed identify data 0:indirect recursion nesting (0) exceeded at /..../apps/theming/lib/IconBuilder.php#138</span></td>
<td class="_3A3S9efF18AXFWdBKhtEiQ" style="margin: 0px; vertical-align: top; text-align: left;"><button class="icon icon-clippy" title="Copy"></button></td>
<td class="_3kfcSjRBT68eS_FLwue760" style="margin: 0px; vertical-align: top; text-align: left;" title="a minute ago">2019-03-14T08:08:27+0100</td>
</tr>
<tr class="undefined _2ZTTmsq774FZTPlwng5NtT" style="margin: 0px; border: 0px; vertical-align: baseline;">
<td class="_1iRsampa7fzsi7y-nMku4p" style="margin: 0px; vertical-align: top; text-align: left;"><span class="loglevel, loglevel_0" style="margin: 0px; border: 0px; vertical-align: baseline;">Debug</span></td>
<td class="kYQqkPvNw9NwBMkl4n_N6" style="margin: 0px; vertical-align: top; text-align: left;">no app in context</td>
<td class="AELn4NjlYf3GptgGfhi9k" style="margin: 0px; vertical-align: top; text-align: left;"><span style="margin: 0px; border: 0px; vertical-align: baseline;">No cache entry found for /appdata_occ9eea91961/theming/5/favIcon-settings (storage: local::/.../owncloud_data/, internalPath: appdata_occ9eea91961/theming/5/favIcon-settings)</span></td>
<td class="_3A3S9efF18AXFWdBKhtEiQ" style="margin: 0px; vertical-align: top; text-align: left;"><button class="icon icon-clippy" title="Copy"></button></td>
<td class="_3kfcSjRBT68eS_FLwue760" style="margin: 0px; vertical-align: top; text-align: left;" title="a minute ago">2019-03-14T08:08:27+0100</td>
</tr>
</tbody>
</table>
<p>The first thing I found was reparing the file cache so I ran this:</p>
<pre> php occ maintenance:mimetype:update-db --repair-filecache</pre>
<p>That did add about 56 mime types .. ok sounds good .. let's try again .. nope same error (that error btw pops up wherever - in my case also the app update page for example.</p>
<p>so next I check permissions and give my webserver user permissions on both the nextcloud install directory and also the data directory recursively - just to be on the safe side. (<code>chmod -R apache:apache <path></code>).</p>
<p>Nope still nothing .. getting frustrated here.. - also an update to the latest php 7.1 release (and shared-mime-info package) did nothing either..</p>
<p>Checking for the file it cannot find a cache entry just leads to the discovery, that this file does not exist..</p>
<p>the next thing that i thought of was I could check out themeing so I went to (<code>https://<my-install-webroot>/settings/admin/theming</code>). There I just changed my "Web link" to the actual nextcloud install url (and while i was there also changed the color, name and slogan for fun). after saving this and going back to the app update page it now worked .. so i have no clue what happened .. maybe it was trying to get the favicon from the nextcloud.com page (which is the default "Web link" it seems).</p>
<p>But now it works .. still got those log messages, but they seem to have somehow led me to resolve my issue...</p>