Error updating with update-varbase.sh

Created on 8 April 2022, about 3 years ago
Updated 19 January 2023, over 2 years ago

Problem/Motivation

On the latest update, my site returns from update-varbase.sh with an undefined varbase version?

[TypeError]                                                                                                                  
  Return value of "vardot\Composer\Commands\VersionCheckComposerCommand::execute()" must be of the type int, "null" returned.  

and then

varbase-refactor-composer <file> <drupal-path>

There was an error while preparing composer.json for Varbase updates. Please check /var/www/salsablanca.com/.update-error-log for more information.
If you are running Varbase 8.x-4.x or 8.x-5.x version, make sure to update varbase-project using the update command: 

SQL Error

>  [error]  Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 5 database is locked: INSERT INTO "update_helper_checklist_update" ("id", "uuid", "successful_by_hook", "langcode", "created", "changed") VALUES (?, ?, ?, ?, ?, ?); Array
> (
>     [0] => varbase_core:varbase_security_update_90004
>     [1] => 90e5cf99-154e-4c2d-ba63-5fe1cfab213d
>     [2] => 1
>     [3] => en
>     [4] => 1649423160
>     [5] => 1649423160
> )

This site has been up for a few months, and it just started with the latest update.

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ❌ Automated unit/functional testing coverage
  • ❌ Developer Documentation support on feature change/addition
  • ❌ User Guide Documentation support on feature change/addition
  • ❌ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A
🐛 Bug report
Status

Closed: works as designed

Version

9.0

Component

Code

Created by

🇺🇸United States tresero

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024