Can't login after migration to new server

Can't login after migration to new server

by Tim Mansfield -
Number of replies: 3
I migrated my Moodle install to a new hosting server (Site5) using these instructions (http://docs.moodle.org/en/Moodle_migration), including putting the site into maintenance mode before migrating. I updated the config.php and checked the permissions are correct on the data directory.

Nobody can log into the new install. I tried the various suggestions here (http://moodle.org/mod/forum/discuss.php?d=111807), like ditching the session files in the data directory and the rows in the session table, but to no avail.

Any help gratefully appreciated.

Tim

Moodle v1.8.4 on MySQL
Server: Linux v2.6.27-grsec; Apache v 2.2.11 (Unix); PHP v5.2.8; MySQL version 5.0.67-community-log
Average of ratings: -
In reply to Tim Mansfield

Re: Can't login after migration to new server

by Tim Mansfield -
Groan. Never mind. Permissions problem, I think.

I tired just doing the migration a second time. This time instead of using rsync to transfer the files I used:

tar zcpf ...

The 'p' option preserves permissions; and then just scp'ed the tar file to the new server. Unpacked it. Fixed the config file. All was well.
In reply to Tim Mansfield

Re: Can't login after migration to new server

by Hieru Youko -
Hi Tim,

I doubt it's the permission problem. I apologize for not saying this out front, but I installed Moodle using the Fantastico suite, which comes with my website server. I've never had problem with Fantastico when I use other open source software like Wordpress or Joomla, so that's why I was stumped. Do you have any idea what could have happened? I will check the permission just in case, however. Thank you!
In reply to Hieru Youko

Re: Can't login after migration to new server

by Hieru Youko -

Hi,

I just realized that I was being a dummy and replied to a different thread.  My apologies to the original poster!