Skip to content

Cannot Copy to Container via mw-cli #1811

@gerrithartwig

Description

@gerrithartwig

Ich habe unter Windows API Token verbunden und kann auch das Port-Forwaring durchführen, um mir die SolR-Webmaske lokal im Browser zu öffnen.

Leider kann ich die Daten nicht kopieren: mw container cp -r --project-id p-xxxxx /tmp/ext-solr/Resources/Private/Solr/configsets/ext_solr_14_0_0/conf c-zj7ctc:/var/solr/data/typo3/

Fehler:
Copying files to container

✅ getting container connection info. done
✅ establishing SSH connection. done
🔁 copying files to container...
node:events:502
throw er; // Unhandled 'error' event

Error: spawn /usr/bin/scp ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn /usr/bin/scp',
path: '/usr/bin/scp',
spawnargs: [
'-o',
'GlobalKnownHostsFile=C:\Users\USER\AppData\Local\mw\known_hosts',
'-o',
'PasswordAuthentication=no',
'-r',
'/tmp/ext-solr/Resources/Private/Solr/configsets/ext_solr_14_0_0/conf',
'xxxx@xxxx@xxxx@ssh.fabbenstedt.project.host:/var/solr/data/typo3/'
]
}

Node.js v20.19.3

Metadata

Metadata

Assignees

Labels

bugSomething isn't working🪟 windowsFor Windows-specific issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions