Modify

Ticket #4803 (closed defect: worksforme)

Opened 10 months ago

Last modified 10 months ago

Setting webmail virtual host: : Redis undef call: 'set', 'webmail/conf/Options/keys/form', undef)

Reported by: fruch@… Owned by: jamor@…
Milestone: 3.0 Component: webmail
Severity: normal Keywords:
Cc:

Description (last modified by jamor@…) (diff)

Just setting the webmail to the virtual host, brings up this message.

Error

Redis command 'set webmail/conf/Options/keys/form ' failed: [] ERR Protocol error: invalid bulk length,  at /usr/share/perl5/Redis.pm line 513
	Redis::__read_response_r('Redis=HASH(0x7f3f63773a38)') called at /usr/share/perl5/Redis.pm line 493
	Redis::__read_response('Redis=HASH(0x7f3f63773a38)') called at /usr/share/perl5/EBox/Config/Redis.pm line 421
	eval {...} called at /usr/share/perl5/EBox/Config/Redis.pm line 415
	EBox::Config::Redis::_redis_call('EBox::Config::Redis=HASH(0x7f3f637733a8)', 'set', 'webmail/conf/Options/keys/form', undef) called at /usr/share/perl5/EBox/Config/Redis.pm line 375
	EBox::Config::Redis::_sync('EBox::Config::Redis=HASH(0x7f3f637733a8)') called at /usr/share/perl5/EBox/Config/Redis.pm line 343
	EBox::Config::Redis::commit('EBox::Config::Redis=HASH(0x7f3f637733a8)') called at /usr/share/perl5/EBox/CGI/Run.pm line 133
	EBox::CGI::Run::__ANON__() called at /usr/share/perl5/Error.pm line 416
	eval {...} called at /usr/share/perl5/Error.pm line 408
	Error::subs::try('CODE(0x7f3f6631bcc0)', 'HASH(0x7f3f661199e0)') called at /usr/share/perl5/EBox/CGI/Run.pm line 136
	EBox::CGI::Run::run('EBox::CGI::Run', 'Mail/View/VDomains', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::__ANON__() called at /usr/share/perl5/Error.pm line 416
	eval {...} called at /usr/share/perl5/Error.pm line 408
	Error::subs::try('CODE(0x7f3f637e8858)', 'HASH(0x7f3f661f6af8)') called at /usr/share/zentyal/cgi/ebox.cgi line 123
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7f3f662feab8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f3f66116c50)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f3f66116c50)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f3f662feab8)') called at -e line 0
	eval {...} called at -e line 0

Trace

Redis command 'set webmail/conf/Options/keys/form ' failed: [] ERR Protocol error: invalid bulk length,  at /usr/share/perl5/Redis.pm line 513
	Redis::__read_response_r('Redis=HASH(0x7f3f63773a38)') called at /usr/share/perl5/Redis.pm line 493
	Redis::__read_response('Redis=HASH(0x7f3f63773a38)') called at /usr/share/perl5/EBox/Config/Redis.pm line 421
	eval {...} called at /usr/share/perl5/EBox/Config/Redis.pm line 415
	EBox::Config::Redis::_redis_call('EBox::Config::Redis=HASH(0x7f3f637733a8)', 'set', 'webmail/conf/Options/keys/form', undef) called at /usr/share/perl5/EBox/Config/Redis.pm line 375
	EBox::Config::Redis::_sync('EBox::Config::Redis=HASH(0x7f3f637733a8)') called at /usr/share/perl5/EBox/Config/Redis.pm line 343
	EBox::Config::Redis::commit('EBox::Config::Redis=HASH(0x7f3f637733a8)') called at /usr/share/perl5/EBox/CGI/Run.pm line 133
	EBox::CGI::Run::run('EBox::CGI::Run', 'Mail/View/VDomains', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7f3f662feab8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f3f66116c50)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f3f66116c50)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f3f662feab8)') called at -e line 0
	eval {...} called at -e line 0
 at /usr/share/perl5/EBox/Config/Redis.pm line 457
	EBox::Config::Redis::_redis_call('EBox::Config::Redis=HASH(0x7f3f637733a8)', 'set', 'webmail/conf/Options/keys/form', undef) called at /usr/share/perl5/EBox/Config/Redis.pm line 375
	EBox::Config::Redis::_sync('EBox::Config::Redis=HASH(0x7f3f637733a8)') called at /usr/share/perl5/EBox/Config/Redis.pm line 343
	EBox::Config::Redis::commit('EBox::Config::Redis=HASH(0x7f3f637733a8)') called at /usr/share/perl5/EBox/CGI/Run.pm line 133
	EBox::CGI::Run::run('EBox::CGI::Run', 'Mail/View/VDomains', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7f3f662feab8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f3f66116c50)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f3f66116c50)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f3f662feab8)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (57.5 KB) - added by anonymous 10 months ago.
zentyal.log
software.log Download (78.2 KB) - added by anonymous 10 months ago.
software.log

Change History

Changed 10 months ago by anonymous

zentyal.log

Changed 10 months ago by anonymous

software.log

comment:1 Changed 10 months ago by jamor@…

  • Status changed from new to accepted
  • Component changed from base to webmail
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to Setting webmail virtual host: : Redis undef call: 'set', 'webmail/conf/Options/keys/form', undef)

comment:2 Changed 10 months ago by jamor@…

  • Status changed from accepted to closed
  • Resolution set to worksforme

Hello Fuch,

I was not able to reproduce your own error but this is a fix that _maybe_ solves it.

  1. Download the new version of webmail.yaml from  http://git.zentyal.org/zentyal.git/blob_plain/HEAD:/main/webmail/schemas/webmail.yaml
  2. Use it to replace the old fiel at /usr/share/zentyal/modules/webmail.yaml
  3. Execute 'sudo /etc/init.d/zentyal apache restart'
  4. Retry the operation

If it fails again, please provide the details of the new failure and the steps to reproduce it. I would give it another try.

Regards,

Javier

Last edited 10 months ago by jamor@… (previous) (diff)
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.