what-digital / divio

A project for tracking divio.com deployment issues
0 stars 0 forks source link

On Azure database transfer through control panel doesn't work, only divio-cli works #19

Open viktor-yunenko opened 4 years ago

viktor-yunenko commented 4 years ago

error message in deploy log after failed deployment that includes db migration:

Traceback (most recent call last):
  File "/app/src/deploy/tasks.py", line 143, in async_deploy_bundle
    migrate=migrate,
  File "/app/src/control/models.py", line 927, in deploy
    migrate=migrate,
  File "/app/src/deploy/base.py", line 174, in deploy
    src_env=copy_from, dst_env=self.environment
  File "/app/src/divio/services/applications/backing_services/utils.py", line 207, in copy_environment_services_data
    copy_services_data(matches)
  File "/app/src/divio/services/applications/backing_services/utils.py", line 102, in copy_services_data
    raise ServicesDataCopyFailure(copied, errors)
divio.services.applications.backing_services.utils.ServicesDataCopyFailure: ([(<ServiceInstance: ubs-ddj / PostgreSQL database (CH (Azure CH North)) (DEFAULT)>, <ServiceInstance: ubs-ddj / PostgreSQL database (CH (Azure CH North)) (DEFAULT)>)], [(<ServiceInstance: ubs-ddj / Object storage (CH (Azure CH North)) (DEFAULT)>, <ServiceInstance: ubs-ddj / Object storage (CH (Azure CH North)) (DEFAULT)>, RuntimeError('Backup restore failed. Error #None',))])

pushing with divio project push db works though