Help: Move host, upgrade, and change domain name.
April 08, 2018, 01:41:22 pm
I've got myself in a mess. I have a forum, that is currently on 1.0.10. The hosting is expiring in a few days. I'm trying to move to a new platform (vestacp on an OVH spd ssd). I have vestacp installed, and I've copied all of my files to the new domain directory. I can access the domain and the elkarte index.php from a browser (obviously not working, because I haven't setup the database yet). I copied repair_settings (and I have chown and chmod to ensure permissive permissions for the directory owner and group - the vestacp user), with the intention of importing the database and using repair_settings.php to point to the correct database and user (and then import the database). I can't seem get repair_settings.php to run. I just get a Server 500 error. Would anyone be able to identify a methedology that will get me through this: Move elkarte to a new host, and domain directory Get the 1.0.10 version running. Upgrade to 1.1.13 Breathe a sight of relief. I've moved smf forums before, and moved smf to elkarte. I'm unsure why I'm having such a problem, is it something to do with vestacp? Can anyone recommend a lightweight host panel alternative - I need a few domains hosted on it, but no great traffic or complexity?
Re: Help: Move host, upgrade, and change domain name.
Reply #1 – April 08, 2018, 03:34:16 pm
emanuele
Global Moderator
hmm... What did you set repair_settings to? 777? If so, you may try something lower, like... 644.
Re: Help: Move host, upgrade, and change domain name.
Reply #4 – April 08, 2018, 07:15:45 pm
Further Edit: Tried it in firefox (was previously using chrome). It works. So it must be some sort of browser security issue.
Re: Help: Move host, upgrade, and change domain name.
Reply #5 – April 08, 2018, 07:27:22 pm
Final Edit. VestaCP had put a user prefex in front of the defined database user, as a requirement to log into the database. So <database_username>, password didnt work, where <vestacp_username>_<database_username>, password did work. I had corrected that before trying firefox, and forgotten. When i try it with those credentials it also works in chrome. so the 500 error was most likely related to not being able to authenticate the database. 777, and 755 work
Re: Help: Move host, upgrade, and change domain name.
Reply #8 – April 09, 2018, 07:25:54 am
I've now tried to upgrade straight from 1.0.10 to 1.1.3. I'm trying to keep my attachment directory. That doesn't work. "The upgrader found some old or outdated files. Please make certain you uploaded the new versions of all the files included in the package. Click here to try again." Now trying to go via all the previous versions.
Re: Help: Move host, upgrade, and change domain name.
Reply #9 – April 09, 2018, 08:18:52 am
I get that message if I don't retain anything except "Settings.php"...even after upgrading the database using 1.1.0 (upgrader works). Upgrading the database for 1.1.2 (after succeeding with the previous ones) fails. so I'm going to have to try starting again. Gah!
Re: Help: Move host, upgrade, and change domain name.
Reply #11 – April 09, 2018, 09:47:18 am
...okay...Maintenance mode had somehow become switched to "unusable". Corrected in repair settings.
Re: Help: Move host, upgrade, and change domain name.
Reply #12 – April 09, 2018, 09:55:53 am
Another fail at going from 1.1.1 to 1.1.2....and 1.1.3 wont upgrade from the 1.1.1 database. It looks like I'm stuck at 1.1.1
Re: Help: Move host, upgrade, and change domain name.
Reply #13 – April 09, 2018, 02:56:55 pm
emanuele
Global Moderator
Please stay calm one second. There is no need to go from 1.1.0 to 1.1.1 to 1.1.2 to 1.1.3. The database schema has not changed since 1.1 beta 1, because "beta" means database schema locked (at least that's the policy we followed since 1.0). Furthermore, at any time the install package that you download from the main page here, always points to the most recent version available that already include any previous patch. So once you have that installed, there is no need to further update unless a new release is done. So, what you have to do is simply: 1) download the 1.1.3 package file, 2) unzip it, 3) upload it to overwrite anything in your forum directory, 4) point to your forum. It will redirect to the upgrade, you follow the instructions and delete the "install" directory. That's all.
Re: Help: Move host, upgrade, and change domain name.
Reply #14 – April 09, 2018, 06:34:10 pm
I did use that workflow...and it didn't work for me. I'll have a go now I am setting up a new server (yes, a new one...OVH troubles). One thing I have noticed in my 1.1.1 is that the registration captcha doesn't display, and the spoken version doesn't appear to allow registration progress. At the moment this is nice, because it's staunched the flow of russian bots...but ultimately I might like to have the odd new member. Is this just me, or a known issues with 1.1.1? Will upgrade likely fix it, or am I looking at some level of server misconfig?