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

Moodle AWS mysql

$
0
0
by Shak A.  

Hi Guys, I'm new to AW/Moodle, can someone please advise how I can access the SQLdatabase on the domain there's nothing under RWS?

I need to access the Database and I'm not sure how this is setup? can I have any leads as to where to look and what to look for?

Please assist?
https://regentonline.ac.za/

Moodle 3.9

Thanks
S


Moodle is preventing me in installing a plugin. Is it a safety issue?

$
0
0
by Siviwe Matho.  

Hello, 

We are interested in installing a buttons plugin on our e-learning platform that is hosted on MoodleCloud, but we can not find the Add Plugin button. Upon researching, I found that if I can't find the Add Plugin section, then it means plugin installations are prevented on my site. 

How can I get Moodle to enable the plugin installation feature? Also, how safe is it to install a plugin on Moodle? Can plugins cause the Moodle platform to crash?

Can someone assist, please?

Thanks



Re: Moodle is preventing me in installing a plugin. Is it a safety issue?

$
0
0
by Emma Richardson.  

You cannot install plugins on Moodle Cloud. You would need to set up your own server.

bootstrapbase

$
0
0
by Syed Ali.  

When jumping from 3.5 to 3.9, I am getting following error.

how to delte bootstrapbase, I can not see option in plugin to delete it.


PHP Warning:  include(/var/www/html/theme/bootstrapbase/version.php): failed to open stream: No such file or directory in /var/www/html/lib/classes/component.php on line 1139
PHP Warning:  include(): Failed opening '/var/www/html/theme/bootstrapbase/version.php' for inclusion (include_path='/var/www/html/lib/pear:.:/usr/share/pear:/usr/share/php') in /var/www/html/lib/classes/component.php on line 1139
PHP Warning:  include(/var/www/html/theme/bootstrapbase/version.php): failed to open stream: No such file or directory in /var/www/html/lib/classes/plugin_manager.php on line 314
PHP Warning:  include(): Failed opening '/var/www/html/theme/bootstrapbase/version.php' for inclusion (include_path='/var/www/html/lib/pear:.:/usr/share/pear:/usr/share/php') in /var/www/html/lib/classes/plugin_manager.php on line 314


Re: bootstrapbase

$
0
0
by Visvanath Ratnaweera.  

Hi Syed

Did you check Site administration > Server> Environment in 3.5 whether the server environment is capable of running 3.9?

Another possibility, did you copy the new code over the old code, rather than moving it aside and replacing it?

Re: bootstrapbase

$
0
0
by Syed Ali.  

I just checked the Server Environment for 3.9 and status is all okay and green.

Re: bootstrapbase

$
0
0
by Ken Task.  

Ahhhh ... the old hyperjump catch 22. :|   Below assumes you have a fresh 3.9 code and didn't attempt to just overwrite the 3.5  code.

Suggest:

In mdl_config_plugins table

theme_bootstrapbase

select * from `mdl_config_plugins` where `plugin` like "theme_bootstrapbase"

there should be 2 rows.
Remove

In config.php of site, add a line:
$CFG->theme='classic';

Then try the upgrade via command line ...

moodlecode/admin/cli/

php upgrade.php

To take web service and caching out of the loop.

If successful, suggest also purging the cache via command line while there.  Site will be slower after purge, but it will build up cache as site is used.

'SoS', Ken


Re: Moodle Installation

$
0
0
by F Grimps.  

I have a similar behavior using the 3.8.5+ dev installer for Windows. In my case, a vendor specific anti-ransomware (HP Secure Sense) software blocks the b2e.exe process. I think it would be best if this (XAMPP?) component could be removed or replaced since it is causing too much trouble.

Re: Hosting moodle on Website

$
0
0
by Rick Jerz.  

Which instructions are you following to install your Moodle?

Re: Setting up local Moodle server with existing database in Windows

$
0
0
by Nick Reis.  

This was exactly what I needed. My file was over 4gb, so the CLI was the way to go. Thank you very much Rick.

Re: Setting up local Moodle server with existing database in Windows

$
0
0
by Rick Jerz.  

Great work, Nick. Now the fun begins. 😀

Re: I can't progress through the installation screens

$
0
0
by Lukmannul Hakim Firdaus.  

Thank you,  I got same problem, and it works waaw...

Re: Hosting moodle on Website

$
0
0
by Emily Smith.  

Advise me which instructions to follow.

Re: Hosting moodle on Website

error/An error occurred whilst communicating with the server on Ubuntu

$
0
0
by Šefčíková Jana.  

Hi, I installed moodle on my hosting but during installation I got 'error/An error occurred whilst communicating with the server'. I don't know in what state installation is but it seems that tables are created. Could you please help me figure out the problem? It is my first experience with moodle. Thank you

I see also on the page 'Warning: Zend OPcache API is restricted by "restrict_api" configuration directive in /data/4/4/44993118-2992-47d6-abd0-a8c976379568/praktis.io/sub/moodle/lib/classes/component.php on line 1160' but it doesn't seem to be related.

System

My operating system is Ubuntu, my db is Mysql, same error occurred with Maria DB, moodle 3.9

Installation

These are steps that I followed : 

  1. git clone -b MOODLE_39_STABLE git://git.moodle.org/moodle.git
  2. chown -R myid moodle
  3. chmod -R 0755 moodle
  4. mkdir moodledata
  5. add .htaccess to moodledata 
  6. Then I went to the browser and started installation

During installation I got 'error/An error occurred whilst communicating with the server'. I checked the table logstore_standard_log - empty. I turned on debugging as follows, and refreshed browser, still empty. 

I added following code for debugging to config.php

$CFG->dboptions = array (

  'logall'   => true,

  'logslow'  => 5,

  'logerrors'  => true,

);

//=========================================================================

//// 7. SETTINGS FOR DEVELOPMENT SERVERS - not intended for production use!!!

////=========================================================================

////

// Force a debugging mode regardless the settings in the site administration

 @error_reporting(E_ALL | E_STRICT);   // NOT FOR PRODUCTION SERVERS!

 @ini_set('display_errors', '1');         // NOT FOR PRODUCTION SERVERS!

 $CFG->debug = (E_ALL | E_STRICT);   // === DEBUG_DEVELOPER - NOT FOR PRODUCTION SERVERS!

 $CFG->debugdisplay = 1;              // NOT FOR PRODUCTION SERVERS!

////


Re: error/An error occurred whilst communicating with the server on Ubuntu

$
0
0
by Visvanath Ratnaweera.  

You say, with the debugging on (section 7 of config.php) you don't get a debug trace, still the same 'error/An error occurred whilst communicating with the server'?

What is in the moodledata/.htaccess? Why did you create it at all?

Who is the hosting provider? It is possible that they have some "security" options active, which are not compatible with Moodle. Submit a support ticket a go through their documentation.

The installation started smoothly? Can you remember when, at which step, this error started coming? Go through moodle/config.php checking all with the documentation in moodle/config-dist.php.

Shared hosting not allowing 1 minute Cron

$
0
0
by Antonio A.  

Hi all,

A client shared hosting is not allowing to set the cron to run every minute but just every 10 minutes.

I would like to know if anyone have experience running the site like that and if there will be a lot of problems or if it could be ok?

Here https://docs.moodle.org/39/en/Cron I read "...It is recommended that the cron is run every minute, as required for asynchronous activity deletion when using the recycle bin."  Anyone knows if that would be a big problem?


Apart form the recycle, I see some other of the scheduled task set to run every minute


Thanks for any advise!

Re: error/An error occurred whilst communicating with the server on Ubuntu

$
0
0
by Šefčíková Jana.  

Hi Visvanath. The installation successfully finished commenting line 1160 in moodle/lib/classes/component.php. This was first suggestion suggested by my provider. So inability to install moodle actually was related to error message 'Warning: Zend OPcache API is restricted by "restrict_api" configuration directive in /data/4/4/44993118-2992-47d6-abd0-a8c976379568/praktis.io/sub/moodle/lib/classes/component.php on line 1160'

Here is code :

public static function invalidate_opcode_php_cache($file) {
if (function_exists('opcache_invalidate')) {
if (!file_exists($file)) {
return;
}
//opcache_invalidate($file, true);
}

With regard to your other questions :
1) my provider is Websupport.sk
2) .htaccess was created following Moodle guide, section Securing moodledata in a web directory here

Now, even though installation works, I wonder what would be real fix to this problem, I assume that invalidation of cache is important. I will communicate further with my provider. Do you have any thoughts? 

Thank you for your reply.

Re: Moodle 3.9 error upgrade

$
0
0
by Adrian Betancourt Castillo.  

hello my name is Adrian Betancourt, im from chile.

I have problems after updating my moodle from 3.7.1 to 3.9+, the update of the DB does it well but then when it asks me to say the settings of some changes "in this address bar" (http: /chcapacita1.cl/pruebas3 .9 / admin / upgradesettings.php) 

I get this error when saving changes:

Forbidden You don't have permission to access this resource. 

 Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


I checked some permissions in my cpanel but I don't know what other folders I would have to check.

Could you help me by recommending some solutions?



Re: Moodle 3.9 error upgrade

$
0
0
by Ken Task.  

@Adrian ...

Theme issues?

Your front page of moodle says this:

"Your theme license is only valid for Moodle 3.7! You need to purchase the correct license to continue using this theme.
For your license upgrade options please contact us.
"

You could set default theme to something compatible for 3.9.x via adding a line to config.php:

$CFG->theme='boost';

'SoS', Ken


Viewing all 46968 articles
Browse latest View live