Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: rille2000 on September 17, 2018, 04:37:22 AM

Title: Q: Any easy way to make my db with version 1.1.15 work with my 2.0.x board?
Post by: rille2000 on September 17, 2018, 04:37:22 AM
Hi all!

I tried to search for existing topic but couldn't find anything.
No doubt there is one, maybe someone could point me to that topic, or the question is easy to answer. :)

My question:
Is there any easy way to make a SMF 1.1.15 database work with my current SMF 2.0.15 board?
I took a look in the db and it seems they are not compatible (?).

Maybe the annoying way would be to reinstall 1.1.15 then upgrade.
My worries is mostly conserning plugins.

BR,
/rille
Title: Re: Q: Any easy way to make my db with version 1.1.15 work with my 2.0.x board?
Post by: Illori on September 17, 2018, 05:18:22 AM
the only way is to run the upgrade.php script.
Title: Re: Q: Any easy way to make my db with version 1.1.15 work with my 2.0.x board?
Post by: vbgamer45 on September 17, 2018, 09:14:54 AM
Which you find from the large upgrade package for SMF 2.0.x
Title: Re: Q: Any easy way to make my db with version 1.1.15 work with my 2.0.x board?
Post by: GigaWatt on September 17, 2018, 06:24:09 PM
Quote from: rille2000 on September 17, 2018, 04:37:22 AM
Maybe the annoying way would be to reinstall 1.1.15 then upgrade.
My worries is mostly conserning plugins.

You'd pretty much have to say goodbye to of your current mods. It's preferable that you uninstall them before you upgrade, in the opposite order in which you installed them.

See if there are updated versions of some the mods you're using or alternative mods.

And you'd probably have to juggle between PHP versions during the upgrade.
Title: Re: Q: Any easy way to make my db with version 1.1.15 work with my 2.0.x board?
Post by: Illori on September 18, 2018, 05:37:11 AM
Quote from: GigaWatt on September 17, 2018, 06:24:09 PM
It's preferable that you uninstall them before you upgrade, in the opposite order in which you installed them.


you dont need to uninstall your mods first, as when you upload the large upgrade package it will do it for you as it overrides all your SMF files.
Title: Re: Q: Any easy way to make my db with version 1.1.15 work with my 2.0.x board?
Post by: rille2000 on September 18, 2018, 07:35:58 AM
Thanks for the answers.

I ran into some problems with installing 1.1.15 (before upgrade) due to my use of MariaDB.
(php7 gave some problems too it looked fixable)
Title: Re: Q: Any easy way to make my db with version 1.1.15 work with my 2.0.x board?
Post by: Kindred on September 18, 2018, 10:41:38 AM
1.1.x will not work on php7
and mariadb is not officially supported by SMF

most hosts will allow you to use an older version of php for a while longer...

set your php version to 5.6
restore the old database
put the 1.1.15 files in place and manually edit Settings.php
run repair_settings.php to correct the other settings

upgrade to 1.1.21
then upgrade to 2.0.15

then you can reset your php to use php7
Title: Re: Q: Any easy way to make my db with version 1.1.15 work with my 2.0.x board?
Post by: rille2000 on October 15, 2018, 04:07:33 PM
Thanks for the help.
I managed to get the board upgrdaded. :)
(it required some tweaking)

Had to downgrade to php5.
Then conversion went somewhat smoothly, converting took some time.
I then moved it to another server and got issues with mysql_connect() after upgrade so I took a clean install and then just switched the database and after that no more problems. (besides bots)
Title: Re: Q: Any easy way to make my db with version 1.1.15 work with my 2.0.x board?
Post by: vbgamer45 on October 15, 2018, 04:22:18 PM
Glad you have it working!