Constant Crashes after v5 to v6 Upgrade (Visual C++ Errors)

8trek

Getting the hang of it
Dec 19, 2021
84
32
66213
I’ve managed several Blue Iris servers since 2021 and generally follow the "don't upgrade unless it's broken" rule. However, after recent CPU spikes on v5 and the need for new iOS push keys, I decided to perform a clean install of v6.
The Issue:
During the v6 install, I repeatedly received errors stating Visual C++ was not installed correctly. I manually installed the latest Redistributables directly from Microsoft (matching the BI requirements), but the BI installer still flagged it. I proceeded anyway, and now the app restarts roughly every hour.
Current State:

  • Clean uninstall of v5 before v6 install.
  • Latest Windows updates and MS Visual C++ versions are confirmed.
  • I’m considering a full OS wipe and manual reconfiguration (no registry imports) to fix the instability.
A bit of a rant:
I love the power of this software, but the jump to v6 feels unmanageable. I’ve spent days redoing notes because the UI and dependencies shift so frequently. Does anyone have a fix for the C++ installer loop, or am I truly stuck rebuilding from scratch to get stability back?


 
More info. Antivirus exclusions are set on all paths related to the software but do see in logs about Missing Windows Security 'Virus & Threat Protection' process exclusion for BlueIris.exe regardless. Also seeing in logs Legacy DB files may now be deleted or archived, no idea if i'm supposed to do something here? Using codeproject latest CPU NOT GPU. Win11 latest, CPU is intel core ultra 7 265k, 32GB ram, fast drives. Plenty of horse power. Too early to tell if CPU spike problem is gone or not. Regardless system has been restarting in the middle of the night with little activity compared to during the day.

I am not using hardware acceleration on any cameras, all are set to h264, 15fps.
 
Last edited:
More info. Antivirus exclusions are set on all paths related to the software but do see in logs about Missing Windows Security 'Virus & Threat Protection' process exclusion for BlueIris.exe regardless. Also seeing in logs Legacy DB files may now be deleted or archived, no idea if i'm supposed to do something here? Using codeproject latest CPU NOT GPU. Win11 latest, CPU is intel core ultra 7 265k, 32GB ram, fast drives. Plenty of horse power. Too early to tell if CPU spike problem is gone or not. Regardless system has been restarting in the middle of the night with little activity compared to during the day.

I am not using hardware acceleration on any cameras, all are set to h264, 15fps.
Look in the folder "C:\BlueIris\db", it should only contain the following files (extra.dat, records.dat) any other files are no longer required. If you are a cautious person you can backup the files to another location before deleting the surplus files!
 
  • Like
Reactions: Techie007L
More info. Antivirus exclusions are set on all paths related to the software but do see in logs about Missing Windows Security 'Virus & Threat Protection' process exclusion for BlueIris.exe regardless. Also seeing in logs Legacy DB files may now be deleted or archived, no idea if i'm supposed to do something here? Using codeproject latest CPU NOT GPU. Win11 latest, CPU is intel core ultra 7 265k, 32GB ram, fast drives. Plenty of horse power. Too early to tell if CPU spike problem is gone or not. Regardless system has been restarting in the middle of the night with little activity compared to during the day.

I am not using hardware acceleration on any cameras, all are set to h264, 15fps.
Are you using Windows Defender Antivirus if so then you need to set a process exclusion as shown below
1776166873261.png
 
okay, so i moved all the old db files out of the folder leaving just the 2 files you mentioned. Yes, i have exclusions setup. I doubt getting rid of the additional db files is going to solve my stability issues... logs show restarted after unexpected shutdown randomly throughout the day. Side question, for those still on v5, how can you avoid eventually updating if your using an iphone and push notifications? I've had push stop working a few times over the years because apple requires a new key once a year or whatever it is. At which point blue iris puts out an update that specifies something to do with the new key.
 
Just to double check: earlier you mentioned setting the antivirus exclusions as PATHS, but in fact a couple of files should also (additionally) be set as PROCESS exclusions: blueiris.exe and blueirisadmin.exe.

Subtle but important distinction, you might want to verify that.
 
I have it set for folders and anything underneath it is covered so there is no need to exclude specific executables.
 
Many use the pushover app instead to not have to deal with that ios issue.
wittaj... i'm intrigued... what pushover app? Sounds like i need to do some internet searches on this. I'd just soon go back to v5 if i can avoid this mess... i think i read one of your posts that you've avoided 6 as well. What 5 version are you sticking with? That being said, i am currently putting in a spare rtx 4060 i had lying around and disabling the onboard intel gpu, and switch everything from using the cpu to the gpu. I suspect my problems could be related to Intel drivers along with newer architecture less stable than older ones i've used in the past. Although i'm not using hardware acceleration, several AI questions i've posted suggested it could still be an issue based on event viewer app logs.
 
I have it set for folders and anything underneath it is covered so there is no need to exclude specific executables.
We'll have to agree to disagree here: I believed that too (file and folder exceptions) until BI specifically started to require process exclusions.
 
I have it set for folders and anything underneath it is covered so there is no need to exclude specific executables.

While most here would agree with that statement, real world examples here from people showed that adding the process exclusion fixed the problems they were having. BI does so screwy things sometimes. It doesn't hurt to add the file.
 
wittaj... i'm intrigued... what pushover app? Sounds like i need to do some internet searches on this. I'd just soon go back to v5 if i can avoid this mess... i think i read one of your posts that you've avoided 6 as well. What 5 version are you sticking with? That being said, i am currently putting in a spare rtx 4060 i had lying around and disabling the onboard intel gpu, and switch everything from using the cpu to the gpu. I suspect my problems could be related to Intel drivers along with newer architecture less stable than older ones i've used in the past. Although i'm not using hardware acceleration, several AI questions i've posted suggested it could still be an issue based on event viewer app logs.

I am on the last version before BI went to CodeProject.

Here is the pushover app


For simple things to get it started, when you set up an account, it give you a pushover email - you can only use this email to receive images, not send, so don't change the email in your BI console.

Then instead of using the push notification on alerts, change it to the email alert and put the pushover email address there and it will send you push notifications via the Pushover app.

Then if you want to get fancy and have customization of different sounds for different cameras and what not, then go to the API version for alerts.

You could go straight to this step, but one typo and it doesn't work and people get frustrated and quit, so I recommend the email option of pushover first and if that is satisfactory for your needs, no need to go further.

 
Process exclusions are broader in the sense that they also prevent AV scanning interference with other files (in this case, the BI DB files and other spawned processes external to the previously defined file/folder). The developer of BI (Ken) has specifically requested process exclusions for the two files I previously mentioned.


Process Exclusion
Definition: A process exclusion prevents real-time scanning of files that are accessed by a specific process.
Purpose: This type of exclusion is useful when a particular application needs to operate without interference from the antivirus, which can help improve performance or prevent false positives.

File Exclusion
Definition: A file exclusion prevents scanning of a specific file or folder during both real-time and scheduled scans.
Purpose: This exclusion is typically used for files that are known to be safe or necessary for certain operations, reducing the likelihood of the antivirus interfering with their use.