question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

file could not be copied to the server

See original GitHub issue

Bom dia! Encontrei o erro “file could not be copied to the server” ao tentar aplicação patch conectado ao novo appserver 20-02-21-P12_APPSERVER_BUILD-19.3.0.2_WINDOWS_X64. A build anterior (17.3.0.18_WINDOWS_X64) os pacote são aplicados sem problemas. Existe alguma nova configuração?

console - vscode (v: 1.42.1 - system setup)

[Info  - 12:08:52] Starting reconnection to the server: lg-log
[Log   - 00:00:00] Secure authenticating...
[Log   - 00:00:00] User authenticated successfully.
[Info  - 12:08:55] Reconnection to the server: lg-log finished.
[Info  - 12:09:11] Starting apply patch.
[Log   - 00:00:00] Starting build for environment UPDDISTR.
[Log   - 00:00:00] Applying patch file: c:/TOTVS/Microsiga/Protheus_Data/update/20-02-21-LIB_LABEL_14022020_P12_LOBO-TTTP120.PTM
[Error - 12:09:17] File could not be copied to the server.
[Log   - 00:00:00] Aborting end build (rollback changes).

appserver - console.log

2020-02-25T12:09:12.713000-03:00 17288|------0--c:\totvs\microsiga\protheus_data\update\20-02-21-lib_label_14022020_p12_lobo-tttp120.ptm

2020-02-25T12:09:12.717000-03:00 17288|
[WARN ][SERVER] [THROW][Thread  17288] tConnnErrorException (8:Communication error: Sync error) on D:\bamboo-agent-5.7.2\xml-data\build-dir\TP11-TECX17V3R1-TECXWIN64\lib_comm\msgmanager.cpp:719

2020-02-25T12:09:12.718000-03:00 17288|
[INFO ][SERVER] [[Thread  17288][25/02/2020 12:09:12] Debugger finished ( (user, server)

2020-02-25T12:09:17.650000-03:00 12356|[MPPORT] 200225_120917 3044 BPC2019 W x 05 ctx:009 expired timeout for closing of client connection seconds=5 o1r0R1s0S0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:60 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
fmercuriocommented, Sep 4, 2020

@fmercurio Poderia confirmar qual o SO em que o Appserver esta rodando?

@lwtnb-wrk, está rodando em Windows Server 2016.

1reaction
juniorcc01commented, Jul 13, 2020

@lwtnb-wrk fiz as configurações indicadas e funcionou. [Drivers] Active=TCP MultiProtocolPortSecure=0 MultiProtocolPort=0

Mas lembrem-se de alterar a flag “secure”: 0 no ‘servers.json’ deste AppServer

más e quanto a instrução da TOTVS? https://tdn.totvs.com/pages/viewpage.action?pageId=538506132

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't copy files from mapped drive to local directory
This article solves the Location is not available error when you try to copy files from a mapped drive. Applies to: Windows Server...
Read more >
Access Denied When Copying Files Windows 10/8/7 - EaseUS
Cannot copy folder and files because the access is denied! If you get the access denied error while copying files, try changing its...
Read more >
Fix - Unable to Copy and Paste to Remote Desktop Session
Select the “Client Settings” tab, and make sure the “Clipboard” box is unchecked. If you want to allow copying and pasting of files,...
Read more >
Unable to copy file to server on build. Access to path is denied
Access to the path '\my-web-server\wwwroot\bin\Index.dll' is denied. I assume it could be an issue with permissions, because my organization keeps things locked ...
Read more >
If you can't move or copy an item on Mac - Apple Support (IS)
If you can't move or copy an item on Mac · On your Mac, select the item, then choose File > Get Info,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found