Skip to main content
The First Step
December 6, 2022
Question

Database file is inaccessible error on launch?

We have recently run into an issue with our users receiving the error in the title. Happens on launch of RC Phone 22.4, on Windows 10 21H2. Usually occurs after after they have run updates that were mandated by our Security team, however the Security team claims nothing they pushed should be causing this. The app will launch with no issues if it is run as Administrator, however this isn't an option for a workaround in our environment. Full text of the error is as follows:

"Database file is inaccessible

Cannot get access to storage. Database file is inaccessible because it is encrypted or not a database. <ProgramName> will be closed. Please use correct encryption key or remove the database to resolve the issue."

Has anyone run into this before? If so, can you point me in the direction of the location of the database file the app is referring to so we can try granting the user full control of the directory and see if that works as a workaround?

    13 replies

    Employee
    December 7, 2022

    %LOCALAPPDATA%RingCentralSoftPhone

    New Participant
    December 7, 2022

    Good morning,

    I'm experiencing the same exact issue on a single computer in our environment.

    I've checked and all permissions to the necessary locations are proper. Running as Admin does indeed work, as a temporary solution - but still have been unable to pinpoint an exact cause.

    Any other updates on this?

    Thanks!

    Mary-Community_Moderator
    Community Manager
    Community Manager
    December 7, 2022
    New Participant
    December 7, 2022

    We've given full permission to that location, the issue still occurs unless it's ran as admin, so this doesn't seem to be the fix.

    fhinzThe First StepAuthor
    The First Step
    December 7, 2022

    Good to know, however we have tried both granting the user full control over both this and the Program Files (x86)Ring Central folder, as well as deleting the orphaned files in both paths before reinstall, and the issue seemed to recur. Would you happen to know which file is the actual database file it is using? Thanks in advance!

    New Participant
    December 8, 2022

    Is there an update anyone has on this issue, as if it is a MS security patch which caused this, then it will be impacting more PCs as they reboot. We have a ticket open but no real response to this issue from RC Support. If we could get info on the patch we could potentially prevent it from marching forward to not have all of the call agents down.

    Employee
    December 9, 2022

    1. Does somebody have some specific permissions on using OpenSSL library under non-admin user?

    2. Does somebody try to remove appstorage.db and restart RC Phone App?

    New Participant
    December 9, 2022

    Experiencing the same issue, of course Ring Central Tech Support is saying they know nothing of this error and aren't sure how to fix this. I know that both the Ring Central desktop app, and Phone app have recently both been updated late November, of course this is when we started having issues with it.

    Things we've tried that have not worked:

    - Allowing app through the defender fire wall

    - Uninstalling both RC and RC Phone apps and reinstalling

    - Giving owner permissions to the local folder

    Things we've tried but haven't really tested:

    -Clearing out the %temp% folder of the user after reinstall >this may be the solution, but need to figure out the order of operations ie uninstall, reinstall, delete temp or which order it needs to go in order for it to work.

    Things that DOES work

    - running it as admin, which is not a possibility as our users only get user permissions in our Azure AD environment.

    Maybe that helps point you in the right direction...but I've only been able to replicate the temp folder situation only once, but I think the answer may lay within that parameter.


    New Participant
    December 15, 2022

    I have also been getting this on a couple of computers. I have found that deleting the UsersUsernameAppDataLocalRingCentral directory and re-installing RCPhone fixes it for a day or so, but then it happens again.

    @Gregory Yaschuk I just fixed this issue this morning on a computer by just deleting the appstorage.db file from the same place. We had to re login but not reinstall RCPhone, so that's already a bit better.

    I don't think we have any OpenSSL stuff going on, it's not effecting all our members of staff just a couple at the moment. I suspect that this one I fixed today will break again in a day or two, I guess we will find out.


    This computer was running version 21.2.1.42167. I didn't think there is much point updating as @Frank Hinz has the same issue with 22.4

    New Participant
    December 15, 2022

    Tom, I just tried it myself, and it does indeed fix the issue, and the user will have to log back in, but it's better than it just sitting there and not being able to be used. We'll keep an eye on this and see how long it fixes it, and at least talk to RingCentral about this and try to get them to patch up this error.