Hi,
found you via DrupalCon Prague Sticker.
I get this error after running cron for first time:

BackBeaver: cURL error 6: Could not resolve host: api1.backbeaver.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

I just installed the module, added api code on a fresh ubuntu machine in drupal 9.

Any ideas what i need to do to get it to work?

Thanks
Steven

Comments

stevenx created an issue. See original summary.

tamerzg’s picture

Hello, we are looking into this and will post update here.

tamerzg’s picture

Status: Active » Postponed (maintainer needs more info)

We couldn't reproduce the error.
Can you check if you have DNS setup properly on your server?

https://www.linuxshelltips.com/fix-curl-6-could-not-resolve-host-error-l...

stevenx’s picture

I gave this folder 777 permission:
/var/www/html/vendor/ankitpokhrel/tus-php/.cache/
backup was created now, but than i still get this error:

Notice: Undefined index: error in Drupal\backup_migrate_backbeaver\Destination\BackBeaverDestination->listFiles() (line 184 of modules/contrib/backup_migrate_backbeaver/src/Destination/BackBeaverDestination.php).
Drupal\backup_migrate_backbeaver\Destination\BackBeaverDestination->listFiles(1, 5, 'created', 'DESC') (Line: 243)
Drupal\backup_migrate_backbeaver\Destination\BackBeaverDestination->queryFiles(Array, 'datestamp', 4, 5) (Line: 119)
Drupal\backup_migrate\Controller\BackupController->listDestinationBackups(Object, 'backbeaver', 5) (Line: 41)
Drupal\backup_migrate\Controller\BackupController->listAll()
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
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: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

tamerzg’s picture

Status: Postponed (maintainer needs more info) » Fixed

This was just a PHP notice not an error

Notice: Undefined index: error

However we fixed it now in dev version, new tagged release will be published soon.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.