Module Download and Install is not working

Failed to Download and Install the module from Repository.

Report from inspect is Failed to load resource: the server responded with a status of 500 (Internal Server Error).

What is this mean and how to solve the problem?

Regards,
AZA

Comments

  • edited November 25

    We will look into this at let you know. Is this happening on particular module or all ? Can you provide a bit more information on which step is this happening?

  • Hi evgeni,

    After fresh install, I directly go to Module (http://atl.dev/admin/modules).
    Then enter to Module Repository (http://atl.dev/admin/modules/repository).
    When click 'Download and Install' button then directed to http://atl.dev/admin/modules/download-install with page information : 'Whoops, looks like something went wrong.'
    In this page, I open the Chrome Inspect (CTRL+SHIFT+I), then I got the information: 'Failed to load resource: the server responded with a status of 500 (Internal Server Error)'.

    Regards,
    AZA

  • Hi,

    We tried few different scenarios and we can't replicate your issue. Can you please open your .env file ( in the root folder of the site ) and change this APP_DEBUG=false to "true" and then see what error it will show ? Also is this on all modules or only on specific one, if yes, which one?

  • Hi,

    The error message:

    ErrorException in Local.php line 256:
    unlink(D:\laragon\www\atl\resources/updater/1511820579.tmp): Resource temporarily unavailable

    in Local.php line 256
    at HandleExceptions->handleError('2', 'unlink(D:\laragon\www\atl\resources/updater/1511820579.tmp): Resource temporarily unavailable', 'D:\laragon\www\atl\vendor\league\flysystem\src\Adapter\Local.php', '256', array('path' => 'resources/updater/1511820579.tmp', 'location' => 'D:\laragon\www\atl\resources/updater/1511820579.tmp'))
    at unlink('D:\laragon\www\atl\resources/updater/1511820579.tmp') in Local.php line 256
    at Local->delete('resources/updater/1511820579.tmp') in Filesystem.php line 237
    at Filesystem->delete('resources/updater/1511820579.tmp') in FilesystemAdapter.php line 205
    at FilesystemAdapter->delete(array('resources/updater/1511820579.tmp')) in Updater.php line 86
    at Updater::downloadFile(object(Request)) in ModulesController.php line 382
    at ModulesController->postDownloadInstall(object(Request))
    at call_user_func_array(array(object(ModulesController), 'postDownloadInstall'), array(object(Request))) in Controller.php line 55
    at Controller->callAction('postDownloadInstall', array(object(Request))) in ControllerDispatcher.php line 44
    at ControllerDispatcher->dispatch(object(Route), object(ModulesController), 'postDownloadInstall') in Route.php line 189
    at Route->runController() in Route.php line 144
    at Route->run(object(Request)) in Router.php line 653
    at Router->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 53
    at Pipeline->Illuminate\Routing{closure}(object(Request)) in Permissions.php line 15
    at Permissions->handle(object(Request), object(Closure), 'modules', 'Atlantis\Models\Repositories\RoleUsersRepository', 'Atlantis\Models\Repositories\PermissionsRepository') in Pipeline.php line 137
    at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
    at Pipeline->Illuminate\Routing{closure}(object(Request)) in AdminAuth.php line 44
    at AdminAuth->authCheck(object(Request), object(Closure)) in AdminAuth.php line 31
    at AdminAuth->handle(object(Request), object(Closure)) in Pipeline.php line 137
    at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
    at Pipeline->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 104
    at Pipeline->then(object(Closure)) in Router.php line 655
    at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 629
    at Router->dispatchToRoute(object(Request)) in Router.php line 607
    at Router->dispatch(object(Request)) in Kernel.php line 268
    at Kernel->Illuminate\Foundation\Http{closure}(object(Request)) in Pipeline.php line 53
    at Pipeline->Illuminate\Routing{closure}(object(Request)) in Debugbar.php line 51
    at Debugbar->handle(object(Request), object(Closure)) in Pipeline.php line 137
    at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
    at Pipeline->Illuminate\Routing{closure}(object(Request)) in VerifyCsrfToken.php line 65
    at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 28
    at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
    at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
    at Pipeline->Illuminate\Routing{closure}(object(Request)) in ShareErrorsFromSession.php line 49
    at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
    at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
    at Pipeline->Illuminate\Routing{closure}(object(Request)) in StartSession.php line 64
    at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
    at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
    at Pipeline->Illuminate\Routing{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
    at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
    at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
    at Pipeline->Illuminate\Routing{closure}(object(Request)) in EncryptCookies.php line 59
    at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
    at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
    at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
    at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
    at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
    at Pipeline->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 104
    at Pipeline->then(object(Closure)) in Kernel.php line 150
    at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
    at Kernel->handle(object(Request)) in index.php line 52

    This happen in all modules repository from modules.atlantis-cms.com

    Regards,
    AZA

  • Hi AZA,

    Sorry for the delayed response. You can see from the log that
    "unlink(D:\laragon\www\atl\resources/updater/1511820579.tmp): Resource temporarily unavailable" your webserver can't for some reason gain permissions to delete the file or rather you have some other issues preventing the system from downloading the update files to begin with. I assure you the mechanism is working fine.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!