Ticket #3565 (closed defect: fixed)
Restoring configuration backup fails on a migrated server
| Reported by: | trym@… | Owned by: | cperez@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | backup |
| Severity: | normal | Keywords: | |
| Cc: |
Description
After migrating 2.0>2.2 _and_ running the fetchmail-fix script from ticked #3559, creating and restoring a configuration-backup fails with the following message:
Can't call method "attribute" on an undefined value
...after which the CA-certificate will be reset, and you have to make a new CA-certificate. Saving and restoring a new backup after this still does not work.
zentyal.log shows
ERROR> Backup.om:1165 EBox::Backup::__ANON__ - Error while restoring: Can't call method "attribute" on an undefined value
Attachments
Change History
comment:3 Changed 18 months ago by trym@…
Mail with a sanitized configuration backup sent to specified address.
comment:4 Changed 18 months ago by jamor@…
- Milestone set to 2.2.X
Thanks for your configuration backup Trym but I was unable to reproduce this; the restore went correctly.
Maybe it was correct because it is a installed server and not a migrated one. It is possible to have a backup of the server _before_ the migration?.
comment:6 Changed 18 months ago by trym@…
Sure. Sending two configuration backups to the same address as last time, one 2.0, which restores correctly on 2.0, and a 2.2 backup of the same migrated server which will not restore.
comment:7 Changed 18 months ago by trym@…
I've reproduced this bug on a fresh 2.2 install. I'm not exactly sure of the right sequence of events, but it involves setting the administration-interface to listen on a non-default port, enable ssl for a virtual domain, set zarafa to listen only to that virtual domain, enable ssl-certificates for some webserver. Zentyal 2.2 will then fail in the same manner.
So this is not a migration bug after all, but a pure 2.2 bug.
comment:8 Changed 17 months ago by jacalvo@…
- Status changed from new to closed
- Resolution set to fixed
We have fixed it and it will be available on the next version of zentyal-ca, but in the meanwhile you can just download this CA.pm file:
And copy it to /usr/share/perl5/EBox/CA.pm
Thanks for reporting it and let us know if you still have any issue after applying the patch.
Hello Trym,
unfortunately I need more data to diagnose the problem. In case you don't have confidential data, could you send me the backup to jamor@… ?