Advertisement:

Author Topic: Problems upgrading from 1.1.21 to 2.0.14  (Read 1693 times)

Offline halamazoo

  • Semi-Newbie
  • *
  • Posts: 10
Problems upgrading from 1.1.21 to 2.0.14
« on: August 16, 2017, 12:48:22 PM »
I started helping a friend upgrade his forum when the automated upgrade through godaddy didn't work. Going through the manual upgrade, I've run into problem after problem. I was finally able to upgrade from 1.1.16 to 1.1.24. Now, trying to upgrade to 2.0.14 is causing nothing but problems. I've created a DB backup through mySQL and backed up my files using FTP. I've deleted all files except for settings.php, settings_bak.php and the avatars and attachments directories. I then downloaded and unzipped the upgrade files and moved them all over to the server using FTP (binary transfer method). I adjusted permissions so all files have 644 and all directories have 755. When I navigate to upgrade.php, I get the attached screen. There are numerous php errors and an error stating "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." Unless the zip was missing a file, I don't know how this can be.

Also, settings.php has been checked and all values appear to be correct. Any ideas?

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,243
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #1 on: August 16, 2017, 01:36:12 PM »
IIRC, on GoDaddy your forum root must be in /public_html/.  Looks like you've uploaded the files to wrong directory.

Offline halamazoo

  • Semi-Newbie
  • *
  • Posts: 10
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #2 on: August 17, 2017, 03:31:56 PM »
I uploaded the 2.0.14 files to the same place that I uploaded the 1.1.24 files. The 1.1.24 upgrade worked fine. I used Filezilla to FTP to the server and replace the files that were already there with the upgrade files. Also, the absolute path that you see in the previous screenshot is what I pulled from GoDaddy when I log in. There is no "public_html" for the root. It's just "html", and the forum's root directory is in there.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,243
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #3 on: August 17, 2017, 04:01:04 PM »
Can you post a sreenshot from FZ of forum root directory?

Offline halamazoo

  • Semi-Newbie
  • *
  • Posts: 10
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #4 on: August 18, 2017, 07:52:56 AM »
Here are screenshots from FileZilla. One is the document root for the site, which shows the forum's root, "thepub". I then took a screenshot of "thepub" directory from FileZilla to show the files and directories currently listed.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,139
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #5 on: August 18, 2017, 08:10:44 AM »
is this the folder that your 1.1.21 install was already in? or is this a new folder that was created?
you need all the files from 1.1.21 in place then you upload the large upgrade package over what is already there.

Offline halamazoo

  • Semi-Newbie
  • *
  • Posts: 10
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #6 on: August 18, 2017, 12:25:15 PM »
This is the folder that the 1.1.21 install was already in. I did not create a new folder.

"thepub" is the original directory that had all the 1.1.16 files in it. I then copied ALL the files from the 1.1.24 upgrade package and overwrote everything in "thepub". That upgrade went fine. I'm now trying to get to the most recent stable version (2.0.14) installed. I copied ALL the files from the 2.0.14 upgrade package to "thepub" directory.

Based on the forum posts that I've read, I've tried a couple different things. I first backed up "thepub" directory onto my computer before doing anything else. I also backed up the DB. I then just pasted the 2.0.14 files into "thepub" and overwrote anything that already existed. That didn't work, so I tried deleting everything out of "thepub" with the exception of settings.php, settings_bak.php, attachments directory and avatars directory. This also didn't work and resulted in the same errors.

The install looks like it should be so simple.

Offline halamazoo

  • Semi-Newbie
  • *
  • Posts: 10
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #7 on: August 18, 2017, 12:27:11 PM »
The person who was working on this before me created "thepub2" when trying to upgrade. I don't see how this could be a problem, but could two forums on the same site be an issue?

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,243
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #8 on: August 18, 2017, 01:34:51 PM »
Are they both connected to the same database?

Offline halamazoo

  • Semi-Newbie
  • *
  • Posts: 10
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #9 on: August 18, 2017, 08:09:25 PM »
No. They are connected to different databases.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,243
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #10 on: August 18, 2017, 10:08:34 PM »
Did you patch to 1.1.21, or did you use the upgrade package and run 1.1.21 upgrade.php?

Offline halamazoo

  • Semi-Newbie
  • *
  • Posts: 10
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #11 on: August 19, 2017, 07:17:25 PM »
I used the upgrade package and ran update.php.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,243
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #12 on: August 20, 2017, 12:32:42 AM »
I've deleted all files except for settings.php, settings_bak.php and the avatars and attachments directories. I then downloaded and unzipped the upgrade files and moved them all over to the server using FTP (binary transfer method).

you need all the files from 1.1.21 in place then you upload the large upgrade package over what is already there.

If you can get the forum running in 1.1.21, upload the 2.0.14 upgrade package over the 1.1.21 files, without deleting anything, then run upgrade.php.

Offline halamazoo

  • Semi-Newbie
  • *
  • Posts: 10
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #13 on: August 20, 2017, 09:09:38 AM »
I have done that and gotten the same errors.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,243
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #14 on: August 20, 2017, 04:01:35 PM »
Is the forum running?  Link?

If you can pm ftp access (server/username/password) I'll have a look.

Offline halamazoo

  • Semi-Newbie
  • *
  • Posts: 10
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #15 on: August 21, 2017, 08:25:07 PM »
It's currently running at shamrocksnyc.com/thepub

Ftp info has been sent.

Thanks.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,243
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #16 on: August 22, 2017, 01:05:00 AM »
   Been working on this over three hours, GoDaddy just keeps getting worse.  No way to upgrade to 2.0.14 on your server.  The index errors you're seeing are because upgrade.php is unable to load the language file Install.english.php.  Tried various ways to link directly, no go.  Your file permissions are set at 705/604, changed most of them to 755/644, no go.  Did a clean install in another directory, linked to your database, no go.  In the end, I did a clean 1.1.21 install on my host, linked to your database, ran the upgrade, it worked.  I've uploaded the 2.0.14 upgrade package to your forum, can't run it because GoDaddy's FTP server is blocking some /Sources files (this is a known problem).  You'll have to upload the files using GoDaddy's file manager.  May as well upload the entire upgrade package, less the upgrade scripts.  The database has been upgraded to 2.0.14, I fixed Settings.php and Settings_bak.php, ran repair_settings.php.  You should be good to go once you've uploaded the files.  Do not run upgrade.php, it's already done.

Let me know when you get it done.

*Sir Osis needs another beer.

Offline halamazoo

  • Semi-Newbie
  • *
  • Posts: 10
Re: Problems upgrading from 1.1.21 to 2.0.14
« Reply #17 on: August 22, 2017, 09:07:29 PM »
I copied the files over and the forum is finally back up and running and fully upgraded. That was quite the ordeal. Thank you so much for sticking it out until the bitter end. That gif really said it all.