<?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[Graphical views not rendering due to Error: xhrFailed /resources/dojo/dojo.js]]></title><description><![CDATA[<p dir="auto">I downloaded the latest Mango 2.8.8 update as I was planning to initiate an upgrade to core 3.3. According to the module update page the only 2.x update was  mangoNoSqlDatabase 1.3.12. After a restart and login, the <strong>graphical views do not render</strong>, and <code>mango/logs/ma.log</code>  displays:</p>
<pre><code>WARN  (com.serotonin.m2m2.web.dwr.MiscDwr.jsError:178) - Javascript error
   Description: Error: xhrFailed
   Page: https://myservername/resources/dojo/dojo.js
   Line: 106
   Browser name: Firefox
   Browser version: 58
   osName: Linux
   location: https://myserver/views.shtm
</code></pre>
<p dir="auto">I inspected the file <code>/opt/mango/web/resources/dojo/dojo.js</code> and found that it looks like a "normal" js file. I'm running Ubuntu 16.04.</p>
]]></description><link>https://forum.mango-os.com/topic/3302/graphical-views-not-rendering-due-to-error-xhrfailed-resources-dojo-dojo-js</link><generator>RSS for Node</generator><lastBuildDate>Tue, 13 Oct 2026 01:11:18 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3302.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Feb 2018 05:03:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Graphical views not rendering due to Error: xhrFailed /resources/dojo/dojo.js on Tue, 27 Feb 2018 20:04:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phildunlap" aria-label="Profile: phildunlap">@<bdi>phildunlap</bdi></a> Phillip, Thanks for your help. I added the Dashboard module via the Module menu, with restart selected. After a restart, I logged in and the graphical view and the point detail pages rendered properly. The graphical view did not show the point values at first. Mango is usually slow to render values after a restart. The values rendered after I deleted <code>/opt/mango/work/jsp</code>,  but that may have been coincidence.</p>
<p dir="auto">Since I had not used Dashboard, I never expected its removal to break those two views.</p>
]]></description><link>https://forum.mango-os.com/post/17472</link><guid isPermaLink="true">https://forum.mango-os.com/post/17472</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Tue, 27 Feb 2018 20:04:28 GMT</pubDate></item><item><title><![CDATA[Reply to Graphical views not rendering due to Error: xhrFailed /resources/dojo/dojo.js on Tue, 27 Feb 2018 19:16:42 GMT]]></title><description><![CDATA[<p dir="auto">You must restart to remove the module in a running Mango. You must not have the module installed to do the upgrade to 3.3</p>
<p dir="auto">In 3.3 flagging a module for deletion is the same as actually deleting it in terms of upgrades, but in 2.8 yes you have to restart to actually remove the module if you flagged it for deletion on the modules page.</p>
]]></description><link>https://forum.mango-os.com/post/17470</link><guid isPermaLink="true">https://forum.mango-os.com/post/17470</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 27 Feb 2018 19:16:42 GMT</pubDate></item><item><title><![CDATA[Reply to Graphical views not rendering due to Error: xhrFailed /resources/dojo/dojo.js on Tue, 27 Feb 2018 19:15:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phildunlap" aria-label="Profile: phildunlap">@<bdi>phildunlap</bdi></a> I though I had to remove the Dashboard module, then restart Mango, and then upgrade. Are you saying I should remove the Dashboard module at the same time that I upgrade to 3.3, without a restart in between?</p>
]]></description><link>https://forum.mango-os.com/post/17469</link><guid isPermaLink="true">https://forum.mango-os.com/post/17469</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Tue, 27 Feb 2018 19:15:01 GMT</pubDate></item><item><title><![CDATA[Reply to Graphical views not rendering due to Error: xhrFailed /resources/dojo/dojo.js on Tue, 27 Feb 2018 19:10:37 GMT]]></title><description><![CDATA[<ol>
<li>Do backup before download - this will do your regularly configured backup actions, which may include a JSON backup, SQL backup and NoSQL backup, probably into your Mango/backup directory.</li>
<li>Will the previous backup be overwritten if I have it checked when reinstalling the Dashboard module? - The backups are the same as a normal nightly backup, so it will remove the backup that is X copies old, where X is a system setting.</li>
<li>Why would the removal of the Dashboard module screw up the loading of point_details.shtm? - Perhaps the dependencies in that version aren't cleanly separated.</li>
<li>If I reinstall the Dashboard module, then how will I upgrade to 3.3 if upgrading requires me to remove the Dashboard module? - Simply finish the process of upgrading and you wouldn't have to install the Dashboards module. So to upgrade, uninstall it, then actually upgrade Mango.</li>
</ol>
]]></description><link>https://forum.mango-os.com/post/17468</link><guid isPermaLink="true">https://forum.mango-os.com/post/17468</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 27 Feb 2018 19:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to Graphical views not rendering due to Error: xhrFailed /resources/dojo/dojo.js on Tue, 27 Feb 2018 19:03:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phildunlap" aria-label="Profile: phildunlap">@<bdi>phildunlap</bdi></a> I have never evaluated the 3.3 upgrade on this server. Where does the option "Do backup before download" backup to? What does it back up? Will the previous backup be overwritten if I have it checked when reinstalling the Dashboard module? Why would the removal of the Dashboard module screw up the loading of point_details.shtm? If I reinstall the Dashboard module, then how will I upgrade to 3.3 if upgrading requires me to remove the Dashboard module?</p>
]]></description><link>https://forum.mango-os.com/post/17466</link><guid isPermaLink="true">https://forum.mango-os.com/post/17466</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Tue, 27 Feb 2018 19:03:06 GMT</pubDate></item><item><title><![CDATA[Reply to Graphical views not rendering due to Error: xhrFailed /resources/dojo/dojo.js on Tue, 27 Feb 2018 18:11:53 GMT]]></title><description><![CDATA[<p dir="auto">From your last email, I judge this to be caused by removing the dashboards module while you were evaluating the 3.3 upgrade. If you reinstall that module, it'll probably work again, and you'll need to remove it again when you actually do decide to upgrade.</p>
]]></description><link>https://forum.mango-os.com/post/17464</link><guid isPermaLink="true">https://forum.mango-os.com/post/17464</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 27 Feb 2018 18:11:53 GMT</pubDate></item><item><title><![CDATA[Reply to Graphical views not rendering due to Error: xhrFailed /resources/dojo/dojo.js on Tue, 27 Feb 2018 17:08:17 GMT]]></title><description><![CDATA[<p dir="auto">I agree that an update to the NoSQL module should not affect that. I just remembered that I had also disabled DGLux. If I remember correctly, I had disabled the dashboard prior to the previous restart, and it had restarted then with no problems. I had not been using the dashboard, but I was using DGLux. None of these issues should have affected this. Yesterday I upgraded from Ubuntu 14.04 to 16.04. I did have to run <code>fsck</code> when booting 16.04, but Mango restarted fine after the OS upgrade. It was the subsequent mango restart that broke things. That was simply a Mango restart, not a reboot.</p>
<p dir="auto"><code>rm -r /opt/mango/work/jsp</code> did not make any difference. I cleared the browser cache with control-F5, and that also made no difference.</p>
<p dir="auto">I'll email a screenshot of the web console.</p>
]]></description><link>https://forum.mango-os.com/post/17462</link><guid isPermaLink="true">https://forum.mango-os.com/post/17462</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Tue, 27 Feb 2018 17:08:17 GMT</pubDate></item><item><title><![CDATA[Reply to Graphical views not rendering due to Error: xhrFailed /resources/dojo/dojo.js on Tue, 27 Feb 2018 16:41:14 GMT]]></title><description><![CDATA[<p dir="auto">Hi Pedro,</p>
<p dir="auto">Hmm. An update to the NoSQL module wouldn't affect that. Your ma.log would indicate if anything else were updated. if you open your browser tools before you load the page, do you get information about the status code returned for the request to load dojo?</p>
<p dir="auto">I presume you've tried cache clearing and Mango/work/ folder deleting?</p>
]]></description><link>https://forum.mango-os.com/post/17460</link><guid isPermaLink="true">https://forum.mango-os.com/post/17460</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 27 Feb 2018 16:41:14 GMT</pubDate></item><item><title><![CDATA[Reply to Graphical views not rendering due to Error: xhrFailed /resources/dojo/dojo.js on Tue, 27 Feb 2018 16:41:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pedro" aria-label="Profile: Pedro">@<bdi>Pedro</bdi></a> Can you check the browser console for messages when this occurs please -<br />
<a href="https://help.infiniteautomation.com/reporting-bugs/" rel="nofollow ugc">https://help.infiniteautomation.com/reporting-bugs/</a></p>
<p dir="auto">dojo.js is where the error is occurring, not the file the XHR is failing on. We need more information.</p>
]]></description><link>https://forum.mango-os.com/post/17459</link><guid isPermaLink="true">https://forum.mango-os.com/post/17459</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Tue, 27 Feb 2018 16:41:58 GMT</pubDate></item></channel></rss>