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

Re: Cannot access Forum functionality in new install

$
0
0
by Mary Cooch.  

Thanks for coming back with more information Barney.

Database errors on phpMyAdmin DB export - new install

$
0
0
by Barney Moxyf.  

Hi all.

Got Moodle up and running OK. My hosting environment isn't mainstream, so I'm having to use the supplied control panel ISPConfig, which is slightly awkward, but generally OK, though it doesn't have a file manager.

I've set up a skeleton course and uploaded a few user-files, and then went to take a backup. The only way I can do that on my server is a Database Export using phpMyAdmin.

Unfortunately that gives me the following errors (attached), and I don't get to see the resulting SQL.

Any advice? Where should I start looking to resolve this? Is it a Moodle issue or a server environmental issue?

Don't want to expend much more effort on setup if I can't take a secure backup of the DB.

Thanks.

Re: Internal Server error while updating plugins during install

$
0
0
by Ken Task.  

We all have been where you are and we all have learned that to get help information has to be provided.

Was I correct in finding you're hosted with DreamHost?

If so, which package did you lease?

https://www.dreamhost.com/hosting/

You mentioned you edited some file locally and then uploaded it ... so how did you do that?   Did you use something called cPanel or a panel of some sort that your provider gives customers to do their sites? 

And you also mentioned you edited some version info ... what file and what edit to 'version' did you make?

One shouldn't be required to do that.

Failed installs usually means starting over ... the fact you are saying 'each time' means it never finished the first time ... and if you are successful in getting over the issues right now, predict issues in future for sure.

'SoS', Ken

Re: Database errors on phpMyAdmin DB export - new install

$
0
0
by Howard Miller.  

This isn't a Moodle issue. You need to speak to your hosting company as it appears to be an issue with phpMyAdmin

Re: Database errors on phpMyAdmin DB export - new install

$
0
0
by Barney Moxyf.  

OK, after doing a little playing around, I can see where this is going.

If I export 'structure only' it works fine, and if I export 'data only' it works fine. I can also export a sub-set of the tables successfully with structure and data, so I'm going to guess that it's some kind of capacity issue.

Moodle has some kind of backup function, right?

Is that the recommended way to backup, and does it do a whole-site (directory and DB) backup?

I'm a belt and braces kind of guy!

Re: Database errors on phpMyAdmin DB export - new install

$
0
0
by Howard Miller.  

Moodle does not have a site backup function. It wouldn't really make much sense. The right thing to do is to implement a regular backup of the database and files area.

See Site_backup

Re: PHP8 Moodle 4 Errors

$
0
0
by Wynand Louw.  

Hello Ken

No additional messages are shown. It is on my server with the Main administrator logged in. Permission on file in CPanel looks correct at 750 and files 644

Re: Database errors on phpMyAdmin DB export - new install

$
0
0
by Barney Moxyf.  

Yes, you're right of course. Now I know Moodle's OK, I'll get a proper cron backup scheduled. I saw something about course backups and got distracted. Thanks.

Re: PHP8 Moodle 4 Errors

$
0
0
by Wynand Louw.  

Have logged support with the VPS provider. I will post when I get their feedback on what changed on the server with the CPanel update. They also activated the require additional PHP extensions for PHP8 as per moodle check.

Re: Database errors on phpMyAdmin DB export - new install

$
0
0
by Howard Miller.  

Yes - you can set up automated course backups but that's not a substitute for a proper site backup.

check_xmlrpc_usage error

$
0
0
by Richard van Iwaarden.  

I'm trying to upgrade from Moodle 3.11.1 to Moodle 3.11.8 and I'm getting the following error:


The unoconv is not the problem here (this is a testserver). But the other one is.

The weird thing is, if I set it to update to Moodle 4.x the error is not appearing. It's only when I check the environment for upgrade to 3.11.8

I have also tried switching to PHP 8.0 (currently PHP 7.4) but then the page doesn't load at all.

