Good Migrations: Migrating Moodle to a New Server

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 34

  • @ribeirovictor.c
    @ribeirovictor.c Місяць тому +1

    I aways come back to your video to remember the details. Thank you very much to share your knowledge!!

  • @joelsmith3000
    @joelsmith3000 Рік тому +3

    I cannot thank you enough for this guide! It took me 3 tries to successfully migrate my server, but it would not have happened without this video. I am subscribed now and look forward to any future content you create around Moodle!

    • @Wise-Cat
      @Wise-Cat  Рік тому +1

      Great to hear! Thanks for the comment and the sub, having a bit of a dry spell at the moment, but hope to be adding more videos next month. Cheers!

  • @AlexDelaforce
    @AlexDelaforce Рік тому +3

    Thanks for sharing your knowledge of Moodle and the setup procedures you show.

    • @Wise-Cat
      @Wise-Cat  Рік тому

      Glad you enjoyed it! Thanks for your comment.

  • @martinr9618
    @martinr9618 Рік тому +2

    Excellent video, i installed and migrate moodle several times with a lot of errors and mistakes, this clarifies eveything. Thanks! greetings from Argentina.

    • @Wise-Cat
      @Wise-Cat  Рік тому +1

      Glad it helped. Thanks for the comment :)

  • @DanielNjora
    @DanielNjora Рік тому +2

    Great video WilseCat and good job there! I am wondering is you have something you can share for a migration from Windows server to a Ubuntu Linux server or that can give proper guidance?

    • @Wise-Cat
      @Wise-Cat  Рік тому +1

      Thank you. Also, sorry but, no, I've never worked with Windows server and so don't really know much about it. I imagine many of the main concepts will be similar, though perhaps with a different interface. Good luck!

    • @DanielNjora
      @DanielNjora Рік тому +1

      @@Wise-Cat I understand and thank you.

  • @sianjones4132
    @sianjones4132 Рік тому +1

    Great video. I'm getting stuck at 21:37 my new server is on a virtualbox machine local, my old server is on a digitalocean droplet using windows powershell i can log into either but when i try to log in from my old server to new server i get COnnection timed out, i've tried a few things, disabled ufw and made sure port 22 was open now I'm stuck. Any help would be appreciated.

    • @Wise-Cat
      @Wise-Cat  Рік тому

      It sounds like you're trying to login to a local area network (LAN) address from outside on the wide area network (WAN). Basically, unless you setup port forwarding in your router it's unlikely you will be able to do this. The solution? Reverse the login and copy operation. Login to your VirtualBox server and SSH from there to your droplet. With the rsync commands, run rsync from the VirtualBox. That's a lot simpler than setting up port forwarding.
      Note that for your VirtualBox server to be accessible from the outside world, you will at some point need to setup port forwarding. But if you just want a local copy you can experiment with, running locally is usually fine.
      Good luck!

    • @sianjones4132
      @sianjones4132 Рік тому +1

      @@Wise-Cat Thank you, I can't believe you answered so quickly, I'm going to give this a try. You are the best resource on the internet for Moodle Development and Admin, thank you for all the work you do.

    • @Wise-Cat
      @Wise-Cat  Рік тому

      Haha, Thanks for the kind words. I usually don't manage such a quick response. Your timing was just extremely lucky. Hope it all worked out for you.

  • @TheRealGdawg3
    @TheRealGdawg3 Рік тому +2

    Great Video... very good information. Could you have just GIT to pull down to the local computer?

    • @Wise-Cat
      @Wise-Cat  Рік тому +1

      Well, you could... but rsync is much faster and more efficient. Also, I can't really recommend making a github repo and storing private data (or user data) in there.

  • @supersmart671
    @supersmart671 4 місяці тому +1

    Thanks! there is no $_SERVER['HOME'] under PHP Variables

    • @Wise-Cat
      @Wise-Cat  4 місяці тому +1

      Are you looking for your Moodle code? If so perhaps you can find $_SERVER['DOCUMENT_ROOT'] ?

  • @supersmart671
    @supersmart671 Місяць тому +1

    Hi, I was able to transfer to the new server with the new MySQL database, It is local VM running Ubuntu and MySQL. Google SSO is configured, it is showing me the Google SSO as well as the "Username" and "Password" option. I was able to login with super admin username that I had. How will this work if I transfer it to a new VPS, if I want to keep the same URL?

    • @Wise-Cat
      @Wise-Cat  Місяць тому +1

      First, well done on the migration. Second, it should largely work exactly the same way. However, DNS will need to be set and if your local server uses self-signed certificates for TLS, you might need new certs for other users.
      I'm a little surprised that Google SSO is working on a local VM install, but as long as the domain name and path remains the same, I guess there's no real reason it shouldn't work.

    • @supersmart671
      @supersmart671 Місяць тому

      @@Wise-Cat Thanks! Oh, ok. DNS setting, right now we are migrating the VPS, I am just in the testing phase. I am able to login with username and password not with Google SSO. Apparently Google SSO does not allow Private IP's so, this will not work in local VM

  • @bladimyrovelasco4365
    @bladimyrovelasco4365 8 місяців тому +1

    Hello there, I have an old Moodle backup ( Moodle directory, SQL Data Base, and Moodledata directory) all of that is in Moodle 2.0 with PHP 5.6 and I want to put it working back with all the newest versions of Moodle, any advice on how can have that done :S

    • @Wise-Cat
      @Wise-Cat  8 місяців тому

      Just made a video answering this:
      ua-cam.com/video/uwAgONmniqQ/v-deo.html
      Hope that helps!

  • @christkant
    @christkant Рік тому +1

    Great Video. do you have any video about migrating moodle from mysql database to moodle psql database? Thanks

    • @Wise-Cat
      @Wise-Cat  Рік тому +1

      Thanks for the great question! I have a video on this topic now. ua-cam.com/video/7-VzdQ5WUbA/v-deo.html

    • @christkant
      @christkant Рік тому +1

      @WiseCat thanks a lot, this is very helpful for me. Thank again for your time and great videos.

    • @Wise-Cat
      @Wise-Cat  Рік тому

      Happy to help. Thanks for the inspiration on how to help.

  • @yousefharmoush9139
    @yousefharmoush9139 Рік тому +1

    Hello Great video , Picture in my moodle not appear jusr picture there is any notes from you . Thanks again

    • @Wise-Cat
      @Wise-Cat  Рік тому

      This can be tricky to troubleshoot. One reason for pictures not displaying that I have seen before is X-sendfile being misconfigured in Nginx. However, there are many possible reasons other than this too.

  • @supersmart671
    @supersmart671 Місяць тому

    Hi, downloaded the database using mysqldump now I have uploaded it the new server which already has Moodle, the file is in 'gz' format. How to connect this Moodle instance to the new database?

    • @Wise-Cat
      @Wise-Cat  Місяць тому +1

      gz just means that it has been zipped up to make the file smaller.
      gunzip file.gz
      Should unzip it and leave you with a .SQL file.

    • @supersmart671
      @supersmart671 Місяць тому

      @@Wise-Cat Thanks! successfully done.

  • @chinedunnadi-d2g
    @chinedunnadi-d2g Рік тому +1

    i am already lost when i saw the Terminal 😒😒

    • @Wise-Cat
      @Wise-Cat  Рік тому

      The terminal does look scary at first, but it's not so bad once you get used to it. I made a few videos introducing the Terminal from the very beginning. Perhaps take a look at that playlist and try the terminal again. Good luck!
      ua-cam.com/play/PLUocP1bKm-DvuXCq4H-V3PUaZB0HIEHAi.html