Hi Vasco, thanks for this, it worked! saved my day, thanks!!
Re: Database error after upgrade to 3.6.3
Re: Using moodle files on both Ubuntu and Windows
I am afraid I don't quite understand what you are trying to achieve here...
If you have the Moodle server installed and running (on either Windows or Linux) then it does not matter what operating system the clients are running... I would suggest that trying to synchronise the server files between two different servers is a really bad idea and probably not what you need to do to achieve what you want...
Jon
no start page file
I have tried to upload my site from my localhost to a 1&1 ionos VPS however after it had not worked after transfering all the files 1&1 ionos told me there was no start page HTML or script? has anyone else had this problem and how do I fix it?
Re: Redirected too many times on installation
Hi
thank you. I did try deleting the config.php again and with the edited redirects in the admin/index.php it did install this time.
I've now put the none edited index.php back in place and so far all seems to be well.
Regards
Heather
Re: no start page file
Hello James and thanks for posting as requested on the Moodle.org forums. Hopefully you will get a more expert answer soon but the main thing to remember is that Moodle is not like a normal webiste with an index.html page - Moodle needs a database and other stuff. If you really do want to move your Moodle site then look at the documentation on Installing Moodle - and a reminder that, if you just want to get a site up and running quickly then you can use a MoodleCloud site and move your courses from your previous Moodle site easily onto the MoodleCloud site.
Re: no start page file
Problem is I have used a custom theme that i will not be able to edit if i use a moodlecloud site
Re: no start page file
In the Moodle source code folder on your localhost you should see index.php amongst the files and folders. The IONOS message says it's looking for such a file (index.php is in the list) but can't find it.
The folders and files like admin, analytics, auth, …, index.php, etc., need to appear in the root folder (directory) of your website on the IONOS server. You may have copied these into a subfolder called moodle.
If you're still stuck reply with a screenshot of the source code files (if there's any sensitive data blank this out) and we'll try to work out where these should go.
Re: no start page file
Have you installed Moodle on your VPS? There will be a file called index.php in the Moodle directory. If it’s not there, then either Moodle is not installed properly, or it’s installed in the wrong directory (ie. not the web root).
Re: Moodle 3.4.1+ admin/environment/php extension/intl
Yes, I have installed both versions for sure.
Re: Moodle 3.4.1+ admin/environment/php extension/intl
Open a command prompt window, change to the folder containing PHP in the install package folder and run php --version. E.g. on my server this is:
C:\…>CD C:\Users\Administrator\Moodle\server\php
C:\…>php --version
PHP 7.1.10 (cli) (built: Sep 26 2017 20:07:27) ( ZTS MSVC14 (Visual C++ 2015) x86 )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
What output do you get?
Also which version of Microsoft Windows is running on the VM?
Re: IIS 10 Issues
For Heather's suggestion re checking OPcache: check Site administration→ Server→ Environment to make sure there's no warning message:
Also check the OPcache settings match the recommendations.
Are you running the non-thread-safe build of PHP (i.e. the correct build for use with IIS). On the PHP info page you should see "Thread Safety: disabled".
1.9v to Newest version
Is there anyway to transfer a very outdated 1.9v moodle to the newest version? What kind of options are there and how would I start?
Re: 1.9v to Newest version
It's possible but a load of grief. Not only do you have to upgrade Moodle through several different versions you will have to deal with a whole bunch of server software dependencies that differ between versions. A lot of reading and planning.
I would strongly advise you to consider simply installing a new version of Moodle and recreating your courses. It's usually less trouble and the end result will be better.
Re: 1.9v to Newest version
I wrote about some issues to consider.
One motivation to upgrade rather than start from scratch is if there are a lot of users to transfer without wanting to issue new passwords. (There may be workarounds to this by modifying the database).
Re: 1.9v to Newest version
It's the database that worries me the most I think. I have over a 1,000 student accounts that would have to be transferred and several long and lengthy courses and degree programs. I'm just worried about the software becoming so obsolete that it may not work in the future.
Re: 1.9v to Newest version
How much would it cost to hire someone to do this for me I wonder?
Re: 1.9v to Newest version
The obsolescence isn't so much of a problem, more that the software (both Moodle and the underlying server software) are no longer supported so if you did encounter problems addressing these may be difficult.
As Howard says, it's not a straightforward task and it's possible you'll run into unexpected issues which is why the testing is so important.
If you have the required skills then you can look at doing this in house but if you don't then realistically you'd need some paid consultancy for this work.
Re: 1.9v to Newest version
I think that you can download the users from 1.9 and upload them into 3.6. However, I don't think that there is a way to include their photos in the upload. (Actually, I just verified that I could upload users from 1.9 to 3.7dev. I had 738 users in my 1.9.)
When I moved from 1.9 to 2.0, I asked for this "upload photos" feature in the Tracker system. I cannot remember the MDL number for it. Sorry.
I agree with Howard's recommendation.
You should, however, do some experimenting on your own. Get a 3.6 up and running, export your users in CSV (text) format from 1.9. Then try uploading them into 3.6.
Also, you should realize that there are some server-side requirement differences.
PHP 7.2 and plugin compatibility
Hello Moodlers,
We will be upgrading our PHP version from 7.1 to 7.2 soon. My understanding from the dev documentation is that core Moodle should be compatible for 3.4 and above. I am trying to figure out if there is a simple way to confirm that my additional plugins will be compatible with PHP 7.2, as well.
Is it safe for me to assume that a plugin that is compatible with Moodle 3.4+ is compatible with PHP 7.2? That would be the easiest thing for me to figure out, I reckon.
Otherwise, I guess I would either have to read several versions back of changelogs for each plugin and hope that the developer wrote something about PHP compatibility, or individually reach out to each developer, which would obviously be more time intensive for me.
All that said, of course we will be doing upgrades and testing in our development environment first. But, the more information, the better!
Cheers,
Ray
Re: 1.9v to Newest version
In addition to what others have already said ... I have had experience at migrating 1.9.x in the past and most recently to highest at the time 3.5.x. BTW, am not applying for the job! ;) Just offering 2 cent advice.
Much depends on how your 1.9.x is currently hosted. Shared host? Forget it. Too much you cannot control. VPS hosted? even with them, depending upon provider and what they will allow customers to do with the system ... managed by them and you don't have enough control - self-managed and you do it all.
This to say, you might also be looking at moving from shared host to managed or un-managed hosting with same provider OR a new provider and that adds yet another layer. Best to have un-managed and a minimal install of an OS (Linux) so that one can migrate the 1.9 due to having to march not only the moodle upwards, but PHP and MySQL upwards at an appropriate time in the march of Moodle.
BTW, most recent experience at 1.9.x to 3.5.x ... Plan A turned into Plan B which turned into Plan C. Got it done but not without Moodle Admin person having to redo quizzes - very time consuming for OP.
Anyhoo ... my 2 cents.
'spirit of sharing', Ken