Any ideas?

Re: check_xmlrpc_usage error

$
0
0
by Howard Miller.  

That (usually) means that the environment.xml file is not being read properly. Which is odd.

I seem to remember that Moodle 4 not not have a requirement for xmlrpc which probably explains that.

Re: check_xmlrpc_usage error

Re: check_xmlrpc_usage error

$
0
0
by Richard van Iwaarden.  

I think it has to do with the security check I did on the server recently. This report told me to change some settings, which I did: /report/security/index.php

BTW, the weird thing is: I could upgrade anyways from 3.11.1 to 3.11.8. So the 'environment check' told me there was an error, but during upgrade there was no mention of it at all. Could upgrade without any problems fortunately!

Moodle and Elastic Search

$
0
0
by Richard van Iwaarden.  

I'm also upgrading Mahara today and found that they have support for Elastic Search 7 now, which is great.

What's up with Moodle and Elastic Search? The documentation seems very outdated: https://docs.moodle.org/311/en/Elasticsearch or https://docs.moodle.org/400/en/Elasticsearch

It says:

This plugin currently supports Moodle:

    • 3.1
    • 3.2
    • 3.3
We are a little bit past this. Also it says this:

Elasticsearch Version Support

Currently this plugin is tested to work against the following versions of Elasticsearch:

    • 2.3.4
    • 2.4.4
    • 5.1.2
    • 5.5.0

But Elastic Search has reached version 8.3.2.

Who has experience with setting up Elastic Search and does it still work with Moodle 3.11.8 and Elastic Search 7.X?

My users still demand a better global search smile


Can't complete new Moodle 4 setup - profile error after successful installation

$
0
0
by Enrique Guardia.  

Hey guys. I just installed a new Moodle 4 site on my LEMP stack (it uses SpinupWP as a double for WP hosting). Everything went smoothly right until I hit the Continue button. Afterwards I was redirected to the Update profile admin screen but none of the CSS/JS loaded, it just showed plain text. And whenever I wanted to update anything, it showed an unrelated cookies error.

I'm attaching screenshot of the page right before the plain text shows, and the text itself. Unfortunately because of this I'm unable to finish the complete setup. Any help would be appreciated.

Re: Internal Server error while updating plugins during install

$
0
0
by Andrew Dunn.  

Hi Ken,

My Dreamhost plane is Shared Unlimited.

I use Dreamweaver CS4 to open code stuff (not that i know what i am doing mostly)
To put it back in to the website, Dreamhost have a web-based FTP client or i can use WINSCR.

Today i have a new problem. after doing the update of plugins 7 times i got to the next step. it said the plugins were all good and clicked on continue them i got a new error message saying I need to complete the install from the original IP address.

The help page https://docs.moodle.org/310/en/error/admin/installhijacked Say to change more code but this page https://moodle.org/mod/forum/discuss.php?d=408774 says to change other code but I'm not sure were to find it.

What are your thoughts?

Is my VPN going to be an issue for this?
Andrew

Re: Internal Server error while updating plugins during install

$
0
0
by Howard Miller.  

Short answer - it's a server error (not Moodle). You need to get your host involved. It's very likely they will have logged something more informative that might help. This error tells us nothing useful, unfortunately.

Re: Can't complete new Moodle 4 setup - profile error after successful installation

$
0
0
by Howard Miller.  

"...LEMP stack (it uses SpinupWP as a double for WP hosting)"

Sorry. I don't know what any of this means. 

However, if WP is Wordpress then you need to be careful. Moodle and Wordpress don't play well together. Wordpress's .htaccess files wreck Moodle. You *have* to have them in completely separate places on your web server

If "LEMP" implies nginx then have you followed the instructions for installing Moodle with nginx? See Nginx. There are some important configuration settings that if missing would also account for this ("slasharguments").

Re: Can't complete new Moodle 4 setup - profile error after successful installation

Viewing all 46915 articles
Browse latest View live


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