<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://blueirissoftware.com/forum/app.php/feed/forum/14" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2021-10-30T17:12:36+00:00</updated>

	<author><name><![CDATA[Blue Iris]]></name></author>
	<id>https://blueirissoftware.com/forum/app.php/feed/forum/14</id>

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-10-30T17:12:36+00:00</updated>

		<published>2021-10-30T17:12:36+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=11062#p11062</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=11062#p11062"/>
		<title type="html"><![CDATA[Performance and Troubleshooting • Third Party Tools]]></title>

					<category term="Performance and Troubleshooting" scheme="https://blueirissoftware.com/forum/viewforum.php?f=14" label="Performance and Troubleshooting"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=11062#p11062"><![CDATA[
<span style="font-size:150%;line-height:116%">Introduction</span><br><br>This article documents third party software that helps resolve deployment issues.<br><br><span style="font-size:150%;line-height:116%"><a name="Advanced Port Scanner">Advanced Port Scanner</a></span><br><br>In order for BI to connect to cameras, it primarily uses the RTSP port to pull the video.  It uses the ONVIF port, if available, to get information about the camera depending on what the vendor shares with their ONVIF implementation.  With ONVIF, BI may be able to pull over as little as the URI values to get the video streams.  Ofthe PTZ functionality is also shared.  Occasionally, audio and two-way talk information is shared.<br><br>Advanced Port Scanner (APS) is a popular tool to identify the devices on a network.  For each device, APS provides the IP address and all the corresponding ports available on the device.  This short <a href="https://youtu.be/iJmrA5Tamos" class="postlink">three minute video on YouTube</a> explains how to download/use Advanced Port Scanner.  <br><br>BI, by default, tries ports 80, 554, 8999.  Why?  Because some vendors share ONVIF information on port 80 in addition to providing a web interface for logging into the camera.  Some vendors use 8999 as the ONVIF port.  554 is the default RTSP port.<br><br>Cameras do not have to stick to above conventions.  So, if your camera does not follow the above conventions, APS allows you to identify what ports are available on the camera or NVR.  Then, you can try those ports in the IP Config dialog.  Again, BI needs the RTSP port and the correct URI to access the video stream.  If additional functionality like PTZ exists on the camera, then ONVIF is needed to pull the control information over.<br><br>One tip is if Advanced Port Scanner discovers port 8554 is open, fill in the RTSP port value in the IP Config dialog accordingly.  The RTSP port is either 554 or usually some permutation of 554, e.g. 8554.  The video may still not come up if the URI path is wrong.  You may need to research documentation or reach out to the vendor to attain the correct URI path.  Just ask the vendor whether they support RTSP and how to connect 3rd party systems to the camera video.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2054" class="postimage" alt="Ports.png" onclick="viewableArea(this);" /></dt></dl></div><br>Try all the remaining available ports discovered by Advanced Port Scanner for the ONVIF port.  For each ONVIF value entered, hit Find/Inspect and see if BI can connect via ONVIF.  If an ONVIF connection were made you should have all the pieces to establish a BI connection.  Select the URI paths in the IP Config Dialog accordingly.  See <a href="viewtopic.php?f=22&amp;t=2043#Step%202" class="postlink">Camera Connector</a> article for details.<br><br>You can also see if the camera has a web interface on any of the ports by using a web browser.<br><br>Basically, advanced port scanner can provide available ports on a camera.  The above techniques help figure out whether the ports provide a web interface, rtsp port or ONVIF port which BI can leverage.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Sat Oct 30, 2021 5:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-10-26T17:03:08+00:00</updated>

		<published>2021-10-26T17:03:08+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=11023#p11023</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=11023#p11023"/>
		<title type="html"><![CDATA[Performance and Troubleshooting • Windows Errors]]></title>

					<category term="Performance and Troubleshooting" scheme="https://blueirissoftware.com/forum/viewforum.php?f=14" label="Performance and Troubleshooting"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=11023#p11023"><![CDATA[
