solved serius issues migrating between servers

soaringeagle
@soaringeagle
9 years ago
3,304 posts
im upgrading my server been in 'maintenance mode"
over 24 hours nowso need a quick fix
the site wastoo large to mugrate with transfer tool had to rsync
but i have asmall jr site too that migrated with the transfer tool

both sites give a 500 error
(when adding a ip-hostname to host file for testing)

only 1 uses ssl

apc was not enabled and cant be on a managed plan

i restored the db
(on the large site)
oh wait clear caches?
i havent tried thart


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 02/24/15 12:58:05AM
soaringeagle
@soaringeagle
9 years ago
3,304 posts
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@dreadlockssite.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

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

this is what i get every time


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
just a hunch
but could this be due to checking using the host file imean if router.php does its own dns lookup?


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
9 years ago
10,148 posts
Jamroom does not do any DNS lookups.

An "Internal Server Error" is always a web server configuration issue - usually it's because Jamroom's .htaccess file is trying to use mod_rewrite, and Apache is not setup to allow it.

So you need to enable mod_rewrite - i.e.

a2enmod rewrite headers

then

service apache2 restart

Just remember: Internal Server Error = Apache misconfiguration, so don't waste time looking in Jamroom.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
9 years ago
3,304 posts
they told me mod rewrite was enabled that was my 1st thought


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
One thing to check is to make sure the contents are in the htaccess file, I noticed when I moved my site the htaccess file was showing at 0 bytes
michael
@michael
9 years ago
7,715 posts
Your server guys are the ones in the best position to know what works on their servers. I remember a thread:

https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/7181/godaddy-installation

About Godaddy servers needing customization to the .htaccess file to make it work. Might be that your host has a semi-custom setup too.
soaringeagle
@soaringeagle
9 years ago
3,304 posts
so we solved all issues but1
(1st issue was deflate wasnt installed)

now the database wont restore completely it stops at only 33 of like 160 or so tables

everytime
we increased the wait timeout ahnd interative timeout but still no go


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
9 years ago
10,148 posts
soaringeagle:
so we solved all issues but1
(1st issue was deflate wasnt installed)

now the database wont restore completely it stops at only 33 of like 160 or so tables

everytime
we increased the wait timeout ahnd interative timeout but still no go

Check your MySQL error log - something is up. If you're using mysqladmin you should never see that.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
9 years ago
3,304 posts
figured it out the old server was only backing up 2.7 gigs of a 5 gig database
i really thought it was just not restoring it all

man is it fast though


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
9 years ago
10,148 posts
soaringeagle:
figured it out the old server was only backing up 2.7 gigs of a 5 gig database
i really thought it was just not restoring it all

man is it fast though

Right on - glad to hear that :)


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
9 years ago
3,304 posts
getting an 1800 performance rating before doing any tuning


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
9 years ago
10,148 posts
soaringeagle:
getting an 1800 performance rating before doing any tuning

Awesome! :)


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags