Announcement

#31 2012-11-01 00:50:24

deljones
Member
2012-09-06
56

Re: moving to another server

Jack..

Not ALL folders surley?

Del

Offline

 

#32 2012-11-01 00:51:08

mendip_discovery
Member
Mendip Hills, Somerset, UK
2012-05-19
91

Re: moving to another server

just the templates_c


Jack

Offline

 

#33 2012-11-01 00:57:16

deljones
Member
2012-09-06
56

Re: moving to another server

making a tar.gz now

D

Offline

 

#34 2012-11-01 13:00:45

flop25
Piwigo Team
2006-07-06
7037

Re: moving to another server

Hi again
Be sure the php process/user has enough rights/permissions


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#35 2012-11-08 13:28:17

Dahlsvarehus
Member
2012-10-31
9

Re: moving to another server

just  moved  my site. here is how i did it via cpanel
1) backup all files from old server via cpanel/filemanager to targz format name it oldserver it will add tar.gz to it
2) backup database from old server via cpanel/phpmyadmin as oldserver it will add .sql to it
3) install  Piwigo on new server via cpanel/softacolus
4) backup the new site (all files via cpanel to targz format name it newserver) you need just one file piwigo/local/configdatabase.inc.php later but alwasy good idea having backup.
5) backup the new database to newserver
6) upload the newserver.tar.gz to the new server and extract it via filemanager  owerwrites alle the  files there, it  will overvrite the piwigo/local/configdatabase.inc.php  so you have to  take the  originakl from your backup nad  overwritew it there,
7) compare  the old and new database,
change line 5  from old  server adress to new one
and line 20 from old database name to new one save it as new name. ( use notepad++ as it keeps the files encoding  correct)
8) mark all files in new database (select all and delete it all. and import the new database.

think that´s all we need to do.

Enjoy :)

Last edited by Dahlsvarehus (2012-11-08 13:29:45)

Offline

 

#36 2012-11-08 13:29:58

flop25
Piwigo Team
2006-07-06
7037

Re: moving to another server

Dahlsvarehus wrote:

7) compare  the old and new database,
change line 5  from old  server adress to new one
and line 20 from old database name to new one save it as new name. ( use notepad++ as it keeps the files encoding  correct)

what was that code!? I'm surprised you needed that step


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#37 2012-11-08 13:32:57

Dahlsvarehus
Member
2012-10-31
9

Re: moving to another server

old -- Host: db15.meebox.net
new -- Host: dbp6.meebox.net

and
old -- Database: `malaika_piwi694`
new -- Database: `dahlsva_piwi264`

Last edited by Dahlsvarehus (2012-11-08 13:33:14)

Offline

 

#38 2012-11-08 13:36:19

flop25
Piwigo Team
2006-07-06
7037

Re: moving to another server

Oh it's been included by your cPanel : a phpmyadmin export don't write this


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#39 2012-11-08 13:44:31

Dahlsvarehus
Member
2012-10-31
9

Re: moving to another server

flop25 wrote:

Oh it's been included by your cPanel : a phpmyadmin export don't write this

i export  via phpmyadmin (just  open  phpmyadmin with url in cpanel notting else) and yes min does that,
i just use default settings export fast to SQL

i use phpmyadmin version 3.4.11.1

Offline

 

#40 2012-11-08 13:52:22

flop25
Piwigo Team
2006-07-06
7037

Re: moving to another server

Oh yeah it's the structural tables of mysql : shared hoster can restrict the user to not create database. Anyway it's not from Piwigo itself : we don't store any url or absolute location. But we need to set a database name like the one defined in configdatabase.inc.php.
Thx for sharing : the important folders to backup are the one in the step 5 of http://piwigo.org/basics/upgrade_manual


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#41 2012-11-08 15:59:48

Dahlsvarehus
Member
2012-10-31
9

Re: moving to another server

nice info
i am not so good at  understanding databases yet just know use basic stuff
and thank you for link ;)

Last edited by Dahlsvarehus (2012-11-08 16:01:42)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact