• 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:

  • 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

Alibaba Cloud OSS Can not Setup

imnpc

Chevereto Member
▶🚶‍Reproduction steps
  1. Go to Dashboard > Settings > External storage > Add storage
  2. API > Alibaba Cloud OSS
😢Unexpected result

Setup is empty

📃Error log message
Fatal error: Uncaught Error: Class 'OSS\OSSClient' not found in /www/wwwroot/img.demo.com/app/lib/classes/class.storage.php:632 Stack trace:
#0 /www/wwwroot/img.demo.com/app/lib/classes/class.storage.php(154): CHV\Storage::requireAPI(Array)
#1 /www/wwwroot/img.demo.com/app/lib/classes/class.storage.php(423): CHV\Storage::uploadFiles(Array, Array)
#2 /www/wwwroot/img.demo.com/app/lib/classes/class.storage.php(495): CHV\Storage::test(Array)
#3 /www/wwwroot/img.demo.com/app/routes/route.json.php(814): CHV\Storage::insert(Array)
#4 /www/wwwroot/img.demo.com/lib/G/classes/class.handler.php(232): G\Handler->{closure}(Object(G\Handler))
#5 /www/wwwroot/img.demo.com/lib/G/classes/class.handler.php(132): G\Handler->processRequest()
#6 /www/wwwroot/img.demo.com/app/loader.php(792): G\Handler->__construct(Array)
#7 /www/wwwroot/img.demo.com/index.php(20): include_once('/www/wwwroot/im...')
#8 {main} thrown in /www/wwwroot/img.demo.com/app/lib/classes/class.storage.php on line 632

FIX:
/app/lib/classes/class.storage.php
Line 632 Change OSSClient to OssClient
Line 633 Change OSSException to OssException
 
I also encountered the same problem, thanks for the solution!
您是中国人吗?希望能有个联系方式QQ9695737可以互相讨论一下
 
Thank you, this patch will be included in the next revision.
 
Back
Top