[LON-CAPA-admin] System upgrade: moving users over?

Stefan Bisitz st.bisitz at fh-wolfenbuettel.de
Thu May 14 05:37:09 EDT 2009


Hi Lars,

Which users are file system authenticated on your system? I assume that
this is only the domain coordinator. As you already created a new one,
you can use this to change the password for the original DC. This allows
you to login again with the old DC user.

All the other users should be able to login though. I (unfortunately
only slightly) remember that we encountered the same issue (-> no roles)
some years ago after having changed nearly everthing (server hardware,
IP address, host name).


> When I login as a user, I get a
> "Currently no active roles or courses" message.

This means that a login is possible! If you were not able to login, you
wouldn't see the "No roles" screen but an authentication error message.
So, this is most likely not an password transfer problem.

Have you re-run the loncapa ./UPDATE process (Step 9) again?

I still think that the missing roles are related to wrong host entry
somewhere. Please also check the log files for something like "no
hostname" and make sure that the server's host config file is correct.

Hope this helps,
Stefan Bisitz



On 14.05.2009, 01:48 -0700, Lars Jensen wrote:
> Hi Stefan,
> 
> Thanks for the reply. The problem is that I'm going from suse to Centos, 
> and apparently it is not possible to just copy over the password fils - 
> see comment on the page you referred me to:
> 
> "Transfer /etc/passwd, /etc/shadow, /etc/group, /etc/gshadow from the 
> old machine to the new one
> 
> Warning: this does not work if you go from Fedora to SUSE or vice versa, 
> since these distributions use different encryption algorithms. If you 
> switch distributions, you need to make the file-system-based LON-CAPA 
> users from the command line."
> 
> Two years ago, we went from Fedora to Suse, and we managed to transfer 
> the users fine. Unfortunately, I don't remember how we transferred the 
> users, but I recall a similar problem to the one I'm seeing here.
> 
> Lars.
> 
> Stefan Bisitz wrote:
> > Hi Lars,
> > 
> > I guess that the host entries somewhere in the system are not all
> > correctly configured. But before starting to search please have a look
> > at:
> > http://loncapa.org/hardwareupgrade.html
> > 
> > Your questions should be answered there. If not, please tell so the site
> > can be updated.
> > 
> > By the way, creation of a new domain coordinator is not necessary.
> > Follow the steps carfully and you'll get your whole old system on the
> > new one.
> > 
> > Stefan Bisitz
> > 
> > 
> > On 13.05.2009, 21:14 -0700, Lars Jensen wrote:
> >> Hi everyone,
> >>
> >> We're preparing for a system upgrade of our lon-capa system. We're 
> >> moving from suse to CentOS 5.3. I moved the /home/httpd directory over 
> >> and I created the domain coordinator. How do I move the users over? When 
> >> I login as a user, I get a "Currently no active roles or courses" message.
> >>
> >> Lars.
> >> _______________________________________________
> >> LON-CAPA-admin mailing list
> >> LON-CAPA-admin at mail.lon-capa.org
> >> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
> > 
> > _______________________________________________
> > LON-CAPA-admin mailing list
> > LON-CAPA-admin at mail.lon-capa.org
> > http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin




More information about the LON-CAPA-admin mailing list