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

Jumping from moodle 3.1 version to 3.9

$
0
0
by Syed Ali.  

I am planning to jump from moodle 3.1 to 3.5 and then 3.9.

What do you guys suggest. As per documentation says, I can upgrade to 3.5 if I have version 3.1.

so then I can upgrade to 3.9 once I have 3.5.

Do you have any recommendation? Should I upgrade sequentially?


Re: Jumping from moodle 3.1 version to 3.9

$
0
0
by Leon Stringer.  

Recommendation: take a copy of the site and do a test upgrade first. Find out and resolve any problems during this test upgrade before upgrading the production site.

Re: Jumping from moodle 3.1 version to 3.9

$
0
0
by Ken Task.  

In addition to Leon's recommendation ... on the clone get the site to use git. Perfect time to do it as your 3.1 probably isn't highest. Once the cloned 3.1 is git updated to highest 3.1 (which, in the past on marches has been the recommendation ... update to highest in series first then 'march'), it's a matter of a few commands to acquire and upgrade the site to 3.5.highest. Ditto for 3.9.
Research: plugins ... all the addon/plugins make the trip to desired destination?

With git ... updates are possible anytime ... and you can get fixes to code pronto. There hasn't been a point release yet that didn't have some fixes (cept the last point release of a no longer supported version).

Moodle releases fixes and security updates every week - a 3.9.x will have quite a few before 3.10 and 4.0

'SoS', Ken

Re: Moodle works on LAN, but not WAN

Re: Jumping from moodle 3.1 version to 3.9

Re: Moodle works on LAN, but not WAN [RESOLVED]

$
0
0
by Visvanath Ratnaweera.  

Tough one! Glad that you've found the solution.

The explanation is that, during your changes in $CFG->wwwroot Moodle has cached it. A typical place is moodledata/muc/config.php. Should be added to somewhere in Moodle Docs.

Re: Uninstall plugins via CLI

$
0
0
by Steve Howes.  

Sorry, newbie question how to use them, because when I try the dry run, I get 'can not be uninstalled: '

I have a local plugin that has no uninstall option, but I need to uninstall so that I can install an updated version. When I try the dry run, I get 'can not be uninstalled: '

Re: Uninstall plugins via CLI

$
0
0
by Ken Task.  

@Steve ...

Move the /local/pluginname out of moodle code.  Unzip the new local plugin zip in /local/.   In mdl_config_plugins table remove rows for old local plugin.

Then install.

'SoS', Ken


Απάντηση: Re: How can I access my local moodle via the internet?

$
0
0
by Xristof Xaral.  

I do not know if my static IP address is accessible from the Web.
How can I control it?

Well, I tell you my new moves !!
I go to no-ip.gr and I have defined a host name for my external ip.
Then I put ipv4 192.168.1.65 (my computer) on port 80 on my router.
I go to my Windows .hosts file and configure my ipv4 in my hostname 192.168.1.65 -> christ30.hopto.org

I just did these.

if i'm wrong, tell me your opinion why i've been looking for this thing for many days.

I want my teacher to check my website for my degree.

Getting ERROR: Incorrect Number of query parameters. Expected 2, got 0. after migration.

$
0
0
by Mudabbir S.  

Hi,
I am using moodle version 3.5.1.

Migrated whole moodle site to another hosting. Now 2 out of 300 users, are reporting following error when they try to login

Strangely, I am able to login from my laptop using their credentials. They have tried different laptops, browsers after clearing cache, but no success. I cleared the website and moodle cache, still no gain.

Following is the screenshot of the errors they get when I enable debug mode in moodle. (Also attached herewith)

https://mega.nz/file/JNIGCbJD#E4DK7-kienCEsXJf3M5JujBg1bzUCWpVfRbXaLfui2E

Could you please help identify the issue.

Kind regards.

Re: Major update for moodle: ubuntu 18.04 to 20.04

$
0
0
by Davide Longo.  

Thank you Visvanath for your directions.

Let's say that moodle, as framework, is still not that friendly as a Joomla or Wordpress (which are CMS and not LMS).
With some further effort, I was able to migrate to the latest 3.9 but now have some issues with the admin account. The previous webmaster should have removed/renamed it and in the new installation is nearly impossible to re-enable it (other admins are LDAP and I neew a local one). Now, I have two options here: first one is edit the moodledb using phpmyadmin and the second is creating an administrator account and put the userid into the siteadmin BEFORE exporting the db (original installation). I'd be more than glad if anyone coud direct me to how to insert the admin user in the siteadmin using phpmyadmin. I have already tried inserting the id #2 into the tables mdl_config only getting partial admin rights if id#2 is inserted into md_role_assignements with contextid=1...

Many thaks,
Davide.

Re: Major update for moodle: ubuntu 18.04 to 20.04

$
0
0
by Ken Task.  

"Let's say ..." ... actually because there are some areas of moodle config (like users) that have utilities via command line, Moodle might actually be more secure than mentioned CMS's (I've used/am using both CMS's, BTW).

That being said, query your mdl_user table for auth=manual - accounts that will auth using mdl_user table.

mysql> select id,firstname,lastname,username from mdl_user where auth='manual';

The guest account, using or not using is ID 1 and set to manual and probably should remain.  User ID 2 was/is the first person to install ... default for login name was 'admin'.  ID 2 is probably the one you want to change.

There is a command line only script in code/admin/cli/ that can reset manual accounts (need ssh access to server).

cd /path/to/moodlecode/admin/cli/

php reset_password.php [ENTER]

You will be pompted for the user name first.

Then the new password ... in clear text but no worries there ... you are in an ssh shell.

One can also set an account to be admin via config.php by adding a line:

$CFG->siteadmins='2,#,#';

where #,# are user ID numbers from mdl_user table.

Using config.php file should be last resort ... just to get in an set users desired to admin levels.   Once you have admin users squared away, comment out the CFG line in config.php and it's no longer in affect.   Comment out by adding // in front of the line.

Might leave the line in config.php just in case you need such 'back doors' in near future.

'Spirit of Sharing', Ken


Re: Απάντηση: Re: How can I access my local moodle via the internet?

$
0
0
by James Steerpike.  

I think you are on the right track. You need a dynamic DDS service to direct others to your local machine. I haven't set up such a service myself.

Perhaps your teacher could give you some guidance. If they have set a Moodle site as an assignment they should have considered how to grade it.

Re: Problem with updating M3.9.1 to M3.9.2

$
0
0
by Esli Verheggen.  

Dear Rick, 

Many thanks for making and sharing those videos. They helped me out a lot! Had to wait a little while until the circumstances ofr upgrading were optimal, but everything worked out following your video! 

Best, 

Esli 

Re: Major update for moodle: ubuntu 18.04 to 20.04

$
0
0
by Visvanath Ratnaweera.  

Hi Davide

You wrote:
> Let's say that moodle, as framework, is still not that friendly as a Joomla or Wordpress (which are CMS and not LMS).
There is a dedicated form that topic, called Comparison and advocacy https://moodle.org/mod/forum/view.php?id=2784.

> With some further effort, I was able to migrate to the latest 3.9
Glad that my reply helped. It would be nice, if you could document how you did it, for the benefit of future visitors. The same goes here: https://moodle.org/mod/forum/discuss.php?d=411209#p1658559.

> but now have some issues with the admin account.
You should have started a new thread. The discussions here are subject based, they are no lifelines.
sad

Problem with H5P slideshow powerpoint

$
0
0
by Kevin Baglieri.  

Hi everybody,

I just installed this H5P plugin in order to create some powerpoint slides.

Once my work is done and the slides are ready to be studied, I cannot find an option to make each single slide mandatory to be seen, I mean I would like to make the student to see each single slide before going to the next activity.

Someone could help me with this request?

Thanks in advance.


Fresh install 3.9.2+ gives "error communicating with server" after DB table creation

$
0
0
by John Schinnerer.  

Trying to complete a fresh install of 3.9.2+ on Debian 10 OS. 

  1. Used Git per docs to get fileset on server
  2. Apache/2.4.38 (Debian)
  3. PHP 7.3.19-1~deb10u1, Zend Engine v3.3.19 with Zend OPcache v7.3.19-1~deb10u1
  4. MariaDB version 10.3.23-MariaDB-0+deb10u1-log Debian 10
  5. Various browsers, no difference in issue there.
Using web install UI. All required and optional PHP modules present and all other prerequisites good to go according to install docs and install automated checks.

First I hit this nasty and hard to find little bug (this needs a note in the install instructions for 3.9.x ASAP, please...): https://tracker.moodle.org/browse/MDL-69196  I applied the patch. That got the database creation to complete (tables created). Resulting install page showed success for all. Clicking the "continue" button at bottom of that page returns page with only the message:

"error/An error occurred whilst communicating with the server"

Multiple hits searching for that here and beyond, but none appear relevant to my situation. 

No PHP errors from whatever throws this are showing up in the log. Logging is already on via apache/php config. The DB table create errors due to above bug showed up in the log. 

Just to double down, I added the ini_set code in config.php as shown here: https://docs.moodle.org/dev/PHP_error_logs - still no php errors. One warning, which is not an error: "PHP Warning:  Cannot modify header information - headers already sent by (output started at /content/lms.mydomain.tld/html/moodle/config.php:26) in /content/lms.mydomain.tld/html/moodle/lib/setuplib.php on line 1378"

Have restarted apache needless to say. Even went so far as to reboot the VPS. No change.

Session files are getting created in the moodle data directory. I can't verify they're valid, but they get created so sessions are at least being initialized enough to create a file. Content looks like for example:

USER|O:8:"stdClass":2:{s:2:"id";i:0;s:10:"mnethostid";s:1:"1";}SESSION|O:8:"stdClass":0:{}

The fail presumably occurs somewhere in next steps of code to initialize the moodle install - config.php calls ../lib/setup.php  (required once only )and that calls a bunch of other stuff. Somewhere along the way there's an error that is not putting anything in the log.

Any insights on this appreciated. At this point I am dead in the water. So much for "easy to get started..."


Re: Upgrading from Moodle 3.5 to 3.9.1 hangs on message_popup

Having problems to use the app

$
0
0
by Patricia Mendez Lara.  

Hi communnity! 
I just downloaded the app from MAC 37.8  and I am having issues to have it functioning. 
Once downloaded the app, I try to switch on the servers but remains off all the time, the power button never gets green. 
Then I write at the broader localhost:8888/MAMP and seems to be okay, but in localhost:8888/moodle there is an error message. 

Database connection failed

It is possible that the database is overloaded or otherwise not running properly.

The site administrator should also check that the database details have been correctly specified in config.php


What can I do?

Re: Problem with H5P slideshow powerpoint

$
0
0
by Beatriz Rojo.  

Hi Kevin, this is a typical request from Articulate users 🙂. It's not possible. An alternative is to create a short quiz after the presentation to be sure that students have understood the content presented before moving to the next activity.

Viewing all 47427 articles
Browse latest View live


Latest Images

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