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

Re: Configuring php.ini

$
0
0

by Rachel Horst.  

Thanks everyone,

I think I will ignore it as the moodle seems to be working fine and my skills at this point aren't that great.

My site does seem to be moving very slowly though. Might resolving this issue improve my speed? Is there any way to check why it's running so slow?


Thanks in advance!


Rachel


Re: Configuring php.ini

$
0
0

by Rachel Horst.  

Hi again,

I'm realizing that I don't have access to the php files, I only have moodle site administration privileges but not server access. Is there anything I can do at this level to improve the speed of my site?



Thanks!



Re: Configuring php.ini

$
0
0

by Lalit Chandwani.  

I don't know if you can do anything about it if you do not have access to php files. I don't think so at least. But yes solving OPcache issue does improve speed a bit. But not mandatory to fix, it is just a warning and not really an error.

Re: Moodle 2.6 issues on Ubuntu 16.04

$
0
0

by Matt T.  

the user is www-data, not apache. 

you also misspelled maintenance.php, so that would have been your next hiccup.

you should still be able to log in at http://example.com/admin.

Kind regards

Matt

Re: Error writing to database

Re: Configuring php.ini

$
0
0

by Howard Miller.  

It's very unlikely that this will make much difference to the page load time (if that's what you mean). It tends to reduce the *load* which is still a good thing...

To help we'll need to know a lot more about your server setup. Is this hosted? Some cheaper hosting isn't really up to the job of running Moodle.

Re: Moodle on macOS Server (some infos & some issues...)

$
0
0

by Jocelyn Chappaz.  

As I said before

I did change that settings... and so, it gave the message that only https connections are allowed... in despite of the case everything is https....

Here's screenshot with console open, when I just add https in the url (or if https redirection is activated):

https://www.dropbox.com/s/55peu8tdmpp1jwb/with%20https%20in%20the%20url.jpg?dl=0


Here's screenshot with https in the wwwroot line (in config):

https://www.dropbox.com/s/gf2emafj0kl8wbs/with%20https%20in%20the%20config.jpg?dl=0


and there was no "force HTTPS activated" anywhere...


Re: Moodle on macOS Server (some infos & some issues...)

$
0
0

by Matt T.  

Well the first one is clearly a mixed content error, the second one is strange though.

Do you use a reverse proxy, perhaps for SSL offloading? I notice you've got a Let's Encrypt cert, which is very easy to use on Linux but more cumbersome on OS X. 

Have you tried a different browser and cleared cache? (I'm doubtful that will do much but worth a shot.)


Re: Configuring php.ini

$
0
0

by Rick Jerz.  

You haven't told us where you are hosting your site, so it is difficult to provide any more help.  We also need to know how you installed your moodle.

Re: Configuring php.ini

$
0
0

by Rachel Horst.  

Thanks for your reply! So I am a high school teacher at an alternative school. The school has a main moodle site but I created a seperate program site in order to have more ability to tailor it, explore plugins, themes, functionalities etc. and have the access to do so. My site is hosted by the same server as the school's main moodle site, which is the district server and should be pretty solid. I didn't install the moodle myself as I don't have access. At the moment it's 3.1.6 but I've asked it to be upgraded. They recently updated the main site to 3.2 as well with some difficulties and they seem to be having similar problems with my site. They have duplicated the site to do this so I am still live and able to work on it. (School is starting up soon!)  I am using the eguru theme. My site runs much slower than the school moodle site though at that time we were still using the same moodle version....  Here's a link to the site. http://sd46online.ca/moodleflex/

Thanks in advance for your help! 

Rachel

Re: Configuring php.ini

$
0
0

by Rick Jerz.  

Okay. You might have to convince your IT staff of the value of making some of these php.ini changes.  The changes will benefit all.  The changes seem out of your control, so you are stuck.

Depending upon the size of your classes, you might be able to use MoodleCloud

Pretty use of purple on the site!

Re: Moodledata directory has some files owned by root

$
0
0

by Mike Normal.  

Howdy?

Yes, root level "random" files are appearing in moodledata.

Centos, so we are using apache:apache to run.

We have no crontab (really sure) which runs at root level - fresh install 3.3 haven't put in cron yet.

Everything is in moodledata, and html/moodle are apache:apache.

The httpd config set to run as apache.

I've became suspicious when the first suggestion is to set moodledata to 777 here: https://docs.moodle.org/33/en/Installing_Moodle

Selinux is permissive, can't make problems.

php 7.1


So we closed out the possibilities of cron and permission problems.

What else you can suggest please? smile

easyer way to upgrade

$
0
0

by Frank Uccello.  

I have Moodle 3.2.2+ to latest version


Yes I know there a link that shows many steps to do this but is there a very simple way to do this



Re: Moodledata directory has some files owned by root

$
0
0

by AL Rachels.  

Has anyone been adding or editing files manually? I do this with WinSCP and Notepad++, on a regular basis while logged in as root. When I do, I have to remember to "fix" the permissions of any files I added or edited, and change the Group and Owner back to apache.

Re: Moodle on macOS Server (some infos & some issues...)

$
0
0

by Jocelyn Chappaz.  

yup.. tried on Safari and on different computers...


Yep, but for a free SSL cert, there's really no other way than Let's Encrypt...


I know that it would be better to use a Linux distrib... but I'm on Os X and I don't want to use a VM just for that, it seems to me a waste of CPU/RAM... plus, Os X is a Unix and I think the tools are here... but, I think there are few people who know how to use them.. and it seems so easy to use MAMP... or a Linux VM... or... etc..  (and I like to know what I'm using, and, if I can, master it as far as I can...)


right now, my moodle works just fine in http... I'd really like to use HTTPS but, well...


BTW, I have another tiny error. Moodle keeps telling me I'm using "utf8" for my MySQLdatabase and that I should use "utf8mb4"... except... of course my database is in "utf8mb4" !!



Re: easyer way to upgrade

$
0
0

by Rahul Rai.  

Hi Frank

I share a video that shows how to upgrade moodle.

I hope that helps you. 




Re: Moodle on macOS Server (some infos & some issues...)

$
0
0

by Matt T.  

Sorry, just to confirm, your answer here:

Yep, but for a free SSL cert, there's really no other way than Let's Encrypt...

Do you or do you not have a reverse proxy inbetween your users and the OS X server

If you do, you may need to set $CFG->sslproxy = true;

Re: easyer way to upgrade

$
0
0

by Matt T.  

The simple answer is no. The more complicated answer is probably also no, unless you can find ways to automate parts of it.

Most people that run large productions sites use Git and have scripts that automate parts of the backup + upgrade process. But these are complicated and you need to know what you are doing.

So the short answer is what is in the guide is what you need to do. And if that is not "simple" then it probably won't ever be.

Please, whatever you do, do not skip the parts that talk about making pre-upgrade backups. This can be time consuming at first and after many successful upgrades you may start wondering "why should I do this". Then you have one failed upgrade and you really wish you had of done so.

Re: Moodledata directory has some files owned by root

$
0
0

by Mike Normal.  

Thank you for your concern, yes my colleague is adding plugins, and programming in php.

But no, the files appearing as root are temp files or uploaded thru the moodle web-interface, but not always, only sometimes. smile We also take care to meticiously check file permissions especially because we have problems with them.

I wonder that ine httpd is always root, the others are apache, so that somehow?

But that isn't how httpd behaves, so I am at a loss now.

Re: Moodledata directory has some files owned by root

$
0
0

by Howard Miller.  

You're at the point where you may need to implement a logging file system in order to track down which process is doing this. 

Viewing all 46891 articles
Browse latest View live


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