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

Re: Migrating users from 3.9 to 3.11

$
0
0
by Sumesh KS.  

Hi Miller,

We are simply moving users from older moodle to new one.

Re: Internal Server error while updating plugins during install

$
0
0
by Ken Task.  

This reference to fix the issue:
https://docs.moodle.org/310/en/error/admin/installhijacked

Shows this:

Workaround:

Update the database directly with your current IP address (table: mdl_user, field: lastip, SQL: UPDATE mdl_user set lastip='159.245.48.2' where username='admin';).


which means you need some sorf of mySQL client (phpmyadmin probably with shared hosting) to do the SQL command on the database for moodle.


this reference:
https://moodle.org/mod/forum/discuss.php?d=408774
is more hard core ...

In your case, since the install has taken days, someone else (another IP address) has already accessed your site and attempted to finish install but it failed.

All in all, the best advice one could give is this one:

START OVER!


Drop the DB for the moodle.
Erase moodle code you have and whatever is in moodledata

Then study/read/follow:
https://docs.moodle.org/400/en/Installing_Moodle

What do you think,  Howard?

'SoS', Ken

Re: Internal Server error while updating plugins during install

$
0
0
by Howard Miller.  

I have a notion that you can set

$CFG->getremoteaddrconf = 0;

in config.php to get past this. Don't leave that, though.

Re: Migrating users from 3.9 to 3.11

$
0
0
by Howard Miller.  

Stick all your users in an empty course then backup and restore the course.

Re: Internal Server error while updating plugins during install

$
0
0
by Ken Task.  

@Howard ... your notion is correct ... however, OP has said it's taken 7 (? - several) tries to get the core tables built.

Guess we'll wait for the next hickup and request for another 'work-around'.    Been my experience ... even if successful with beating server into an install, gremlins await! smile

'SoS', Ken


Re: Can't complete new Moodle 4 setup - profile error after successful installation

$
0
0
by Enrique Guardia.  

Yes, WP is exactly WordPress. Sorry for not clarifying it in more detail. Thank you for the NGINX link, I hadn't seen it before and was able to successfully install Moodle now.

Re: Can't complete new Moodle 4 setup - profile error after successful installation

$
0
0
by Enrique Guardia.  

Thank your for the link. I was able to configure NGINX properly and now the installation went smoothly.

Re: Can't complete new Moodle 4 setup - profile error after successful installation

$
0
0
by Enrique Guardia.  

If anyone is looking for a LEMP stack to install Moodle, I highly recommend Webinoly (https://webinoly.com/ - not affiliated). With other stacks I had to modify core NGINX files, but with this stack it all worked out of the box, plus it generates SSL certificates for your domains.

Re: Moodle and Elastic Search

$
0
0
by Marcus Green.  

I explored the use of Elastic search at some point in the last couple of years, and lodged it in the too hard for now basket.

Re: Moodle and Elastic Search

$
0
0
by Richard van Iwaarden.  

Ah, to bad. But perhaps you have another option for this problem: course information might get more and more over the years. Some courses have many topics. Is there a way to search just inside one course for information in Moodle? Say that you are certain that a course has information concerning the timetable, but you don't know in which topic/section the information is.

How do you find that quickly?

Re: Moodle and Elastic Search

$
0
0
by Howard Miller.  

Stupid question...

How is Elastic Search better/different to Solr?

We're using Solr, which mostly seems to work. There are some long-standing issues around running out of memory when Managers do searches. That's probably the Moodle code, not Solr.

Re: Moodle and Elastic Search

$
0
0
by Richard van Iwaarden.  

Stupid question...

Well, who took the jam out of your donut this morning? 

Re: Internal Server error while updating plugins during install

$
0
0
by Andrew Dunn.  

@Howard
I did add that code to the config.php and got an error there was a coding fault.

@Ken
I took your advice and have dumped all moodle from the server.
I'll start again on the weekend if i get a chance

Re: Moodle and Elastic Search

$
0
0
by Howard Miller.  

Sorry - you've lost me :-O

I'm not familiar with Elastic Search and was wondering if someone could explain how it differs from Solr.

Have I missed something?

Re: Moodle and Elastic Search

$
0
0
by Richard van Iwaarden.  

*** Misread Howards reply, sorry Howard. Original message was:

I don't know Howard. Was you remark 'stupid question' directed at me? If so, I don't find that polite.

I think the Moodle forums are there to ask questions and help each other. Telling to someone who asks something that he/she is asking a stupid question is not really motivating. Working in Education one of the first things you learn is that there's no such thing as a stupid question. Or as some teacher say 'the only stupid question is the one that's not being asked'.

Back to Elastic Search: it seems that Moodle at some point (early Moodle 3 versions) was trying to use Elastic Search. We have an Elastic Search server running. We also use it for Mahara, so it could be useful to see if it works for Moodle as well.

You mention SOLR. Which might also work, I don't know. It is also not a standard Moodle functionality. Since I have Elastic Search in use that was the path I was exploring.

But perhaps you can explain why you made the 'stupid question' remark. I might be reading to much into it. As for the jam/donut remark, it's a line from one of the greatest movies ever. You can Google for it. But the essence is this:

"who took the jam out of your doughnuts ?" mug front
"who took the jam out of your doughnuts ?" mug back

Re: Moodle and Elastic Search

$
0
0
by Richard van Iwaarden.  

Ah, seems I have to apologise Howard. You probably meant that you were asking a 'stupid question'. Read that wrong, sorry about that. English is not my first language.

Re: Moodle and Elastic Search

$
0
0
by Howard Miller.  

That's exactly what I meant. However, I can see how I may have been less than clear. I shall try not to do that in future.

Ri: Re: Moodle and Elastic Search

$
0
0
by Sergio Rabellino.  

Apart from the clear misunderstanding with Howard, why do you say that SOLR is not "standard moodle" ?
SOLR is the standard backend for enabling a full-text search engine on your moodle and is part of the core functionalities. Elsewhere the search works only on course descriptions.
It's elastic (which I use too for providing the same functionality to mahara (every tool has its unique preferences...) that's not a standard choice for Moodle.
AFAIK they do the same work, index some text and answer to full text query...

Invalid parameter value detected when reset Dashboard

$
0
0
by Sunandar Prawira.  

Hi everyone,

I have case on my Moodle, Here's the complete chronology:

  • I upgraded my moodle from 3.5 to 3.9.11
  • Then I see that there is a missing in course_overview
  • What I did was, copy the myoverview folder from the backup to the database
  • Because the course_overview version copied in the backup is the old moodle version (3.5), then I uninstalled the course_overview
  • Then I installed myoverview which is compatible with version 3.9
  • After that, I changed the theme on my Moodle (to Moove theme)
  • At first, the course overview that appears when I change the theme is the old version of the course overview,
  • Because I know it has been deleted and not running, so I changed (with add new block) the course overview with the latest version that has been installed.
  • After I added a new block of course overview to the dashboard, everything is normal and working
  • But, after I reset the dashboard so that the dashboard settings that I changed can work for all users, there was an invalid parameter error in the externallib line 349 file. After I checked it was a missing requirement.

Invalid parameter on dashboard

Anyone can help me?

Re: Moodle and Elastic Search

$
0
0
by Marcus Green.  

"Stupid question ...." It is a really common phrase (at least in some versions of English), but it is also clearly open to misunderstanding. Almost worth it to read about having the jam removed from Howards doughnuts. 

My answer for global search is SOLR, which is not standard in the sense you get it by default on a fresh install of Moodle.

The two full index search options I know about, SOLR and Elasticsearch require a java (not javascript) service to be running on the server, which requires fairly significant technical knowledge. I have done some configuring of SOLR and there are plenty of opportunities for it to go wrong. I experimented with Elasticsearch partly because I was playing with Nextcloud at the time and I thought that would allow me to get to know just one search back end.

It would be nice if there were pre-built images for either or both, e.g. Amazon ami, or even more universal availability docker images. However as there is not (to my knowledge), the best solution currently is to go down the Apach Solr route.
Viewing all 46918 articles
Browse latest View live


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