Support

Site Restoration

#24902 After moving site from dev server to production for testing can't log in

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by on Sunday, 08 May 2016 17:20 CDT

user90011
 Moved a trial copy of our site from the dev server to the production server today and all went well except we can not log in to front or back end.

Apache version 2.2.15
Akeeba Backup Professional 4.6.1
Kickstart Pro-4.2.0
Ver 15.1 Distrib 10.1.13-MariaDB, for Linux (i686)
PHP 7.0.4
Joomla 3.5.0

Site runs fine on dev server the only difference is dev server has latest version of PHP 5 on it.

Backup log from source machine attached.

Hope you have some ideas.
Thanks in advance.

dlb
"...can not log in to front or back end" is not very descriptive. Do you get an error? What happens when you try to log in? Are you using the Administrator folder password protection on your development site? That password protection does not travel between servers very well. If you are using it, delete the .htaccess and .htpasswd files in the /administrator folder.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user90011
When logging in to admin I enter username and password press login.. user and pass disappear and it goes stays on log in screen.
On front end press log in and the modal opens. Enter user and pass press log in. Modal goes away, front page refreshes and not logged in.

No .htaccess or .htpassword files

Have tried several users and non can log in.

I suppose I can pull another backup in the morning and try again. I presume latest akeeba is good with PHP 7.

user90011
This morning I decided to look a bit closer under the hood. I pulled up the databases on both machines in MYSQL Workbench and ran a quick table index comparison. Both DBs appear to match.

One thing that might be of note. We use JFB Connect coupled with SC Login to control our logins. As with Akeeba we have the paid version.

dlb
Please make sure that the PHP module mbstring is installed and enabled on your live server. It is required for Joomla! 3.5.x. I have not seen anything like this with a missing mbstring, but it has been a headache.

Please take a look at your configuration.php file to see if you have any URLs from the dev site in it. Settings like $live_site are normally blank and could cause problems if the wrong data is entered. The cookie domains too, I don't recall the exact name of the variables.

Are there any commands in your .htaccess file that are specific to your dev server?


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user90011
This is interesting...

I did some cleanup in the original site this morning, updated to Joomla 3.5.1, Pulled a fresh backup and reinstalled on new server.

Everything is now working.

Still curious as to what failed on the install yesterday as I performed exactly the same procedure. I have been using Akeeba core for a long time so am familiar with kickstart. This was the first time I have ever had a problem.

I do have one other small issue though and is probably just something I don't understand. I wish to change the backup dump directory so we can rsync a copy off to a different server on a nightly basis. When I set a new directory and run a backup if falls back to default path.

dlb
That is strange. I do not have any explanation for it.

What directory are you trying to use? Root, for example, would not work. If you are using one above public_html, that doesn't work on some servers. Make sure the directory is writable.

Can you save any settings in the Configuration screen?

The Output Folder is per profile. If you change Profile 1 and then back up with Profile 2, you would not get the results you expect.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user90011
That could possibly be it. I set a folder under /var. The remote server had no problems pulling from the directory but akeeba could not write to it even with 777 permissions. Might be a CentOs issue.

I have many other things on my plate today but I'll look at it again over the weekend and give you an update.

Thanks for your help.

dlb
Have a good weekend!


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!