Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Can't Upgrade to 2.0

Aloittaja RoxNRoll, kesäkuu 14, 2011, 09:19:17 AP

« edellinen - seuraava »

RoxNRoll

I've been working on a dog rescue forum, and the forum software was out of date; it was still an early 1.0.x version.

I've been upgrading one update at a time, and everything has been going well until we got to 1.0.17.

It said it couldn't update the subs.php file, so I manually changed it using the manual upgrade instructions, and uploaded it.

Now, it will not let me upgrade to 1.0.18, saying "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

Whilst I'm not completely green, I honestly cannot see what the problem is.

It would be useful if I could find an original subs.php file for 1.0.17 to upload to see if my editing has been the problem.

Any help would be greatly appreciated.  :)

Antechinus

You can get all the original 1.0.17 files here: http://download.simplemachines.org/?archive;version=45

ETA: Although that error message shouldn't be generated by incorrect file edits, unless the version is incorrect (ie: index.php wasn't updated).

RoxNRoll

Lainaus käyttäjältä: Antechinus - kesäkuu 14, 2011, 09:24:18 AP
You can get all the original 1.0.17 files here: http://download.simplemachines.org/?archive;version=45

ETA: Although that error message shouldn't be generated by incorrect file edits, unless the version is incorrect (ie: index.php wasn't updated).

The only file it said it had a problem with was the subs.php - it said 'failed', everything else updated fine.

Will checkout the original files and report back.  :)  Thanks

RoxNRoll

Rightio.

Have uploaded that, and still says it can't update.

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

In case it helps, this forum has been around a long time, but we've never added any fancy mods.

Not sure what to do from here...

Antechinus

Ok, if the forum doesn't have any mods on it then the easiest way of doing this might be the large upgrade pack. That will take you straight to the latest version in one go. Only catch is that is does require ftp'ing the unzipped files into place to overwrite all the old ones, so it's a bit more work than patches.

ETA: You could even go straight to 1.1.14 if you wanted to. 2.0 might be a bit of a shock for them though.

RoxNRoll

Sounds both exciting and very scary all at the same time... :D

Just thinking out loud, the only changes I made when it was installed (and I'm trying my bestest to remember a good five years ago here!) was the skin of the forum, and the smileys, which I wouldn't want anything going wrong with, as some are unique to our forum.

Where's the best place for me to check in the forum whether I have (forgotten) installed any mods that wouldn't be compatible with a big upgrade?

Antechinus

Package manager has a list of installed mods and patches. Admin > Packages > Installed wotsits.

The skin might get a bit borked if it's an edit of the actual default, or one of the other themes that came with the 1.0 package, since all default files would get overwritten. If it's a seperate custom theme then it should be ok. Smileys should be fine too.

RoxNRoll

Here's the list in the mods; they're all just the SMF upgrades.

      Mod Name    Version

1.    SMF 1.0.8 Update Package    1.0.8    [ List Files ] [ Delete ]
2.    SMF 1.0.8 Update Package    1.0.8    [ List Files ] [ Delete ]
3.    SMF 1.0.9 and 1.1 RC3-1 Security Patch    1.0.8/1.1 RC3    [ List Files ] [ Delete ]
4.    SMF 1.0.10 Update Package    1.0.10    [ List Files ] [ Delete ]
5.    SMF 1.0.11 / 1.1.3 Update    1.1    [ List Files ] [ Delete ]
6.    SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0    [ List Files ] [ Delete ]
7.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    [ List Files ] [ Delete ]
8.    SMF 1.0.14 / 1.1.6 Update    1.0    [ List Files ] [ Delete ]
9.    SMF 1.0.15 / 1.1.7 Update    1.0    [ List Files ] [ Delete ]
10.    SMF 1.0.16 / 1.1.8 Update    1.0    [ List Files ] [ Delete ]
11.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0

~~~~~~~~~~~~~~~~~~~~~~~~

I'm not scared of doing some ftp gubbins, and the skin and logos are something I would take this opportunity to update now anway.

So, dare I ask whether going to 1.1.14 or 2.0 is best?  I don't think a big change is much of an issue; we'll all have to get used to it.  :D

Any chances I'm going to stuff it all up?   ;D  There's 5 years of rescue work on there so I definitely don't want to mess it up.

I am very much open to suggestions.  When I looked all this stuff up originally, it was back in 2006 so I'm out of date and rusty!   8)


Antechinus

Well, my 2c is that 2.0 would be a better bet, providing that you don't have a lot of users on IE6 or IE7. Those old things don't support some of the newer code all that well. Most of it is fine, but you might get some complaints about profile pages looking a bit funny. If your members are mostly running IE8, IE9, or other browsers then 2.0 will give some nice extra features.

Stuffing it up? It's a computer. A mess is always possible, even though most upgrades go smoothly. Backing up your db, smileys and attachments would be a good idea before starting the upgrade. That way you can roll back if it all goes pear-shaped. Any smileys that have the same names as default smileys will be overwritten, but you can always ftp the desired image back into place later. Attachments and data should be fine, but back them up first anyway.

If you're worried about it, copying the current forum over to a mirror folder and database and running a test upgrade on that might be more reassuring. That way you can see what you're in for before doing the real thing.

RoxNRoll

Slightly odd update here... but I thought I'd post it in case anyone else encounters this issue.

To upgrade the forum, I've been clicking on the link in the package section, where it says to upgrade.

A moment ago, I clicked on the upgrade link on the first admin page - and it upgraded it.   ???

I will continue upgrading one update at a time for the moment, and see what happens.

Perhaps the link in the package section was wrong?

Many thanks for all your help... I expect I'll be back... :D

RoxNRoll

I knew I'd be back..

It's upgraded right up to 1.0.21, how and where do I upgrade next?  The only upgrade options from here in the package manager are as follows:

New Packages:
(package)

    * 11x_IE8_Fix 1.1
    * Special Characters and Symbols Insertion 1.5
    * Google +1 Topics 1.0

Updates for SMF:
Security update (X-Forwarded-For header vulnerability)

~~~~~~~~~~~

I am sorry for asking so many stupid questions!

Norv

To upgrade to next major versions of SMF (as opposed to patches), please see the guide here:
http://wiki.simplemachines.org/smf/Upgrading

You should be able to upgrade directly to 2.0, with the large upgrade package to 2.0.

Please do make sure to keep a backup of your database.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

RoxNRoll

Thanks.  I am downloading the forum database backup now.

I've downloaded the Large Upgrade Pack of 2.0, so I will let you know how it all goes.

Thanks again.  :)

