0
Welcome Guest! Login
0 items Join Now

How to migrate from localhost to production server

    • foley's Avatar
    • foley
    • Sr. Rocketeer
    • Posts: 102
    • Thanks: 0

    How to migrate from localhost to production server

    Posted 16 years 5 months ago
    • I am about to begin migrating my site from my localhost development machine to the web server. Can anyone advice of the best way to go about doing this? Do I have to use rocketlauncher again on the server and then load the sql backup script? or do I have to just ftp all my files to the server? I don't want to loose any of my settings and articles.

      Please advise.
    • Terp's Avatar
    • Terp
    • Elite Rocketeer
    • Posts: 1720
    • Thanks: 23

    Re: How to migrate from localhost to production server

    Posted 16 years 5 months ago
    • I was surprised at how easy it is when I migrated to a new host...ftp'd all the files from my localhost install to the new server, used phpMyAdmin to export the db into a zip file, created a new db on my new host, imported the zip db file, changed a half dozen lines in the configuration.php file, voila. Takes less than 5 minutes nowadays. :)
    • foley's Avatar
    • foley
    • Sr. Rocketeer
    • Posts: 102
    • Thanks: 0

    Re: How to migrate from localhost to production server

    Posted 16 years 5 months ago
    • I just did same but had to make several modifications to my folders (folder/file permissions). Also, I lost all my thirdparty extensions. i am painfully installing them one by one now. I don't knwo why the extensions did not get ported over to the production server. I read in the main joomla forum somewhere that one will need to reinstall all thirdparty extensions if you transfer files from localhost to server.

      Can this be true (looks like it is cos I am having to reinstall all of mine). If so, why?

      One funny thing however is that the components folders were all uploaded intact but joomla is not recognizing them as installed nor showing them in the component/plugin/module list. It is also not allowing me to reinstall those extensions again because it is seeing the folder as being in use. So I have to first delete each extension folder and then re-upload the zip and reinstall.

      Does anyone know a way to allow joomla use this component folders without me going through this laborous process?

      Thanks
    • Yves's Avatar
    • Yves
    • Preeminent Rocketeer
    • Posts: 9214
    • Thanks: 5

    Re: How to migrate from localhost to production server

    Posted 16 years 5 months ago
    • Install JoomlaPack . With this component, you will be able to create a site backup with all files, the database and an installer (similar to the standard Joomla installer).
    • Yves
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: How to migrate from localhost to production server

    Posted 16 years 5 months ago
    • foley's Avatar
    • foley
    • Sr. Rocketeer
    • Posts: 102
    • Thanks: 0

    Re: How to migrate from localhost to production server

    Posted 16 years 5 months ago
    • Thanks guys....It worked after my second install. First installation was nbased on the backup (the extension was also part of the backup/restore process), but because i had to upgrade to the latest version, it was difficult to uninstall, sop I did a manual uninstall by deleting component folder in both admin and site, and then reinstal.
  • Re: How to migrate from localhost to production server

    Posted 16 years 5 months ago
    • I fiirst install xampp and Joomla into the web server. (same version as the one on my localhost development mechine)
      Then I copy the whole htdocs directory and mysql directory to the webserver. :)
    • Last Edit: 16 years 5 months ago by Cheng Fan Soon.
    • foley's Avatar
    • foley
    • Sr. Rocketeer
    • Posts: 102
    • Thanks: 0

    Re: How to migrate from localhost to production server

    Posted 16 years 5 months ago
    • Your best bet is to use a backup and restore extension such as JoomlaPack, very seamless.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: How to migrate from localhost to production server

    Posted 16 years 3 months ago
    • I have a server on wich JPack does not work.
      So I did what Terp wrote.
      Worked without a problem (you just ahve to type right ;D)
  • Re: How to migrate from localhost to production server

    Posted 16 years 3 months ago
    • Foley wrote :
      Terp wrote:
      ... changed a half dozen lines in the configuration.php file, voilĂ .

      Can somebody tell me what are those lines that need to be changed in the configuration.php file ?

Time to create page: 0.064 seconds