mittwald / mittwald/cli

Cannot Copy to Container via mw-cli

Open
#1,811 1 comment 0 reactions 1 assignee View on GitHub

@gandie is already working on this.

Since May 8, 2026.

bug 🪟 windows
Dominant language
TypeScript
Stars
8
Forks
2
Avg merge
13h 26m
Merged PRs (30d)
35

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.