Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Updating from LAMP 7.3 to new LAMP package

    LAMP
    4
    5
    50
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Nicolas
      Nicolas last edited by

      Hello,

      First, I am very glad to see that Cloudron now has a single LAMP package which allows changing the PHP version internal to that package. It was very frustrating when I had to change PHP versions previously and move my giant LAMP package to a new one involving days of downtime for my site.
      Now, I'm looking at having to do that again. Is there any way to upgrade from a LAMP 7.3 package to the current LAMP package without shutting off my site, doing a backup, downloading the backup, and the uploading it to a new LAMP package?
      The last time I had to manually migrate from one LAMP package to another there were many server errors because the site's database is so large and in the end Johannes had to make the migration for me (after 3 days of emailing back and forth).
      If I can avoid that hassle at all, I would love to!

      murgero 1 Reply Last reply Reply Quote 0
      • murgero
        murgero App Dev @Nicolas last edited by murgero

        @Nicolas You can potentially avoid a lot of down time by installing the new lamp app at a temp location, move the files for the site, backup the sql database(s) (you can probably just use mysqldump for this if you use the mysql db) and import via phpmyadmin on the new app. Once that's done have the old app change to a temp location and the new app to the old location. Results may vary

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~
        Matrix: @murgero:urgero.org

        1 Reply Last reply Reply Quote 0
        • subven
          subven last edited by

          Make a backup and afterwards select "Clone from this backup". Clone to another URL, do the upgrade, change location for your original LAMP and move the cloned app to the original location. Downtime ~30 sec to 1 minute.

          murgero 1 Reply Last reply Reply Quote 3
          • murgero
            murgero App Dev @subven last edited by

            @subven This is a much better method than what I said.

            --
            https://urgero.org
            ~ Professional Nerd. Freelance Programmer. ~
            Matrix: @murgero:urgero.org

            1 Reply Last reply Reply Quote 0
            • girish
              girish Staff last edited by

              I think OP is asking to upgrade from the very old LAMP 7.3 package to the new one i.e the appstore id has changed. This prevents "clone" from what working easily.

              What you do to is:

              • Backup
              • Download the backup configuration
              • Install the new LAMP package is some location
              • Import from backup using the backup configuration in step 2 - https://docs.cloudron.io/backups/#import-app-backup
              • Once, you are satisfied, you can delete the old app and also move the new app to whatever location you want.
              1 Reply Last reply Reply Quote 2
              • First post
                Last post
              Powered by NodeBB