RoxNRoll

I entirely understand if you can't answer this, as it isn't directly SMF related...

I was just looking in the cpanel of the webspace the forum is on.  I was trying to see how big the database I'm downloading is, (it says 0kb, which is obviously very wrong).  However, in looking at the stats for the webspace, a folder called urchin / data / reports / xxxxxxxxx.com is taking up over 650mb!  That's more than everything else put together, but I have no idea what it is.

My backup database downloaded and is 36.5 mb.

Antechinus

I assume you downloaded the backup from cPanel. Just don't trust SMF admin for database backups if your forum is five years old. The backup may be too big for SMF admin to handle, and in that case it will truncate tables. Usually SMF admin will handle anything up to 10 meg or so zipped, but over that size it starts getting dodgey.

Anyway: not sure what that other folder is. I'd suggest asking your host. It sounds like it might be some sort of error log but I may be mistaken.

Oldiesmann

Lainaus käyttäjältä: RoxNRoll - kesäkuu 14, 2011, 11:32:18 AP
I entirely understand if you can't answer this, as it isn't directly SMF related...

I was just looking in the cpanel of the webspace the forum is on.  I was trying to see how big the database I'm downloading is, (it says 0kb, which is obviously very wrong).  However, in looking at the stats for the webspace, a folder called urchin / data / reports / xxxxxxxxx.com is taking up over 650mb!  That's more than everything else put together, but I have no idea what it is.

My backup database downloaded and is 36.5 mb.

Urchin is a graphical website statistics package that used to be included with cPanel before Google bought them in 2005. It's still available as standalone software, but since Google Analytics has pretty much the same features and doesn't require all that space, it isn't real popular anymore. You should be able to safely delete that folder.
Michael Eshom
Christian Metal Fans

RoxNRoll

Thanks, will look into that regarding Urchin.

I'm glad you posted about the backup, as I had done it through SMF.  Will do the backup through cpanel now... thanks.  :)

RoxNRoll

Hi again.  :)  I'm attempting the upgrade to 2.0 - and yes, I backed everything up.  :D  My folders (all folders, not just the forum) were over 300mb, the database only 36.5mb.  But I've got it all... which means I shouldn't lose anything.

I checked the minimum requirements on the main page before uploading the files... which said MySQL 3.23.4 or higher.  I double checked on the Control Panel says we have version 4.1.22, so everything looks good.... 

However, when I try the upgrade, I'm getting the error "Your MySQL version does not meet the minimum requirements of SMF.  Please ask your host to upgrade."

Your help very much appreciated!  (I've edited the thread title to reflect the new issue, rather than start a new thread)

RoxNRoll

UPDATE:  I've managed to upgrade to 1.1.14, using the large pack.

Is there a big difference in requirements between the large pack for 2.0 and 1.1.14?

Norv

Can you please make a quick phpinfo() file and link it to us, or PM a link to it, to us?
(What is a phpinfo() file?)

There are quite many changes between 1.1.x versions, and SMF 2.0. Features added, a new theme, significant performance improvements, to state quickly only a few.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Advertisement: