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!
Excellent video, i installed and migrate moodle several times with a lot of errors and mistakes, this clarifies eveything. Thanks! greetings from Argentina.
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?
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!
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.
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!
@@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.
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.
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?
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.
@@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
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
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.
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?
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
I aways come back to your video to remember the details. Thank you very much to share your knowledge!!
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!
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!
Thanks for sharing your knowledge of Moodle and the setup procedures you show.
Glad you enjoyed it! Thanks for your comment.
Excellent video, i installed and migrate moodle several times with a lot of errors and mistakes, this clarifies eveything. Thanks! greetings from Argentina.
Glad it helped. Thanks for the comment :)
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?
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!
@@Wise-Cat I understand and thank you.
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.
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!
@@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.
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.
Great Video... very good information. Could you have just GIT to pull down to the local computer?
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.
Thanks! there is no $_SERVER['HOME'] under PHP Variables
Are you looking for your Moodle code? If so perhaps you can find $_SERVER['DOCUMENT_ROOT'] ?
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?
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.
@@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
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
Just made a video answering this:
ua-cam.com/video/uwAgONmniqQ/v-deo.html
Hope that helps!
Great Video. do you have any video about migrating moodle from mysql database to moodle psql database? Thanks
Thanks for the great question! I have a video on this topic now. ua-cam.com/video/7-VzdQ5WUbA/v-deo.html
@WiseCat thanks a lot, this is very helpful for me. Thank again for your time and great videos.
Happy to help. Thanks for the inspiration on how to help.
Hello Great video , Picture in my moodle not appear jusr picture there is any notes from you . Thanks again
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.
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?
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.
@@Wise-Cat Thanks! successfully done.
i am already lost when i saw the Terminal 😒😒
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