• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Problem with deleting plugin files (3CX Phone for Windows)

Status
Not open for further replies.

systell

Titanium Partner
Joined
Jul 2, 2012
Messages
6
Reaction score
0
When I updating my plugin (uploading .zip through 3CX UI) and restarting 3CX Phone for Windows app, files are not updated correctly. Very often there is single Owin.dll file or empty folder.

In 3CXPhoneForWindows.log there are lines like this
Code:
    Line 422: [05.06.2018 10:41:56.581][1] System.UnauthorizedAccessException: Odmowa dostępu do ścieżki „Owin.dll”.
    <- Access denied to "Owin.dll"
    Line 2565: [05.06.2018 10:45:36.158][1] System.UnauthorizedAccessException: Odmowa dostępu do ścieżki „Owin.dll”.
    Line 3258: [05.06.2018 10:45:56.649][1] System.IO.IOException: Katalog nie jest pusty. <- Folder is not empty
    Line 3952: [05.06.2018 10:46:33.682][1] System.IO.IOException: Katalog nie jest pusty.

Both System.UnauthorizedAccessException and System.IO.IOException occurs very often (after updating .zip) I use Owin in my plugin, but I think it exited correctly. Usually after 2nd restart or 3rd, plugin is updated correctly.
 
Last edited:
Do you have other app loading that dll? Maybe the dll can't be updated because it's taken by another process.
 
I use it in my second plugin deployed using this method:
https://www.3cx.com/call-center/crm-integration/

So the .dll is also copied in main directory, it shouldn't affect Owin.dll in directory \DotNetScripts (from this location it's not loaded into memory, it's copying to main directory)
 
Maybe you can create a script to update it, which completely kills 3CXPhone, and just then removes the files from the DotNetScripts folder, to finally launch 3CXPhone again.
 
Status
Not open for further replies.
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.