Advertisement:

Author Topic: Major problem after switching to a new server  (Read 623 times)

Offline Kjell H.

  • Jr. Member
  • **
  • Posts: 111
  • Gender: Male
Major problem after switching to a new server
« on: March 15, 2019, 07:55:59 PM »



I hope this is the correct board....


I just switched to a new server since the old one wouldn't handle new PHP upgrades.


All files and database were imported from the old one.


Looks like I might have done some bad research and prep before moving my SMF 1.1.21 forum to a server running PHP 7.0.30.


Forum shows blank pages. I've  tried running repair_settings.php but no luck. Just a blank page.


So I decided to run an upgrade to SMF to 2.0.15 (which I should have done a long time ago), but when running the upgrade I am notified that crucial files are missing.


Resumed back to an upgrade of 1.1.21, but no luck there and it shows blank pages.


My provider informed me that this might have to do with the following error in the log:


Fri Mar 15 01:21:48.006053 2019] [fcgid:warn] [pid 8951] [client xxxxxxxxxx:11520] mod_fcgid: stderr:   thrown in /var/www/clients/client4/web2/web/forumhall/index.php on line 41  (xxxxxxxxx replaces the IP address).

Any help is appreciated - willing to pay for support.




Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 8,927
Re: Major problem after switching to a new server
« Reply #1 on: March 15, 2019, 09:40:52 PM »
You'll have to downgrade to 5.6 max to get the forum running and do the upgrade.  Should be an option for php version in cpanel.

Offline Kjell H.

  • Jr. Member
  • **
  • Posts: 111
  • Gender: Male
Re: Major problem after switching to a new server
« Reply #2 on: March 18, 2019, 11:15:39 AM »



So this is all related to the database.


Can we do the upgrade on another server with PHP 5.6 and the import it back to the server running php 7?

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,241
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Major problem after switching to a new server
« Reply #3 on: March 18, 2019, 11:43:40 AM »
Should be able to.
But i you should just grab the large upgrade package overwrite your SMF 1.1.x install with those files on the new server. Then run the upgrade.php  script
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 8,927
Re: Major problem after switching to a new server
« Reply #4 on: March 18, 2019, 12:22:56 PM »
upgrade.php will not run on a 1.1.21 database in php 7 on some servers.  You either have to downgrade php version, or export to server running 5.6 max, upgrade, then import upgraded db to original server.  I've had to do this several times, mostly with GoDaddy forums.

Offline Kjell H.

  • Jr. Member
  • **
  • Posts: 111
  • Gender: Male
Re: Major problem after switching to a new server
« Reply #5 on: March 18, 2019, 03:42:11 PM »
Thank you.


I am now in the process of copying my 1.1.21 forum to a different server now and have imported the database. Want to make sure the forum is working before I do an upgrade.

Offline Kjell H.

  • Jr. Member
  • **
  • Posts: 111
  • Gender: Male
Re: Major problem after switching to a new server
« Reply #6 on: March 19, 2019, 10:10:59 AM »



We were able to get 1.1.21 back up using a different server.


I have uploaded the 2.0.15 upgrade, but when running upgrade.php, I get the following error message:


The upgrader was unable to find some crucial files.Please make sure you uploaded all of the files included in the package, including the Themes, Sources, and other directories.

Offline Kjell H.

  • Jr. Member
  • **
  • Posts: 111
  • Gender: Male
Re: Major problem after switching to a new server
« Reply #7 on: March 19, 2019, 01:23:42 PM »



Disregard my last post above. Ran repair settings and found some errors.


Upgrading now.

Offline Kjell H.

  • Jr. Member
  • **
  • Posts: 111
  • Gender: Male
Re: Major problem after switching to a new server
« Reply #8 on: March 19, 2019, 07:41:28 PM »



After 3-4 hours of using the upgrade tool, the 1.1.21 forum is now running 2.0.15 on the temporary server.


Next step is to export and import the database to the new server.

Offline Kjell H.

  • Jr. Member
  • **
  • Posts: 111
  • Gender: Male
Re: Major problem after switching to a new server (SOLVED)
« Reply #9 on: March 24, 2019, 02:34:12 PM »



My forum is back up on the site and I need to give proper credit to smfhack.com for helping me restoring it. Their service and speed in solving this have been great and well worth the money spent.


The database had some major errors preventing me to use the existing backup after the upgrade. My team had not enough knowledge to fix this, but Jonathon over at smfhacks was a lifesaver.
« Last Edit: March 24, 2019, 02:51:49 PM by Kjell H. »

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,241
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Major problem after switching to a new server
« Reply #10 on: March 24, 2019, 02:46:39 PM »
Glad I was able to help and get things going again! I am probably going to write a guide when I have time on how to deal phpmyadmin limits/incomplete exports then reimporting that database.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro