• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • 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

V4 cannot save b2 legacy configuration

Version
4.0.1
Website URL
https://pic.ke.fo
PHP version
8.1.1
Database driver
MariaDB
Database version
10.5.15
Web browser
Chrome

hlx98007

Chevereto Member
Save the legacy B2 configuration result to error

Code:
Chevere\Throwable\Exceptions\ErrorException thrown in /var/www/pic.ke.fo/app/vendor/obregonco/backblaze-b2/src/File.php:5

# Message [Code #1]
During inheritance of JsonSerializable: Uncaught Chevere\Throwable\Exceptions\ErrorException: Return type of obregonco\B2\File::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/pic.ke.fo/app/vendor/obregonco/backblaze-b2/src/File.php:112 Stack trace: #0 /var/www/pic.ke.fo/app/vendor/obregonco/backblaze-b2/src/File.php(5): Chevere\ThrowableHandler\errorAsException() #1 /var/www/pic.ke.fo/app/vendor/composer/ClassLoader.php(571): include('/var/www/pic.ke...') #2 /var/www/pic.ke.fo/app/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile() #3 /var/www/pic.ke.fo/app/vendor/obregonco/backblaze-b2/src/Client.php(651): Composer\Autoload\ClassLoader->loadClass() #4 /var/www/pic.ke.fo/app/vendor/obregonco/backblaze-b2/src/Client.php(248): obregonco\B2\Client->uploadStandardFile() #5 /var/www/pic.ke.fo/app/src/Legacy/Classes/Storage.php(257): obregonco\B2\Client->upload() #6 /var/www/pic.ke.fo/app/src/Legacy/Classes/Storage.php(474): Chevereto\Legacy\Classes\Storage::uploadFiles() #7 /var/www/pic.ke.fo/app/src/Legacy/Classes/Storage.php(573): Chevereto\Legacy\Classes\Storage::test() #8 /var/www/pic.ke.fo/app/legacy/routes/json.php(635): Chevereto\Legacy\Classes\Storage::update() #9 /var/www/pic.ke.fo/app/src/Legacy/G/Handler.php(227): Chevereto\Legacy\G\Handler->{closure}() #10 /var/www/pic.ke.fo/app/src/Legacy/G/Handler.php(151): Chevereto\Legacy\G\Handler->processRequest() #11 /var/www/pic.ke.fo/app/legacy/load/web.php(447): Chevereto\Legacy\G\Handler->__construct() #12 /var/www/pic.ke.fo/app/legacy/entrypoints/index.php(25): require_once('/var/www/pic.ke...') #13 /var/www/pic.ke.fo/index.php(12): require_once('/var/www/pic.ke...') #14 {main}

I am using the master application key from b2.
 
You should really look into creating a new bucket. It is easier than it seems.
You can use b2 copy api to copy all the files from your existing bucket to new s3 compatible bucket. I moved a bucket with 1million+ files few months ago.
 
Back
Top