We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

how to oxwall powered site migrate to another domain | Forum

Topic location: Forum home » Support » General Questions
Nandha
Nandha May 8 '14
How to install old oxwall site in new domain.i want copy all user details and data to new one. please help me on this issue.
John
John May 9 '14
If you've created a new site on the new server, follow steps 1 to 3  then 16 below.
If you want to move the entire site, do them all.

1. Export database to a .sql file via MyPHPAdmin and save it on your computer.
2. Go to new site and create a new database with same name using MyPHPAdmin

Note: If you only want to add the data to your new database, don't do step 2. You must first drop (delete) the contents of your new database created during you new install. You drop the files using MyPHPAdmin

3. Import .sql file into new database. Also with MyPHPAdmin.
4. Using cPanel or similar, open your old site directory with File Manager.
5. Copy and Zip all files.
6. Using Filezilla or similar, download zip file to your computer.
7. Upload zip file to new server using Filezilla or similar.
8. Go to new server cPanel/File Manager
9. Unzip the file you just uploaded. It must be in the same directory as your last server: /public_html or public-html/yoursite (best).
10. Now navigate to ow-Includes
11. Using the editing feature of File Manager open config.php
12. Edit line 3 by entering the URL of your new site
13. Edit line 5 by entering your database host. Usually localhost
14. Make sure lines 3 to 12 are correct. Don't alter anything else.
15. Save the file
16 Open another browser tab and try to access your site.

Provided your domain has been already transferred, there could be a delay of up to 48 hours for the domain to be propagated.

If this sounds complicated, you really should consider getting someone with experience to do it for you.


The Forum post is edited by John May 9 '14
ross Team
ross May 11 '14
Basically you need to point your new domain to the folder where oxwall is installed and change the home URI in the ow_include/config.php file
20 Hours a Day
20 Hours a Day Feb 7 '15
I moved my entire Oxwall installation from /public_html/.... ---> /public_html/members/....


As per instructions above, majority seems to be working however, some of my pictures are still pointing to my old /public_html/ow_userfiles/ folder instead on my new one, so some pictures are not showing up, but the post and comments are (just missing pictures, from what I can tell so far)


How do I make Oxwall see the proper location of my new /public_html/members/ow_userfiles/.... folder?

ross Team
ross Feb 8 '15
Robert, try to enable dev mode and refresh the website, then disable dev mode. Check if the issue persists. 

Also, what are the permissions of the ow_userfiles folder?

20 Hours a Day
20 Hours a Day Feb 9 '15

Ross, here is the steps I took to move my site from /public_html to /public_html/members/

1) Made backup of my /public_html files and folders
2) Made backup of databases
3) Moved my oxwall installation folders and files to /public_html/members/
4) After move completed migration, made sure permissions were set as follows:

ow_pluginfiles  777
ow_userfiles   777
ow_static   777
ow_smarty/template_c   777

5) Changed /ow_includes/config.php as follows:

Toggled DEV mode to "True"
Changed OW_URL_HOME to reflect new migration:
                           define('OW_URL_HOME', 'https://www.mysite.com/members/');
Opened my site in the browser and refreshed
Toggled DEV mode back to "False"

6) Changed CRON to reflect migration

------------------------------------------------

I knew that the database was connected, because I could log in the site.

After sign-in however, all comments were visible, but no images in dashboard newsfeed.  I could click on an image and it would access the images from mysite.com/members/ow_userfiles/ correctly.  When I would right-click the dashboard newsfeed placeholder however, it would reflect the original location of mysite.com/ow_userfiles.  It's like the database was reading from both.

Also, another bizarre occurrence, was that I could not make changes to an existing custom css within the Admin-->Themes-->Edit CSS field, it would keep giving me a red-error-bar.

I toggled DEBUG mode to true - I have included a screen shot.

I went back into my directory and once again verified that all permissions were set, and the site acted like it was still trying to get information from both the original directory and the new directory.

I could easily post new content and the site would reference that content correctly to the new directory, but the previous pictures in the dashboard newsfeed was not visible.

I have since reverted all changes until I can get this sorted.

The Forum post is edited by 20 Hours a Day Feb 9 '15
Attachments:
  debug-capture.jpg (306Kb)
  debug-capture-lg.jpg (682Kb)
20 Hours a Day
20 Hours a Day Feb 10 '15
Ross, Thank you for the links.  So is it correct to assume that if a site owner wanted to move their hosting services to another host, they would have to have the exact same directory structure on the new host as well?

If so, it's really unfortunate that Oxwall can not be moved easily.  I would have liked to have read a warning about this when I first considered Oxwall.  Don't get me wrong - I absolutely love Oxwall however, I think the team should add a disclaimer to make sure users put the final install into a directory that they will be happy with; (maybe the team has already and I missed it?).

Can you tell me what would happen if I followed all the steps again, but this time left a copy ow_userfiles in the original location.  Then over a few months, just delete the original ow_userfiles folder (it would be like purging old feeds - but I think all the old large pictures would still be referenced correctly from the new ow_userfiles location).  Just curious what you think?
ross Team
ross Feb 12 '15
It has nothing to do with the directory structure, it's just that the information is stored in the database and it's static. You need to change it there.Have you read the links I provided to you?



20 Hours a Day
20 Hours a Day Feb 16 '15
Thanks Ross, yes I did read the links and it sounds like finding and correcting the all the original links in the database is the answer. I did also ask you what you thought of simply leaving a copy of the original ow_userfiles folder in its original location would be an option (in my situation)?
Taissa Team
Taissa Feb 17 '15

If you leave the copy of ow_userfiles folder in public_html folder it solves issue for old files and new ones will be placed to new ow_userfiles folder.
However this solution will work if you move the software within folders located on one server.
In case you decided to transfer your site to another server, the best way is to change the values in DB (http://www.oxwall.org/forum/topic/17739?page=1#post-88502)

ali
ali Apr 11 '23
В Арт Академи в София, децата могат да се научат на различни техники за рисуване, керамика, крафт с полимерна глина и много други изкуствени дейности. През последните години, училището се е утвърдило като един от най-добрите центрове за изкуство за деца в София. Една от големите предимства на Арт Академи е, че децата не само могат да се забавляват, но и да учат много полезни умения като търпение, точност и творческо мислене. Децата могат да се развиват в своите умения и да изразят своята индивидуалност. В Арт Академи има и опитни учители, които ще насочат децата и ще им помогнат да развият своя талант. Всички материали и оборудване, необходими за изкуството, са на разположение в училището. Арт Академи