Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.
Please keep in mind:
Support response
Support checklist
Show me the rows, please. I don't have access to your server, I can't guess the bugs. I need input.17206 rows, most are old. But few for delete from SFTP:
| 25407 | storage-delete | 2019-03-27 13:39:22 | {"key":"2019\/03\/27\/name_xxx.jpg","size":910653} | 5 | 0 | pending |
| 25408 | storage-delete | 2019-03-27 13:39:22 | {"key":"2019\/03\/27\/name_xxx.th.jpg","size":"11083"} | 5 | 0 | pending |
| 25409 | storage-delete | 2019-03-27 13:39:22 | {"key":"2019\/03\/27\/name_xxx.md.jpg","size":"45154"} | 5 | 0 | pending |
| 25410 | storage-delete | 2019-03-28 13:27:42 | {"key":"2019\/03\/28\/name_xyz.jpg","size":1099452} | 5 | 0 | pending |
| 25411 | storage-delete | 2019-03-28 13:27:42 | {"key":"2019\/03\/28\/name_xyz.th.jpg","size":"8314"} | 5 | 0 | pending |
| 25412 | storage-delete | 2019-03-28 13:27:42 | {"key":"2019\/03\/28\/name_xyz.md.jpg","size":"258393"} | 5 | 0 | pending |
Is there any progress in this issue? Same problem. External SFTP (OpenSSH) upload is OK, but files are not deleted. There are no errors anywhere, the queue table is empty.I've just enabled SFTP external storage, and upload is working.
Problem:
After deleting images from admin portal with Success, they are still remaining on remote storage.
How can I debug this?
public function deleteMultiple(array $files=[])
{
$this->checkResource();
if (count($files) == 0) {
throw new SftpException("Missing or invalid array argument in " . __METHOD__, 200);
}
foreach ($files as $f) $this->sftp->delete($f, false);
return $files;
}
Let me know if this works. If does, I can add the command + the instructions used here.Try to open app/lib/classes/class.sftp.php and change function deleteMultiple() to this:
PHP:public function deleteMultiple(array $files=[]) { $this->checkResource(); if (count($files) == 0) { throw new SftpException("Missing or invalid array argument in " . __METHOD__, 200); } foreach ($files as $f) $this->sftp->delete($f, false); return $files; }
Unfortunately I forgot to update the alleged code. You should update to this https://chevereto.com/community/thr...d-from-sftp-external-storage.11093/post-60946And everything was fine until the 3.15 update came out ((
После обновления до 3.18 даже указанное выше редактирование кода не помогает ((deleteMultiple