Problem/Motivation

When I update the 3.0-alpha 1 version tot beta1 I get an ajax error:
\Er is een AJAX HTTP fout opgetreden.
HTTP-resultaatcode: 500
Debug informatie volgt.
Pad: /batch?id=87&op=do_nojs&op=do
Statustekst: error
Antwoordtekst: Er is onverwacht een fout opgetreden. Probeer het later nog eens (There is an unexpeceted error, Try it again at a later moment)

Steps to reproduce

Update from alpha1 tot beta1 in a Drupal 8 (latest version) site

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

rschaft created an issue.

rschaft’s picture

I also get this error trying tot update in my drupal 9 sites (multiple sites D8 and D9, same error)

paulocs’s picture

@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?

drupaldope’s picture

I have the same problem trying to update from 3.0 alpha1 to beta1

dimKarp’s picture

I 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)

rschaft’s picture

Work around for D8 and D9 sites:
download zip file, upload by FTP and run update.php