Quantcast
Channel: Installing and upgrading help
Viewing all 47333 articles
Browse latest View live

Re: Error message after I installed the booking plugin.


Re: cert and make-cert files (installation) lost install

$
0
0
by Ralf Krause.  

Hi Ameerah,

you are installing Moodle for Windows on your own computer. In normal case nobody except yourself can connect to the server localhost. localhost is a server connection locally on the same host. The Moodle installation packages with XAMPP or MAMP are only for private testing and not for providing Moodle for a learning group or a complete school.
Moodle installer package for macOS
Moodle installer package for Windows

As I wrote in the instructions for my own moodle4Mac packages you can connect to this Moodle by opening the firewall on your local computer. Other computers and mobile devices in the same private network are able to connect the Moodle via the ip address. If you will change the Moodle address to my.moodle then you need to setup this address in your network dns with is normally in your network router or local school server.
https://docs.moodle.org/404/en/Installation_Package_for_macOS#Connect_Moodle_from_your_local_network

In my opinion you do not need to setup a secure https for a Moodle server on a local desktop computer. Please remember that these installation packages are not for productive Moodle websites.

An alternative and ready installed Moodle server could be the MoodleBox. The MoodleBox is installed on a Rasberry Pi and comes with its own Wifi network. The MoodleBox is a brilliant idea to start digital learning in the classroom straight away, even without a school-wide Wifi connection. Most teachers are anxious when children are on the Internet, but they can be safe when worksheets, photos and other materials are only found on the MoodleBox. 
https://moodlebox.net/en/

Best regards,
Ralf

Re: how to upgrading MariaDB within XAMPP to install Moodle

$
0
0
by Ralf Krause.  

Hi Ahmed,
please install Moodle4Windows 4.4 as it comes from https://download.moodle.org/windows/ ... this will run a local Moodle installation for you.

Because XAMPP still is running with the old MariaDB 10.4.32 the maintainer must change the environment.xml where you find the minimal settings for your server environment. Eloy must do it for Moodle4Windows and I also must do it for Moodle4Mac. Please read the communication for this in the Moodle Tracker. No, we can't get no better versions of XAMPP or MAMP until today. https://tracker.moodle.org/browse/MDL-74905#comment-980112

Best regards,
Ralf

Re: Upgrading from custom implementation on 3.9 to the latest stable version

$
0
0
by Ralf Krause.  

Hi Manjiri,
please think more about updating your Moodle 3.9 platform. Moodle 3.9 is an unsupported software. The last update for Moodle 3.9.25 was 11 December 2023. If your server runs with Moodle 3.9.25 the software has got its latest security patches from 11 December 2023. If your server runs a lower version then a lot of fixed issues will be missing.
https://moodledev.io/general/releases/3.9

Yes, your server could be unsecure.

Best regards,
Ralf

Re: how to update 3.9 to 4.4

$
0
0
by Ralf Krause.  

Hi Alejandro,
please remember that you can upgrade to Moodle 4.4 only from Moodle 4.1.2. https://docs.moodle.org/404/en/Upgrading
Therefore you need to upgrade in three steps ... from 3.9.x to 3.9.25 ... from 3.9.25 to 4.1.11 ... and then from 4.1.11 to 4.4.1.

Please make sure that you save the current server state completely ... the Moodle database, the Moodle core folder and the Moodledata folder.

Best regards,
Ralf

Moodle Migration Problem

$
0
0
by Victor Kosgei.  

Hi Guys

I am experiencing this issue after attempting moodle migration from one server to another, I have checked similar issues in the forum but none seems to be getting this problem solved. I will appreciate any support.

ThanksCan't find data record in database table course_categories.

Re: Moodle Migration Problem

$
0
0
by Howard Miller.  

Almost certainly, your database is incomplete in some way.

Please tell us (in detail) how you migrated the database? Also, what's the versions of software at either end?

Re: Moodle Migration Problem

$
0
0
by Victor Kosgei.  

Hi Howard 

What am doing is am trying to migrate from one old server which has developed issues to a new one. Am running noodle 3.5* so my intention is to migrate it then upgrade since the old server has accessibility issues.

So far I exported the VM storage from the old server to the new server I was able to install Ubuntu 20.04 ( focal fossa) and fire up noodle which was able to start well and unfortunately it showed that error

Thanks


Re: Moodle Migration Problem

$
0
0
by Howard Miller.  

That doesn't really explain to me how you migrated the database. MySQL is notoriously difficult when migrating data. The only reliable way I have found is to take a full SQL dump and then re-upload on the new server.

