Active
Project:
Libraries API
Version:
8.x-3.0-beta1
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2021 at 10:23 UTC
Updated:
31 Oct 2021 at 11:31 UTC
Jump to comment: Most recent
Comments
Comment #2
rschaft commentedI also get this error trying tot update in my drupal 9 sites (multiple sites D8 and D9, same error)
Comment #3
paulocs@rschaft, the problem is that libraries was not compatible with drupal 9.
Can you please confirm you still have problems if you last dev branch?
Comment #4
drupaldope commentedI have the same problem trying to update from 3.0 alpha1 to beta1
Comment #5
dimKarp commentedI also have the same issue for D^8.8
I tried to update from 8.x-3.0-alpha6 to 8.x-3.0-beta1 and the error occurs. I tried also the 8.x-3.0-beta2 version and the erros remains.
Full log:
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /en/batch?id=535&op=do_nojs&op=do
StatusText: error
ResponseText: The website encountered an unexpected error. Please try again later.Drupal\Core\Extension\InfoParserException: Missing required keys (type) in temporary://update-extraction-d6add546/libraries/tests/example/example_info_file.libraries.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 57 of core/lib/Drupal/Core/Extension/InfoParserDynamic.php). Drupal\Core\Extension\InfoParser->parse('temporary://update-extraction-d6add546/libraries/tests/example/example_info_file.libraries.info.yml') (Line: 702)
update_verify_update_archive('libraries', 'temporary://update-cache-d6add546/libraries-8.x-3.0-beta2.tar.gz', 'temporary://update-extraction-d6add546')
call_user_func_array('update_verify_update_archive', Array) (Line: 403)
Drupal\Core\Extension\ModuleHandler->invokeAll('verify_update_archive', Array) (Line: 203)
update_manager_archive_verify('libraries', 'temporary://update-cache-d6add546/libraries-8.x-3.0-beta2.tar.gz', 'temporary://update-extraction-d6add546') (Line: 281)
update_manager_batch_project_get('libraries', 'https://ftp.drupal.org/files/projects/libraries-8.x-3.0-beta2.tar.gz', Array) (Line: 295)
_batch_process() (Line: 137)
_batch_do() (Line: 93)
_batch_page(Object) (Line: 55)
Drupal\system\Controller\BatchController->batchPage(Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 115)
Drupal\shield\ShieldMiddleware->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Comment #6
rschaft commentedWork around for D8 and D9 sites:
download zip file, upload by FTP and run update.php