<span style="font-size:150%;line-height:116%">Introduction</span><br><br>This article identifies known errors and fixes based on Windows dependencies.<br><br><span style="font-size:150%;line-height:116%">Gotchas</span><br><br>This section documents learnings from past tickets.<br><br><span style="font-size:150%;line-height:116%"><a name="BI Dependencies">BI Dependencies</a></span><div style="margin-left:3em"><br><strong class="text-strong">VC++ Libraries</strong><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2294" class="postimage" alt="windows errors_0xc0000007b.png" onclick="viewableArea(this);" /></dt></dl></div><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2150" class="postimage" alt="windows errors_vcruntime.jpg" onclick="viewableArea(this);" /></dt></dl></div><br>Both of the above error messages stem from the same issue.  BI is a C++ program that runs on Windows.  The program relies heavily on Microsoft's VC++ libraries.<br>If the installer fails, often your Windows machine does not have the right version of VC++ installed.<br><br><a href="https://www.microsoft.com/en-us/download/details.aspx?id=40784" class="postlink">Download/install libraries</a> from Microsoft.<br><br></div><strong class="text-strong"><span style="text-decoration:underline">Source File Format is Corrupt</span></strong><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2040" class="postimage" alt="k-lite error.PNG" onclick="viewableArea(this);" /></dt></dl></div>The error message is saying<ul><li>Either you decided to save your recordings in a non-BVR format, e.g. MP4.  If your New directory has mp4 recordings instead of BVR recordings, this is the issue.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2041" class="postimage" alt="record mp4.png" onclick="viewableArea(this);" /></dt></dl></div><br>Most users switch recordings back to BVR format for its many advantages, including playback in the UI.  <br><br>If you decide to remain in MP4 format, most users just double-click the mp4 file in Windows Explorer and has it play on Windows default player.  If you want to play an mp4 within BI, please install the <a href="https://codecguide.com/download_kl.htm" class="postlink">k-lite plugin</a>.  You need only the “basic” version.<br>See FAQ section in Help for details.</li><li>Or the BVR recording was somehow corrupted.<br>Check your New folder.  If you now have many files that are small like 1K, then BVR files are being corrupted.<div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2042" class="postimage" alt="corrupt files.png" onclick="viewableArea(this);" /></dt></dl></div><br>Fix:<ul><li>The most common problem is the <a href="viewtopic.php?f=11&amp;t=2598#Key%20frame%20ratio" class="postlink">key frame issue</a>.</li><li>If that does not work, check your <a href="viewtopic.php?f=11&amp;t=2598#Camera%20settings" class="postlink">camera encoding settings</a>.</li>  <li>Alternatively, check for <a href="viewtopic.php?f=11&amp;t=2817" class="postlink">Storage issues</a>.</li><li>Finally, check for <a href="viewtopic.php?f=27&amp;t=3061" class="postlink">database issues</a>.</li></ul></li></ul></div></div><span style="font-size:150%;line-height:116%"><a name="Registry">Registry</a></span><div style="margin-left:3em"><br><strong class="text-strong"><span style="text-decoration:underline">"Error importing the registry Key:5"</span></strong><div style="margin-left:3em"><br>Running BI without admin privileges or security software (Kaspersky) is preventing access to registry.  Error code 5 means access denied.<br><ul><li>Run REGEDIT and locate the key "HKLM\Software\Perspective Software\Blue Iris Import".  It's the <strong class="text-strong">import </strong>key you want.</li><li>Find the 'a1' key in "HKLM\Software\Perspective Software\Blue Iris Import" and right-click edit permissions.  Add "full control" to the administrators group.</li><li>You should now be able to delete the import key and startup.</li><li>Go through the Windows Tuning article to make sure Windows i<a name=""></a>s not in conflict with Blue iris.<br><a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">https://blueirissoftware.com/forum/view ... =12&amp;t=2080</a></li></ul></div><strong class="text-strong"><span style="text-decoration:underline">Windows console:  Missing camera windows.</span></strong><div style="margin-left:3em"><br>It sounds like the camera may be open in a window behind the main window, another monitor, or possibly minimized?<br><br>You can always run REGEDIT and delete the camera from this key:<br>HKEY_CURRENT_USER\SOFTWARE\Perspective Software\Blue Iris\Cameras  --&gt; NOTICE this is CURRENT_USER and not LOCAL_MACHINE!!<br>This is where the window position and state are memorized.<br><br></div><strong class="text-strong"><span style="text-decoration:underline">RegSaveKeyEx Error</span></strong><div style="margin-left:3em"><br>The path you listed to save the registry settings does not exist.  Need to reset the path.<br>Global settings -&gt; About tab<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2039" class="postimage" alt="status log error regsaveex.png" onclick="viewableArea(this);" /></dt></dl></div><br></div></div><span style="font-size:150%;line-height:116%"><a name="Service">Service</a></span><br><br>Errors associated with running BI as a service.<div style="margin-left:3em"><br><strong class="text-strong">1057 Error</strong><div style="margin-left:3em"><br>If you get the 1057 error, i.e. “Failed to install service (1057)”, the username chosen to run the service does not exist or is invalid.  See <a href="viewtopic.php?f=20&amp;t=2080#Service" class="postlink">Service section of Windows Tuning article</a> to create a local Windows account with admin privileges.  Run Windows Services -&gt; Right click Blue Iris Service -&gt; Properties -&gt; Log on tab.  Specify username / password.<br><br><br></div><strong class="text-strong">1069 Error</strong><div style="margin-left:3em"><br>The 1069 Windows error occurs when the password associated with the Windows username associated with the service has changed.  Run Windows Services -&gt; Right click Blue Iris Service -&gt; Properties -&gt; Log on tab -&gt; reset the password.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2046" class="postimage" alt="1069 error.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">1327 Error</strong><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2412" class="postimage" alt="windows errors_1327.png" onclick="viewableArea(this);" /></dt></dl></div><br>In order to run a Windows Service, the Windows account has to have password.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2413" class="postimage" alt="windows errors_1327_login.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">Auto-update fails because update program cannot stop the service.  Following error message appears.</strong><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2047" class="postimage" alt="blueirisservice.png" onclick="viewableArea(this);" /></dt></dl></div><ul><li>Stop the Blue Iris Service manually.  From the Windows search bar, type services and bring up the Services console.</li><li>Select the Blue Iris service.</li><li>Select "Stop service"</li><li>Start BI.</li><li>Return to BI.  Global settings -&gt;  Startup tab -&gt; Run as a Windows service.  Check the selection.</li><li>Restart BI.  BI should start as a service.</li></ul></div><strong class="text-strong">Auto-update fails because update program cannot stop BI.  Following error message appears. (Similar issue as above)</strong><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2048" class="postimage" alt="update error.PNG" onclick="viewableArea(this);" /></dt></dl></div><ul><li>Stop Blue Iris manually.</li><li>Restart the machine.</li><li>Find where you downloaded the update or just go to blueirissoftware.com and download the latest version.</li><li>Install/start the latest version and you should be good to go.</li></ul><br></div></div><span style="font-size:150%;line-height:116%"><a name="Web server">Web server</a></span><div style="margin-left:3em"><br><strong class="text-strong">12002 Error</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2114" class="postimage" alt="windows errors_12002.png" onclick="viewableArea(this);" /></dt></dl></div><br>Communication issues related to error 12002 and 12029 are usually related to a network block of some sort.  This is often due to the Windows firewall blocking access to the BI Web server for communication.<br><br>Symptoms:  UI3 or the Mobile apps stop working.<br><br>Test:  When you start experiencing issues, restart BI.  Confirm via Remote Access Wizard whether the web server is running initially via the Web Server page.  <br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2117" class="postimage" alt="windows errors_web server ok.png" onclick="viewableArea(this);" /></dt></dl></div><br>When remote access breaks (UI3, mobile apps), recheck via the Wizard whether the web server is accessible.<br><br>Fix:  Double check your <a href="viewtopic.php?f=20&amp;t=2080#Antivirus" class="postlink">Windows anti-virus and firewall settings</a>.  Double check your router settings.  Something is blocking traffic to the web server.  If problem persists contact support.<br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Tue Oct 26, 2021 5:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-09-24T02:54:33+00:00</updated>

		<published>2021-09-24T02:54:33+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=10537#p10537</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=10537#p10537"/>
		<title type="html"><![CDATA[Performance and Troubleshooting • Status Log Events]]></title>

					<category term="Performance and Troubleshooting" scheme="https://blueirissoftware.com/forum/viewforum.php?f=14" label="Performance and Troubleshooting"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=10537#p10537"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>This article helps to explain the events that are listed in the log files.<br>By understanding the events, especially while the Log tab is open when BI is running allows you to understand what BI is doing based on your settings.<br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Events</strong></span><br><br><span style="font-size:125%;line-height:116%">Starting / Stopping BI</span><div style="margin-left:3em"><br><strong class="text-strong">Service: Sequence of events when logging into BI (service running)</strong><br><div class="codebox"><p>Code: </p><pre><code>109/23/2021 7:02:03.885 PMServer              ::: Connected//  Connected to BI service109/23/2021 7:02:05.819 PMlocal_console       ::: Login//  Logging in as local_console0 9/23/2021 7:02:05.819 PMApp                 Console: connected 1//  Connected to the console6 9/23/2021 7:02:08.073 PMNews                Zoom customer workshop</code></pre></div><br><strong class="text-strong">Not a service: Sequence of events when starting BI (not as a service)</strong><br>Need to start the application first.<br>Then user needs to login to the application.<br><div class="codebox"><p>Code: </p><pre><code>// Events associated with starting the application0 9/23/2021 7:02:28.581 PMApp                 Started version 5.5.1.0// Need to start the BI server109/23/2021 7:02:28.694 PMServer              ::: Connected// Connect to the server0 9/23/2021 7:02:30.304 PMApp                 Current profile: Inactive0 9/23/2021 7:02:30.310 PMServer              Started on port 7000// web server started// not so important1 9/23/2021 7:02:30.359 PMApp                 Don't forget to register your license on the Settings page!0 9/23/2021 7:02:30.370 PMNew                 Delete: nothing to do [1298/720 hrs, 69.6G/100.0G, 241.5G free] 1 locked0 9/23/2021 7:02:30.370 PMStored              Delete: nothing to do [0/336 hrs, 0/0, 241.5G free]0 9/23/2021 7:02:30.371 PMAlerts              Delete: nothing to do [717/720 hrs, 1.12G/20.0G, 241.5G free] 2 locked0 9/23/2021 7:02:30.371 PMAI                  Delete: nothing to do [0/168 hrs, 0/5.00G, 241.5G free]4 9/23/2021 7:02:30.372 PMClips               G:: 11467, 70.8G/125.0G (+187.3G)0 9/23/2021 7:02:30.417 PMApp                 DeepStack has been started// Then events associated with logging in109/23/2021 7:02:33.418 PMlocal_console       ::: Login// local_console has logged into console6 9/23/2021 7:02:35.414 PMNews                Zoom customer workshop0 9/23/2021 7:02:35.419 PMApp                 DeepStack responding at 127.0.0.1:5432</code></pre></div><br><strong class="text-strong">Service: Close the BI console.  BI is running as a service.</strong><br><div class="codebox"><p>Code: </p><pre><code>0 9/23/2021 6:59:39.235 PMApp                 Console: disconnected// Console connection disconnected109/23/2021 6:59:41.064 PMlocal_console       ::: Logout, 128:46// local_console logged out.  Connected for 126 min. and 46 sec.</code></pre></div><strong class="text-strong">Not a service: Close the BI console.  BI not running as a service.</strong><br>Need to stop the application too.<br><div class="codebox"><p>Code: </p><pre><code>109/23/2021 7:48:15.721 PMlocal_console       ::: Logout, 45:47// local_console logged out.  Logged into for 45 min and 47 sec.0 9/23/2021 7:48:15.728 PMApp                 Stopped// BI application was stopped</code></pre></div></div><span style="font-size:125%;line-height:116%">Watchdog Push Events</span><div style="margin-left:3em"><br><strong class="text-strong">Push for ON loss Signal</strong><br><div class="codebox"><p>Code: </p><pre><code>1 9/18/2021 1:17:25.632 PM ADF7                 Signal: network retry10 9/18/2021 1:17:30.678 PM Server               ::: Connected// No explicit watchdog mention.  However, the Push was right before camera ADF7 loss of signal.// Easy to ascertain this is probably a Watchdog Push.0 9/18/2021 1:17:30.842 PM ADF7                 Push: OK to Galaxy S10</code></pre></div><strong class="text-strong">Push for On signal restoration</strong><br><div class="codebox"><p>Code: </p><pre><code>4 9/18/2021 1:18:29.682 PM ADF7                 Signal: restored10 9/18/2021 1:18:29.790 PM Server               ::: Connected// Similar to above, no explicit Watchdog entry// Based on proximity to Signal restore, must be a Watchdog restore event.0 9/18/2021 1:18:29.877 PM ADF7                 Push: OK to Galaxy S10</code></pre></div></div><span style="font-size:125%;line-height:116%"><a name="ONVIF">ONVIF</a> Trigger Events</span><div style="margin-left:3em"><blockquote class="uncited"><div>1 8/29/2021 10:09:32.532 AM Cam20            Events: subscription 00000190<br>1 8/11/2021 2:19:32.323 PM barn                 Events: request 8000ffff<br>3 8/11/2021 2:19:34.522 PM barn                 EXTERNAL</div></blockquote>If you setup ONVIF triggers, the above events should be seen in the logs.<br><br>If not, follow steps below.<br>Confirm your camera supports ONVIF triggers.<br>Confirm you have the correct ONVIF port number entered in the IP Config Dialog.  Camera settings -&gt; Video tab -&gt; Configure button.<br>You can use the Find/Inspect button to query the ONVIF status.<br><br>Engineering may need to get involved via remote testing of the camera.<br>Respond with a WAN address for this camera for testing purposes with necessary ports, usually just 80 and 554 (RTSP) and ONVIF (usually 8999 but could be different).  Don't forget a temp login to the camera (not BI web server) as well.<br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Fri Sep 24, 2021 2:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-07-29T20:08:20+00:00</updated>

		<published>2021-07-29T20:08:20+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=9837#p9837</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=9837#p9837"/>
		<title type="html"><![CDATA[Performance and Troubleshooting • Windows Tools]]></title>

					<category term="Performance and Troubleshooting" scheme="https://blueirissoftware.com/forum/viewforum.php?f=14" label="Performance and Troubleshooting"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=9837#p9837"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>We have known some very tech saavy users that have tried everything to get their BI system working to no avail.  The final option was reinstalling Windows and BI.  <br><br>Windows 10 comes with many recovery options.  Because BI is a Windows based solution, users should be familiar with these options.  <br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Microsoft Process Explorer">Microsoft Process Explorer</a></strong></span><br><br>Ever wondered which program has a particular file or directory open? Now you can find out. Process Explorer shows you information about which handles and DLLs processes have opened or loaded.<br><br><a href="https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer" class="postlink">https://docs.microsoft.com/en-us/sysint ... s-explorer</a><br><br>See how <a href="viewtopic.php?f=12&amp;t=2485#Gotcha%2012" class="postlink">Process Explorer is used to better understand DeepStack</a>.<br><br><br><strong class="text-strong"><span style="font-size:150%;line-height:116%">System Restore</span></strong><br><br>Starting with Microsoft Windows XP and still available in Windows 10 there is a recovery tool called ‘System Restore’. Essentially this tool takes snap-shots of critical files at certain points in time (e.g. software installations, system updates, etc. as well as at your request.) These system restore points are accumulated and if needed will often (but not always) return a PC to its operating status at the selected point-in-time.<br><br>We highly recommend using this feature since if turned on it works automatically and in the event of an unforeseen problem it can work more quickly than the other approaches reviewed below. (We routinely create extra ‘System Restore’ points to aide recovery in the midst of troubleshooting problems.)<br><br>Common causes for crashes are a Windows update caused driver instability for the hardware acceleration.  Windows 10 now provides an easy way to roll back updates, System Restore.  To turn on System Restore.<ul><li>From the Windows search prompt (lower right) -&gt; Search for "restore" -&gt; Select "Create a restore point"</li><li>System Properties Dialog pops up.  System Protection tab should be active.  See below.<div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1557" class="postimage" alt="system restore.PNG" onclick="viewableArea(this);" /></dt></dl></div>In this example, this computer has 3 internal storage drives (C, D, G).  C is the windows drive.</li><li>Select the C drive and select "Configure" button.</li><li>In the System Protection dialog, "Turn on system protection" for the C drive. (See below)<br>I also specify 10% for Disk Space Usage.  User discretion regarding setting a value or leaving defaults.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1558" class="postimage" alt="system protection.PNG" onclick="viewableArea(this);" /></dt></dl></div></li></ul>Once System Restore is activated, rolling back is simple.<ul><li>Go back to System Protection tab in System Properties.<br>From the Windows search prompt (lower right) -&gt; Search for "restore" -&gt; Select "Create a restore point"</li><li>Select System Restore button</li><li>Restore Wizard will walk you through going back on a Windows update.<br>You can create restore points and you should.  Simply choose the Create button routinely, e.g. monthly, when you feel the system is stable.   Windows automatically does so as well with every Windows update, making going back easy.<div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1559" class="postimage" alt="restore wizard.PNG" onclick="viewableArea(this);" /></dt></dl></div></li></ul><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Recovery Drive</strong></span><br><br>This involves using a separate partition of a hard drive, a plug-in USB drive, or sometimes a large thumb drive. Whatever you choose, the target drive is prepared with at least a back-up of system files and the software tools needed to perform troubleshooting and initiate repairs.<br><br>Microsoft has step-by-step guidelines for preparing a recovery drive you may wish to review:<br>See <a href="https://support.microsoft.com/en-us/windows/create-a-recovery-drive-abb4691b-5324-6d4a-8766-73fab304c246" class="postlink">Create a recovery drive</a>.<br><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">System image</strong></span><br><br>This involves using tools that come with Windows 7, 8 and 10 or from a third party to create a complete copy of a working PC referred to as an image. Using these imaging tools it’s possible to create the image (e.g. like a full point-in-time snapshot of everything on a PC) and then use that image to completely restore the PC to the same status when the image was first made.<br><br>Imaging tools are routinely used to create a standardized (aka ‘gold’) image of a single PC to be copied and used to speed the set-up process for other similar PCs.<br><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Windows Support</strong></span><br><br>Now that you conceptually understand the differences between System Restore / Recovery Drive / System Image, you should be able to navigate Windows help to do what is right based on your situation.<ul><li><a href="https://support.microsoft.com/en-us/windows/recovery-options-in-windows-10-31ce2444-7de3-818c-d626-e3b5a3024da5#section2" class="postlink">Recover options in Windows 10</a> explains many recovery options.</li><li><a href="https://support.microsoft.com/en-us/windows/reinstall-windows-10-d8369486-3e33-7d9c-dccc-859e2b022fc7#bkmk_reset_window" class="postlink">Reinstall Windows 10</a> explains options to reinstall Windows 10 and return to a cleaner state.</li></ul>From above, you should prepare for possible problems and be ready if BI stops working.<ul><li>Be sure to create a Windows ISO file on a thumb drive to use if and when needed</li><li>With Windows, you can also create a Recovery drive</li><li>With Windows you can also create a System Image to use for recovery</li></ul>It's good to be aware of all the options, so you know the next step in case of software or hardware failures.<br><br><br><br><span style="font-size:150%;line-height:116%">Tips and Tricks</span><br><br><strong class="text-strong"><a name="Pro Tip 1">Pro Tip 1</a>: Static IP Address</strong><br><br>Windows allows the ability to assign static IP addresses to your machine.  The value of a static IP addresses is if and when your router restarts, the BI server will be assigned the <strong class="text-strong">SAME</strong> IP address.  The importance of taking advantage of this functionality is if you chose to setup Remote Access using port forwarding.  If the IP address of your BI server changes, <strong class="text-strong">port forwarding is broken</strong>.<br><br>On my home system, I just disabled DHCP on the PC and set the IP for the PC to 192.168.0.200, <strong class="text-strong">knowing the router only uses addresses 1-128</strong>.  You need to know how your router assigns IP addresses.  This way it will never conflict and will not change.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2085" class="postimage" alt="windows tools_static ip.png" onclick="viewableArea(this);" /></dt></dl></div><br><br>Alternatively, you can also instruct your router to always assign the same IP address to your BI server.  Doing so is router specific so users need to review their router manual for specific instructions.  But now you know you can assign static IP addresses for devices on your network at the router as well.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Thu Jul 29, 2021 8:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-07-28T18:29:17+00:00</updated>

		<published>2021-07-28T18:29:17+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=9826#p9826</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=9826#p9826"/>
		<title type="html"><![CDATA[Performance and Troubleshooting • Windows Events]]></title>

					<category term="Performance and Troubleshooting" scheme="https://blueirissoftware.com/forum/viewforum.php?f=14" label="Performance and Troubleshooting"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=9826#p9826"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>Unfortunately, BI can crash on occasion.  The Windows Event may provide some hints as to the cause of the instability.  The <a href="https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55" class="postlink">Windows Exception codes</a> article lists all the Windows exceptions.<br><br>The Windows Event Viewer section explains how to leverage Windows Event Viewer to identify when BI started crashing.  From there, you can use the BI logs to determine which BI version started the instability.  Valuable information to share with support.<br><br>The Windows Exceptions section explains known errors and what to do next.  FYI, there is plenty of documentation regarding different Windows Exception Codes.  A simple Google search for "windows exception code &lt;code number&gt;", e.g. "windows exception code 0xc0000005" will bring up many articles on the issue.<br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Windows Event Viewer</strong></span><div style="margin-left:3em"><br>This section explains how to leverage Windows Event Viewer to identify when BI started crashing.  From there, you can use the BI logs to determine which BI version started the instability.  Valuable information to share with support.<br><br>Sort the Application log by errors and determine which version introduced the crash.<br>Right click on Application -&gt; Filter Current Log<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2160" class="postimage" alt="windows events_filter.png" onclick="viewableArea(this);" /></dt></dl></div><br>Scroll down until you find the first time BI crashed.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2161" class="postimage" alt="windows events_first crash.png" onclick="viewableArea(this);" /></dt></dl></div><br>Look in BI logs to determine which version was running.<div style="margin-left:3em"><br>In this example, the crashes started for you on Oct. 29 at 3.53 pm.  Find the corresponding version that was running.  All I did was search for Stopped.<br>0 10/29/2021 4:18:19.589 PM App                 Stopped<br><br>A few lines after I see the version that was started.<br>0 10/29/2021 4:18:26.869 PM App                 Started version 5.5.1.18<br><br>Since 4:18 PM was after 3:35 PM I went to the previous stopped event.<br><br>0 10/29/2021 7:47:50.688 AM App                 Stopped<br>0 10/29/2021 7:47:56.454 AM App                 Intel video hardware detected<br>0 10/29/2021 7:47:56.454 AM App                 Nvidia video hardware detected<br>0 10/29/2021 7:47:56.454 AM App                 Graphics hardware vendorID 1414<br>0 10/29/2021 7:47:56.457 AM App                 Started version 5.5.1.18</div><br>So from my logs I know the version that was running at 3:35 PM was 5.5.1.18 since the next Stopped event was at 4:18 PM.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Windows Exceptions">Windows Exceptions</a></strong></span><div style="margin-left:3em"><br><strong class="text-strong">Exception code: 0xc0000005</strong><br><div class="codebox"><p>Code: </p><pre><code>Faulting application name: BlueIris.exe, version: 5.4.9.1, time stamp: 0x60d742f2Faulting module name: BlueIris.exe, version: 5.4.9.1, time stamp: 0x60d742f2[b]Exception code: 0xc0000005[/b]Fault offset: 0x0000000000d188d6Faulting process id: 0x27d8Faulting application start time: 0x01d76ac5acaea843Faulting application path: C:\Program Files\Blue Iris 5\BlueIris.exeFaulting module path: C:\Program Files\Blue Iris 5\BlueIris.exeReport Id: ffeed7ef-7251-46c9-a157-111a0085cb3a</code></pre></div>Exception code: 0xc0000005 means BI is accessing a memory location that is not assigned to it.  But because BI is constantly creating / reading / writing / deleting memory, it's impossible to know the underlying cause.  In addition, it could be bad storage or memory hardware that is causing the issue.  Again, in and of itself, these errors never point to the root cause.<br><br>However, the <strong class="text-strong">Faulting module path</strong> is the BI executable and it may be possible to use the fault offset to get to the underlying code causing the crash.  Therefore, good to report the problem to Support.<br><br>If you search on the web, many articles regarding the Windows 0xc0000005 error (example below).<br><a href="https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/" class="postlink">https://www.ionos.com/digitalguide/serv ... 05-errors/</a><br><br><br><strong class="text-strong">Exception code: 0xc0000374</strong><br><div class="codebox"><p>Code: </p><pre><code>Faulting application name: BlueIris.exe, version: 5.4.7.3, time stamp: 0x60afe6e9Faulting module name: ntdll.dll, version: 10.0.19041.964, time stamp: 0xbd2c3c23Exception code: 0xc0000374Fault offset: 0x00000000000ff199Faulting process id: 0x113cFaulting application start time: 0x01d75389be095104Faulting application path: C:\Program Files\Blue Iris 5\BlueIris.exeFaulting module path: C:\Windows\SYSTEM32\ntdll.dllReport Id: ec002b2f-6043-41af-9421-471eb677ca83</code></pre></div>The 0xc0000374 exception code only states there is a heap issue, which if you are not a programmer, means an error occurred accessing memory.  BI accesses memory many, many times per second so this by itself will not result in resolution.  Furthermore, these errors can also be due to many other reasons like Antivirus software is in conflict with the BI application.<br><br>What makes this particular event more challenging is the <strong class="text-strong">Faulting module path</strong> is a Windows library (ntdll.dll) and thus using the offset to get to the underlying code is not possible.<br><br><br><strong class="text-strong">Faulting module path: unknown</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2531" class="postimage" alt="windows events_module unknown.png" onclick="viewableArea(this);" /></dt></dl></div><br>A crash in "unknown" is almost always a problem with antivirus.  Run through the Windows Tuning article just to make sure Windows is not in conflict with BI.  Pay attention to Anti-virus and Firewall sections.<br><a href="https://blueirissoftware.com/forum/viewtopic.php?f=23&amp;t=2426" class="postlink">https://blueirissoftware.com/forum/view ... =23&amp;t=2426</a><br><br>It could also be a problem with hardware decoding drivers.  Turn off hardware acceleration and see if stability returns.<br><br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Wed Jul 28, 2021 6:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-02-23T17:25:55+00:00</updated>

		<published>2021-02-23T17:25:55+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=8137#p8137</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=8137#p8137"/>
		<title type="html"><![CDATA[Performance and Troubleshooting • Status log errors]]></title>

					<category term="Performance and Troubleshooting" scheme="https://blueirissoftware.com/forum/viewforum.php?f=14" label="Performance and Troubleshooting"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=8137#p8137"><![CDATA[
