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

Re: Upgrade missing assignment

$
0
0
volgens Paul Baumeister.  

Ok. I figured it out. I had to go to the administration and at the bottom there was a way to fix those assignments that did not upgrade.


Re: The page isn't redirecting properly with Fresh installation

$
0
0
volgens mano bobi.  

If you are working at localhost, just go to xampp or wamp folder and find folder with name of "C:\Xampp\moodledata" . inside you will find out folder "cache". Just rename the cache folder with any name. Your problem solved. glimlach

try it......

Upgrade Moodle 2.6.3+ cache problem

$
0
0
volgens CP Lau.  

I attempted to upgrade Moodle from 2.4.4+ to 2.6.3+. When I executed the Moodle upgrade script, I was expecting the string "--> system" would be displayed, indicating the upgrade process has been started. However, the upgrade process did not start, and abnormally exited after time out and back to the command prompt.


After my investigation, I discovered that the the problem was because the cache data crashed with the upgrade script. I purged the cache and try to upgrade again. This attempt of Moodle upgrade was successful.


I would like to know if anyone encountered the same problem before, and any idea of the relationship cache data and Moodle upgrade?


In addition, I would suggest to include purging cache as the standard procedure before running the Moodle upgrade script. Appreciate your opinions and your sharing of experience of Moodle upgrade.

Re: Error: 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

$
0
0
by amol maske.  



my config is
<?php  // Moodle configuration file
 
unset($CFG);
global $CFG;
$CFG = new stdClass();
 
$CFG->dbtype    = 'mysqli';      // 'pgsql', 'mysqli', 'mssql' or 'oci'
$CFG->dblibrary = 'native';     // 'native' only at the moment
$CFG->dbhost    = 'localhost:3306';
$CFG->dbname    = 'bitnami_moodle';
$CFG->dbuser    = 'root';
$CFG->dbpass    = 'admin09';
$CFG->prefix    = 'mdl_';
$CFG->dboptions = array (
  'dbpersist' => 0,
  'dbsocket' => 0,
);
 
$CFG->wwwroot   = 'http://localhost:81/LMS';
$CFG->dataroot  = 'moodledata';
$CFG->admin     = 'admin';
 
$CFG->directorypermissions = 0777;
 
require_once(dirname(__FILE__) . '/lib/setup.php');
 
// There is no php closing tag in this file,
// it is intentional because it prevents trailing whitespace problems!

Re: Error: Database connection failed

$
0
0
by amol maske.  



my config is
<?php  // Moodle configuration file
 
unset($CFG);
global $CFG;
$CFG = new stdClass();
 
$CFG->dbtype    = 'mysqli';      // 'pgsql', 'mysqli', 'mssql' or 'oci'
$CFG->dblibrary = 'native';     // 'native' only at the moment
$CFG->dbhost    = 'localhost:3306';
$CFG->dbname    = 'bitnami_moodle';
$CFG->dbuser    = '*****';
$CFG->dbpass    = '**********';
$CFG->prefix    = 'mdl_';
$CFG->dboptions = array (
  'dbpersist' => 0,
  'dbsocket' => 0,
);
 
$CFG->wwwroot   = 'http://localhost:81/LMS';
$CFG->dataroot  = 'moodledata';
$CFG->admin     = 'admin';
 
$CFG->directorypermissions = 0777;
 
require_once(dirname(__FILE__) . '/lib/setup.php');
 
// There is no php closing tag in this file,
// it is intentional because it prevents trailing whitespace problems!



i am using  ubuntu 10.04 and i have added this directory

(Edited by Helen Foster to remove db username and password - original submission Tuesday, 5 August 2014, 3:41 PM)

Re: Upgrading php for 2.7 moodle windows 2007 r2

$
0
0
by Geoff Diggles.  


Was struggling to find all the necessary PHP Extensions to get 2.7.1 to work, so have looked at 2.6.4 due to time constraints and work loads. This went on without any hitches. Will look into the other issues now I have more time to revisit this without worrying an upgrade is needed. Thanks for all responses.

Installing Moodle with 70 mb memory limit and then change this value

$
0
0
by Camilo Constante.  

Hello Everyone.

I want to install moodle 2.6 but my host provider allows me only to use a maximun of 64 mb of memory. They told me it may be possible to give me a temporal usage of 70 mb, but as I said, it would be only for few hours. My question is:

It is possible to install moodle usung 70 mb of memory and put back 64 mb of memory after installation? 

Thanks

see moodle in mobile

$
0
0
by Mojtaba Lashini.  

hi

I install xampp and moodle in lap top and work correctly when i type localhost/moodle.

so in cmd type ipconfig and my ip was 192.168.1.4

when in mobile android browser address bar type 192.168.1.4 moodle not work and i see error this page was redirect...

thanks for solutions


Re: see moodle in mobile

$
0
0
by Emma Richardson.  

You need to change your moodle config.php to direct to the ip address.  Also make sure your mobile is on the same network, obviously!

Re: see moodle in mobile

$
0
0
by Mojtaba Lashini.  

how to change my config.php  to direct to the ip address?

Re: Upgrading php for 2.7 moodle windows 2007 r2

$
0
0
by Rick Jerz.  

Geoff, I don't use a Windows server, but I thought that I would share with you the php extension that I turn on for my GoDaddy hosted server.  Yes, I know that this is a completely different environment, but sometimes a little insight might help.  You will see that I just have to click a button to turn mysqli on.  The other extensions that I turn on also show on this page.  Good luck.

Re: Moodle installed on SYNOLOGY NAS: can't access from internet but ok from local network

$
0
0
by Visvanath Ratnaweera.  

If your home router is set for port forwarding (as opposed to NAT) you can very easily access the Moodle on you NAS from your home network and Internet. The trick is to get a FQDN from a DDNS provider and to access your Moodle through http(s)://FQDN/moodle.

How to do that in detail:
- register yourself with a dynamic DNS provider (mostly free)

- set the DDNS client in Synology accordingly (in Control panel -> External access)

- set your home router to forward the necessary ports of its WAN (Internet) interface to the corr. ports of the NAS. (Depends on the router model. In cheaper ones you may have to set a whole bunch of ports, say 80 - 5006 of the WAN interface to the same block on NAS.

@Ken, I know that this is an old discussion. I played with a DS214+ recently and positively surprised too. Most attractive for the "old school" admin is that you have shell access, a version of BusyBox. For example, the current version of Moodle from their repos is 2.4.1+ (Build: 20130214) but PHP is 5.5! Installing/upgrading to the latest version shouldn't be a problem through the CLI.

Can I upgrade from Moodle 2.01 to Moodle 2.7.1 using PHP 5.3?

$
0
0
volgens Angel Infante.  

Dear Moodlers, 


We need to upgrade our Moodle platform from version 2.0.1 to the latest version, the only problem we have is that we are running our Moodle application on a RedHat server release 6.0 which only supports PHP 5.3, PHP 5.3 seems to be the latest version supported by the Operative system, I was wondering whether it is possible to perform this Moodle upgrade and if so, which could be the impact for not covering the PHP minimum requirements?


Thanks...

Problems with permissions on Cluster setup

$
0
0
volgens Luis Pinheiro.  

Dear all,

I'm installing moodle 2.7.1 on a windows cluster. The cluster is composed of 3-5 servers, each containing similar moodle files. They share the same DB (naturally) and use a shared drive for moodledata files. And there is where I'm having problems.

The site works great, except when I try to upload content. Though it creates the folders in the filedir (ex: filedir/10/4b), the actual file is not present and it gives an access denied error, such as the one below:

Default exception handler: Can not read file, either file does not exist or there are permission problems Debug: [dataroot]/filedir/10/4d/104d3bc815ac3583e15c4bb1ad61abefa74ab60a
Error code: storedfilecannotread
* line 187 of \lib\filestorage\stored_file.php: file_exception thrown
* line 903 of \lib\filestorage\stored_file.php: call to stored_file->update()
* line 2587 of \repository\lib.php: call to stored_file->set_sortorder()
* line 318 of \repository\repository_ajax.php: call to repository::overwrite_existing_draftfile()
and sometimes I get this other error:

PHP Warning:  rename(\\...\MDL_Training\moodledata\v271/filedir/17/15/171595f36be55b7cbecb5c2b1e981dc7704b5db5.tmp,\\...\MDL_Training\moodledata\v271/filedir/17/15/171595f36be55b7cbecb5c2b1e981dc7704b5db5): Access is denied. (code: 5) in D:\moodle\v271\lib\filestorage\file_storage.php on line 1709

PHP Warning:  chmod(): No such file or directory in D:\moodle\v271\lib\filestorage\file_storage.php on line 1710

The funny thing is that if I create a shared drive on another windows server - and using the exact same accounts and permissions - it works like a charm.

I've been hitting my head against this for a while. Can't see why it would work on a regular server
and fail to write the files on the NFS.  Any suggestions?

Many thanks!
LP

Re: Can I upgrade from Moodle 2.01 to Moodle 2.7.1 using PHP 5.3?

$
0
0
volgens Ken Task.  

Is that RH(EL) version 6.0 or is it higher than that?  Is is Enterprise Release?

cat /etc/redhat-release

At any rate ... RH is 'conservative' as far as it's own repos are concerned.   You could, however, install other repos (webtatic is one recommended by Moodle docs) and acquire RHEL 6 compat PHP 5.4 or 5.5 and a higher version of MySQL (needed for 2.7.x).   Once having done that, updates for those will have to come from that repo.  Can't get them from RH and one has to be careful not to replace your upgraded PHP and MySQL with lower versions from RH.   If it's possible, you'll become expert at the yum command. ;)

If you have 'entitlements' with RH ... not sure what that does as far as your support contract with them.   You might want to inquire with RH folks.

Equally important ... the hardware specs ...  is it standalone or a virtualized RH?

HD space?  Memory?  64bit OS (would assume so since it's 6.x)?

uname -an

df

top

are some basic commands to gather info.

Would highly recommend doing the moodle march via git ... first task might be to get 'git' installed and getting your 2.0.1 code under git.

http://docs.moodle.org/27/en/Git_for_Administrators

And, despite what others might recommend, I'd march the moodle through each step ... 2.0 -> 2.1 check/backup then 2.1 -> 2.2 check (get updates to addons)/backup then 2.2. -> 2.3 (do assignment upgrade helper, etc.. at this stage ... don't wait until the end of the march) ... check (get updates to addons)/backup then 2.3->2.4 ditto ... 2.4 to 2.5 ditto 2.5 to 2.6.   And then I'd really think about the last one ... 2.6.highest to 2.7.1 ... .1 just released.   Yes, that's where you want to end up, but how good are you at omicron testing?   Ready for the changes?  Know what the changes are!!!! ;)

IF on git ... that entire process is pretty easy ...

'spirit of thinkering', Ken


SQL Connection

$
0
0
volgens Kalin Lopez.  

I am trying to get a new Moodle 2.7 install completed.  I have a new Win 2008R2 server using IIS7 for the web/application server and am trying to connect PHP to a networked SQL 2008 Server and am not able to get it to work.  This a Domain environment and I believe I have user accounts with all the appropriate permissions.  The Moodle install starts but when configuring the database connection I get a message that there is a driver problem or that it's not configured properly.  I've tried multiple drivers for PHP and have not been able to get it to work.  I've followed suggestions on both the Microsoft and PHP sites to connect but have and no success.  I have done limited manual installs like the one for Moogle and am thanking you in advance for your kind hand holding through this process.  The specifics are as follows:

Domain Environment

Win 2008R2 Server - IIS7

Win 2008 SQL Server

Moodle 2.7 - New install

PHP 5.4.4


Re: assignment migration issues after 2.6.3+ to 2.7+ upgrade

$
0
0
volgens Mark Pearson.  

Well done Melissa -- you cracked it! Good job at being persistent and thinking outside the box. And perceptive use of debugging output too.

Jolly good show!

Mark

Multi Moodle System

$
0
0
volgens MA Thaheem.  

Hi,

I am a PHP web developer I have a following scenarios:

  1. We want to run two moodle system one for within a campus and another for internet website. our requirement is that both moodle system's databases sync with each other.  because some students enroll by campus management from campus and majority of students will enroll from internet website.
  2. second scenario is that we will use SQL server for campus Moodle system.  Is it possible Moodle will run on SQL server db instead of mysql??

Can anybody tell is it possible? if yes what should I do to fulfill this requirement.


Thanks & regards,

MAT


unable to get a Login page after Moodle 2.5 installation got over. it throws following error

$
0
0
volgens Niraj Kaushik.  

I am unable to get a Login page after Moodle 2.5 installation got over. it throws following error The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies. I will be more helpful if anybody gives me an answer. Thanks Niraj Kaushik

Install - Moodle 2.7.1+ Error code: locktimeout

$
0
0
volgens J C.  

Hi,

I have Moodled for a few years now but this is my first plea for help.

Where to begin...

I am trying a new install of the latest version on a server that has been used for many versions and multiple simultaneous versions for many years.  I do not upgrade but simply do a new install when a new need for a VLE comes up.  The server's (siteground.com) PHP and mySQL are both higher than the required level.

Moodle 2.7.1+ Built Weekly 6 days 20 hours ago

I got this as a result of my attempts to do the new install.  I have found nothing on this error code.

Installation

System

The operation timed out while waiting for a lock.

More information about this error

It is usually not possible to recover from errors triggered during installation, you may need to create a new database or use a different database prefix if you want to retry the installation.

Debug info:
Error code: locktimeout
Stack trace:
  • line 105 of /lib/classes/task/manager.php: moodle_exception thrown
  • line 1512 of /lib/upgradelib.php: call to core\task\manager::reset_scheduled_tasks_for_component()
  • line 233 of /admin/index.php: call to install_core()

I am in China trying to work with a server in America and there are many issues with the Internet here that I have not dealt with before.  My ISP uses dynamic IP addresses and they are changing constantly.  Do I need a static IP address?

All the things that I use to do to get the installs to work have failed.

AND...

I could not get older Moodle versions installed either.  My currently installed Moodle VLEs still work fine.

This makes me think it could be my ISP here in China.

Any ideas?

Thank you for your time in reading this post.

JC


Viewing all 46918 articles
Browse latest View live


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