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

Moodle 3.6 upgrade - Blank Page - 500 error

$
0
0
by Jayden Tyronian.  

Hi all


We were running v3.5 successfully up until a few days ago when I kicked off the 3.6 upgrade.  I've done an upgrade prior with little issue.


However this time, I got into the upgrade screen as expected and move into the plugin screen.  One of the plugins had an issue so I clicked 'Cancel' on screen to go back and went to rectify the issue on my end (file wise) and refreshed the upgrade page... at some point it goes to a blank page.


I tried reverting just the plugins folder back to the default one but I still get to a blank white page with a the following error:

... is currently unable to handle this request.

HTTP ERROR 500


There is no listed error in the webhosts error logs and my host Tech Support were unable to resolve the issue from their end either.


What would cause this that may be a quicker resolution, or am I better to delete the files and reload the 3.6 ones from scratch and try the upgrade all over again?


Jayden


Re: Error reading Error reading environment data (16)

$
0
0
by Qurbon Raxmanov.  


I must correct all level="required" to level="optional"

environment.xml

I have version Moodle 2.9, PHP5.640-1, Ubuntu 16.04+deb. Apache 2.4.18



Upgraded from 2.4 to 3.6

$
0
0
by sundarapandian madhvan.  

I am not aware to upgrade from 2.4 to 3.6 in step by step but i was upgraded now issue was once upload the course  with the user.then we have to create the quiz in that course it showing below error

Team please help me on this is issue.

Below issue was i am facing :

Invalid course module ID

More information about this error

Debug info: SELECT id,course FROM {course_modules} WHERE id IS NULL
[array (
)]
Error code: invalidcoursemodule

Stack trace:

  • line 1546 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
  • line 1522 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  • line 7021 of /lib/accesslib.php: call to moodle_database->get_record()
  • line 2503 of /lib/grade/grade_item.php: call to context_module::instance()
  • line 1242 of /lib/grade/grade_grade.php: call to grade_item->get_context()
  • line 1054 of /lib/grade/grade_grade.php: call to grade_grade->get_context()
  • line 369 of /lib/grade/grade_object.php: call to grade_grade->add_feedback_files()
  • line 1025 of /lib/grade/grade_grade.php: call to grade_object->insert()
  • line 647 of /lib/grade/grade_category.php: call to grade_grade->insert()
  • line 567 of /lib/grade/grade_category.php: call to grade_category->aggregate_grades()
  • line 743 of /lib/grade/grade_item.php: call to grade_category->generate_grades()
  • line 1272 of /lib/gradelib.php: call to grade_item->regrade_final_grades()
  • line 2035 of /lib/grade/grade_item.php: call to grade_regrade_final_grades()
  • line 290 of /lib/gradelib.php: call to grade_item->update_raw_grade()
  • line 865 of /mod/quiz/lib.php: call to grade_update()
  • line 751 of /mod/quiz/lib.php: call to quiz_grade_item_update()
  • line 775 of /mod/quiz/locallib.php: call to quiz_update_grades()
  • line 1968 of /mod/quiz/attemptlib.php: call to quiz_save_best_grade()
  • line 1794 of /mod/quiz/attemptlib.php: call to quiz_attempt->process_finish()
  • line 93 of /mod/quiz/view.php: call to quiz_attempt->handle_if_time_expired()



Re: Upgraded from 2.4 to 3.6

$
0
0
by Visvanath Ratnaweera.  

In one long jump? The triple-jump is the advised method, 2.4 > 2.7 > 3.1 > 3.6. (From memory, may slightly differ in detail.)

Re: Upgraded from 2.4 to 3.6

$
0
0
by sundarapandian madhvan.  

Sorry i was upgraded. now i stuck in many issue most of the quiz are conflict in moodle 2.4 to moodle 3.6.

is any solution for fix the issue.kindly help me i am big stuck in moodle. 


And also in moodle 3.6 When we duplicate the quiz its taking so long and display undefined error.


Please help me on this issue.

Re: Upgraded from 2.4 to 3.6

$
0
0
by Visvanath Ratnaweera.  

Hi

You didn't answer my question, whether you tried the upgrade in one step.

Whatever, if a Moodle upgrade is broke, there is no way of "repairing" it. You need to reset the site to the last backup.

Re: Upgraded from 2.4 to 3.6

$
0
0
by sundarapandian madhvan.  

I have created the fresh moodle 3.6 in one server.but if i duplicate the quiz its take long time and display the undefined error

Please help me on this issue sir.

Most problem in quiz module only sir.is any other way fix the duplicate the quiz issue sir

admin setting problem

$
0
0
by im sh.  

I have installed Moodle 3.6 on the ubuntu16.04 server with PHP 7. But I face weird admin profile setting.

admin profile page

How can I fix it?


Re: Upgraded from 2.4 to 3.6

Did you remember to make the first column something unique in your call to get_records? Duplicate value found in column 'id'

