An unexpected error has occurred. Please reload the page and try again - OJS3

Hello i have this problem.
OJS 3.3.0-6
please help me

[Tue Jun 29 14:06:12.851136 2021] [php7:notice] [pid 64468] [client 189.217.210.160:42756] Slim Application Error:\nType: League\Flysystem\Exception\nMessage: Impossible to create the root directory "/var/wwww/html/ojs-uploads". mkdir(): Permission denied\nFile: /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/league/flysystem/src/Adapter/Local.php\nLine: 112\nTrace: #0 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/league/flysystem/src/Adapter/Local.php(78): League\Flysystem\Adapter\Local->ensureDirectory()\n#1 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/services/PKPFileService.inc.php(46): League\Flysystem\Adapter\Local->__construct()\n#2 /var/www/html/restore/ojs-3.3.0-6/classes/services/OJSServiceProvider.inc.php(51): PKP\Services\PKPFileService->__construct()\n#3 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/pimple/pimple/src/Pimple/Container.php(118): APP\Services\OJSServiceProvider->APP\Services\{closure}()\n#4 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/core/PKPServices.inc.php(69): Pimple\Container->offsetGet()\n#5 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/core/PKPServices.inc.php(50): PKPServices->_getFromContainer()\n#6 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/services/PKPSubmissionFileService.inc.php(147): PKPServices::get()\n#7 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/services/PKPSubmissionFileService.inc.php(224): PKP\Services\PKPSubmissionFileService->getProperties()\n#8 /var/www/html/restore/ojs-3.3.0-6/classes/services/GalleyService.inc.php(154): PKP\Services\PKPSubmissionFileService->getFullProperties()\n#9 /var/www/html/restore/ojs-3.3.0-6/classes/services/GalleyService.inc.php(179): APP\Services\GalleyService->getProperties()\n#10 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/services/PKPPublicationService.inc.php(208): APP\Services\GalleyService->getSummaryProperties()\n#11 [internal function]: PKP\Services\PKPPublicationService->PKP\Services\{closure}()\n#12 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/services/PKPPublicationService.inc.php(210): array_map()\n#13 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/services/PKPPublicationService.inc.php(235): PKP\Services\PKPPublicationService->getProperties()\n#14 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/services/PKPSubmissionService.inc.php(204): PKP\Services\PKPPublicationService->getSummaryProperties()\n#15 [internal function]: PKP\Services\PKPSubmissionService->PKP\Services\{closure}()\n#16 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/services/PKPSubmissionService.inc.php(208): array_map()\n#17 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/services/PKPSubmissionService.inc.php(297): PKP\Services\PKPSubmissionService->getProperties()\n#18 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/api/v1/_submissions/PKPBackendSubmissionsHandler.inc.php(160): PKP\Services\PKPSubmissionService->getBackendListProperties()\n#19 [internal function]: PKPBackendSubmissionsHandler->getMany()\n#20 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func()\n#21 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke()\n#22 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke()\n#23 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack()\n#24 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/App.php(503): Slim\Route->run()\n#25 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/security/authorization/internal/ApiAuthorizationMiddleware.inc.php(77): Slim\App->__invoke()\n#26 [internal function]: ApiAuthorizationMiddleware->__invoke()\n#27 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()\n#28 [internal function]: Slim\DeferredCallable->__invoke()\n#29 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()\n#30 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/security/authorization/internal/ApiCsrfMiddleware.inc.php(46): Slim\App->Slim\{closure}()\n#31 [internal function]: ApiCsrfMiddleware->__invoke()\n#32 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()\n#33 [internal function]: Slim\DeferredCallable->__invoke()\n#34 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()\n#35 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/security/authorization/internal/ApiTokenDecodingMiddleware.inc.php(121): Slim\App->Slim\{closure}()\n#36 [internal function]: ApiTokenDecodingMiddleware->__invoke()\n#37 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()\n#38 [internal function]: Slim\DeferredCallable->__invoke()\n#39 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()\n#40 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/handler/APIHandler.inc.php(68): Slim\App->Slim\{closure}()\n#41 [internal function]: APIHandler->{closure}()\n#42 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()\n#43 [internal function]: Slim\DeferredCallable->__invoke()\n#44 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()\n#45 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/handler/APIHandler.inc.php(127): Slim\App->Slim\{closure}()\n#46 [internal function]: APIHandler->{closure}()\n#47 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()\n#48 [internal function]: Slim\DeferredCallable->__invoke()\n#49 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()\n#50 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/handler/APIHandler.inc.php(132): Slim\App->Slim\{closure}()\n#51 [internal function]: APIHandler->{closure}()\n#52 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()\n#53 [internal function]: Slim\DeferredCallable->__invoke()\n#54 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()\n#55 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}()\n#56 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack()\n#57 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/handler/APIHandler.inc.php(124): Slim\App->process()\n#58 [internal function]: APIHandler->{closure}()\n#59 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()\n#60 [internal function]: Slim\DeferredCallable->__invoke()\n#61 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()\n#62 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/classes/handler/APIHandler.inc.php(132): Slim\App->Slim\{closure}()\n#63 [internal function]: APIHandler->{closure}()\n#64 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()\n#65 [internal function]: Slim\DeferredCallable->__invoke()\n#66 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()\n#67 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}()\n#68 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack()\n#69 /var/www/html/restore/ojs-3.3.0-6/lib/pkp/lib/vendor/slim/slim/Slim/App.php(297): Slim\App->process()\n#70 /var/www/html/restore

Hi @dios98

the problem is at the top of your error log, and seems to be a permissions problem:

You may need to create this directory yourself and make sure the web server can write to it.

Cheers,
Jason

(Note that wwww may be a typo in the configuration file – it’s usually www.)