Auto convert/export problem

martyouel

n3wb
Jul 9, 2019
22
0
test
Hi,

I configured BI to convert/export my video to mp4 format when it pass from NEW to STORED.
I export the mp4 to a NAS drive (mapped as a letter (Z:) in my server).

It was working great since a while, but on last Monday I changed BI to run as a service.
Since that, the export looks to not work.
I though it was something related to the mapped drive, the service was running on "another user account" so I changed it to use the same user than the one I log in the server and where I have my mapped drive.

But still not working. From the GUI, if I do a manual export to the map drive, it works great.

Any idea ? Here's my config

Thanks,

Martin
 

Attachments

  • 2020_03_19_15_23_37_192.168.12.9_Remote_Desktop_Connection.png
    2020_03_19_15_23_37_192.168.12.9_Remote_Desktop_Connection.png
    126.2 KB · Views: 8
I believe drive mapping occurs after you log in. You will need to create a service that will run something like:
net use z: \ServerName or IP Address\backupFolder /persistent:yes

Here is an example setting it up with task scheduler and select "When the computer starts"

Edit: Maybe you can use the UNC path in BL instead, try entering something like:
\\ServerName\backupFolder

If this was UNIX or Linux, I would know for how to mount it :)
 
Last edited:
Edit: Maybe you can use the UNC path in BL instead, try entering something like:
\\ServerName\backupFolder

This is what Ken advises in the help pdf. Oddly not in the ‘Run as a Service’ chapter, rather in the ’Testing the Action Set’ (page 108 in the 5.2.1.4 pdf). See the excerpt below, last bullet.

Note that when testing, the action set runs in the console UI process. If you are running Blue
Iris as a service in the background, “real” action sets run in the service process, and this can
create discrepancies in what you experience:
• The service has no access to the Windows UI, meaning there are no visible windows.
• The service may have limited access to some hardware, which in some cases will include
access to the sound card to play sounds.
• Popup toast actions will only appear when the console is open.
• The service by default runs as a user called “local service” which does not have the same
access to the system as your user account. For most action types, it’s recommended that
you run the service with your own user account instead. This is changed by opening the
Windows service manager (search for services) and edit the Blue Iris service entry Login
page. See the Administration chapter for instructions.
• The service may not understand your file system designations like “H:” etc. as these are
user-specific. You should always use UNC names where possible (\\server\share)