Author Topic: [RESOLVED] Possible Bug in DHCP Module  (Read 3324 times)

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
[RESOLVED] Possible Bug in DHCP Module
« on: October 28, 2010, 09:11:28 am »
When i access the advanced options in DHCP module, i get
Code: [Select]
An internal error related to a template has occurred. This is a bug, relevant information can be found in the logs.In /var/log/ebox/ebox.log i get:
Code: [Select]
2010/10/28 09:07:12 ERROR> ClientRawBase.pm:211 EBox::CGI::ClientRawBase::__ANON__ - Can't call method "id" on an undefined value at /usr/share/perl5/EBox/Types/File.pm line 336, <GEN1> line 25268.

Stack:
  [/usr/share/perl5/EBox/Types/File.pm:336]
  [/usr/share/ebox/templates/ajax/viewer/file.mas:22]
  [/usr/share/ebox/templates/ajax/setter/file.mas:34]
  [/usr/share/ebox/templates/ajax/modelViewer.mas:263]
  [/usr/share/ebox/templates/ajax/modelViewer.mas:198]
  [/usr/share/ebox/templates/ajax/form.mas:78]
  [/usr/share/ebox/templates/ajax/modelViewer.mas:151]
  [/usr/share/ebox/templates/ajax/modelViewer.mas:69]
  [/usr/share/ebox/templates/ajax/form.mas:20]
  [(eval 2336):181]
Some days ago, this was working. ¿Ma be a bad update?
« Last Edit: March 15, 2011, 01:14:28 pm by acon »

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Possible Bug in DHCP Module
« Reply #1 on: October 28, 2010, 09:30:43 am »
Hi there,

Have you try to restart Apache daemon by running /etc/init.d/ebox apache restart?

It seems like you lost some keys in the backend.

Best,
My secret is my silence...

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: Possible Bug in DHCP Module
« Reply #2 on: October 28, 2010, 11:12:55 am »
Just tested it now. Same result.
« Last Edit: November 09, 2010, 08:21:51 am by acon »

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: Possible Bug in DHCP Module
« Reply #3 on: November 09, 2010, 08:20:38 am »
Still getting the DHCP advanced tab error.
I have updated all my modules. DHCP is version 2.0.1
I have restarted my server several times now and problem persist.
What can i do?

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: Possible Bug in DHCP Module
« Reply #4 on: November 12, 2010, 07:50:44 am »
Can zentyal staff help me to track this error?

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: Possible Bug in DHCP Module
« Reply #5 on: December 11, 2010, 08:33:46 pm »
I was hoping the problem get solved by next DHCP module update, but after updating to DHCP 2.0.2, same error persist in advanced DHCP server tab.

Can someone point me in the right direction to resolve this?

Josep

  • Zen Samurai
  • ****
  • Posts: 255
  • Karma: +6/-0
    • View Profile
Re: Possible Bug in DHCP Module
« Reply #6 on: December 11, 2010, 08:40:54 pm »
Have you tried removing the DHCP module entirely (purging any relevant packages and files)?
Then you could reinstall it and see if there is any error during installation.
Also, if you believe that this is truly an error, you could open a ticket rather than posting it on a forum.
Tickets are more specific and formal and help in the debugging of the product.
« Last Edit: December 11, 2010, 08:42:48 pm by josep »

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: Possible Bug in DHCP Module
« Reply #7 on: December 12, 2010, 01:37:53 pm »
I am realy scared about removing and reinstaling module.
Last time i do this with another module, i lost my web interface and ended reinstalling full server.
If i have to do this again, i will prepare an image before.

For the ticket, i assume this is not a bug, because it's only affecting me.

Thanks anyway

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: Possible Bug in DHCP Module
« Reply #8 on: March 12, 2011, 03:56:16 pm »
I have finaly done an image and tested the dhcp module uninstall-reinstall.
Code: [Select]
aptitude remove --purge ebox-dhcp
This unistalled ebox-dhcp module, dhcpd package and tftp package.

After reinstalling ebox-dhcp module (and dependencies) i still get same error...

I will not reinstall my entire server for this.

If someone at zentyal staff have any idea about thoubleshoting this, please help me.

thanks
« Last Edit: March 12, 2011, 09:17:31 pm by acon »

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Possible Bug in DHCP Module
« Reply #9 on: March 14, 2011, 04:57:20 pm »
Hello acon,

Have you tried to remove all redis entries from Zentyal related to DHCP module?

Try it running this command:
Code: [Select]
$ /usr/share/ebox/ebox-clean-gconf dhcp

Best regards,
My secret is my silence...

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: Possible Bug in DHCP Module
« Reply #10 on: March 14, 2011, 07:18:22 pm »
I need to do this after uninstalling dhcp module, or without uninstall?

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Possible Bug in DHCP Module
« Reply #11 on: March 14, 2011, 07:26:00 pm »
It must be done with the package installed.
My secret is my silence...

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: Possible Bug in DHCP Module
« Reply #12 on: March 15, 2011, 09:07:48 am »
This reset the dhcp module configuration.
Same error in advanced tab  :-\
I have manualy reconfigured dhcp module. It works as expected, but still getting the error when accesing advanced tab.

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Possible Bug in DHCP Module
« Reply #13 on: March 15, 2011, 11:09:52 am »
Hi acon,

I forgot to mention that it removes the configuration. :S Sorry for that.

We have released a new dhcp module which has changed the Advanced Options tab. We hope this fix your issue.

Best,
My secret is my silence...

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: Possible Bug in DHCP Module
« Reply #14 on: March 15, 2011, 01:13:58 pm »
Yesssssss.  ;D.
The last DHCP module update resolved the issue.

Thanks