• Welcome to the Chevereto user community!

    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:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

cron does not remove the image!

Status
Not open for further replies.

yangzhili66

Chevereto Member
*️⃣ Must open one ticket per issue. If you are experiencing multiple issues don't hesitate to create multiple tickets for each issue.

▶ Reproduction steps
  1. Update 4.02 X to 4.0.3
  2. Delete any picture
  3. cron errors,backblaze not remove the image
😢 Unexpected result



📃 Error log message


  • Job: cleanUnconfirmedUsers
  • Job: checkForUpdates
[!] Skipping updates check
* Job: storageDelete
TypeError thrown in /www/wwwroot/www.picgo.net/app/vendor/chevereto/backblaze-b2-legacy/src/Client.php:582

# Message
obregonco\B2\Client::deleteFile(): Argument #1 ($file) must be of type obregonco\B2\File, array given, called in /www/wwwroot/www.picgo.net/app/src/Legacy/Classes/Queue.php on line 168

# Incident ID:6374a8adc67aa

# Time
2022-11-16T09:09:01+00:00 [1668589741]

# Stack trace
------------------------------------------------------------
#0 /www/wwwroot/www.picgo.net/app/vendor/chevereto/backblaze-b2-legacy/src/Client.php:582
{main}()
------------------------------------------------------------
#1 /www/wwwroot/www.picgo.net/app/src/Legacy/Classes/Queue.php:168
obregonco\B2\Client->deleteFile()
------------------------------------------------------------
#2 /www/wwwroot/www.picgo.net/app/legacy/commands/cron.php:71
Chevereto\Legacy\Classes\Queue:😛rocess()
------------------------------------------------------------
#3 /www/wwwroot/www.picgo.net/app/legacy/commands/cron.php:50
storageDelete()
------------------------------------------------------------
#4 /www/wwwroot/www.picgo.net/app/legacy/entrypoints/cli.php:53
require_once(string(length=55))
------------------------------------------------------------
#5 /www/wwwroot/www.picgo.net/app/bin/legacy:13
require_once(string(length=57))
------------------------------------------------------------



1668590122334.png
 
Last edited:
The B2 Legacy API has been deprecated by B2, problem is that nobody is able to retrieve a new legacy API key to work with, it takes some time to work on these issues.

I will try contact them.

P.S. I strongly suggest to every B2 legacy user to migrate to their S3 compatible offering, otherwise you will be constantly exposed to bugs like this.
 
Status
Not open for further replies.
Back
Top