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

Re: Moodle 3.5.5 + 3.6 After successfully installation - Setup Main Admin Account, cannot see password input field

$
0
0
by Martin Williams.  

Was this resolved? If so, how?


Moodle 3.5/3.6 Automated Deployment

$
0
0
by Jeff Jones.  

I'm curious how most people are deploying Moodle.  Are you building a server and installing Apache/PHP/Moodle with a database on a second machine or do you have some form of automated build/deployment process that creates the servers and deploys all the needed software.  How about doing upgrades?  Manual or automated?

Any info would be helpful.  Trying to determine the best way to keep our systems updated and running with limited staff and a number of other systems to maintain. 


Thanks, Jeff...



Re: Moodle 3.5.5 + 3.6 After successfully installation - Setup Main Admin Account, cannot see password input field

$
0
0
by Harmony Ball.  

Also looking for a solution - will be patient as some bugs need time to sort.

Windows Portable Moodle and Relative Paths for 'dataroot'

$
0
0
by Travis Williams.  

I have been given the task of making a Windows Portable version of the latest Moodle (v3.6.4) using the Portable XAMPP and wondering if I can use Relative Paths for the $CFG -> dataroot - currently it is set to "c:\moodle\xampp\moodledata".

Re: Moodle 3.4.1+ admin/environment/php extension/intl

$
0
0
by Jiří Plachý.  

You're right with VC from your link it works.  Thanks

Re: moodle migration

$
0
0
by yogi bear.  

Hi i have tried this and i get a HTTP 500 error message when i try and access moodle

Re: Moodle 3.5.5 + 3.6 After successfully installation - Setup Main Admin Account, cannot see password input field

$
0
0
by Jörg Kern.  

Hi everyone.


I think the issue was not resolved yet.

The solution seems to be to order the preinstalled moodle via 1&1 Ionos. Which will definitely work but is not what I am looking for.

I will see whether I go ahead with this or whether I go looking for another solution.

Best

Joerg

Re: Moodle install

$
0
0
by Steven Lee.  

You need to put all the moodle files into /etc/www
Put them in the root of www if you want or in a folder IE: /etc/www/moodle

Create a database in phpmyadmin

Navigate to the moodle files in your browser.

Follow the onscreen install instructions.


Moodle Migration Error

$
0
0
by Rajasekhar Kadimi.  

I have installed Moodle 3.6.3 version on my local server using XAMPP(V3.2.2).


Now, I want to backup and migrate my moodle site to live domain. So, First I had tried the process on local by following moodle docs (https://docs.moodle.org/36/en/Moodle_migration).


After completion of the process and while accessing I am getting an error as "Error reading from database".

Moodle Migration Error


Can someone kindly assist me with this error?

Re: Moodle Migration Error

$
0
0
by Rick Jerz.  

My guess is that you are going to have to provide much more information for folks here to help you.

Did you create a database for /localhost/migmoodle?

Is migmoodle your old or new moodle?

Can you carefully explain what you did?


Re: Moodle 3.5.5 + 3.6 After successfully installation - Setup Main Admin Account, cannot see password input field

$
0
0
by Martin Williams.  

I was able to get around it by using the CLI installer.



On Tue, May 14, 2019 at 1:14 AM Jörg Kern (via Moodle.org) <

Re: Moodle Migration Error

$
0
0
by Rajasekhar Kadimi.  

Of course, as it is a migration process I have created another database which name is also migmoodle. Also, I have updated the required changes in config.php after copied the existed moodle contents to migmoodle.


FYI - moodle is the installed one and migmoodle is the migrated site.


config.php is as below after I made the required changes.

<?php // Moodle configuration file

unset($CFG);
global $CFG;
$CFG = new stdClass();

$CFG->dbtype = 'mariadb';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'migmoodle';
$CFG->dbuser = 'root';
$CFG->dbpass = '';
$CFG->prefix = 'mdl_';
$CFG->dboptions = array ( 'dbpersist' => 0, 'dbport' => '', 'dbsocket' => '', 'dbcollation' => 'utf8mb4_unicode_ci',);

$CFG->wwwroot = 'http://localhost/migmoodle';
$CFG->dataroot = 'C:\\xampp\\migmoodledata';
$CFG->admin = 'admin';

$CFG->directorypermissions = 0777;

require_once(__DIR__ . '/lib/setup.php');


I hope now you can understand my question. 

Re: Moodle Migration Error

$
0
0
by Rick Jerz.  

A couple of ideas...

Did your new moodle run fine before you attempted the migration?  I usually like to install the new moodle first, prove that it is working fine, then do the migration.

Did you backup and restore your Moodle database data, and moodledata data?

What version of Moodle was your old?

I cannot detect any syntactic error in your config.php file.  It looks just like mine (for XAMPP).

Invalid login, please try again (external MSSQL database)

$
0
0
by Danny in IT.  

Attempting to set up external MSSQL datbase to authenticate users (Moodle 3.6.4 (build 20190513) on CentOS 7 with PHP 7.2.18), appears almost successful.

Site Administration | Plugins | Authentication | Manage Authentication
"Test Settings" for "External database" passes (I assume, the list of field names is in green).

In 'auth/db/auth.php', under function user_login, the ELSE (Normal case: use external db for both usernames and passwords.), the correct query is set by this line of code:

$rs = $authdb->Execute("SELECT {$this->config->fieldpass} FROM {$this->config->table} WHERE {$this->config->fielduser} = '".$this->ext_addslashes($extusername)."'");

and that correct query returns the fieldname followed by a space, the value, and another space.  Then, $extpassword is set correctly.

Back to 'login/index.php':
$frm->username = trim(core_text::strtolower($frm->username));
is set to the correct username

However, under
    if ($frm and isset($frm->username)) {
the line
    if ($user) {
$user is set to null.

So, all attempts to login get: "Invalid login, please try again".

Please provide some troubleshooting ideas.  Thanks!

Moodle 3.6.1 upgrade to 3.6.4 lost use of Site Administration > admin/search.php

$
0
0
by Robert Clements.  

Had a non eventful Moodle 3.6.1 upgrade to 3.6.4 yesterday and after the upgrades on plugins and themes cleared cash tested activities in classes all we well with full admin functions. Tested on Firefox and Chrome.

This morning logged in and lost use of Site Administration > admin/search.php

error "Coding error detected, it must be fixed by a programmer: Failed to unserialise data from file. Either failed to read, or failed to write.

I can still edit courses but that is about it.

Server Information

Thanks fore any help.

Apache Version2.4.39
PHP Version7.0
MySQL Version10.3.14-MariaDB
Operating Systemlinux

Thank you for your help.


Re: Moodle 3.6.1 upgrade to 3.6.4 lost use of Site Administration > admin/search.php

$
0
0
by Jon Bolton.  

Most likely a caching issue. Go to Site Administration > Development and Purge All Caches.

Re: Moodle 3.5.5 + 3.6 After successfully installation - Setup Main Admin Account, cannot see password input field

$
0
0
by Jon Bolton.  

I’m not sure there’s a problem “to sort” - this is most probably related an issue with your server loading javascript and css files rather than a bigger problem with Moodle. This is almost certainly caused by a server configuration issue, likely related to 'slasharguments' not being configured.

... which is why we ask for server configuration, OS, software (and version numbers) in use, etc - so that known issues (or experience of similar reported issues) can be highlighted smile

BUT the solution is certainly not to use a version from an installation package - that’s just going to cause you headaches down the line.

Re: Moodle 3.6.1 upgrade to 3.6.4 lost use of Site Administration > admin/search.php

$
0
0
by Robert Clements.  

Thank you for your reply, nothing connected to the Site Administration > nav is working. It errors out see image below.

error

Re: Moodle 3.6.1 upgrade to 3.6.4 lost use of Site Administration > admin/search.php

$
0
0
by Ken Task.  

Jon was/is correct in advice. 

Try direct URL to purge cache ...

https://yoursever/admin/purgecaches.php

If not logged on it will ask you to login and should forward you that screen.

But, if you can't get there via GUI, do you have ssh into your server?

IF so, manually 'purge the cache' by going to moodledata/cache then rm -fR * at that location ... make sure you are in moodledata/cache/ when executing a 'global all' like *.

No need to restart any service/server, just hit your moodle and login as an admin.

Fingers X'd!

'spirit of sharing', Ken


Re: Moodle 3.5.5 + 3.6 After successfully installation - Setup Main Admin Account, cannot see password input field

$
0
0
by Martin Williams.  

I have completely resolved the issue. Since I am using Nginx I added the following:

location ~ ^(.+\.php)(.*)$ {

        root /usr/share/nginx/html/moodle/;

fastcgi_split_path_info  ^(.+\.php)(.*)$;

fastcgi_index            index.php;

fastcgi_pass             127.0.0.1:9000;

include /etc/nginx/mime.types;

include                  fastcgi_params;

fastcgi_param   PATH_INFO       $fastcgi_path_info;

fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;

}

If you are using Apache there is a similar command for mod_rewrite.

Viewing all 46782 articles
Browse latest View live


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