<span style="font-size:150%;line-height:116%">Introduction</span><div style="margin-left:3em"><br>The Status -&gt; log provides the clues as to what may be causing issues with Blue Iris.  This article provides a list of problems/error messages with an explanation of the underlying issue and the remedy.  <br><br>The Status-&gt;Log tab shares good summary information regarding the health of the server.  Keep in mind the <strong class="text-strong">log tab</strong> and the <strong class="text-strong">log file</strong> are two separate things.  The log file contains a chronological list of all events executed on the server.  See details on the differences between the log tab and the log file <a href="viewtopic.php?f=14&amp;t=2764#Log%20files" class="postlink">here and when to use either</a>.<br><br>The errors are divided into categories:<ul><li>DeepStack</li><li>Storage</li><li>Database</li><li>Recording</li><li>GPU</li><li>Memory</li></ul><br></div><span style="font-size:150%;line-height:116%"><a name="DeepStack">DeepStack</a></span><div style="margin-left:3em">The <a href="viewforum.php?f=16" class="postlink">DeepStack sub-forum</a> has many articles to get DeepStack running correctly.<ul><li>The <strong class="text-strong">DeepStack + Blue Iris article</strong> is a great resource to understand the DeepStack integration and get it running.</li> <li>The <strong class="text-strong"><a href="viewtopic.php?f=16&amp;t=2485" class="postlink">DeepStack Gotchas article</a></strong> documents learnings from past tickets.</li></ul><div style="margin-left:3em"><br><strong class="text-strong"><span style="text-decoration:underline">DeepStack:  Server Error 100</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1381" class="postimage" alt="deepstack server error.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>The DeepStack Server Error 100 means DeepStack is responding with a 100 error instead of processing the image.  <br><br>A common culprit is DeepStack is NOT responding by the timeout.  Global settings -&gt; AI tab.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2108" class="postimage" alt="status log errors_deepstack_server 100 error.png" onclick="viewableArea(this);" /></dt></dl></div><br><a href="viewtopic.php?f=16&amp;t=2485" class="postlink">Gotcha 14</a> has more details.  Annecdotal from a customer.<br><blockquote class="uncited"><div>I had, when running DS in my virtualized win10 without gpu/tpu, a lot of DeepStack 100 errors under "cancelled" alerts.  Nothing found on the web about any possible reasons.  Then, looking in the logs, I found that DS was taking more time than the timeout I set, so this error 100 is caused by no reply in the given time, I suppose.</div></blockquote>Other suggestions for next steps:<ul><li>Restart BI</li><li>If DeepStack was working before, consider reinstalling DeepStack.</li><li>Troubleshoot your DeepStack server by isolating the BI server from the DeepStack server by running each independently.  The "Run DeepStack Manually to Confirm Installation" section in the DeepStack article provides details.  See article link above.</li></ul><br><br><strong class="text-strong"><span style="text-decoration:underline">DeepStack:  Not running or unreachable</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1460" class="postimage" alt="deepstack unreachable.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>Issue:  Error message is obvious.  BI cannot talk to DeepStack<br><br>Fix:<ul><li>Double check your server settings.  Global settings -&gt; AI.  Confirm the server address and port number.</li><li>If your settings are correct, you probably installed the wrong version of the software from DeepStack.<br>See the Gotcha in the <a href="viewtopic.php?f=16&amp;t=2719" class="postlink">DeepStack article</a> -&gt; DeepStack AI Installation section.</li></ul><br></div></div><span style="font-size:150%;line-height:116%"><a name="Storage">Storage</a></span><div style="margin-left:3em">Storage errors pertain to the Clips and archiving settings.  These errors usually pop-up when BI is dependent on a NAS drive or an external drive which is causing problems.  This is best illustrated with an example.  <br><br> <img class="smilies" src="https://blueirissoftware.com/forum/images/smilies/icon_idea.gif" width="15" height="17" alt=":idea:" title="Idea"> The <a href="viewtopic.php?f=12&amp;t=2503" class="postlink">Storage / Record Issues article/webinar</a> walks through examining log files to identify root cause.  The logs start with MoveFile errors, i.e. moving files from one drive to another based on your Clips and archiving tab was having issues.  Eventually the New folder filled up resulting in Clip write errors (Clip: Disk full).<br><br> <img class="smilies" src="https://blueirissoftware.com/forum/images/smilies/icon_exclaim.gif" width="15" height="17" alt=":!:" title="Exclamation"> If you find errors, try to troubleshoot yourself first.  Each error provides next steps / fixes.  In addition, make sure you are following best practices as well.  See <strong class="text-strong">Storage best practices</strong> in <a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">Windows Tuning article</a>.<div style="margin-left:3em"><br><strong class="text-strong"><span style="text-decoration:underline">Move / Delete events</span></strong><br><div class="codebox"><p>Code: </p><pre><code>0 7/19/2021 7:32:01.679 PMNew                 Move: 2 items 3.66G [602.1G/600.0G, 326.2G free] 126 locked0 7/19/2021 7:32:01.788 PMStored              Delete: 2 items 4.24G [2.93T/2.92T, 1.99T free]</code></pre></div>The Move event is saying 2 recordings were moved from New to Stored (assuming Stored based on 2 items were moved which then resulted in 2 items being deleted in Stored to make room for the files moved from New).<br>602.1/600 means 600 GB was allocated and the folder is currently over by 2.1 GB thus the move.<br>The drive holding New has 326GB free which is good since New and the Database are often stored on the same drive.<br>126 locked means you have 126 locked files in BI.<br>Click on Help button in the Storage tab of the Status button for more information.<br><br><strong class="text-strong"><span style="text-decoration:underline">MoveFile Errors</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=968" class="postimage" alt="MoveFile Error.JPG" onclick="viewableArea(this);" /></dt></dl></div><div style="margin-left:3em"><strong class="text-strong">MoveFile Error 0</strong><br>BI is having problems accessing/copying files to a drive and is receiving a Windows error.  This is usually due to NAS permissions.  Check the NAS login exactly matches the username/password used by the account running BI or the service account running BI as a service.<br>Confirm Windows is not in conflict with BI by walking through checks in the <a href="viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a>.  <br><br><strong class="text-strong">MoveFile Error 2</strong><br>The database has records of files that no longer exist on your Windows filesystem.  This is usually due to users accessing / deleting files manually.<br>Fix:<br><ul><li>A database repair/regenerate will cause BI to rescan the storage folders and synchronize.  From the clip list, right click -&gt; Database -&gt; Repair/Regenerate.</li><li>If the warnings continue, there may be issues with your hard drive.  Monitor logs for Record/Storage errors.  See <a href="viewtopic.php?f=12&amp;t=2080#Routine%20maintenance" class="postlink">routine maintenance section</a> for best practices.</li></ul><strong class="text-strong">MoveFile Error 3</strong><br>Similar to above, Error 3 means Folder is not found.  The usual issue is an external drive such as a USB drive or a NAS device has lost connection to the BI server.  Double-check all your external hard drives are functional and accessible by BI.  <br>Another common cause is you renamed BI storage directories through Windows Explorer instead of the Clips and archiving tab which is a major no, no.<br>Fix: Go through your Clips and archiving tab and confirm all drives that are being used by BI exist and are functional.<br><ul><li>Check your Clips and archiving settings so that you are not over-allocating disk space.  The Status log -&gt; Clip Storage tab provides a quick visual if storage was allocated correctly.  There should be no red regions.  Click on the Help button within the Clips and archiving dialog to get dialog specific help.  The Storage and Recordings webinar also walks through these settings.  <a href="https://www.youtube.com/c/BlueIrisSupport/videos" class="postlink">YouTube link</a>.</li><li>Are you running BI as a service?  Running the service under the LocalSystem account can cause issues.  Disable and re-enable the service on settings/startup to run with your own local Windows account (w/ admin privileges). See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li><li>Are you using a NAS device for storage?  Are you also running BI as a service?  If so, the Windows username/password used to run the service has to be identical to the credentials on the NAS device otherwise writing to the NAS device <strong class="text-strong">will not work</strong>.  See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li><li>Double check all security software exemptions for BlueIris.exe and the recording folders.  See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li></ul><br></div><strong class="text-strong"><span style="text-decoration:underline"><a name="NAS Access Errors"><span style="text-decoration:underline">NAS Access Errors</span></a></span></strong><br>When BI identifies NAS access errors, common error codes returned by the NAS device are:<div class="codebox"><p>Code: </p><pre><code>ERROR_LOGON_FAILURE              1326LERROR_WRONG_PASSWORD             1323LERROR_GEN_FAILURE          31L // A device attached to the system is not functioningERROR_SHARING_VIOLATION          32L// BI cannot access the file because it is being used by another processERROR_REQUEST_ABORTED            1235L// The request was aborted by the NAS deviceERROR_INTERNAL_DB_ERROR          1383LERROR_FILE_READ_ONLY             6009L// The requested file is read only</code></pre></div>The Status-&gt;Log entry will look like below with various error code numbers.<blockquote class="uncited"><div>1 4/6/2021 09:55:14.025 Clips               MoveFile Error 1235: c:\BlueIris\New\Cam2\Cam2.26052021_180000.bvr</div></blockquote>Fix:<br><div style="margin-left:3em">Run through <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a>.  Following sections are important.<ul><li>Local admin account section</li><li>Antivirus / Firewall sections</li><li>Storage section</li></ul></div><br><br><strong class="text-strong">Storage Drive</strong><br>Issue: BI takes a long time to start<div style="margin-left:3em">If your BI takes a long time to start, i.e. 5+ seconds, you could have corrupt files. Run Microsoft's System File Checker on your hard drive to see if there are any damaged files. From command prompt, run "sfc /scannow".</div><br><br></div></div><span style="font-size:150%;line-height:116%"><a name="Database">Database</a></span><div style="margin-left:3em"><br><strong class="text-strong"><span style="text-decoration:underline">Gotcha 1: DB Compact Error</span></strong><br><br>BI performs a daily database compact/repair usually at 2 am.  See Global settings -&gt; Clips and archiving tab.<br>The database compact only takes as much time as it takes to copy the DB folder, usually seconds.  The start and stop of the DB operations is logged.<br>Most of the Compact/Repair is just to make sure the list of recordings listed in the Clips list matches the files actually existing on the file system.  For example, if you deleted a recording on the file system, Compact/repair will pick this up and delete this record from the database.<br>Any alerts associated with that clip/recording would also be wiped out.<br><br>This DB Compact Error (00000070) means "DISK FULL".  Please ensure the drive with the DB always has enough space for a complete copy of that folder.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1183" class="postimage" alt="db compact error.PNG" onclick="viewableArea(this);" /></dt></dl></div><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2050" class="postimage" alt="status log errors_database.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><strong class="text-strong"><span style="text-decoration:underline">Gotcha 2: AddtoBIDB failed &lt;error number&gt;</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1384" class="postimage" alt="AddtoBIDB failed.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>Issue:  This error means an alert was not written to the database.  The consequence is a missed alert on the Alerts list as well as missed Alert actions (e.g. Push notification, email, SMS etc).<br><br>The database error is most probably caused by improper antivirus exemptions.<br>Run through the <a href="viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> just to make sure Windows is not in conflict with BI.<br>In addition, confirm the <a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">drive containing the database</a> is setup correctly.<br><br><br><br><strong class="text-strong"><span style="text-decoration:underline">Gotcha 3: Database errors - Alerts</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1562" class="postimage" alt="database delete errors.png" onclick="viewableArea(this);" /></dt></dl></div><br>Issue:  The logs may list errors after the Delete / Move commands for the Alerts folder.<br>The actual issue is the CLIPS.DAT file is somehow corrupted.  This could be something like an item in an unexpected folder/view or it could be something worse like corruption in the headers.<br><br>Problem: The error number represents inconsistencies between the file system and the db records.  BI uses the db to keep track of file recordings that were created and deleted.  The errors mean there is a record in the database of a recording file.  However, when BI searched the file system for the file, the file does not exist.  This inconsistency is often due to users manually deleting camera recordings on the file system.<br><br>Fix: <ul><li>Please right-click in the clips list and select Database -&gt; Compact/Repair<br>Deletes "holes" in the database, e.g. deleting records of deleted items.</li><li>If errors remain, right-click in the clips list and select Database -&gt; Repair/Regenerate.<br>Repair/regenerate will try to synchronize the database with content on the file system.</li><li>If errors remain, choose Database -&gt; Delete &amp; Regenerate.  <br>The function will delete (start from scratch) and recreate the database by rescanning your hard drive and rediscover all your recordings in the All clips folder.  <br>The Alerts folder will also be rescanned to regenerate the Alerts list.  However, for most users, the Alerts folder is empty which means the Alerts list will be deleted.  If you choose to save <strong class="text-strong">Hi-res JPEG files</strong>, the Alerts list can be recreated with the saved images.  However, keep in mind the alert list will JUST have a snapshot of the alert.  To actually playback the alert, you need to go to the corresponding Clip and scan to the time of the incident.<br>Since the Database is completely recreated, data that is ONLY stored in the DB may be lost, such as memos, alert images and other flags that exist only in the database.</li><li>If still not resolved, you may be having hardware issues (RAM, Drive where DB resides).<br>Make sure the database folder resides on a local, fast (and error free) drive<br>Double check the folder (containing the database) is excluded from antivirus software.  See <a href="viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.<br>Make sure there is enough free space on the drive containing the database to duplicate/copy the Database folder at all times.<br>Check health of storage drives.  Status button -&gt; Storage tab.  There should be no red spaces.<br>Windows comes with sfc /scannow (system file checker).  Hard drive vendors, e.g. WD Purple, also comes with software to check their hard drives.</li><li>If this issue happens repeatedly, zip up the database folder and send to us via a file sharing service, e.g. google drive.</li></ul><br></div><span style="font-size:150%;line-height:116%"><a name="Recording">Recording</a></span><div style="margin-left:3em"><img class="smilies" src="https://blueirissoftware.com/forum/images/smilies/icon_idea.gif" width="15" height="17" alt=":idea:" title="Idea"> Recording errors have to do with dumping video to files or saving JPEGs based on your record settings.  The New folder is usually the issue/focus, however, BI provides the flexibility to choose any folder.  The errors here are a mixed bag.  Since the content being stored is live video, the issue could be with the camera settings resulting in record errors.  Or the issue could be with Windows or Server hardware (RAM / disk drive) and not being able to write to the drive.<br><br> <img class="smilies" src="https://blueirissoftware.com/forum/images/smilies/icon_exclaim.gif" width="15" height="17" alt=":!:" title="Exclamation"> If you find errors, try to troubleshoot yourself first.  Each error provides next steps / fixes.  In addition, make sure you are following best practices as well.  See details in <a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">Windows Tuning article</a>.<br><br><br><strong class="text-strong">Encoder missing error</strong><div style="margin-left:3em">Rarely seen today because 32-bit Windows is rarely used anymore.  The issue is Windows 32 does not support H.265.<br>Thus, if you set your camera settings to H.265 encoding, this problem may occur.<br><br>Fix:<ul><li> Upgrade Windows to 64 bit</li><li> Change camera encoding to H.264</li></ul></div><strong class="text-strong">Access denied creating file.</strong><div style="margin-left:3em">BI was not able to create a recording file because of Windows privileges.<br><br>Fix:<ul><li>Are you running BI as a service?  Running the service under the LocalSystem account can cause issues.  Disable and re-enable the service on settings/startup to run with your own local Windows account (w/ admin privileges). See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li><li>Are you using a NAS device for storage?  Are you also running BI as a service?  If so, the Windows username/password used to run the service has to be identical to the credentials on the NAS device otherwise writing to the NAS device <strong class="text-strong">will not work</strong>.  See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li><li>Double check all security software exemptions for BlueIris.exe and the recording folders.  See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li></ul></div><strong class="text-strong">Out of Memory</strong><div style="margin-left:3em">BI ran out of memory.<br><br>Largely seen when running 32-bit Windows.  If BI is using more than 1 GB of RAM on a Windows 32 machine, this is a very good indicator that you need a 64-bit system.<br><br>Fix: <ul><li>Upgrade to a 64-bit Windows machine.</li><li>If you are using the server running BI for other applications, you may need to reassign this machine as a dedicated BI machine with no other applications running.</li><li>The amount of cameras connected to BI may be causing the memory issue.  Disable cameras and see if stability returns.</li><li>Recording Direct to Disk (D2D) may decrease RAM usage as well.</li></ul></div><strong class="text-strong">Clip: Disk full</strong><div style="margin-left:3em">Hard drive is full.  Recordings from your cameras can no longer be written to storage.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1388" class="postimage" alt="status log_clip disk full.PNG" onclick="viewableArea(this);" /></dt></dl></div>Quick fixes:<ul><li>One user stated right click in Clips list -&gt; Database -&gt; Repair/Regenerate got Storage working again.</li><li>Always good to double check your <a href="viewtopic.php?f=20&amp;t=2080#Antivirus" class="postlink">Antivirus exemptions</a>.</li></ul>If the quick fixes do not work, you will need to figure out what broke with your storage setup.<ul><li>Check your Clips and archiving settings so that you are not over-allocating disk space.  The Status log -&gt; Clip Storage tab provides a quick visual if storage was allocated correctly.  There should be no red regions.  The Help button provides details.</li><li>Another common issue is your archiving setup moves content from the C: drive to a NAS drive (New -&gt; Stored).  For some reason, BI is no longer able to connect to the NAS drive.  Storage on New fills up.  Before the New folder fills up, the logs will have MoveFile storage errors.<br><br>I document this scenario in the <a href="viewtopic.php?f=14&amp;t=2503" class="postlink">Storage / Record Issues case study</a>.</li><li>Otherwise, you will need to look for Recording / Storage errors in the logs.  Each documented error listed in this article describes the issue and possible fixes.</li><li>Finally, understand how Clips and archiving works in BI.  Click on the Help button within the Clips and archiving dialog to get dialog specific help.  The Storage and Recordings section of the <a href="https://blueirissoftware.com/forum/viewtopic.php?f=23&amp;t=2426" class="postlink">Checklist</a> shares articles/webinars for better understanding.</li>  </ul></div><strong class="text-strong"><a name="Clip: Disk Not Ready">Clip: Disk Not Ready</a></strong><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1389" class="postimage" alt="status log_clip disk not ready.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>One symptom is BI stops recording at night and after accessing the console directly in the morning, BI starts recording again.<br>The underlying issue is BI cannot access the hard drive because Windows has possibly put the PC to sleep (common for laptops).<br><br>Another cause could be the BI Server has lost connection to the NAS storage device and thus stopped recording. This is most often due to the username/password used to run the BI service is not identical to the username/password on the NAS devices. <a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">Storage section</a> has details.<br><br>Fix:<ul><li>Check Windows Power and sleep settings.</li><li>If using a NAS, make sure NAS is setup correctly to work with BI.  <a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">Storage section</a> has details.</li></ul></div><strong class="text-strong">AVI 1GB limitation</strong><div style="margin-left:3em">Just a warning message.  AVI files have a 1GB file size limit.  So if a user chooses to record in AVI format (rarely used today) and the camera record settings choose the default parameters, i.e. Combine or cut video with size equal to 4 GB, then there is a conflict.  The warning message appears to notify user of the conflict but no action needs to be taken.<br><br></div><strong class="text-strong">Cannot append;  possibly corrupt</strong><div style="margin-left:3em">Two possible issues.  The file is open but for some reason, BI is not able to write to the file.  Possible issue could be the the disk is full.  <br><br>Fix: <ul><li>Make sure you are on the most recent release.</li> <li>Double check free space in your storage directories.  The Status log -&gt; Clip Storage tab provides a quick visual if storage was allocated correctly.  There should be no red regions.  Click on the Help button within the Clips and archiving dialog to get dialog specific help.  The Storage and Recordings webinar also walks through these settings.  <a href="https://www.youtube.com/c/BlueIrisSupport/videos" class="postlink">YouTube link</a>.</li><li>Check Status-&gt;log for errors.</li></ul>The second issue is a trigger event has occurred, but the camera stream is sending very few key frames resulting in no files being created.<br>If you do not know what are key frames, review the <a href="https://blueirissoftware.com/forum/viewtopic.php?f=11&amp;t=2049" class="postlink">Camera Streams Optimization article</a> to set your camera settings to work well with BI.<br>This issue occurs when the software is attempting to append to the recording file, yet there are no key frames in the stream. If you are recording direct to disk, make sure you have adequate key frames to start recording. Key frame value above 0.50/sec is recommended. The Status -&gt; Cameras tab will provide camera stats.  5.3.9+ should resolve this issue in software.<br><br>Fix:<ul><li>Upgrade to 5.3.9+</li><li>Review the <a href="https://blueirissoftware.com/forum/viewtopic.php?f=11&amp;t=2049" class="postlink">Camera Streams Optimization article</a> to set your camera settings to work well with BI.</li></ul></div><strong class="text-strong">Format change</strong><div style="margin-left:3em">BVR files have different formats based on certain BI settings.  If those settings are changed, the BVR recording for that camera will change resulting in a new recording file being created.  This is just an informational message.  If you are usually expecting 3 recording files per day (default recording settings) you may unexpectedly see 3+ on occasion.  A BVR file format change is the culprit due to BI camera setting changes.<br><br></div><strong class="text-strong">Clip: write error</strong><div style="margin-left:3em">2 2/6/2021 4:40:01.700 PM Basement             Clip: write error 80000000, undefined<br>2 5/8/2021 1:36:00.782 AM Kitchen                Clip: write error 80000057, undefine2 5/14/2021 4:51:09.384 PM    App<br><br>Generic error when BI attempts writing a recording to file.  Error code 80000057 provides a little more clarity.  The 57 error means "invalid format".<br><br>Fix:<ul><li>Confirm the "New" directory is using a local SSD drive (ideally).</li><li>Reboot machine</li><li>Check physical hard drive.  File write errors could very well indicate hardware issues.</li><li>Double check all security software exemptions for BlueIris.exe and the recording folders.  See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li></ul></div><strong class="text-strong">WriteBlueAlert no bitmap 0</strong><div style="margin-left:3em"><div class="codebox"><p>Code: </p><pre><code>2 28/10/2021 8:27:58.233 AMCam2                WriteBlueAlert no bitmap 0</code></pre></div>This error means there is no key frame available in the pre-trigger buffer in order to decode the camera feed.  The key frame ratio has to be &gt;0.5 for BI to work well.  The usual culprits are:<ul><li>You may have <strong class="text-strong">Limit decoding unless required</strong> selected.  Camera settings -&gt; Video tab.</li><li>You selected a proprietary encoding for the camera.  H.264+ / H.265+ / Smart Codec</li></ul>Fix:<br>Change the camera encoding.  See <a href="viewtopic.php?f=22&amp;t=2598#Camera%20settings" class="postlink">Camera settings</a> for details.<br>Turn off <strong class="text-strong">Limit decoding unless required</strong>.  See <a href="viewtopic.php?f=22&amp;t=2778#Video%20tab" class="postlink">Video tab</a> for best practices.<br>Increase pre-trigger buffer size.  See <a href="viewtopic.php?f=22&amp;t=2598#Key%20frame%20ratio" class="postlink">key frame / pre-trigger section</a> for details on setting proper pre-trigger buffer size based on the key frame ratio.<br><br>The WriteBlueAlert error is problematic because they occur after a camera triggers and before the event is written to the database.  <strong class="text-strong">The user will perceive missed alerts on the alerts list because of this error.<br></strong><br><br><br></div></div><span style="font-size:150%;line-height:116%"><a name="GPU">GPU</a></span><div style="margin-left:3em"><strong class="text-strong"><span style="text-decoration:underline">Error: CGadSocket thread</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1167" class="postimage" alt="cgadsocket.PNG" onclick="viewableArea(this);" /></dt></dl></div>Issue:  We suspect this issue is due to an incompatibility between the cameras encoding and your hardware acceleration.  If hardware acceleration is not the culprit, the issue has to lie with software decoding.<br><br>Fix: <ul><li>Turning off hardware acceleration for problematic cameras is the quick fix.  If your CPU utilization is ok, then no worries.</li><li>Review <a href="viewtopic.php?f=11&amp;t=2598#Camera%20settings" class="postlink">camera settings</a> and make adjustments to your camera encoding settings.  The article provides tips on simplifying the camera encoding which may make the camera compatible with your hardware acceleration.</li><li>Update your drivers for the graphics card.</li></ul><br><strong class="text-strong"><span style="text-decoration:underline">Warning: 4/17/2021 9:57:35.064 AM            HW encode                        Setup failed: &lt;error code&gt; for 'recording 0'</span></strong><br><br>Error codes: -1, -22<br><br>This error is saying you want to stream the saved camera video using your HWVA accelerator but it's causing problems so BI does so with software.  Keep in mind streaming to file (i.e. exporting to an mp4) or streaming to a website is the same functionality for the software.  This is a warning message because if the streaming fails in hardware, BI will continue by using software encoding.  BI will continue future attempts with HWVA and will continue to switch to software encoding with each failure.<br>It is possible that the hardware can only support one stream at a time and is busy when BI makes the streaming request.<br>It's also possible the hardware can only decode streams.  In that case, it's best to turn HWVA off when trying to stream.<br>Streaming occurs in many places.  One common place is with the web server.  Global settings -&gt; Web server -&gt; Advanced -&gt; Configure.  Change Hardware acceleration to No.<br>Streaming is also used when exporting to mp4.  For example, right click on an alert in the clip list -&gt; Convert/Export -&gt; Configure.<br><br>Fix: Turn off HWVA as seen below.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1336" class="postimage" alt="encoding_no_hw.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong"><span style="text-decoration:underline">"live sem stuck" error</span></strong><br><br>Issue:  Blue Iris is getting errors when accessing your hardware acceleration (gpu) to decode a camera stream.<br>Fix:  <ul><li>Turn off HA for that particular camera and confirm issue goes away.  You may leave HA off if CPU utilization is ok.</li><li>Otherwise, you may need to update the firmware on the graphics card or the camera until there is compatibility.</li>  <li>Otherwise, simplify the camera encoding and observe whether issue goes away, e.g. H265 -&gt; H264.  Switch encoding profile from Main -&gt; Baseline.</li></ul><br><br><strong class="text-strong"><span style="text-decoration:underline">HW VA not compatible: &lt;error number&gt;</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1459" class="postimage" alt="hwva.png" onclick="viewableArea(this);" /></dt></dl></div><br>Issue:  "HW VA not compatible" are just warnings or messages not errors.  HW VA stands for Hardware Video Acceleration.  Basically, the software now turns off HA automatically for a camera if it determines the stream is not compatible and this is logged to Status-&gt;log as well. <br><br>Fix: If you want to fix the problem, you can go to the camera settings on the camera and adjust the encoding to a more simple format that may start working with your hardware. A simple example is if the camera was set to H.264 High encoding, adjust the setting to H.264 Baseline. If you were using H.265, switch to H.264.  See <a href="viewtopic.php?f=11&amp;t=2598#Camera%20settings" class="postlink">Camera setup article</a> for details.<br><br>Alternatively, driver updates may occasionally resolve the issue. And at times, the only solution is to leave the setting at No and let BI decode the camera stream via software. As long as the CPU utilization is reasonable, the No setting should be fine.<br><br><br></div><span style="font-size:150%;line-height:116%">Memory</span><div style="margin-left:3em"><br><strong class="text-strong">8000007a Error</strong><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1229" class="postimage" alt="8000007a error.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>The 7A error during clip/alert playback means "insufficient buffer", a type of "out of memory" error.  <br><br>Fix: <ul><li>Dial back number of cameras.  If successful, your server needs more RAM to operate your cameras.</li><li>Switching to D2D can reduce RAM requirements.</li></ul>  <br>If the error is reproducible on specific clips, please send a BVR example for review.<br><br><br></div><strong class="text-strong">Clip: H264 encoder missing (X x Y)</strong><br><br>X x Y are image resolutions: 856 x 480, 704 x 480, 512 x 512, 640 x 480 etc<div style="margin-left:3em"><div class="codebox"><p>Code: </p><pre><code>2       12/17/2021 6:14:28.436 AM      Side_CamClip: H264 encoder missing (856x480)2 1/5/2022    1:00:20 PMGarbage             Clip: H264 encoder missing (640x480)2 1/5/2022    1:00:37 PMAisle16             Clip: MJPG encoder missing (704x480)2 1/5/2022    1:00:39 PMFrontFacingShop     Clip: H264 encoder missing (856x480)2 1/5/2022    1:00:43 PMAisle38-40-360      Clip: H264 encoder missing (512x512)2 1/5/2022    1:00:47 PMAisle16             Clip: MJPG encoder missing (704x480)</code></pre></div>Issue: This error is usually seen when the PC or Windows is running out of memory.<br><br>Fix: <br><strong class="text-strong">Antivirus exemptions</strong><br>Most common fix is to setup correct <a href="viewtopic.php?f=20&amp;t=2080#Antivirus" class="postlink">Antivirus exclusions</a> so BI can run uninhibited.<br><br><strong class="text-strong">DeepStack</strong><br>This issue seems to pop up more when running DeepStack.  Details from a ticket below.<div style="margin-left:3em"><br>User wanted to use 2 custom models.  Running one model was fine: objects:0,dark.  Running two models resulted in the issue: objects:0,dark,combined.<br><br><strong class="text-strong">User test:</strong><br>I set my AI preferences to use objects:0,dark,combined. I then restarted BI and walked outside to cause 12 triggers in 2 minutes. It looks like BI bumped the RAM but never released it. So I went back outside and did another walk around. The Physical and Commit Charge both increased slightly and never released. So it appears that you are correct. After the course of several alerts, I would run out of memory.<br><br><strong class="text-strong">Process Explorer</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2355" class="postimage" alt="status log error_H264 encoder error.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Event Viewer</strong><br><br>Event Viewer will also confirm resource depletion when BI crashes.<br><div class="codebox"><p>Code: </p><pre><code>Log Name:      SystemSource:        Microsoft-Windows-Resource-Exhaustion-DetectorDate:          12/28/2021 8:12:59 AMEvent ID:      2004Task Category: Resource Exhaustion Diagnosis EventsLevel:         WarningKeywords:      Events related to exhaustion of system commit limit (virtual memory).User:          SYSTEMComputer:      DESKTOP-4SS4SEQDescription:Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: python.exe (9392) consumed 8961937408 bytes, python.exe (9420) consumed 4247379968 bytes, and python.exe (9384) consumed 4187844608 bytes.</code></pre></div></div></div></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Tue Feb 23, 2021 5:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-02-12T06:11:42+00:00</updated>

		<published>2021-02-12T06:11:42+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=8031#p8031</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=8031#p8031"/>
		<title type="html"><![CDATA[Performance and Troubleshooting • Version Control - Software Version]]></title>

					<category term="Performance and Troubleshooting" scheme="https://blueirissoftware.com/forum/viewforum.php?f=14" label="Performance and Troubleshooting"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=8031#p8031"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>This article explains the different update tracks provided within Blue Iris.  For one reason or another, users occasionally wish they could roll back a software update. Blue Iris makes this easy.  <br><br>Based on proper version control settings you can prevent disruptions from updates.<ul><li>If the new version is not working for you, jump back quickly to the previous version to get up and running.</li><li>(optional) When you have time to test further, install latest version again.  Many users just wait for another update.</li><li>Use <a href="viewtopic.php?f=12&amp;t=2052" class="postlink">Software Startup article</a> to get the latest release running again by leveraging the registry.</li><li>If needed, you now know how to go back to the last stable version if latest release is still problematic.</li></ul>If you prefer to watch the webinar associated with this article, checkout the <a href="https://youtu.be/eaajLUXUXlg" class="postlink">Performance and Troubleshooting webinar</a>.  The discussion of this article begins at 19:42.<br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Tips and Tricks (10-min Tutorials)</strong></span><br><ul><li><a href="https://drive.google.com/file/d/1Blbb3I7evkohGcEtfxAegR4Sm2A7ZpMd/view?usp=sharing" class="postlink">How to get the latest update</a></li><li><a href="https://drive.google.com/file/d/1j4KF_JGDMsoH6gP_wrMJCQG315RMScxa/view?usp=sharing" class="postlink">Go back to previous version</a></li></ul><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Software support and maintenance (updates)</strong></span><br><br>Blue Iris provides multiple tracks for updating software.  Global settings -&gt; About tab -&gt; Software Support and Maintenance.<br><ul><li> No update prompts.  No pop-up dialog when a new update is available.</li><li> No automatic updates.  Pop-up dialog notifies user when an update is available.  User chooses next steps.  <strong class="text-strong">I choose this option because I like to know when updates are available, but decide whether to do the update.  I like being in front of the machine when updates occur so I can confirm functionality after the update.</strong></li><li> Critical and highly stable updates only.  BI automatically downloads / installs critical and highly stable updates.  <strong class="text-strong">If you are the type of user that wants a stable platform that has a high degree of running, choose this option.</strong></li><li> All available major and minor updates.  BI automatically downloads / installs all updates.  <strong class="text-strong">If you are the type of user that wants the latest / greatest and doesn't mind instability and likes working with support to resolve issues, choose this option.</strong></li></ul><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=999" class="postimage" alt="version-tracks_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Going back to a previous version</strong></span><br><br>To go back to a previous version of the software, select No automatic updates as seen below.  If not selected first, after rolling back the software version, Blue Iris would again auto-update the software for example if the original selection were  All available major and minor updates.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=947" class="postimage" alt="no-automatic-updates_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br><em class="text-italics">Select Check for News and Updates button.</em><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=950" class="postimage" alt="news and updates.PNG" onclick="viewableArea(this);" /></dt></dl></div><em class="text-italics">Select software version of interest</em><br><ul><li>Remain with current version</li><li>Install latest critical or highly-stable update</li><li>Install latest update available</li><li>Another available previous update: Go back to an earlier version.  Can only select the last stable version, e.g. 5.3.6.7.  Cannot choose 5.3.6.2.</li></ul><em class="text-italics">Choose action to be taken</em><br><ul><li>Download only: Update will be located in Updates sub-directory in Blue Iris 5 Program directory.<div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=948" class="postimage" alt="updates directory.PNG" onclick="viewableArea(this);" /></dt></dl></div></li><li>Retain a copy of the update package: Similar to download only.  However, this choice also installs the selected update.</li><li>Make a backup of the current executable: Saves current executable with version number in filename allowing the ability to quickly go back to original version if desired.  (see image below)<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=951" class="postimage" alt="backup-executable_optimized.png" onclick="viewableArea(this);" /></dt></dl></div></li></ul><span style="font-size:150%;line-height:116%"><strong class="text-strong">Final thoughts</strong></span><ul><li>If you want to roll back to a previous version with certainty, choose the appropriate version.  Hit OK and BI will install that version.</li><li>If you are in a more exploratory mindset, choose the appropriate version you wish to explore.  Select Make a backup of the current executable.  If selected version does not work out, can easily switch back to your current version.</li><li><strong class="text-strong">I now select Retain a copy of the update package.  If an update is not working for me, I like to quickly pop back to the previous version, which may be different from the last critical or highly-stable update.  Tips and Tricks video above has details.</strong></li></ul><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Fri Feb 12, 2021 6:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-02-12T04:46:26+00:00</updated>

		<published>2021-02-12T04:46:26+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=8030#p8030</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=8030#p8030"/>
		<title type="html"><![CDATA[Performance and Troubleshooting • Version Control - BI Settings]]></title>

					<category term="Performance and Troubleshooting" scheme="https://blueirissoftware.com/forum/viewforum.php?f=14" label="Performance and Troubleshooting"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=8030#p8030"><![CDATA[
