BlueIris: Record to NAS issues

Discussion in 'Blue Iris' started by ShaneHD, Jun 12, 2017.

Share This Page

  1. ShaneHD

    ShaneHD n3wb

    Joined:
    Jul 30, 2015
    Messages:
    16
    Likes Received:
    0
    Hi guys,

    You all have been so helpful lately that I wanted to try one more question.

    I am setup with 4 Hikvision DS-2CD2042WD-I cameras. I have Blue Iris installed on a PC and have all the cameras setup. Currently, I am having to record to a WD 2TB USB drive because I cannot get Blue Iris to record to a Netgear ReadyNAS 314 with 12 TB of space. It's why I obtained this NAS, so I could record locally and view videos for a longer amount of time.

    About 5 years ago, under a different version of Blue Iris, I was able to get this to work. Just mapped a drive to the share on the NAS and it worked. Now it seems there is a bit of trickery involved.

    What am I missing here? What does it take to get Blue Iris and a ReadyNAS to work? Keep in mind, this is a completely rebuild OS and Volumes on the NAS, so its basically stock. Permissions seem to be fine as well.
     
  2. fenderman

    fenderman Staff Member

    Joined:
    Mar 9, 2014
    Messages:
    28,936
    Likes Received:
    8,462
    if running as a service see help file that specific about this as well as several threads.
     
  3. ShaneHD

    ShaneHD n3wb

    Joined:
    Jul 30, 2015
    Messages:
    16
    Likes Received:
    0
    Could you possibly link me?
     
  4. erkme73

    erkme73 Getting comfortable

    Joined:
    Nov 9, 2014
    Messages:
    760
    Likes Received:
    342
    @ShaneHD if you haven't already solved this problem, what @fenderman is referring to is the need to have the Blue Iris service log in using the same credentials you specified on the NAS.

    When you created the shared drive on the NAS, you specified a user. Make that username and password the same as it is for the user on the PC running Blue Iris. If your PC doesn't use a password, create one. Make sure it's the same as the one on the NAS user share.

    Then, go to services on the PC, find Blue Iris Service, and edit the properties. Click the "Log On" tab, then Log on as: This Account (see below)

    upload_2017-6-27_14-19-41.png

    Then, specify the username of the PC and password.

    As long as those match the NAS username for the shared directory, it'll log in and start writing.

    If you don't like the prompt for password on the PC, there are steps to bypass the login screen. Configure a User Account to Log On Automatically on Windows 7
     
    mjessup44, hathanzo and wilric like this.
  5. wilric

    wilric Young grasshopper

    Joined:
    Mar 25, 2016
    Messages:
    38
    Likes Received:
    0
    Thank you for this it made my day
     
  6. hoosierdoc

    hoosierdoc n3wb

    Joined:
    Oct 31, 2015
    Messages:
    12
    Likes Received:
    0
    OK so there has to be more to this because I have all of that setup and it's not working.

    My windows10 username and password are identical to the share credentials. I can mount the drive and tell it to use the same credentials, and I see the drive in file explorer. I am running BI as a service and told the service to use the same credentials again, but it won't show up.

    What are some other error checking things I can do? If I go to "properties" of the share and go to security, it says owner is "root(Unix user\root)",is that an issue? I tried to change it to my current user and it gave me an error saying it can't change.

    I tried to add my windows account as a full access user of that shared drive and it said "error occurred, failed to enumerate objects in the container, access is denied". My account is an administrator account. So frustrating.
     
  7. looney2ns

    looney2ns IPCT Contributor

    Joined:
    Sep 25, 2016
    Messages:
    6,461
    Likes Received:
    4,576
    Location:
    Evansville, Indiana
    Are you the same @hoosierdoc from INGO? Just curious. ;)
     
  8. hathanzo

    hathanzo n3wb

    Joined:
    Apr 25, 2018
    Messages:
    3
    Likes Received:
    0
    Hi i just got this to work. Did you set windows to log in the a local account instead of your microsoft one, you might want to give that a try.
     
  9. joydashy

    joydashy n3wb

    Joined:
    Mar 27, 2018
    Messages:
    1
    Likes Received:
    2
    I have tried everything to get this to work, but alas. Am running BI in a Win10 KVM and attempting to write recordings to a mounted Samba drive. Have configured the correct account in the BI service, but it refuses to write to the share :(
     
  10. John V

    John V n3wb

    Joined:
    Jun 18, 2018
    Messages:
    19
    Likes Received:
    0
    Location:
    CT
    This still dosnt explain why blue iris can't see how much free space there is on the NAS
     
  11. Zanthexter

    Zanthexter Young grasshopper

    Joined:
    Aug 5, 2016
    Messages:
    60
    Likes Received:
    20
    When a Windows service needs to access a network share there needs to be an account on the Windows computer that matches exactly the account name and password on the network share. A local account is preferable. A separate account from the one you sign in with is a good idea, so that you can change your password without breaking the service's access to the network share.

    1) On the network share/NAS box create a user account for " BlueIris" as the username and a password that you pick.
    2) On the network share/NAS box grant that account FULL (read/write) permission to the shared folder/drive
    3) On the Windows computer, create a LOCAL account called "BlueIris" with the same password.
    4) On the Windows computer sign in using the new account and attempt to save a file to the NAS. This is to confirm the account is set up correctly and matches the credentials on the network share. Do not regularly use or sign in with this account. It's for the BlueIris service only. Optionally edit the registry to hide the account from the logon screen.
    5) On the Windows computer open the properties for the BlueIris service and change the LogOn to "This account" by browsing to the BlueIris account you created and typing in the password you picked earlier.
    6) Restart the BlueIris service. If the credentials are correct, it will restart. If not, it won't. Restarting the service is REQUIRED for it to use the new credentials.
    7) Set the desired BlueIris folders to the network share. Things should work at this point.

    If any of the above steps need detail, Google is your friend. This isn't a BlueIris specific problem, this is just how Windows networking and services work together.
     
    fenderman likes this.
  12. Zanthexter

    Zanthexter Young grasshopper

    Joined:
    Aug 5, 2016
    Messages:
    60
    Likes Received:
    20
    Depends on the NAS. Some report it, some don't. Synology does.
     
  13. John V

    John V n3wb

    Joined:
    Jun 18, 2018
    Messages:
    19
    Likes Received:
    0
    Location:
    CT
    Ok.. having nothing but problems with my Synology unit. Permissions are fine but sending large files it starts to hang .. then stops responding all together. I’m not using two ports and have bonded them. So far not impressed
     
  14. Zanthexter

    Zanthexter Young grasshopper

    Joined:
    Aug 5, 2016
    Messages:
    60
    Likes Received:
    20
    Are you using a managed switch configured to bond the specific ports your Synology is plugged into? If you aren't, disconnect the 2nd network cable and disable bonding. Jumbo frames can also be a problem. Your network equipment needs to support this stuff. Most cheap retail stuff doesn't. And to make use of it on the BlueIris end, the network card in the computer also needs to as well.

    I would also use NAS rated drives. Preferably Synology reccomended. Desktop drives can sometimes cause problems with RAID and/or have problems due to the amount of vibration in the NAS enclosure. Drive issues could easily explain your problems.

    Simplify things some and maybe consider using Synology recommended drives and you might get some improvement.
     
  15. John V

    John V n3wb

    Joined:
    Jun 18, 2018
    Messages:
    19
    Likes Received:
    0
    Location:
    CT
    This unit has 4 network ports, I was only using one at first.

    I only added a second network port and enable bonding in an attempt to try something different...this has improved things even though I probably need to configure thing on the network switch

    I'm using a GS418TPP ProSAFE

    I'm using recommened Synology drives..

    Anymore ideas?
     
  16. Zanthexter

    Zanthexter Young grasshopper

    Joined:
    Aug 5, 2016
    Messages:
    60
    Likes Received:
    20
    The "fast then slow" copying of large files could just be "slow" with the "fast" stage just filling up the cache.

    Personally I'd want to confirm the problem was with the Synology and not something about the network. But if you're sure it's the Synology, just googling "synology slow transfer" brings up a bunch of stuff. The guys blaming the Synology because file transfers are slow over WiFi crack me up ;)

    Couple results for you:

    Solved: Slow Transfer Speeds on Synology NAS

    Slow transfer speeds and other questions. - Synology Forum

    I also just shut down BI and copied a 1.4GB recording from the Synology to BI, and then back to confirm I'm not imagining things working well. Got 112MB/sec both ways, maxing out the connection. YMMV of course.
     
  17. Parallax

    Parallax n3wb

    Joined:
    May 25, 2018
    Messages:
    13
    Likes Received:
    0
    Location:
    a
    did you ever get it working? i too have the exact same credentials and its still not working.
     
  18. richtj99

    richtj99 Getting the hang of it

    Joined:
    May 11, 2016
    Messages:
    112
    Likes Received:
    13
    Hi,

    Curious, does the user account you use on the windows PC running BI need to be the same account on the NAS?

    So

    BI PC - Rich/123
    NAS - Rich/123

    OR can i Use
    Rich/123
    Dich/546 but change the service login to this info?

    Thanks,
    Rich