I have the similar issue on
drush updb
Please configure the drupal prometheusio_bin cache bin to use either - cache.backend.permanent_database - cache.backend.permanent_redis - cache.backend.permanent_memcache
Could you please dump the value of get_class($cacheBackend) here in the constructor and report back? (there might be other modules that are incompatible with this one)
It seems that during drush updb
$cacheBackend
is instance of\Drupal\Core\Update\UpdateBackend
which wraps\Drupal\pcb\Cache\PermanentDatabaseBackend
- Issue was unassigned.
- Status changed to Needs work
almost 2 years ago 7:56pm 1 March 2023 Here is the patch to fast fix. Not sure if this is the best solution, it just prevent throwing the exception on any
NullBackend
in\Drupal\prometheusio_exporter\Prometheus\Storage\DrupalCache::__construct()
-
Eugene Bocharov →
authored f8e54476 on 2.x
Issue #3254698 by Eugene Bocharov: RuntimeException "Please configure...
-
Eugene Bocharov →
authored f8e54476 on 2.x
- Status changed to Fixed
over 1 year ago 2:34pm 8 June 2023 - 🇪🇸Spain grota
Thank you @eugene-bocharov, it's taken me a while but I finally managed to include your patch: I went with the more conservative check agains UpdateBackend, but I gave you credits in the commit.
-
Eugene Bocharov →
authored fd202afe on 8.x-1.x
Issue #3254698 by Eugene Bocharov: RuntimeException "Please configure...
-
Eugene Bocharov →
authored fd202afe on 8.x-1.x
Automatically closed - issue fixed for 2 weeks with no activity.