Re: Moodle Migration Problem

$
0
0
by Visvanath Ratnaweera.  

Not Howard, but somebody who has spent some time in upgrading Moodle.

OK, the question is how to march a Moodle from 3.5.x to something currently supported. Not something you can do in one long jump, mind you, you are talking of jumping 13 (version 4.1 LTS) or 16 (version 4.3) major versions. Ref. https://moodledev.io/general/releases. You can take different routes. Ref. http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases (Note the From. rel. column). The one most logical to me is the "LTS to LTS" route. Your version, 3.5 is a LTS. So the proposed path would be 3.5.x > 3.5.final > 3.9.final > 4.1.current. You can find what those 'final' and 'current' are in Releases link above.

Each upgrade hat its own Upgrading document page:
- https://docs.moodle.org/35/en/Upgrading
- https://docs.moodle.org/39/en/Upgrading
- https://docs.moodle.org/401/en/Upgrading (supported till Dec 2025, as long as the 4.4 which is not LTS)

Note that each version has minimum and maximum(!) system software versions. Ref. the blog post above.

Also note that at any step you can take a pause. Unsupported Moodle versions don't explode, as you have observed in your current 3.5 LTS. Better take time to check everything is OK before moving to the next step, rather than wondering which step introduced the error when you encounter one after multiple steps.

