Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to replace non-empty folder by moving folder with same name #14314

Open
LotMatThu opened this issue Mar 6, 2023 · 13 comments · May be fixed by #14397
Open

Unable to replace non-empty folder by moving folder with same name #14314

LotMatThu opened this issue Mar 6, 2023 · 13 comments · May be fixed by #14397
Assignees
Labels
bug sftp SFTP Protocol Implementation

Comments

@LotMatThu
Copy link

LotMatThu commented Mar 6, 2023

Ich habe versucht Dateien von einer alten Domain auf die Neue zu transferieren.
Es kommt immer die Fehlermeldung

Cannot delete FileXXX
Failure
Please contact your webhosting service provider for assistance.

Ich habe Cyberduck Version 8.5.6 (39394) laufend auf einem MAC mit OS Mohave 10.14.6

Haben denen das Problem geschildert. mit Bildkopien.
Das ist Ihre Antwort.

Guten Tag Herr Matter

Vielen Dank für die Zeitangabe. Wir haben das nun erneut geprüft, und wir sehen zwar, dass Cyberduck mit dem Kopieren und Verschieben beginnt, dann aber abbricht (anscheinend) und stattdessen einen Löschen-Befehl sendet - der ebenfalls abbricht. Für uns sieht das sehr nach einem Problem von Cyberduck selbst aus, vor allem da eben auch falsche Befehle gesendet werden (Löschen statt verschieben oder kopieren). Genau lässt sich das aber schwer feststellen auf unserer Seite.

Allenfalls schauen Sie doch mal, ob für Cyberduck ein Update auf eine höhere Version zur Verfügung steht. Ansonsten probieren Sie es doch eben ausnahmsweise mal mit FileZilla - damit wir im Ausschlussverfahren feststellen können, ob das Problem auch sicher von Cyberduck stammt oder eben nicht.

Bei weiteren Fragen stehen wir Ihnen natürlich gerne zur Verfügung.

Freundliche Grüsse

Larissa Thommen
1st Level Support

[hostpoint.ch]

@dkocher
Copy link
Contributor

dkocher commented Mar 7, 2023

Please include the log file. You can reach the logging output in Preferences → Connection.

@LotMatThu
Copy link
Author

Ich hoffe das klappt so
Habe den Fehler heute wieder gehabt.
Image
image

Das logfile ist zu gross 68.6 MB, weder hier noch als email zu verschicken.
Was soll ich tun??

@AliveDevil
Copy link
Contributor

Zippen, und dann hochladen. (Rechtsklick -> Komprimieren)

@LotMatThu
Copy link
Author

LotMatThu commented Mar 9, 2023 via email

@AliveDevil
Copy link
Contributor

Darf ich dich darum bitten, das Log File über die Web Oberfläche von Github hochzuladen? 🙏
Github und E-Mail Dateianhänge sind so eine Sache, die seit Jahren nicht funktioniert.

@LotMatThu
Copy link
Author

cyberduck.log.zip
Hoffe jetzt klappts

@dkocher
Copy link
Contributor

dkocher commented Mar 21, 2023

I cannot reproduce running against OpenSSH_7.4p1.

@dkocher
Copy link
Contributor

dkocher commented Mar 21, 2023

The host sl148.web.hostpoint.ch is running OpenSSH_9.1 FreeBSD-20221019.

@LotMatThu
Copy link
Author

What do you mean by all this. This does not help a lot. Do i have to change something??

@dkocher
Copy link
Contributor

dkocher commented Mar 21, 2023

The log output shows that the target folder /home/webmas34/www/test.istdp.ch/sites/default/files/downloadfiles already exists and because non-empty we fail to delete it prior moving downloadfiles there

2023-03-09 11:44:13,600 [Thread-242] DEBUG ch.cyberduck.core.CachingFindFeature - Found Path{path='/home/webmas34/www/test.istdp.ch/sites/default/files/downloadfiles', type=[directory]} in cache
2023-03-09 11:44:13,600 [Thread-242] DEBUG ch.cyberduck.core.CachingAttributesFinderFeature - Return cached attributes PathAttributes{accessed=1677878585000, size=-1, modified=1626716290000, created=-1, owner='263279', group='263279', permission=rwxr-xr-x (755), acl={}, checksum='null', etag='null', storageClass='null', encryption='none', versionId='null', fileId='null', lockId='null', duplicate=null, hidden=null, revision=null, region='null', metadata={}', custom={}'} for Path{path='/home/webmas34/www/test.istdp.ch/sites/default/files/downloadfiles', type=[directory]}
2023-03-09 11:44:13,600 [Thread-242] DEBUG ch.cyberduck.core.vault.registry.VaultRegistryMoveFeature - Move Path{path='/home/webmas34/www/org_istdp.ch/sites/default/files/downloadfiles', type=[directory]} to Path{path='/home/webmas34/www/test.istdp.ch/sites/default/files/downloadfiles', type=[directory]} inside vault ch.cyberduck.core.vault.DisabledVault@bc9612c
2023-03-09 11:44:13,600 [Thread-242] INFO  ch.cyberduck.transcript.request - 77 RMDIR

Please try to delete the target folder first prior attempting to move the folder with the same name.

@dkocher
Copy link
Contributor

dkocher commented Mar 21, 2023

This can be reproduced when attempting to replace a non-empty target folder by moving a folder with the same name.

@dkocher dkocher self-assigned this Mar 21, 2023
@dkocher dkocher changed the title Fehler beim Kopieren von Dateien auf dem Server von einem Verzeichniss ins Andere Unable to replace non-empty folder by moving folder with same name Mar 21, 2023
@dkocher dkocher added sftp SFTP Protocol Implementation bug and removed help wanted labels Mar 21, 2023
@dkocher dkocher linked a pull request Mar 21, 2023 that will close this issue
@LotMatThu
Copy link
Author

OK, but why does the system not ask to overwrite an existing folder.

@LotMatThu
Copy link
Author

It is exactly what i would like to achieve. to roll back to an older system and copy back some older items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug sftp SFTP Protocol Implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants