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

Re: [IMP] Migrate Moodle 2.9 - 3.6

$
0
0
by Somasom kk.  

Hi Howard,


I managed to upgrade to moodle 3.1

My existing data has been carried over successfully, but some of the plugins say "Missing from disk"


What am I missing?


Steps I've followed


1) downloaded moodle 3.1 tar using wget

2) backed up my public html folder

3) unzipped the moodle 3.1 tar

4) copied config.php, and the plugin oflder form the old public html folder

5) ran the php /admin/cli/upgrade.php command to upgrade the moodle


All steps completed successfully.

Pl advise


Also, does data automatically get upgraded ot barracuda format due to this upgrade?



Re: IIS 10 Issues

$
0
0
by Luis de Vasconcelos.  

Maybe you're missing the Visual C++ Redistributable for Visual Studio on the server? Try installing or reinstalling it.

PHP has different levels of error logging. Is logging enabled on your PHP setup? PHP has it's own errors log file. It could contain useful info to troubleshoot your problem so temporarily turn the logging level up to max and see what info gets written to the log file. (See http://docs.moodle.org/en/Debugging)

What happens when you run PHPInfo()? Does it show that the MySQL driver is loaded?


Re: IIS 10 Issues

$
0
0
by Int Imp.  

I have double checked and install the relevant Visual C++ Redist's and still the same. The PHPInfo reports that all modules etc are loading correctly.

the 500 error we have in IIS is only when someone tries to login with LDAP credentials.

Re: IIS 10 Issues

$
0
0
by Luis de Vasconcelos.  

have you loaded the php_ldap.dll extension in your PHP setup?

Does PHPInfo show a LDAP section and that LDAP Support is enabled?

Re: Redirected too many times on installation

$
0
0
by Luis de Vasconcelos.  

Have you already installed Moodle? If not, try deleting the config.php file and run the installer again.

Installing locally for testing - Errors (Apache HTTP Server has stopped working+)

$
0
0
by Jesse C.  

Hi there,

I want to use Moodle in my workplace and have been assigned testing. I have no clue what I am doing.

I have a windows 10 PC and want to do all the testing from here so I was directed to this page on Moodle.org: https://download.moodle.org/windows I chose Moodle 3.6.3+ (and tried the later version too)

I unzipped the files (winrar) and stuck them in a folder.

I was able to run "startMoodle.exe" successfully and connect to http://LocalHost and start the web-based installation process in Google Chrome. 

I get to what I believe is the end of the Web based installer process.. but I can't get beyond that.

I get four errors during my installation and the last one is fatal.

 

1. PHP Settings should be changed

2. Site not HTTPS

3. PHP not 64 Bits.

4. Apache HTTP Server has stopped working


after the 4th Error http://Localhost stops loading and the 4th error repeats until I use "Stop Moodle.exe"

Not sure where to go next... the instructions I find.. go way over my head and usually involve configuring something after the step I am stuck on.

I looked for a config.php file.. but there were many (not that I know what to do with it anyway).


Re: Installing locally for testing - Errors (Apache HTTP Server has stopped working+)

$
0
0
by Ken Task.  

This isn't a response to the technical issues you are facing, but ... maybe a change to approach in testing ... depending ...

"... use Moodle in my workplace and have been assigned testing."

Will you be the true server admin going forward?

Will there be others who are involved in the decision making going forward?

Local host apps are provided true ... but as you have already experienced issues can rear their ugly heads.

If going forward, will you be Windows platform or Linux?  (you'll find more Linux users in these forums than Windows).

A true server will be using https (which involves certs from a CA) and a fully quallfied domain name ... (which involves DNS), and good chance that EMail will be used to communicate (forums,notifications,student engagement, etc) (which involves an SMTP server).

Think your time would be better spent ... given all the above ... to spin up a moodle on your choice of poision in a true server environment.   Might be accessible only inside corps private network for a while but then you could involve other stake holders in decision making, etc.

Actually, could be accessible to public internet but only users with manually created accounts can login.

My 2 cents!

'spirit of sharing', Ken



Re: How to increase session timeout to greater than 4 hours?

$
0
0
by Ryan Desmond.  

Did anyone ever figure this out? The 4-hour max session is far too short for our students. (As it appears this is also the case for many other people and organizations.)

Does anyone know if simply adding the following to config.php will do the trick?

$CFG->sessiontimeout = [some int val];


Re: How to increase session timeout to greater than 4 hours?

$
0
0
by AL Rachels.  

Hi Ryan,

You can try it, but it probably will not work. The name, sessiontimeout, is a Moodle configuration setting found in the mdl_config table. If you try to set it for more than 14400 (4 hours) with something like phpMyAdmin, then purge caches and go look at Site administration, search for, sessiontimeout, it will warn you, Invalid current value, show you the invalid value, and then in the setting box it will change it to the default 2 hours.

Re: How to increase session timeout to greater than 4 hours?

$
0
0
by Ken Task.  

@Ryan .. if you have vr. 3.5/6.x could try this:
in admin/cli/
cfg.php

php cfg.php --help

[root@server cli]# php cfg.php |grep timeout
sessiontimeout    7200
repositorygetfiletimeout    30
repositorysyncfiletimeout    1
repositorysyncimagetimeout    3
curltimeoutkbitrate    56
block_rss_client_timeout    30

php cfg.php --name=sessiontimeout --set=7500

where 7500 is the number of seconds you desire.

https://www.calculateme.com/time/hours/to-seconds/6

Dunno if it's temp or not ... search config tables to see if it 'sticks'. ;)

But, why?

'spirit sharing', Ken


Re: How to increase session timeout to greater than 4 hours?

$
0
0
by Ryan Desmond.  

Thank you, Ken and Al, for your responses.

Ken, I'll give that a try (when I'm back to work). The primary "why" is that I get very regularly complaints from our students that the need to re-login multiple times a day is really frustrating and has lead to them losing their work. I really don't understand why the session timeout would be limited to only 4 hours. The only thing I can find anywhere is that there are "security concerns" which I find to be rather silly. What security concerns? I must be missing something. This isn't an online banking portal. What if everyone had to log into Gmail, Facebook or Instagram or any other site every single time you want to use it? People would use all those services a lot less. (In the case of social media that might not be a bad thing ;) but this is an LMS - we want max usage.)

Allowing students to stay logged in through at least the full day of class seems to me to be obvious. Every single hurdle/inconvenience in between our students and their progress with learning is a problem. And this constant need to log back in is a very regular inconvenience. One for which I see no need.

Thanks again,

Ryan

Re: Installing locally for testing - Errors (Apache HTTP Server has stopped working+)

$
0
0
by Jesse C.  

Thanks Ken. 

My role is as a course administrator/coordinator. Currently Everything is tracked in email and three excel sheets.  It's a bit cumbersome. 


I was successful in adding the latest version of Moodle to my website.  It wasn't that hard.  I learned a lot!




Re: installing moodle36

$
0
0
by John Glenn Tahil.  

how can i reinstall the extension=php_fineinfo thanks.

Re: How to increase session timeout to greater than 4 hours?

$
0
0
by Ken Task.  

Welcome!

"security concerns" which I find to be rather silly ...

Hmmmm ... well, you can prove that by allowing (or figuring out a way) where your student sessions *never* time out ... always on ... always connected ... from any device ... from multiple devices ... from any location - uhhhh, I know Google checks and warns if it sees connections from devices not previously used ... does Moodle?

Must not do any maintenance during the academic year ....  do your security updates live and without maintenance mode ...   Hmmmm ... do a DB dump before that or during that?  Should your DB server lock the DB while backing up?

Heck, if I were a student, would I be on/in Moodle all the time?  Hey, student ... go get a life! smile 

If I were a student, asking self, Is my success in life dependent upon what's in that Moodle?  NO!

Sorry ... tongue in cheek here ... but .... smile

'spirit of sharing', Ken

Re: Restore courses / transfer users from remote Moodles

$
0
0
by Peter Haasdijk.  

I chose not to do an export / import from the mdl_user table.

I have done an export of users in the first moodle and imported it into the second moodle. I have modified the welcome e-mail, among other things, to inform users about the new platform.



List of used blocks

$
0
0
by Peter Haasdijk.  

I use various blocks for a large number of courses. Does anyone know if it possible to make some kind of a report to show which blocks are used in which courses?

Re: List of used blocks

$
0
0
by Emma Richardson.  

1.  If you go to the Manage blocks page, the link of number of instances will then bring up a list of courses the block is in.

2.  It should be fairly simple to write a query with something like configurable reports plugin that will create this list for you.

Re: How to increase session timeout to greater than 4 hours?

$
0
0
by AL Rachels.  

Hi Ryan,

Personally, I think 2 hours is really pushing it. You do realize that the time out setting is for 2 hours (or up to 4 hours) of NOT clicking on anything in Moodle? Makes me wonder what the student is doing if 4 hours is not enough.

Depending on who and where you are, it can cost your school a LOT of money. I remember reading of one incident in up-state New York, when I was actively teaching, where a school office worker left their desk while still logged in. A parent came in and started scanning through all the online student info available. Another parent came into the office and caught parent 1 reading records from parent 2's child. Parent 2 sued the school system and won a multi-thousand dollar settlement.

As a computer applications teacher, on more than one occasion, I caught student 2 "messing" with student 1's work, when the student 1's computer was left un-attended and still logged in. Had to buy monitoring/remote control software and change classroom procedures to prevent it from ever happening again.

Re: List of used blocks

$
0
0
by Peter Haasdijk.  

I found the block on the homepage (..). The block was hidden there. I already looked at the manage blocks page, but there the link with the number of instances is not clickable.
Thanks for your help.

Re: installing moodle36

Viewing all 46971 articles
Browse latest View live


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