Closed pratik5705 closed 4 years ago
I can see that in blueiris.sh
if the executable is missing it runs wget http://blueirissoftware.com/blueiris.exe
.
The problem is, this blueiris.exe
is for Blue Iris 5. I can see on the download page the correct URL for Blue Iris 4 would be https://blueirissoftware.com/BlueIris_48603.exe
.
This could be fixed by modifying the blueiris.sh
file to check the runtime variable's value and download from the appropriate link.
Here's a hotfix to get your container up and running:
List the names of the containers.
sudo docker ps
Open a bash shell to the container
docker exec -it <container name> /bin/bash
Remove the existing blueiris installer (if present)
rm blueiris.exe
Edit the script (I hope you know how to use vim! Otherwise apt-get install nano
and use nano blueiris.sh
, which is probably easier.)
vim blueiris.sh
Change wget http://blueirissoftware.com/blueiris.exe
to wget https://blueirissoftware.com/BlueIris_48603.exe
Add this line right after the wget line (keep the same indentation):
mv BlueIris_48603.exe blueiris.exe
Change the expected BLUEIRIS_EXE path from /root/prefix32/drive_c/Program Files/Blue Iris 5/BlueIris.exe
to /root/prefix32/drive_c/Program Files/Blue Iris 4/BlueIris.exe
(If you don't do this, the container will repeatedly run the installer)
Now restart the container, connect to VNC (<IP>:8080/vnc.html
) and complete the installation.
Hope that helps :)
So it turns out this is already fixed. Instead of installing the latest
Docker build, get the dev
Docker build and this will work as intended and the above steps are not necessary.
I'm working on fixing the build and then it'll be incorporated into master and you can just pull the latest tag and run that.
Awesome :) Thanks
Per instructions at https://hub.docker.com/r/jshridha/blueiris, I can run version 4 using variable BLUEIRIS_VERISION=4. I have this set, but still it is downloading version 5.