Moving the SPIP site to another host

Dear community

I have to move to another provider.

I already downloaded the SPIP site and the mysql files to my desktop. However I am expecting difficulties when rearranging the site in a new environment.

Probably there is no coded procedure in SPIP for that task. But what are the most common mistakes I should avoid to get the site running again?

Thanks, Barnie

Hi,

if you keep the same environment for your database (mysql or sqlite), the only elements that you will have to change is the main url parameter inside the private area.

Clone the files of your site, import a backup into your database (if mysql) - sqlite is stored inside config/bases/

The rename the file config/connect.php dans install your website on the new database.

That’s all !

.Gilles

Hi Barnie,

I do it like this:

All pathnames in this text refer to your webroot.
The following procedure works for SPIP v2.n.n and v3.n.n.

1. update all plugins on your old server.
2. backup the database on your old server using SPIP
3. install SPIP on your new server using the same type of database.
Doing this you may chose any ID and password. Your original password and
ID will be restored once you restore your database. The temporary ID/PW
will then be lost.
4. copy the following directories to your new server
- IMG
- tmp/dump
- plugins
- squelettes
5. if necessary set the owner (if you are root) and the acces rights to
the files and directories you just copied. SPIP will usually tell you if
it is necessary.
6. activate your plugins (same as on your previous server)
7. restore database
8. copy any directory you created yourself to your new installation of SPIP
9. don't forget to copy /.htaccess to your new site or to rename
/htaccess.txt to /.htacces if you use an unchanged version of the file
provides with SPIP

Usually this works fine. Following this procedure you make sure that any
occurring problems can be addressed properly.

BTW in case you upgrade to a new version of SPIP in the process, start
by executing all the above steps wih your old version of SPIP and
upgrade SPIP once your site is up and running on the new server. You may
as well upgrade SPIP before starting the transfer. Just don't try to
inject a database backup of an older version of SPIP into an
installation with a higher version number.

cheers,
:-)k++

On 26.02.2018 16:27, Barnie de los Angeles wrote:

Dear community

I have to move to another provider.

I already downloaded the SPIP site and the mysql files to my desktop. However I am expecting difficulties when rearranging the site in a new environment.

Probably there is no coded procedure in SPIP for that task. But what are the most common mistakes I should avoid to get the site running again?

Thanks, Barnie

_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

You do not need to use SQL to export and import your database. Usually
SPIP does it better. Sometimes there ares problems with differing
database codepages between servers, but these problems are less likely
to occur using SPIP than by exporting and importing using SQL.

Nevertheless if problems occur you have a wider range of remedies using
SQL, but don't start by doing it this way unless you know exactly what
you are doing.

:-)k++

On 27.02.2018 12:42, klaus++ wrote:

Hi Barnie,

I do it like this:

All pathnames in this text refer to your webroot.
The following procedure works for SPIP v2.n.n and v3.n.n.

1. update all plugins on your old server.
2. backup the database on your old server using SPIP
3. install SPIP on your new server using the same type of database.
Doing this you may chose any ID and password. Your original password and
ID will be restored once you restore your database. The temporary ID/PW
will then be lost.
4. copy the following directories to your new server
- IMG
- tmp/dump
- plugins
- squelettes
5. if necessary set the owner (if you are root) and the acces rights to
the files and directories you just copied. SPIP will usually tell you if
it is necessary.
6. activate your plugins (same as on your previous server)
7. restore database
8. copy any directory you created yourself to your new installation of SPIP
9. don't forget to copy /.htaccess to your new site or to rename
/htaccess.txt to /.htacces if you use an unchanged version of the file
provides with SPIP

Usually this works fine. Following this procedure you make sure that any
occurring problems can be addressed properly.

BTW in case you upgrade to a new version of SPIP in the process, start
by executing all the above steps wih your old version of SPIP and
upgrade SPIP once your site is up and running on the new server. You may
as well upgrade SPIP before starting the transfer. Just don't try to
inject a database backup of an older version of SPIP into an
installation with a higher version number.

cheers,
:-)k++

On 26.02.2018 16:27, Barnie de los Angeles wrote:

Dear community

I have to move to another provider.

I already downloaded the SPIP site and the mysql files to my desktop. However I am expecting difficulties when rearranging the site in a new environment.

Probably there is no coded procedure in SPIP for that task. But what are the most common mistakes I should avoid to get the site running again?

Thanks, Barnie

_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en