Skip to main content
Recent Posts
2
Support / Re: Migration to new server fails
Last post by pewpew -
So all went good using the repair_settings.php file. Will check again the forum for issues but now there are no complaints so far.
I was not able to find another version for 1.1.x

:)
5
Support / Re: Migration to new server fails
Last post by Atlas -
Hi @pewpew and welcome.

I'd be interested in hear "how" the installation is broken when you import the exported db.

In general the migration is:
  • do back of files and sql,
  • upload files to new server
  • import sql to new db
  • fix the settings (db password and username, paths, URLs (that should not apply to this case))
  • you are done
I'm by no means an expert here, but I recently copied an install from one directory to another on my server and there's one more step I had to do.  I'm assuming the OP has access to phpMyAdmin...

  • navigate to the db in phpMyAdmin
  • "search" for old domainname, don't forget to select all db-tables
  • update the values (paths) to the new domain
6
Support / Re: Migration to new server fails
Last post by emanuele -
After the import, the browser shows a 500 error. The connection to the db is ok. So I guess that I will have to check some paths within the db.
500 sounds like file permission issue, either too strict or too permissive.
Paths settings are very unlikely to give 500 errors (for the important ones there is a safety check to ensure nothing is too broken, while the others are relevant only in certain pages).
Also... config.php? Elk uses Settings.php.
8
Support / Re: Migration to new server fails
Last post by pewpew -
Hey emanuele,
thanks a lot for your message. I will give it another try tomorrow as I can´t think straight anymore for today.

After the import, the browser shows a 500 error. The connection to the db is ok. So I guess that I will have to check some paths within the db.
I adjusted the config.php file to match with the new server and db location.
Will get back on it tomorrow.

Thanks
Allan
9
Support / Re: Migration to new server fails
Last post by emanuele -
Hi @pewpew and welcome.

I'd be interested in hear "how" the installation is broken when you import the exported db.

In general the migration is:
  • do back of files and sql,
  • upload files to new server
  • import sql to new db
  • fix the settings (db password and username, paths, URLs (that should not apply to this case))
  • you are done
10
Support / Migration to new server fails
Last post by pewpew -
Hey there, my name Allan and currently I have to move an ElkArte 1.1.5 installation to a new server location. Things had to be rushed a bit due to the client request.

So I am a little bit stuck now and I am facing some issues. Within Softacolous I was able to import the backed up installation once from the source server to a test account on the new server.

After that I thought yeah cool thats easy and set everything up but the import fails anytime now. Ok maybe an issue with the cpanel and softaculous.
So I thought : "hey lets do some sql magic" and backed all files up manually and did an export of the db, changed all variables to match with the new db and dbuser etc. But after the sql import the installation is broken.

Also tried to use a sql export from the admin backend which came from the working installation. But also, the import is going through but the installation is broken after the import.

Today I spent around 5 hours with research and fixing this without success.  I also was looking around for a import / export tool but without success too. So maybe I overlooked somehting. So here is my question:

how exactly can i migrate an installation to a new servrer location? There is the export function but why is there any imoport feature?

Hope someone can help out.

Best regards
Allan