$
0
0
by Visvanath Ratnaweera.  

Hi all

When I look at the subscribers of a certain forum, I get warnings like the one below, repeated as many times as the number of subscribers:
===
Did you remember to make the first column something unique in your call to get_records? Duplicate value '4548' found in column 'id'.
line 1184 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
line 455 of /mod/forum/classes/subscriptions.php: call to mysqli_native_moodle_database->get_records_sql()
line 114 of /mod/forum/subscribers.php: call to mod_forum\subscriptions::fetch_subscribed_users()
===
The debug level is DEVELOPER.

The system is Debian Stretch (9.7), PHP 7.0.33.0.9.1, mariadb (5.5.5-10.1.37-MariaDB-0+deb9u1). The code is clean (new Git) Moodle 3.1.15+ (Build: 20181120).

The story behind the site is a bit complicated. It is a test migration and upgrade of a 2.5.2+ (Build: 20130927) from a site on a Siteground shared hosting plan. I transferred the data first on to a Debian Wheezy (7.11) and upgraded to 2.7. Then transferred that to the current server Debian Stretch and upgraded to 3.1.

One thing I did not notice was that $CFG->dbtype was 'mysql' the whole time. I believe on Wheezy it should have been 'mysqli' and on Stretch 'mariadb'. I changed it to 'mariadb' only after the two migrations and upgrades. My first question is whether that could be the cause and how to find these duplicates?

The forum which gives these warnings is in a course which I restored from a course backup I made somewhere during the upgrade march. It is the same course a later version. Restored with users. This course has another forum, with the same subscribers. But that does not throw these warnings. How could that be explained?

Re: Did you remember to make the first column something unique in your call to get_records? Duplicate value found in column 'id'

$
0
0
by Howard Miller.  

As that's quite a complicated function, I would start by getting the exact SQL that was executed and see what it looks at. As all the fields come from the 'user' table then having a duplicate id value seems very odd. You may want to check that table and make sure it is properly indexed. The id field should be unique. 

See https://docs.moodle.org/dev/Data_manipulation_API#Debug_fuctions

...the easiest thing is to enable it just before the offending database call.

Re: installation hanges moodle 3.6.2

$
0
0
by Howard Miller.  

The initial suspicion would be that some part of the Moodle install is missing. Did something go wrong with the download or the unzip?

Extraction of media content from backup

$
0
0
by Todd Roat.  

I reviewed as best I could, enough to learn this topic is not easy.

Using Moodle 3.6 hosted.

I inherited a "site" backup .mbz file.  Its 6GB in size!  I have been asked to see if I can get any of the course material from it - in particular videos (or even url for hosted videos), images, test and test question text. It feels like the site backup is basically just the moodle install, not necessarily course data, as I see no moodledata folder.  But at 6GB Im hoping this contains some salvageable content or information.  

This is all I see in the .mbz.  All lost?  The host site that housed it is long gone.  Im thinking they didnt back up enough components.

mbz contents

Unable to restart Moodle in GCP

$
0
0
by Nilanjan Nath.  

The IP of my Moodle instance is changed in Google Cloud Platform. After the IP change I am unable to restart my instance. I was using Moodle 3.3 on Debian. I have limited knowledge in Moodle administration. Any help to restart the instance will be highly appreciated.

Re: Unable to restart Moodle in GCP

$
0
0
by Ken Task.  

Happen to have a Moodle on Google Cloud but not sure of what we are looking at with your screen shot. 

Also not sure of what you installed via Google's 'store' ... Debian with a pre-built/configured Moodle instance on Bitnami by chance? or some other package that combined Apache/MySQL/PHP and a Moodle?

Change of IP address for the GCP and the Moodle had been running, sounds like one needs to edit the config.php file contained in the directory for moodle code and change the variable for $CFG->wwwroot from old IP to new IP.

If I am incorrect with that guess, then please provide some more information about your setup.

'spirit of sharing', Ken




Re: Extraction of media content from backup

$
0
0
by Howard Miller.  

This is a backup of the Moodle program files - not the data files so it won't do you any good. 

However, there is a directory that shouldn't be there called 'data' - what's in there?

Re: Change IP Address to Web Address

$
0
0
by Eman I.S.  

Hi Visvanath, 

I wasn't the one who installed it and it took some time to get a permission for editing the config file. Now, I edited it and followed the instructions and replaced the address. But I still can't login it, I got an error: 

This site can’t be reached


How to solve this?




Re: Change IP Address to Web Address

$
0
0
by Emma Richardson.  

Have you set up the DNS?  You can't just randomly put a url in the moodle config file unless you have already set up the dns to point that url to that ip address...

Re: Change IP Address to Web Address

$
0
0
by Eman I.S.  

Many thanks for your help! 

Re: Change IP Address to Web Address

$
0
0
by lvona loan.  

I want to know about this installing process.

Viewing all 46921 articles
Browse latest View live


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