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

Re: Oauth2 and Google account integration

$
0
0

by Ken Task.  

One 'idiot' (me) to another ... Google changes things ... understatement.

Did you ever see a screen that was a permissions kinda thing?

Afraid some tinkering required.   This error kinda strange ...

Failed to connect to accounts.google.com port 443: Connection refused

What do you have in Oauth2 config for Google Service base URL?

In a Moodle 3.4.x using Google (working), that URL is:
http://accounts.google.com/

Yep ... that's http:// NOT https://

from the server, if you have command line, try this:

curl -I http://accounts.google.com/

That will report an error ... kinda ... 302 Moved Temporarily
with https://accounts.google.com/ManageAccount

and then:

curl -I https://accounts.google.com/ManageAccount

In your browser:

https://accounts.google.com/ManageAccount

IF using Firefox, if you are already logged onto Google,
that will go to a control/protect, and secure screen.

Make sure you are NOT logged onto Google and that URL
might send you to:
https://accounts.google.com/ServiceLogin/signinchooser .... blah, blah.

Beat on it ... and it might give in! ;)   That ought to bring someone 'smarter' than us two 'idiots' into the conversation! smile

'spirit of sharing', Ken



Re: HTTP-Fehler 500.0 - Internal Server Error

$
0
0

volgens Armin Arnecke.  

Hm... it ist both installed.

ut after change to PHP x32 it works.

Re: Oauth2 and Google account integration

$
0
0

volgens Nicholas Roberts.  

Ken,

Just set up SSH and tried what you suggested...:
* the first curl goes the 302 way
* The second actually produce more garbage but also produces a 302 response

* The FF (not logged in - made sure beforehand) sends me to the "Choose account" screen.


Not at all surprised Google moves the goalposts droevig

Any suggestions to move on from this point?


BTW: Moodle 3.3.4 (at the moment) -> still trying to find a pain-free way to update to 3.4.x....

Re: Stuck on the first part of a Moodle install

$
0
0

volgens Ken Task.  

Do you have a VPS or is your account on a shared system?

Make the config file changes.   No need to restart any service for those changes to take place and be active.

Dunno what 7-6-0 means .... really. :|

However, you have a word press or something up above the moodle directory.   It's working so look at ownerships/permissions on those files for clues for owner/group.   However, moodledata is where the moodle will place files you upload to the moodle.   You might not have anything like that in the word press.

Since moodledata isn't directly accessible via web browser, you can be more liberal with permissions *IF* you are allowed to set 'liberal' permissions ... this relates to the first question about VPS (you should have full access) or shared ... means you will be restricted.

With 3.4 of Moodle you must run the php 7.0.x and if that's the true version of you MySQL please see:

https://docs.moodle.org/dev/Moodle_3.4_release_notes#Database_requirements

Is this being installed by some script DigitalOcean is providing you?

In https://www.digitalocean.com/community/tutorials/how-to-install-moodle-on-ubuntu-16-04

** READ ALL OF Step 3 **

Step 3 — Configuring Moodle in the Browser

To finish configuring Moodle, we'll bring up the site in a web browser and provide it with some additional configuration details. In order for the web server to save the configuration, we need to temporarily alter the permission for the Moodle web root.

Warning:
The permissions open this folder up to everyone. If you are uncomfortable with doing this, simply don't change the permission. The web interface will provide instructions for you to manually modify the configuration file.

If you do change the permissions, it is very important to undo this as soon as you have completed the setup. That step is included in this tutorial.

'spirit of sharing', Ken




Redirect to Installation page after tables load

$
0
0

volgens Aaron Carter.  

Here are the access and error logs of a fresh installation

Navigating to installation page
==> access_log <==
[28/Feb/2018:23:31:12 +0000] "GET /moodle/admin/index.php?cache=0&lang=en&agreelicense=1 HTTP/1.1" 200 39871
[28/Feb/2018:23:31:13 +0000] "GET /moodle/lib/javascript.php?rev=-1&jsfile=%2Flib%2Fjavascript-static.js HTTP/1.1" 200 43659
[28/Feb/2018:23:31:13 +0000] "GET /moodle/lib/javascript.php?rev=-1&jsfile=%2Flib%2Frequirejs%2Frequire.min.js HTTP/1.1" 200 17739
[28/Feb/2018:23:31:13 +0000] "GET /moodle/theme/font.php?theme=boost&component=core&rev=1&font=fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 77160
[28/Feb/2018:23:31:13 +0000] "GET /moodle/lib/requirejs.php?file=%2F-1%2F/core/first.js HTTP/1.1" 200 1770601
[28/Feb/2018:23:31:14 +0000] "GET /moodle/lib/javascript.php?file=%2F-1%2Flib/jquery/jquery-3.2.1.min.js HTTP/1.1" 200 86660
[28/Feb/2018:23:31:15 +0000] "GET /moodle/lib/yuilib/3.17.2/event-resize/event-resize-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:31:15 +0000] "GET /moodle/lib/yuilib/3.17.2/event-mousewheel/event-mousewheel-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:31:15 +0000] "GET /moodle/lib/yuilib/3.17.2/event-hover/event-hover-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:31:15 +0000] "GET /moodle/lib/yuilib/3.17.2/event-touch/event-touch-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:31:15 +0000] "GET /moodle/lib/yuilib/3.17.2/event-move/event-move-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:31:15 +0000] "GET /moodle/lib/yuilib/3.17.2/event-flick/event-flick-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:31:15 +0000] "GET /moodle/lib/yuilib/3.17.2/event-valuechange/event-valuechange-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:31:15 +0000] "GET /moodle/lib/yuilib/3.17.2/event-tap/event-tap-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:31:15 +0000] "GET /moodle/theme/yui_combo.php?m/-1/core/event/event-min.js HTTP/1.1" 200 393
[28/Feb/2018:23:31:36 +0000] "GET /moodle/lib/javascript.php?rev=-1&jsfile=%2Flib%2Fjavascript-static.js HTTP/1.1" 200 43659

At the prompt to install the Moodle tables and pressing continue
==> error_log <==
zend_mm_heap corrupted

and the install stops.

However, simply refreshing the page the install continues to load Moodle tables
==> access_log <==
[28/Feb/2018:23:34:10 +0000] "GET /moodle/lib/javascript.php?rev=-1&jsfile=%2Flib%2Fjavascript-static.js HTTP/1.1" 200 43659
[28/Feb/2018:23:39:01 +0000] "470" 400 226
[28/Feb/2018:23:34:09 +0000] "GET /moodle/admin/index.php?cache=0&agreelicense=1&confirmrelease=1&lang=en HTTP/1.1" 200 69234

All Moodle tables are successfully loaded after about 11 minutes.
[28/Feb/2018:23:45:31 +0000] "GET /moodle/lib/javascript.php/1519861529/lib/requirejs/require.min.js HTTP/1.1" 200 6531
[28/Feb/2018:23:45:32 +0000] "GET /moodle/lib/requirejs.php/1519861529/core/first.js HTTP/1.1" 200 125670
[28/Feb/2018:23:45:33 +0000] "GET /moodle/lib/javascript.php/1519861529/lib/jquery/jquery-3.2.1.min.js HTTP/1.1" 200 30081
[28/Feb/2018:23:45:34 +0000] "GET /moodle/lib/yuilib/3.17.2/event-mousewheel/event-mousewheel-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:45:34 +0000] "GET /moodle/lib/yuilib/3.17.2/event-resize/event-resize-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:45:34 +0000] "GET /moodle/lib/yuilib/3.17.2/event-hover/event-hover-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:45:34 +0000] "GET /moodle/lib/yuilib/3.17.2/event-touch/event-touch-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:45:34 +0000] "GET /moodle/lib/yuilib/3.17.2/event-move/event-move-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:45:34 +0000] "GET /moodle/lib/yuilib/3.17.2/event-flick/event-flick-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:45:34 +0000] "GET /moodle/lib/yuilib/3.17.2/event-valuechange/event-valuechange-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:45:34 +0000] "GET /moodle/lib/yuilib/3.17.2/event-tap/event-tap-min.js HTTP/1.1" 304 -
[28/Feb/2018:23:45:34 +0000] "GET /moodle/theme/yui_combo.php?m/-1/core/event/event-min.js HTTP/1.1" 200 393
[28/Feb/2018:23:45:34 +0000] "POST /moodle/lib/ajax/service.php?sesskey=naYsXTjxD3&info=core_fetch_notifications HTTP/1.1" 200 239

However, pressing continue generates the following
==> access_log <==
[28/Feb/2018:23:47:41 +0000] "GET /moodle/admin/index.php?sessionstarted=1&lang=en HTTP/1.1" 200 25053
[28/Feb/2018:23:47:44 +0000] "GET /moodle/lib/javascript.php/1519861529/lib/javascript-static.js HTTP/1.1" 200 6748
[28/Feb/2018:23:47:44 +0000] "GET /moodle/theme/styles.php/boost/1519861529_1/all HTTP/1.1" 200 110091
[28/Feb/2018:23:47:55 +0000] "GET /moodle/theme/yui_combo.php?m/1519861529/core/event/event-min.js&m/1519861529/filter_mathjaxloader/loader/loader-min.js HTTP/1.1" 200 825
[28/Feb/2018:23:47:55 +0000] "GET /moodle/theme/yui_combo.php?3.17.2/event-mousewheel/event-mousewheel-min.js&3.17.2/event-resize/event-resize-min.js&3.17.2/event-hover/event-hover-min.js&3.17.2/event-touch/event-touch-min.js&3.17.2/event-move/event-move-min.js&3.17.2/event-flick/event-flick-min.js&3.17.2/event-valuechange/event-valuechange-min.js&3.17.2/event-tap/event-tap-min.js HTTP/1.1" 200 4808
[28/Feb/2018:23:47:54 +0000] "GET /moodle/theme/image.php/boost/theme/1519861529/favicon HTTP/1.1" 200 1150
[28/Feb/2018:23:47:55 +0000] "POST /moodle/lib/ajax/service.php?sesskey=HacmVxQaEA&info=core_fetch_notifications HTTP/1.1" 200 239
[28/Feb/2018:23:48:56 +0000] "GET /moodle/admin/index.php?cache=0&lang=en&agreelicense=1 HTTP/1.1" 200 42663
[28/Feb/2018:23:49:00 +0000] "POST /moodle/lib/ajax/service.php?sesskey=oYHBzMqHKN&info=core_fetch_notifications HTTP/1.1" 200 239
[28/Feb/2018:23:49:00 +0000] "GET /moodle/theme/font.php/boost/core/1519861529/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 77160

Which, unfortunately, is a return back to the original installation page.
At this point the Oracle tables need to be dropped before attempting an install again.

The user for the Apacheserver is "apache". Permissions on the moodle and moodledata directories have been configured as follows:
mkdir /var/moodledata && chmod -R 777 /var/moodledata && chown -R apache:apache /usr/local/apache2/moodle && chmod -R 0755 /usr/local/apache2/moodle && find /usr/local/apache2/moodle -type f -exec chmod 0644 {} \;

There is nothing in the moodledata directory on a fresh install. And, the Apache server is started using the following alias to ensure that there is nothing in the moodledata directory:
alias start="sudo rm -Rf /var/moodledata/* | /usr/local/apache2/bin/apachectl start"

Any comments, suggestions and/or advise?

Re: Upgrading with Turnitin integration

$
0
0

volgens Afnan Shukri.  

please help .the paper is not submitted in the Turnitin when I create Turnitin assignment in MOODLE 

Re: please

$
0
0

volgens Afnan Shukri.  

hi .can you please help as I click on update and connect the Turnitin with with moodle but when I create turnitn assignment and I tried to upload paper as student ,it didn't work.can you please see the screenshots in the attached files .

Re: Data directory cannot be created by installer(c:/inetpub/wwwroot/moodledata)

$
0
0

volgens Gopal Sharma.  

As Emma rightly pointed out this, your ownership of files and dir are not correct.

You must check the ownership of the folder  make sure that user:group 

sudo chown user:group  filename

sudo -R chown user:group  dir

// Directories:

sudo find . -type d -exec chmod XXX {} \;

// Files:

sudo find . -type f -exec chmod XXX {} \;

 For folder/directory should have  755 permission and files 644


Re: INSTALLATION OF MOODLE 34 ON LOCALHOST

$
0
0

volgens Hillary Mutugo.  

download the Moodle in the website then extract in htdocs open xampp control panel start Apache and mysql then open Mozilla or chrome type localhost/moodle then fill the process

Re: INSTALLATION OF MOODLE 34 ON LOCALHOST

$
0
0

volgens Chris Martins.  

This are the simple manual installation  you can follow: 

  • Install your web server
  • Install PHP. Use Microsoft Web Platform Installer when using IIS server.
  • Install Moodle by getting the standard installation for Moodle from http://download.moodle.org/ and read Installing Moodle which has detailed generic information.


- For more information on the installation on different plartforms, click on www.moodle.org


Re: INSTALLATION OF MOODLE 34 ON LOCALHOST

$
0
0

volgens Group Two.  

Thanks @chrismartins, We followed your steps and it worked for us.

Re: Upgrading with Turnitin integration

$
0
0

volgens Ken Task.  

Please note ... many many many support people will not open any attached microsoft files from someone they do not know.  Screen shots should be shared with something other than Word docs, please.

Have viewed contents outside any wordprocessor and I see a line of text
that says: to use this plugin you will need php-fileinfo extension.

IF linux, one can check for that extension via command line:
php -m |grep fileinfo
IF the above returns just 'fileinfo' your server does have it loaded.
IF the above returns nothing, fileinfo is not installed.
Install the extension.

The test_turnitin.docx image extracted is too dark to see anything.

TurnItIn is commercial.  Suggest contacting someone at:

http://turnitin.com/en_us/support

'spirit of sharing', Ken

Re: Upgrading 2.5.4 to 3.4

$
0
0

volgens Karikalan Kumaresan.  

Hi,

I have upgraded from 2.5 to 3.0. However, I could not upgrade subpage activity from 2.5 to 3.0, even when I copy the subpage under mod directory, it does not appear in the courses. Collapsed topic format seems to have upgraded fine, but not the subpage. Also my custom block seems to have lost the localisation text. 

Any idea why this could be?

Thanks,

Kari...

Custom User profile fields, not letting me add new users

$
0
0

volgens Amba Ilondo.  

Hello,

I have  an small problem. I cannot add new users because I have customer user profiles fields.

I also don't know, how to upgrade the site to add to be able to add new users without removing the profile fields.

Please help glimlach

Re: installing moodle 3.4.1

$
0
0

by olsi olsi.  

Thank you Usman


I will try


Re: Move Moodle from test server to Production server

$
0
0

by Luis de Vasconcelos.  

Migrating a MSSQLdatabase is simple:

  1. Using SQL Management Studio backup the Moodle database on the test machine. That will produce a .bak file.
  2. Install SQL Server in the production environment.
  3. Restore that .bak file to a new database on that SQL Server production environment.
  4. Create the database user in Management Studio and link it to the Moodle database on production. Make sure it has full create/drop/select/insert/update/delete permissions.
  5. In your Moodle config.php file change $CFG->dbhost to point to your production database host.
  6. Update the other variables like $CFG->dbname, $CFG->dbuser and $CFG->dbpass with the production host details.
  7. You should probably also use $CFG->dbtype = 'sqlsrv'; so that PHP can connect to MSSQL. For that to work you need to make sure that MS SQLSRV driver has been loaded in your php.ini file and that PHPInfo() shows the SQLSRV section.

After doing that Moodle should be able to connect to SQL Server on the production instance.

https://docs.moodle.org/34/en/Installing_MSSQL_for_PHP

https://docs.moodle.org/34/en/Using_the_Microsoft_SQL_Server_Driver_for_PHP

Upgrading 3.1.5 to 3.4.1

$
0
0

by Alain Raap.  

I'm researching an upgrade from Moodle 3.1.5 to 3.4.1. I have our website running on Redhat 7.3 with Apache 2.4, PHP5.6 and
MariaDB 10.1.

I managed to upgrade the website to 3.4.1, what I see is that my php Memcached extension is not included in PHP 7.1 anymore in our Redhat distribution. And I found out that in the plugins caching I got some problems with the Memcache configuration (I can't delete the configured Memcache instance).

We're using Memcached server with Moodle 3.1.5, and that works fine. Anyone who has had the same experiences?

I found some problems on this issue here https://github.com/php-memcached-dev/php-memcached/issues/269, this post from Jeff White https://moodle.org/mod/forum/discuss.php?d=343949 and this tutorial https://serversforhackers.com/c/installing-php-7-with-memcached

What's the best way to upgrade and is it required to keep using Memcached server with PHP 7.1?  

Re: Installing Moodle on Laravel Forge

Plugins

$
0
0

by Syed Ali.  

I am upgrading moodle from 2.8 to 2.9.
I want to how to check if plugins compatible with 2.9?

Re: Plugins

$
0
0

от Usman Asar.  

Very likely they will be,

but to be sure, go into your plug-ins, and see the list of additional plug-ins

now open up plug-ins directory and see if there is updated plug-in for version you're planning to upgrade to.

else, Moodle will automatically upgrade once you've finished upgrading moodle. The process now is not as complicated as it use to be once.

Viewing all 47349 articles
Browse latest View live


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