Ticket #4367 (closed defect: worksforme)
Can't call method 'printableValueByName' on an undefined value
| Reported by: | admin@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | base |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by jamor@…) (diff)
Trying to restart HTTP Proxy from dashboard.
Error
Can't call method 'printableValueByName' on an undefined value
Trace
Can't call method 'printableValueByName' on an undefined value at /usr/share/perl5/EBox/Model/DataTable.pm line 577.
Attachments
Change History
Changed 12 months ago by anonymous
-
attachment
zentyal.log
added
comment:1 Changed 12 months ago by admin@…
Actually it seems that problem is arrived after zentyal has been updated. Now it won't start its web interface with same error
comment:2 Changed 12 months ago by jamor@…
- Status changed from new to closed
- Resolution set to wontfix
- Description modified (diff)
- Summary changed from Bug report from Zentyal Server to Can't call method 'printableValueByName' on an undefined value
Hello,
this seem to me a configuration backend corruption. Do you have any configuration backups?.
In the server they are stored at /var/lib/zentyal/conf/backups and can be restored in the shell using the program /usr/share/zentyal/restore-backup
Regards,
Javier
comment:3 Changed 12 months ago by jamor@…
Also check that you don't have broken packages ('apt-get -f install') if you do have reinstalling them properly can fix the error.
comment:4 Changed 12 months ago by admin@…
- Status changed from closed to reopened
- Resolution wontfix deleted
Unfortunately this could not fix my problem. I have this error almost in anything I'm trying to do. And restore-backup gives me the same: root@mail:/var/lib/zentyal/conf/backups# /usr/share/zentyal/restore-backup ./2012-02-18-141346.tar Can't call method "printableValueByName" on an undefined value at /usr/share/perl5/EBox/Model/DataTable.pm line 577.
I have no broken packages. What else could I try?
Thanks in advance, Andrey.
comment:5 Changed 12 months ago by jamor@…
We can purge some parts of the configuration backend and then configure it again.
For this you need to remove the module with purge mode, you can do it with this command: "dpkg -P zentyal-squid". Then reinstall it with "apt-get install zentyal-squid" and reconfigure
comment:6 Changed 12 months ago by admin@…
- Status changed from reopened to closed
- Resolution set to worksforme
That did the trick, thank you. Unfortunately, I could not use it in time because I should have brought server back online asap. So I decided to completely re-install it.
Here we have some bad thing - inconsistent state of just one package leads to breaking of entire server. Neither of services could run properly because zentyal service failed to start due to some errors in squid configuration. Not very reliable I suppose.
Anyway, thank you for your help. Andrey.
zentyal.log