<strong class="text-strong">Introduction</strong><br><br>For one reason or another, users occasionally wish they could roll back their user settings.  Blue Iris makes this easy.<br><br>If you prefer to watch the webinar associated with this article, checkout the <a href="https://youtu.be/eaajLUXUXlg" class="postlink">Performance and Troubleshooting</a> webinar.  <br>Discussion on this article starts at 18:43.<br><br><strong class="text-strong">Auto Export Feature</strong><br><br>Global settings -&gt; About dialog -&gt; <strong class="text-strong">Auto Export</strong> is selected by default.  This feature exports your registry settings every day and maintains the last 3 days of settings.  <br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=946" class="postimage" alt="auto-export_optimized.png" onclick="viewableArea(this);" /></dt></dl></div>The ellipsis button allows you to choose where to store these backups.  The default location is the Blue Iris Program Files directory.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=945" class="postimage" alt="reg-files_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Fri Feb 12, 2021 4:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-02-08T18:29:37+00:00</updated>

		<published>2021-02-08T18:29:37+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=8018#p8018</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=8018#p8018"/>
		<title type="html"><![CDATA[Performance and Troubleshooting • Software Startup Issues]]></title>

					<category term="Performance and Troubleshooting" scheme="https://blueirissoftware.com/forum/viewforum.php?f=14" label="Performance and Troubleshooting"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=8018#p8018"><![CDATA[
