PHPStorm 2019.2 - After Commit / Upload Files to "Local or mounted folder" not working anymore
I updated to PHPStorm 2019.2 today and the After Commit / Upload Files to "Local or mounted folder" function is not working anymore.
I get the message "No Files or folders found to process". Debug Log is added below.
When i right click the file (or files) and use "Deployment/Upload to" the upload is working without problems. I already tried invalidating the caches and restarting everything. Normally this fixes most of the problems.
Any suggestions what I could do to fix this?
Thansk for help!
2019-07-29 09:57:05,960 [1054887] INFO - ea.config.GitExecutableManager - Git version for C:\Program Files\Git\cmd\git.exe : 2.14.1
2019-07-29 09:59:40,188 [1209115] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 234 ms
2019-07-29 10:00:08,890 [1237817] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: #com.jetbrains.plugins.webDeployment
2019-07-29 10:00:15,235 [1244162] INFO - .script.IdeScriptEngineManager - javax.script.ScriptEngineManager initialized in 319 ms
2019-07-29 10:00:24,113 [1253040] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: #com.jetbrains.plugins.webDeployment
2019-07-29 10:00:25,230 [1254157] DEBUG - eployment.config.PublishConfig - Failed to find server with id 83d2aca2-b6fe-48b1-9238-e62fa28f221f
2019-07-29 10:00:29,698 [1258625] INFO - a.svn.checkin.CmdCheckinClient - Can not parse output: Committing transaction...
2019-07-29 10:00:30,146 [1259073] DEBUG - eployment.config.PublishConfig - Failed to find server with id 83d2aca2-b6fe-48b1-9238-e62fa28f221f
2019-07-29 10:00:30,279 [1259206] DEBUG - t.connections.RemoteConnection - Opening connection to file:///W://xampp in @4805a914
2019-07-29 10:00:30,387 [1259314] DEBUG - t.connections.RemoteConnection - Added connection to pool offile:///W://xampp in @4805a914; 1 connections exists
2019-07-29 10:00:30,387 [1259314] DEBUG - t.connections.RemoteConnection - Releasing one of the connections to file:///W://xampp in @4805a914; connections left 0
2019-07-29 10:00:33,401 [1262328] INFO - ommitted.CommittedChangesCache - FINISHED CommittedChangesCache.getProjectChangesAsync - execution in queue
2019-07-29 10:00:48,019 [1276946] INFO - ide.actions.ShowFilePathAction -
Exit code 1
2019-07-29 10:00:49,866 [1278793] DEBUG - eployment.config.PublishConfig - Failed to find server with id 83d2aca2-b6fe-48b1-9238-e62fa28f221f
2019-07-29 10:00:49,872 [1278799] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 158 ms
请先登录再写评论。
I have the same issue, for now I'm using automatic upload to default server On explicit save action CMD-S (from Preferences/Deployment/Options), but it's really annoying :(
Same here, updated today to the version 2019.2 and getting "No files or folders found to process" error. Test connection button at deployment setting gives me "Successfully connected to ...".
Hi there,
Seems related: https://youtrack.jetbrains.com/issue/WI-47590
Hi,
Same here. Had to collect all files manually after commit. Uploading the files via Upload to... worked. I've no solution yet.
Same here,
I have to do manually :/
Hope that there will be a fix soon ^^
As described in the linked post from @Andriy Bazanov, rolling back to v2019.1.3 is working. This can be done easlily using "Toolbox". You can select to install an older version there.
Same issue here after upgrade to 2019.2
2019-07-29 10:00:30,146 [1259073] DEBUG - eployment.config.PublishConfig - Failed to find server with id 83d2aca2-b6fe-48b1-9238-e62fa28f221f
2019-07-29 10:00:30,279 [1259206] DEBUG - t.connections.RemoteConnection - Opening connection to file:///W://xampp in @4805a914
2019-07-29 10:00:30,387 [1259314] DEBUG - t.connections.RemoteConnection - Added connection to pool offile:///W://xampp in @4805a914; 1 connections exists
2019-07-29 10:00:30,387 [1259314] DEBUG - t.connections.RemoteConnection - Releasing one of the connections to file:///W://xampp in @4805a914; connections left 0
2019-07-29 10:00:33,401 [1262328] INFO - ommitted.CommittedChangesCache - FINISHED CommittedChangesCache.getProjectChangesAsync - execution in queue
2019-07-29 10:00:48,019 [1276946] INFO - ide.actions.ShowFilePathAction -
Exit code 1
2019-07-29 10:00:49,866 [1278793] DEBUG - eployment.config.PublishConfig - Failed to find server with id 83d2aca2-b6fe-48b1-9238-e62fa28f221f
Have you tried deleting the server from the Remote Host section and re-adding and reassociating it with the project?
I see this line :
2019-07-29 10:00:30,146 [1259073] DEBUG - eployment.config.PublishConfig - Failed to find server with id 83d2aca2-b6fe-48b1-9238-e62fa28f221f
2019-07-29 10:00:49,866 [1278793] DEBUG - eployment.config.PublishConfig - Failed to find server with id 83d2aca2-b6fe-48b1-9238-e62fa28f221f
sounds like removing and readding the server, could potentially rebuild this broken part of the configuration?
But I am not an expert in phpstorm and that is just my 2 cents based off what I have observed in your error logs.
I had the same error "No Files or folders found to process" when I wanted to upload files automatically after commit.
D Mayrhofer above wrote that installing older version 2019.1.3 should fix the problem.
For me installing new early version "EAP 2019.2.1" through Jetbrains Toolbox fixed the problem. But be sure that you start this EAP version also through Toolbox after Installing and not through usual icon on your desktop, because in this case this EAP 2019.2.1 version does not overwrite the 2019.2 version but it will be created as standalone EAP PHPstorm.
But EAP version could be unstable and also could not find my git.exe (which is easily solvable problem) so maybe installing older version is "safer" solution.
SAME problem here after updating to 2020.1 on Friday.
Also verified the same issue still exists in 2020.1.1 Preview.
Please help!
EDIT:
I was successfully able to connect and download from a different server, so the issue is clearly on my end. I have tried deleting and recreating the SFTP Web Server and SSH Configuration with no success.
Here is what happens in my error log when I attempt Deployment->Download from My Server:
2020-04-28 05:51:33,180 [39107460] WARN - .AbstractProgressIndicatorBase - This progress indicator is indeterminate, this may lead to visual inconsistency. Please call setIndeterminate(false) before you start progress.
com.intellij.openapi.project.impl.ProjectImpl.setProgressDuringInit(ProjectImpl.java:286)
2020-04-28 05:51:33,182 [39107462] DEBUG - t.connections.RemoteConnection - Opening connection to sftp://appserver.sergio-dev.7152dab0-d7eb-4d4e-9651-f33f85d5e437.drush.in:2222/ in @2e77929a
2020-04-28 05:51:33,183 [39107463] DEBUG - ntellij.ssh.impl.SshConnection - Failed to create SSH channel using existing SSH sessions, creating new SSH session
2020-04-28 05:51:33,183 [39107463] DEBUG - ntellij.ssh.impl.SshConnection - Establishing new SSH session to sergio-dev.7152dab0-d7eb-4d4e-9651-f33f85d5e437@appserver.sergio-dev.7152dab0-d7eb-4d4e-9651-f33f85d5e437.drush.in:2222
2020-04-28 05:51:33,194 [39107474] INFO - port.random.BouncyCastleRandom - Generating random seed from SecureRandom.
2020-04-28 05:51:33,458 [39107738] INFO - z.sshj.transport.TransportImpl - Client identity string: SSH-2.0-SSHJ_0.27.0
2020-04-28 05:51:33,483 [39107763] INFO - z.sshj.transport.TransportImpl - Server identity string: SSH-2.0-Pantheon-SSH
2020-04-28 05:51:35,439 [39109719] INFO - om.intellij.ssh.impl.sshj.sshj - Authentication log: SSH connection to sergio-dev.7152dab0-d7eb-4d4e-9651-f33f85d5e437@appserver.sergio-dev.7152dab0-d7eb-4d4e-9651-f33f85d5e437.drush.in:2222
* With preferred authentications: publickey,keyboard-interactive,password
* With signature factories: ssh-rsa, ssh-dss, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-ed25519
* With keep alive interval 300 seconds
* With keep alive count max 1000
* With OpenSSH-like host key verifier (knownHostsFile=[C:\Users\Sergio\.ssh\known_hosts], strictHostKeyChecking=ASK, hashKnownHosts=false)
* With predefined password
* With authentications allowed by the client: password, keyboard-interactive
* With connect timeout 10000 milliseconds
* Connected
=> none (failure, new auth methods allowed by the server: password, publickey)
=> password (success)
2020-04-28 05:51:35,439 [39109719] DEBUG - ntellij.ssh.impl.SshConnection - SSH session @643f03cc established to sergio-dev.7152dab0-d7eb-4d4e-9651-f33f85d5e437@appserver.sergio-dev.7152dab0-d7eb-4d4e-9651-f33f85d5e437.drush.in:2222
2020-04-28 05:51:35,439 [39109719] DEBUG - ellij.ssh.SshConnectionService - Creating sftp channel within SshjSshConnection(<crc32=1m9aysu>@<crc32=13i023u>)@643f03cc
2020-04-28 05:51:35,465 [39109745] INFO - .channel.direct.SessionChannel - Will request `sftp` subsystem
2020-04-28 05:51:35,530 [39109810] DEBUG - om.intellij.ssh.impl.sshj.sshj - Called sftp.lstat(/srv/bindings/f8ccda18c21d48e5bb6e57c079c04d44/) in 21.24 ms (ok)
2020-04-28 05:51:35,530 [39109810] DEBUG - om.intellij.ssh.impl.sshj.sshj - Fetched and cached permissions of /srv/bindings/f8ccda18c21d48e5bb6e57c079c04d44/: [size=4096;uid=11421,gid=1031;mode=[mask=40750];atime=1584869281,mtime=1588045748;]
2020-04-28 05:51:35,619 [39109899] DEBUG - om.intellij.ssh.impl.sshj.sshj - Called SshjRemoteFileObject@7b0024f7(path /srv/bindings/f8ccda18c21d48e5bb6e57c079c04d44/, owned by Channel@89646ba id 0, remote id 0 for SshjSshConnection(<crc32=1m9aysu>@<crc32=13i023u>)@643f03cc).sftp.ls() in 89.48 ms (ok)
2020-04-28 05:51:35,620 [39109900] DEBUG - om.intellij.ssh.impl.sshj.sshj - list() results:
.bash_logout [size=18;uid=11421,gid=11421;mode=[mask=100644];atime=1584830076,mtime=1452510153;]
php.ini [size=3191;uid=0,gid=11421;mode=[mask=100644];atime=1584869430,mtime=1584869430;]
.mozilla [size=4096;uid=11421,gid=11421;mode=[mask=40755];atime=1584809182,mtime=1528928144;]
stunnel [size=4096;uid=0,gid=11421;mode=[mask=40750];atime=1584869282,mtime=1584869282;]
php [size=20;uid=0,gid=0;mode=[mask=120777];atime=1584869430,mtime=1584869430;]
lock [size=4096;uid=0,gid=11421;mode=[mask=40770];atime=1584869281,mtime=1584869281;]
chef.stamp [size=42;uid=0,gid=0;mode=[mask=100644];atime=1588045748,mtime=1588045748;]
.zshrc [size=658;uid=11421,gid=11421;mode=[mask=100644];atime=1584830050,mtime=1451046353;]
.pantheonssh_login [size=0;uid=0,gid=0;mode=[mask=100640];atime=1585003900,mtime=1588071083;]
.bashrc [size=546;uid=0,gid=0;mode=[mask=100644];atime=1584869430,mtime=1584869430;]
htpasswd [size=15;uid=0,gid=11421;mode=[mask=100640];atime=1584869430,mtime=1584869430;]
certs [size=4096;uid=0,gid=11421;mode=[mask=40750];atime=1584869281,mtime=1584869282;]
run [size=4096;uid=0,gid=11421;mode=[mask=40770];atime=1584869282,mtime=1588011784;]
.pki [size=4096;uid=11421,gid=11421;mode=[mask=40740];atime=1584869695,mtime=1584869695;]
bin [size=4096;uid=0,gid=11421;mode=[mask=40750];atime=1584869282,mtime=1584869430;]
cache [size=4096;uid=0,gid=11421;mode=[mask=40770];atime=1584869428,mtime=1584871628;]
fusedav.conf [size=571;uid=0,gid=0;mode=[mask=100644];atime=1584869428,mtime=1584869428;]
php-fpm.conf [size=1171;uid=0,gid=11421;mode=[mask=100644];atime=1584869430,mtime=1584869430;]
.php-version [size=16;uid=0,gid=0;mode=[mask=100644];atime=1584869430,mtime=1584869430;]
.fusedav-memory-remount [size=0;uid=0,gid=0;mode=[mask=100644];atime=1588011784,mtime=1588011784;]
tmp [size=4096;uid=0,gid=11421;mode=[mask=40770];atime=1584869281,mtime=1588045748;]
mime.types [size=6174;uid=0,gid=11421;mode=[mask=100644];atime=1585136954,mtime=1585136954;]
sites [size=4096;uid=11421,gid=11421;mode=[mask=40755];atime=1586872773,mtime=1586872773;]
nginx.conf [size=19417;uid=0,gid=11421;mode=[mask=100644];atime=1584869430,mtime=1584869430;]
files [size=4096;uid=11421,gid=1051;mode=[mask=40770];atime=1588071083,mtime=1588071083;]
.drush [size=4096;uid=0,gid=11421;mode=[mask=40770];atime=1584869430,mtime=1584873578;]
logs [size=4096;uid=11421,gid=1051;mode=[mask=40750];atime=1584869281,mtime=1588022784;]
.env [size=1256;uid=0,gid=11421;mode=[mask=100644];atime=1587607700,mtime=1587607700;]
metadata.json [size=63259;uid=0,gid=0;mode=[mask=100600];atime=1588045748,mtime=1588045748;]
code [size=4096;uid=11421,gid=11421;mode=[mask=40755];atime=1584869349,mtime=1587557309;]
includes [size=4096;uid=0,gid=11421;mode=[mask=40750];atime=1584869282,mtime=1587607700;]
.bash_profile [size=193;uid=11421,gid=11421;mode=[mask=100644];atime=1584830076,mtime=1452510153;]
2020-04-28 05:51:35,644 [39109924] DEBUG - om.intellij.ssh.impl.sshj.sshj - Called SshjRemoteFileObject@22a2698b(path /srv/bindings/f8ccda18c21d48e5bb6e57c079c04d44//php, owned by Channel@89646ba id 0, remote id 0 for SshjSshConnection(<crc32=1m9aysu>@<crc32=13i023u>)@643f03cc).sftp.canonicalize() in 23.80 ms (ok)
2020-04-28 05:51:35,644 [39109924] DEBUG - om.intellij.ssh.impl.sshj.sshj - Canonical path of /srv/bindings/f8ccda18c21d48e5bb6e57c079c04d44//php is /opt/pantheon/php5.6
2020-04-28 05:51:35,665 [39109945] DEBUG - om.intellij.ssh.impl.sshj.sshj - Called sftp.lstat(/opt/pantheon/php5.6) in 21.01 ms (ok)
2020-04-28 05:51:35,665 [39109945] DEBUG - om.intellij.ssh.impl.sshj.sshj - Fetched and cached permissions of /opt/pantheon/php5.6: [size=4096;uid=0,gid=0;mode=[mask=40755];atime=1587075416,mtime=1569529709;]
2020-04-28 05:51:35,667 [39109947] DEBUG - t.connections.RemoteConnection - Added connection to pool ofsftp://appserver.sergio-dev.7152dab0-d7eb-4d4e-9651-f33f85d5e437.drush.in:2222/ in @2e77929a; 1 connections exists
2020-04-28 05:51:35,699 [39109979] DEBUG - om.intellij.ssh.impl.sshj.sshj - Called sftp.lstat(/srv/bindings/f8ccda18c21d48e5bb6e57c079c04d44/code/sites/all/modules/custom/basic_module/basic_module_grid/css) in 20.83 ms (ok)
2020-04-28 05:51:35,699 [39109979] DEBUG - om.intellij.ssh.impl.sshj.sshj - Fetched and cached permissions of /srv/bindings/f8ccda18c21d48e5bb6e57c079c04d44/code/sites/all/modules/custom/basic_module/basic_module_grid/css: [size=4096;uid=11421,gid=11421;mode=[mask=40755];atime=1587659114,mtime=1587659114;]
2020-04-28 05:51:35,720 [39110000] DEBUG - om.intellij.ssh.impl.sshj.sshj - Called sftp.lstat(/srv/bindings/f8ccda18c21d48e5bb6e57c079c04d44/code/sites/all/modules/custom/basic_module/basic_module_grid) in 20.18 ms (ok)
2020-04-28 05:51:35,720 [39110000] DEBUG - om.intellij.ssh.impl.sshj.sshj - Fetched and cached permissions of /srv/bindings/f8ccda18c21d48e5bb6e57c079c04d44/code/sites/all/modules/custom/basic_module/basic_module_grid: [size=4096;uid=11421,gid=11421;mode=[mask=40755];atime=1587659114,mtime=1587659115;]
2020-04-28 05:51:35,807 [39110087] DEBUG - om.intellij.ssh.impl.sshj.sshj - Called SshjRemoteFileObject@18be8663(path /srv/bindings/f8ccda18c21d48e5bb6e57c079c04d44/code/sites/all/modules/custom/basic_module/basic_module_grid/css, owned by Channel@89646ba id 0, remote id 0 for SshjSshConnection(<crc32=1m9aysu>@<crc32=13i023u>)@643f03cc).sftp.ls() in 84.62 ms (ok)
2020-04-28 05:51:35,807 [39110087] DEBUG - om.intellij.ssh.impl.sshj.sshj - list() results:
basic_module_grid.css [size=31673;uid=11421,gid=11421;mode=[mask=100644];atime=1587678843,mtime=1588018127;]
2020-04-28 05:51:35,809 [39110089] DEBUG - t.connections.RemoteConnection - Releasing one of the connections to sftp://appserver.sergio-dev.7152dab0-d7eb-4d4e-9651-f33f85d5e437.drush.in:2222/ in @2e77929a; connections left 0
2020-04-28 05:51:35,832 [39110112] WARN - ion.impl.NotificationCollector - Notification group 'Project generator' is already registered in whitelist
2020-04-28 05:51:35,832 [39110112] WARN - ion.impl.NotificationCollector - Notification group 'System Messages' is already registered in whitelist
2020-04-28 05:51:38,424 [39112704] INFO - rationStore.ComponentStoreImpl - Saving Project (name=BitBucket - All Remotes, containerState=ACTIVE, componentStore=C:\Users\Sergio\Projects SSD\BitBucket - All Remotes) RunManager took 31 ms
Thanks!
@Sergio: I had the Problem with Version 2019.2, 2020.1 is working fine.
Did you try removing and adding the Server again?
Hi @..., thanks for the reply! Please see my new EDIT. Thanks!