Modify

Ticket #3683 (closed defect: worksforme)

Opened 17 months ago

Last modified 16 months ago

User Corner Error

Reported by: zaccheaus.zimba@… Owned by: jamor@…
Milestone: 2.2.X Component: base
Severity: normal Keywords: usercorner upgrade
Cc:

Description

when i try to access the user corner it gives me the following error

Forbidden

You don't have permission to access / on this server.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument?? to handle the request.

Attachments

zentyal error log file.zip Download (11.1 KB) - added by anonymous 17 months ago.
zentyal log file.zip Download (26.6 KB) - added by anonymous 17 months ago.

Change History

Changed 17 months ago by anonymous

Changed 17 months ago by anonymous

comment:1 Changed 17 months ago by jamor@…

Hello Zaccheaus Zimba,

in this case we need the log files found in /var/log/zentyal-usercorner . Could you raise the same error message and attach the files in that directory?.

Regards,

Javier

comment:2 Changed 16 months ago by pascal.bach@…

I can reproduce the error on my system. What I did:

Remove and purge the user corner:

apt-get remove --purge zentyal-usercorner rm -rf /var/lib/zentyal-ebox

Reinstall it:

apt-get install zentyal-usercorner

What I find iteresting is that the upstart script ( http://git.zentyal.org/zentyal.git/blob/HEAD:/main/usercorner/debian/lucid/ebox.redis-usercorner.upstart) referrers to a file named /var/lib/zentyal-usercorner/conf/redis.conf but this file is never created by the packages as far as I can tell. Might this be related to the problem?

Another thing I noticed is that in /var/log/zentyal/zentyal.log when I try to restart usercorner the following error appears:

2012/01/18 19:46:56 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: usercorner 2012/01/18 19:46:57 ERROR> Service.pm:721 EBox::Module::Service::ANON - Error

restarting service: read_file '/var/lib/ebox-usercorner/conf/redis.passwd' - sys

open: No such file or directory at /usr/share/perl5/EBox/Config/Redis.pm line 825 .

Its referring to a file in /var/lib/ebox-usercorner instead of /var/lib/zentyal-usercorner.

I also want to mention that I migrated from Zentyal 2.0 using the migration script.

comment:3 Changed 16 months ago by jacalvo@…

  • Status changed from new to accepted
  • Milestone set to 2.2.X

comment:4 Changed 16 months ago by jamor@…

Thanks a lot for you report Pascal Bach.

It is very useful. Until we fix it and release the new version you can fix your system following this steps:

1) After installing again usercorner execute: 'sudo /usr/share/zentyal/unconfigure-module usercorner'

2) In Zentyal interface go to 'Module status' and enable again the module

3) Save changes

Regards,

Javier

comment:5 Changed 16 months ago by jamor@…

Hello again,

with 2.2 is not reproduceable so it must be consequence of the update tool. The steps i nthe previous message fixed your problem?

comment:6 Changed 16 months ago by pascal.bach@…

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

Hello,

Thanks for your answer.

No the command didn't fix the problem. But I found the cause. The problem was that the home directory for the user ebox-usercorner in /etc/passwd was still set to /var/lib/ebox-usercorner instead of /var/lib/zentyal-usercorner. Manually correcting this did fix the problem.

I guess there was a problem during the update. And this is most probably not a real bug.

comment:7 Changed 16 months ago by jamor@…

Hello again,

I have reviewed the code of the migration script and the home directory is changed for the ebox-usercorner (see the file 060_update_user_homes ) , so something strange happened during your upgrade. Anyway we cannot reproduce this and we have not heard of more people with the same error so We will let the thing rest.

Regards,

Javier

comment:8 Changed 16 months ago by gyulaics@…

  • Keywords usercorner upgrade added

Hello

My system produced the same ( https://servername:8888/ internal server error 500), thanks a lot for the solution:

  1. #/root/bin/zentyal-migrate-2.0-to-2.2/post-upgrade/060_update_user_homes
  2. #sudo /usr/share/zentyal/unconfigure-module usercorner
  3. Enable Usercorner modul
  4. Save changes

Regards,

Csaba

comment:9 Changed 16 months ago by gasoile@…

I have the very same problem here, so this can be in fact a problem of the migration tool.

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.