And don't burn the bridges, if anyway possible. I mean, try to have the prev. Moodle version running too, when you test the newer one. Specially advisable in the case of 4.1 LTS, because the transition 3.x > 4.x was somewhat violent.
;-(

I think Ubuntu 20.04 is a good choice because these mainstream Linux distributions allow switching system software, PHP above all, or even run multiple PHP versions in parallel.

P.S. I saw you made a round in upgrading Moodle a couple of months ago > https://moodle.org/mod/forum/discuss.php?d=452923#p1820130. Long thread, my impression is that you gave up upgrading, installed a fresh Moodle rather. Correct?

Re: how to update 3.9 to 4.4

Re: how to upgrading MariaDB within XAMPP to install Moodle

Re: Moodle Migration Problem

$
0
0
by Ken Task.  

+1 to what Howard said ... maybe you need to see yourself:

Was this transfer of the VM storage a raw copy of files?

A typical db for a moodle has around 450+ tables.

Use the mysql client on new server to connect to the DB server as superuser.
Then issue 

'show databases;'

'use [DB-for-moodle];  where [DB-for-moodle] is the name of the moodle DB.

Then issue:
'show tables;'

That will scroll and the last tables shown are:

| mdl_workshopform_rubric_config   |
| mdl_workshopform_rubric_levels   |
+----------------------------------+
470 rows in set (0.00 sec)

If you don't see that, the raw copy or import of sql dump you made for the DB incomplete for some reason.

'SoS', Ken

Looping Pages in Upgrade

$
0
0
by Ezzeddin Hamed.  

Good day,

I am trying to upgrade from version 4.2.1 to 4.4.1+, after copying the new version file along with updates to the additional plugins and the config file, I went into the upgrade process.

When reaching this page, plugin check, it shows "Plugins requiring attention", this is a long page, but I am including the top of the page.

upgrading

Then once clicked "Upgrade Moodle database now" button, it opens the next page "Upgrading to new version"

upgrading

One the "Continue" button is clicked, it goes back to "Plugins requiring attention" page and keeps looping between the 2 pages.

The plugins that need attention are 425, the majority of them are standard and installer can see the new versions which are of course from Moodle 4.4.1+.

I am using mysqli, php 8.2 and environment is all good.

Any thought how to bypass these pages and continue upgrading?

Thanks a lot, 

Re: Looping Pages in Upgrade

$
0
0
by Visvanath Ratnaweera.  

Your paraphrasing is not entirely clear to me. I assume you are following the documentation page Upgrading.

Does your site utilize SCORM heavily. I saw somewhere that in such cases upgrading that part to 4.4 takes a very long time.

425 plug-ins doesn't sound correct. It must be counting the core plug-ins too. You cant bypass them, they need to be upgraded!

You are not missing the "Upgrade database now" button right at the bottom of the upgrade screen?

Re: cert and make-cert files (installation) lost install

$
0
0
by Ameerah Lopez.  

Hi Ken,
I have never conducted a class with 20 students. Mostly one-on-one. I have decided on a web hosting platform called TMD. It has a CPanel and was $10/month. https://thelearnercentre.org/ is the URL. I am happy that you sent me the list of popular LMS. And of course, the file with LMS with Zoom integration. That is very useful. Are you sure Teams is free for education users? I do have a problem with Ubuntu. My localhost:84/dashboard is not loading after installation of Ubuntu. XAMPP claims that Apache is sharing a port. This happened around the 10th when I installed the Ubuntu shell. Maybe you can help, although I have a live Moodle Site, I feel uncomfortable with Apache down.

https://askubuntu.com/questions/1520510/cant-launch-apache-after-installation
 
I also found this in MoodleDocs 
and Digital Ocean
Tell me if I can redo Apache using the shell.
Thanks in advance.

Re: cert and make-cert files (installation) lost install

$
0
0
by Ken Task.  

Best to use docs/tutorials from where you host:
https://www.tmdhosting.com/tutorials.html
But understand ... NONE are Moodle Partners.   And if you use other hosting providers tutorials, which is ok, you need to be aware of the differences in the other hosting providers environments and your server environment.  See below.

At that price, must be on shared hosting ... uhhhh, you get what you pay for! smile  But, if you are not going to offer courses in moodle for thousands of users at a time, might do for what you want to do.

Is that shared hosting?   Does it have a Terminal icon?  Does it have a Git icon?   The only reason I  ask those questions is that Terminal access to your hosting does give you and advantage.   You don't know that yet, and hope you won't need it, but ....

Are you sure Teams is free for education users?
Didn't say that! You were the one who mentioned using Teams.

I think you need to give up on localhost anything ... as that machine will be
used for the 1-to-1's you plan to do.   It needs to be a workstation ... not a server.  The only difference is your machine has access to additional remote tools with the conferencing software (Teams/Zoom) that the other participants don't have.  After all, you will be the teacher! smile   Moodle might have plugins - addons - for Teams/Zoom - primarily for the scheduling of sessions with students and the launching of meetings/sessions ... but it won't be the Teams/Zoom server itself.

And in future ... best not to share your site URL ... these forums are used by Black Hats as well.   Share info about specs might be asked ... how much space, how much memory, PHP version + extensions, DB server and version - localhost or remote.

You might want to keep this info handy ... your server is:

LiteSpeed Web Server (that's not apache), PHP/8.2.21, and your Moodle version is 4.4.

'SoS', Ken

Re: Looping Pages in Upgrade

$
0
0
by Ezzeddin Hamed.  

Answering by paragraph ...

I am following the upgrading documentation.

It does not have any SCORM's and all SCORM tables are empty.

Yes, this includes core plugins which are marked as "Standard".

No, I am not missing "Upgrade database now" button, it is at the end of the page, but once clicked it goes to the second screenshot and does not progress.

=============
OK, I am not stopping until this is solved, I totally believe there is something in the SCORM plugin that has issues, I did a kind of trick, I completely removed the plugin folder, refreshed the first page "Plugins requiring attention" and clicked on "Upgrade database now" button, it did partially work and showed that some plugins are  upgraded.
upgrading 3
I believe my previous post shows that it stuck on SCORM plugin for some reason. I passed this step, but it returned from the beginning back to the same page but this time with 370 plugins.
The next page "Upgrading to new version" does not show anything, just the title and the continue button and again, it is looping between the same 2 pages.

Re: Looping Pages in Upgrade

$
0
0
by Ezzeddin Hamed.  

Visvanath,
Thanks for helping, but actually I still believe something wrong in the Moodle version 4.4.1+; I have upgraded Moodle numerous time and never got this type of errors.

To solve the issue I am facing from it's base, I removed version 4.4.1+ and used a step back version which is 4.4.1 which worked very smoothly and I am able to end the upgrade process.

During the upgrade process an error came up not able to write to database which I fixed by increasing max_allowed_packet in mysql.

Again, thanks a lot.

Re: Moodle Migration Problem

$
0
0
by Victor Kosgei.  

Hi Howard

My bad, I did not provide enough info to clarify. I however followed through all the comments and I got to try what Ken recommended (checking number of moodle tables) although I could confirm the number of tables to be the same between old moodle and new moodle DBs I just decided to re-try mysqldump again, this time however I used ftp (filezilla) to transfer the dump files across the servers I restored the files restarted everything and this time, moodle fired properly.

I however have encountered another challenge on the URLs, I have followed the recommended search and replace script to update all URLs to the new server unfortunatly when I open the home page it powers up well but when trying to log in it resolves to a different URL, check below

Home URL is http://192.168.16.17/moodle which opens fine, but when trying to login the URLs becomes http://192.168.16.17/moodle/****admin/index.php   then the site crashes

I have no idea how that admin is inserted there

Much appreciated for your support (see attached)
Viewing all 47333 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>