Jump to content

Issue migrating from S3 to Local Storage


Recommended Posts

Hello,

We needed to recover our WHMCS installation and all is fine except it was set to use S3 for storage. The S3 location is no longer available and we need to move to local storage, but we cannot access the Storage page as it errors out as follows:

WHMCS\Exception\Storage\StorageConfigurationException: The Access Key field is required. The Access Secret field is required. The Bucket field is required. The Region field is required. in /var/www/html/vendor/whmcs/whmcs-foundation/lib/File/Provider/S3StorageProvider.php:0
Stack trace:
#0 /var/www/html/vendor/whmcs/whmcs-foundation/lib/File/Configuration/StorageConfiguration.php(0): WHMCS\File\Provider\S3StorageProvider->applyConfiguration()
#1 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Admin/Setup/Storage/StorageController.php(0): WHMCS\File\Configuration\StorageConfiguration->createStorageProvider()
#2 [internal function]: WHMCS\Admin\Setup\Storage\StorageController->index()
#3 /var/www/html/vendor/middlewares/utils/src/CallableHandler.php(26): call_user_func_array()
#4 /var/www/html/vendor/middlewares/fast-route/src/FastRoute.php(96): Middlewares\Utils\CallableHandler::execute()
#5 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/HandleProcessor.php(0): Middlewares\FastRoute->process()
#6 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\HandleProcessor->_process()
#7 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\HandleProcessor->process()
#8 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#9 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#10 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): Middlewares\Utils\Delegate->process()
#11 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Admin\ApplicationSupport\Route\Middleware\Assent->process()
#12 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#13 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#14 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): Middlewares\Utils\Delegate->process()
#15 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Security/Middleware/Authorization.php(0): WHMCS\Security\Middleware\Authorization->process()
#16 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/AbstractProxyMiddleware.php(0): WHMCS\Security\Middleware\Authorization->process()
#17 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\AbstractProxyMiddleware->_process()
#18 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\AbstractProxyMiddleware->process()
#19 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#20 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#21 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Admin/ApplicationSupport/Route/Middleware/AuthenticationConfirmation.php(0): Middlewares\Utils\Delegate->process()
#22 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/AbstractProxyMiddleware.php(0): WHMCS\Admin\ApplicationSupport\Route\Middleware\AuthenticationConfirmation->process()
#23 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\AbstractProxyMiddleware->_process()
#24 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\AbstractProxyMiddleware->process()
#25 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#26 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#27 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): Middlewares\Utils\Delegate->process()
#28 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Admin\ApplicationSupport\Route\Middleware\DirectoryValidation->process()
#29 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#30 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#31 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendPsr7Response.php(0): Middlewares\Utils\Delegate->process()
#32 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendPsr7Response.php(0): WHMCS\Route\Middleware\BackendPsr7Response->_process()
#33 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\BackendPsr7Response->process()
#34 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#35 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#36 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process()
#37 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendDispatch.php(0): Middlewares\Utils\Dispatcher->dispatch()
#38 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\BackendDispatch->_process()
#39 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\BackendDispatch->process()
#40 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#41 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#42 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutePathMatch.php(0): Middlewares\Utils\Delegate->process()
#43 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutePathMatch->_process()
#44 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutePathMatch->process()
#45 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#46 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#47 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/WhitelistFilter.php(0): Middlewares\Utils\Delegate->process()
#48 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): WHMCS\Route\Middleware\WhitelistFilter->_process()
#49 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\WhitelistFilter->process()
#50 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#51 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#52 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableClientModuleRequest.php(0): Middlewares\Utils\Delegate->process()
#53 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableClientModuleRequest->_process()
#54 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableClientModuleRequest->process()
#55 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#56 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#57 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableAdminRequestUri.php(0): Middlewares\Utils\Delegate->process()
#58 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableAdminRequestUri->_process()
#59 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableAdminRequestUri->process()
#60 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#61 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#62 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestUri.php(0): Middlewares\Utils\Delegate->process()
#63 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestUri->_process()
#64 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestUri->process()
#65 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#66 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#67 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestQueryUri.php(0): Middlewares\Utils\Delegate->process()
#68 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestQueryUri->_process()
#69 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestQueryUri->process()
#70 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#71 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#72 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process()
#73 /var/www/html/admin/index.php(0): Middlewares\Utils\Dispatcher->dispatch()
#74 {main}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated