Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Re: cannot_finish_ui_if_not_setting_ui

$
0
0
by Ken Task.  

Install moosh

https://moodle.org/plugins/view.php?id=522

It's not really a moodle plugin but a command line utility for moodle.

Once it's installed and checked, let's see what's in course ID 141

From inside the moodle code directory anywhere, issue:

moosh -n course-info 141

The -n allows root user to execute rather than web service user.

You'll see something like this (my example done on course ID 10 in a Moodle):

Course ID: 10
No of contexts: 16
Context by level:
    CONTEXT_MODULE (70):    16
Context by module:
    assign (1):    2
    lti (14):    1
    page (15):    3
    resource (17):    10
Number of role capability overwrites: 0
Role capability overwrites by context:
Number of local role assignments: 0
Locally assigned roles by context:
Number of enrolled users: 0
Users enrolled by role:
Number of groups: 0
Group statistics:
    Min number of members in a group:    0
    Max number of members in a group:    0
    Avg number of members in a group:    0
Course modinfo size: 33733
Number of sections: 2
Section statistics:
    Sections visible:    2
    Sections hidden:    0
    Min number of modules in a section:    0
    Max number of modules in a section:    16
    Avg number of modules in a section:    8
Number of grades: 0
Number of log entries: 65
Number of files: 10
Total file size: 8833144
Cache build time: 0.078015089035034

Dunno what we might see for your 141.

Also run:

moosh file-list course=141
Let's attempt see what's in it.

Still the error is DB related ... I wonder ...

How about also installing MySQLTuner.pl and run it.

https://github.com/major/MySQLTuner-perl

We might find some suggestions to tuning the DB that will help with the backup of this one course.

'spirit of sharing', Ken




Viewing all articles
Browse latest Browse all 6815

Trending Articles



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