<strong class="text-strong"><span style="font-size:150%;line-height:116%">Introduction</span></strong><br><br>If the software no longer starts, there is little that can be done to troubleshoot the issue.  Follow the steps below to manually change registry settings to get the software running again.<br><br><strong class="text-strong">If the software starts, but takes longer than before or takes a long time, i.e. more than 5s to start, this almost always implies you have a corrupt file.<br>Run Microsoft's System File Checker on your hardrive to see if there are any damaged files.  From command prompt, run "sfc/scannow"</strong><br><br>If you are unfamiliar with Windows registry, <a href="https://youtu.be/CMHIXXmo6dM" class="postlink">this YouTube video</a> should provide enough context to carry out actions below.<br><br><strong class="text-strong">How to use this article</strong><br><br>The Quick fixes section shares next steps if the software suddenly stopped working after a Windows update or BI update.  A common cause is hardware acceleration incompatibility with a camera.  Another common cause is a user was making setting changes and for some reason BI stops working.  The Clear registry section explains how to quickly go back to previous settings.  The Clear registry section is also an easy way to clear the registry temporarily just to confirm the executable on your computer is not corrupt.<br><br>The Troubleshooting Crashes section is the next course of action.  If the Quick fixes do not get the software running, then you need to figure out which camera or feature within a camera is causing the issue.  This section helps you do so.<br><br><strong class="text-strong"><span style="font-size:150%;line-height:116%"><a name="Before starting">Before starting</a></span></strong><br><br>Before doing anything, make sure you have the below two pieces of information.<br>The worst feeling is when you start something and it breaks and there is no way to go back!<ul><li>Your license key.  The easiest way to store your license key is to mail your support info to yourself.<br>This way you will always have a copy of your license in your email.</li><li>Working registry settings.</li></ul>If you routinely backup BI settings great!  Find your backup and save it to a thumb drive (better safe than sorry).<br>If not, BI automatically saves your settings from the last 3 days.  Go to your program installation directory, usually "C:\Program Files\Blue Iris 5".  You will find 3 settings: backup.reg, backup2.reg and backup3.reg from newest to oldest.  Hopefully, one of those will work.<br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Quick Fixes">Quick Fixes</a></strong></span><br><br>This section has quick fixes to common tickets.<br><br><strong class="text-strong"><a name="Hardware acceleration">Hardware acceleration</a></strong><br><br>Scenario: BI starts crashing immediately.  But you have no idea why.  All you did was update BI or just notice instability one day.<br><br>Frequent crashes usually mean the hardware decoding is not happy with one of your cameras.  Easy fix is to go into the registry and turn off hardware acceleration globally.<br><br><strong class="text-strong">Global hardware acceleration</strong><br>How to turn HA off globally (for all cameras)<br>Find the below key in the Registry (Windows start button -&gt; regedit):<br>Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Perspective Software\Blue Iris\Options<br>Set <strong class="text-strong">hwaccel</strong> to 0.<br><br><strong class="text-strong">Hardware acceleration per camera</strong><br>How to turn off HA for each camera.<br>Find HKEY_LOCAL_MACHINE\SOFTWARE\Perspective Software\Blue Iris\Cameras<br>For each camera, set the value of <strong class="text-strong">ip_hwaccel</strong> to 2.<br><br>Other fixes:<ul><li>Usual issue is the camera is set to H.265 encoding, but your QuickSync or hardware decoder does NOT support H.265. <br>See <a href="viewtopic.php?f=20&amp;t=2463#Server%20Recommendations" class="postlink">Processor section</a> for details.</li><li>Simplify camera encoding to H.264.  <a href="viewtopic.php?f=22&amp;t=2598#Camera%20settings" class="postlink">Camera setup article</a> has details.</li><li>Update your hardware drivers.</li></ul><br><br><strong class="text-strong"><a name="Clear registry">Clear registry</a></strong><br><br>Scenario: This seems like the solution of choice when you did something funky, e.g. resulting in the display or something else no longer working properly or the software will not start.  You can either clear the registry and start over or load past settings.<br><br>Make sure you meet all the requirements in the <a href="viewtopic.php?f=14&amp;t=2052#Before%20starting" class="postlink">Before Starting section</a> ABOVE <strong class="text-strong">especially having a working backup of your BI settings</strong>.  If not, you will be re-adding all your cameras.<br><br>Steps to clean out registry:<div style="margin-left:3em"><strong class="text-strong">Stop BI</strong>  <br>BI should not be running as a service or manually.<br>See <a href="viewtopic.php?f=14&amp;t=2052#Stop%20BI%20service" class="postlink">Stop BI service section</a> (below) on how to stop the BI service.<br><br><strong class="text-strong">Registry</strong><br>Run regedit and delete the following keys if they exist:<br>HKEY_CURRENT_USER\SOFTWARE\Perspective Software<br>HKEY_LOCAL_MACHINE\SOFTWARE\Perspective Software<br><br>Good to start the software here.  If the program does not start with no settings, go to the website (blueirissoftware.com) and download/install the latest software.  Start the software.  If the software still does not start, you will need to examine the hardware or operating system.<br><br><strong class="text-strong">Restore past settings</strong><br>If you want to start from previously stable setting, import your registry settings.  Global settings -&gt; About tab -&gt; Import settings.  <br><br><strong class="text-strong">Start or Reinstall BI</strong><br>(optional) If reinstalling <a href="https://blueirissoftware.com/" class="postlink">BI</a>, temporarily disable antivirus software after installing BI.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Troubleshooting Crashes">Troubleshooting Crashes</a></strong></span><br><br>Below is how users can isolate crashes using the registry.  Another cool tool in the toolbox.  If you don't want to start with past settings or start over and the above fixes do not work, this section explains how to turn off cameras using the registry until the software starts.  If you prefer to watch the webinar associated with this article, checkout the <a href="https://youtu.be/eaajLUXUXlg" class="postlink">Performance and Troubleshooting webinar</a>.<br><br>Again, before doing anything with the registry, go through <a href="viewtopic.php?f=14&amp;t=2052#Before%20starting" class="postlink">Before starting section</a> ABOVE.  <br><a href="viewtopic.php?f=14&amp;t=2052#Stop%20BI%20service" class="postlink">Stop the BI service</a> (below) if not done so already.<br><br><strong class="text-strong">Disconnect All your Cameras</strong><br>This section explains how to disconnect all your cameras using the registry.  It's an easy test to determine whether the startup issue lies with your cameras or some other functionality in BI.  An example of isolating the issue.<br><ul><li>First shutdown BI if it is running.</li><li>Type regedit in the Window search bar (lower left) and select Registry Editor</li> <li>Search for the BI settings: HKEY_LOCAL_MACHINE\SOFTWARE\Perspective Software\Blue Iris (see image below)</li><li>Rename the Cameras key to CamerasX.  This will immediately remove all your cameras from BI.  <strong class="text-strong">If the software starts up, then you know there is an issue with one of your camera settings</strong>.</li></ul>Once you know the issue lies with cameras, rename CamerasX back to Cameras.  Proceed below to identify the offending camera(s).<br><br><strong class="text-strong">Disabling a camera</strong><br><br>This section explains how to disable a camera using the registry.  <br><ul><li>First shutdown BI if it is running.</li><li>Type regedit in the Window search bar (lower left) and select Registry Editor</li> <li>Search for the BI settings: HKEY_LOCAL_MACHINE\SOFTWARE\Perspective Software\Blue Iris (see image below)</li><li>Go to a camera and change enabled to 0.  This effectively disables the camera. (see image below)<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=942" class="postimage" alt="camera registry.png" onclick="viewableArea(this);" /></dt></dl></div></li></ul><br><strong class="text-strong">Troubleshooting cameras strategy</strong><br><br>Now you know how to disable cameras using the registry.  You can now leverage the registry to identify the offending camera(s).<br><br>I prefer using the UI to troubleshoot instead of the registry.  In order to get the software started as quickly as possible, I first turn off hardware acceleration globally.  Hardware acceleration with a camera(s) is often the issue with software startup.  Follow <a href="viewtopic.php?f=14&amp;t=2052#Hardware%20acceleration" class="postlink">hardware acceleration steps above</a> to turn off HA globally.<br><br>I then disable all the cameras.  This usually gets the software running.<br><ul><li>Disable all the cameras via the registry using technique above.</li><li>BI should start.</li><li>From the UI, you can now enable camera(s) one-by-one until software crashes.</li><li>Make note of offending camera and go back into registry and disable the camera.</li><li>Repeat steps and disable all offending camera(s).</li> </ul>If you have many cameras, users typically divide and conquer.  Disable half your cameras and see if the other half crashes.  If not, the disabled half of cameras has offending camera(s).  If so, the current half of cameras has an offending camera(s).  This logic applies to section below as well.<br><br><strong class="text-strong">Identify Camera &lt;&gt; HA Conflicts</strong><br><br>If the software starts with ALL the camera(s) enabled, it is very likely individual camera(s) incompatibility with HA is the reason for startup failures.<ul><li>Turn HA off for each of the cameras via the registry.    Follow <a href="viewtopic.php?f=14&amp;t=2052#Hardware%20acceleration" class="postlink">hardware acceleration steps above</a> to turn off HA for each camera.</li><li>Start the software.</li><li>Turn HA on globally.  Global settings -&gt; Cameras tab.</li><li>Software should still be running since HA is off for each camera.  Camera settings -&gt; Video tab.</li><li>Turn HA on for each camera.  When the software crashes, you identified a camera with compatibility issues with HA.</li><li>Go back to registry and turn off HA for the offending camera.  Repeat above until you identify all offending camera(s)</li></ul><strong class="text-strong">Troubleshoot offending camera(s)</strong><br><br>Once you know the offending camera(s), revisit the <strong class="text-strong">Hardware decode</strong> section in the <a href="viewtopic.php?f=22&amp;t=2778#Video%20tab" class="postlink">Video tab article</a> for the offending camera(s).<br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Miscellaneous</strong></span><br><br><strong class="text-strong"><a name="Stop BI service">Stop BI service</a></strong><br><br>How to stop a BI service manually.  Used frequently in tasks above before editing the registry.<br><ul><li>To do so, in the Windows search bar, type services and bring up the services app.</li><li>Find the "Blue Iris Service" service.</li><li>Double-click the entry</li><li>Change Startup type from Automatic to Manual</li><li>Then stop the service.</li></ul><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Final thoughts</strong></span><br>At this point, your BI server should be up and running.  Below are other topics dealing with system stability.<br><br><a href="viewtopic.php?f=12&amp;t=2059" class="postlink">Rolling back to previous BI settings</a><br><br><a href="viewtopic.php?f=12&amp;t=2060" class="postlink">Rolling back to previous BI software versions</a><br><br><a href="viewtopic.php?f=14&amp;t=2492" class="postlink">Windows Tools</a>: Leveraging Windows capabilities to roll back Windows updates or Software Security updates and other topics.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Mon Feb 08, 2021 6:29 pm</p><hr />
]]></content>
	</entry>
	</feed>
