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

Theme adaptable

$
0
0
by Carlos Cadabeira.  

People, somebody knows why theme adaptable don´t work in moodle 3.6???

Thank you very much


configure tab

$
0
0
by Carlos Cadabeira.  

Dear, it won't let me set the options (tab restrictions) for the tab.

I am using moodle version 3.6.

This is the message that appears: "Exception - Class '\ availability_group \ frontend' not found"

I appreciate any help.

Thanks

Re: Theme adaptable

Re: Please help me - idiom error

Re: update version of moodle

$
0
0
by Ken Task.  

If I found your site, it appears the IP resolves to an IP that belongs to websitewelcome.com.   They are a Hostgator/Bluehost property.

So mind describing how you are hosting?  Shared hosting?  Got cPanel? or Easy Apache?   According to curl test on your domain, web service is NginX.

Does your provider have any FAQ's, customer docs/tutorials on admin of their offerings?

'SoS', Ken


Error during maintenance: Table 'mdl_block_recent_activity' already exists

$
0
0
by Erin Billy.  

I'm running Moodle 3.10.

I was having some errors related to a UTF mismatch, so I ran a command on the database, which seemed to fix the error. (This is the command: $ php admin/cli/mysql_collation.php --collation=utf8mb4_unicode_ci )

Then my problem was fixed!

However, I then went to upgrade a plugin, and now I'm getting this error:

Upgrading to new version

block_recent_activity

DDL sql execution error

More information about this error

×Debug info: Table 'mdl_block_recent_activity' already exists
CREATE TABLE mdl_block_recent_activity (
id BIGINT(10) NOT NULL auto_increment,
courseid BIGINT(10) NOT NULL,
cmid BIGINT(10) NOT NULL,
timecreated BIGINT(10) NOT NULL,
userid BIGINT(10) NOT NULL,
action TINYINT(1) NOT NULL,
modname VARCHAR(20) COLLATE utf8mb4_unicode_ci,
CONSTRAINT PRIMARY KEY (id)
, KEY mdl_blocreceacti_coutim2_ix (courseid, timecreated)
)
ENGINE = InnoDB
DEFAULT COLLATE = utf8mb4_unicode_ci ROW_FORMAT=Compressed
COMMENT='Recent activity block'
Error code: ddlexecuteerror

I've read some forum posts that suggest I might be able to drop the table mdl_block_recent_activity, but of course, that makes me a little nervous. (Yes, I would back up the database first, of course.) Though the data in there doesn't seem to be super-vital to the course. Related--could I just rename the table temporarily, to something like old_block_recent_activity instead?

I'll admit that this is a little confusing, since I would think that yes, of course this table already exists. Is the upgrade script trying to create a new version of it with my new character set?

Any pointers would be welcome.

Thanks in advance.

Re: PHP Upgrade - Fatal error: $CFG->dataroot

Re: configure tab

$
0
0
by Jon Bolton.  

The clue is right there. The group availability restriction is missing. That’s core Moodle, not a plugin. Give that you’ve posted so many questions in different forums with different problems following your upgrade, I suspect something has gone completely wrong with the upgrade process. I would strongly advise you address that rather than tackling individual aspects - there is an underlying issue which needs resolving. You won’t get very far resolving your individual problems until the upgrade is sorted.

Re: update version of moodle

$
0
0
by Howard Miller.  

What don't you understand?

Re: configure tab

$
0
0
by Howard Miller.  

You have also told is that you are using PHP 7.4 which Moodle 3.6 does not support. That's not a good start.

Re: Installation's update

$
0
0
by Roberto Catanuto.  

Yes, the addons were installed via git. If I'm correct,
$ git fetch
$ git pull

would be enough.

For the core code, may you please let me know the git option to update from 3.9.3 to 3.9.7?

Thank you

Re: PHP Upgrade - Fatal error: $CFG->dataroot

$
0
0
by Leon Stringer.  

When switching to PHP 7.4 have you copied the php.ini that PHP 7.2 is using across to PHP 7.4?

Re: Error during maintenance: Table 'mdl_block_recent_activity' already exists

$
0
0
by Leon Stringer.  

Is the upgrade script trying to create a new version of it with my new character set? – No. What this error suggests is 1) the Recent Activity block wasn't installed, 2) somehow its table, mdl_block_recent_activity, was created in the database at some point, and 3) this block's source code folder is now present triggering the attempted install and failing because of 2).

So you're right to be confused! The trigger to install the Recent Activity block – 3) above – is the presence of the blocks/recent_activity folder in the Moodle source code. Since this has been part of Moodle since version 2.7 I can't explain why your site would only find this now. This surely shouldn't (couldn't?) happen unless there's been some manipulation of the source code (for example previously removing blocks/recent_activity) and/or database (for example a third party install process) at some point.

Is there any data in mdl_block_recent_activity? Run SELECT * FROM mdl_block_recent_activity to find out. If there's none then I suggest dropping the table as you say, and seeing if that resolves the issue. Backup the database anyway even if it's an empty table being dropped.

Also, what plugin were you installing? I don't think it's relevant but it would give us more details of this scenario.

Re: Installation's update

$
0
0
by Ken Task.  

@root of core code where one can see the hidden .git directory to update within a series ... like your 3.9.3 to what ever is the highest subversion (3.9.7) all that I have ever used is a 'git pull'.

@root of core code what do:

git branch -a

and

fgrep '$release' version.php

ls -l config.php version.php

show?

Plus ... to get from 3.5.x to 3.9.x what were the git commands you issued?

If part of a script, please share that part of your script here in text.

'SoS', Ken

Re: PHP Upgrade - Fatal error: $CFG->dataroot

$
0
0
by Shawn Peters.  

Yes I copied the php.ini file and I even re-created a new one based on the new php.ini-production file. Both still failed.

I know PHP 7.4 isn't supported in 3.6.5, but PHP v7.3 is, so not sure why that's not working. I'm thinking I'll just have to stay at PHP v7.2 and only upgrade to Moodle 3.10.x for the time being.

Re: Enable ClamAV antivirus on Moodle 3.11 on Ubuntu 20.04

$
0
0
by Christian Schmitt.  

Hello Gerlando,

much appreciated, thank you!

Best regards,

Christian

Re: configure tab

$
0
0
by Carlos Cadabeira.  

Hello, no, I am uzing php 7.0

Thank you

Re: configure tab

$
0
0
by Carlos Cadabeira.  

ok

Give me a track  please for fix it 

Thank you


Re: Debugging after DB Upgrade with MariaDB 10.5.10

$
0
0
by Christe McMenomy.  

Thanks for the help. We rolled back to mariadb 10.5.9. This did not fix the course module ID invalid error, which occurred whenever I tried to save anything in the particular course (submit quiz attempts as my test student, add new material to a different section as the teacher), so I assumed the entire course had somehow been corrupted when I was working on it after the upgrade to 10.5.10, not just the one quiz. I did look at the table you suggested, also the quiz table and course_module table, but I was't able to find a way to reset anything that would map all the pieces together.

After the restore to 10.5.9, I backed up the course, including student work, and restored it as a new course, and by jiggering the quiz deadlines and build-on-attempt settings, I was able to log in as the admin, log in as each student, and resubmit their quizzes. I've archived the bad course so that it isn't visible, and I think I've accounted for all the student data. I'm not sure what went wrong, but given that the circumstances are likely not replicable (nor likely to be repeated), I'm declaring victory.

As always, thank you for your time and suggestions.

remove a theme

$
0
0
by Carlos Cadabeira.  

Hello, how to remove a theme that says absent from the disk.

Thank you

I am using moodle 3.6

Viewing all 46925 articles
Browse latest View live


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