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

Re: Moodle Install

$
0
0
by Ken Task.  

Focus of these forums are moodle .... which includes security

https://moodle.org/mod/forum/view.php?id=7301

... however, 'blocked due to TCP 50XXX service' would have to be described in some more detail.  Like any/all such firewalls ... be they a machine that sits in front of your moodle server OR software FW that also sits in front of your moodle (which is yours?).

So, which is the case as above and what is '50XXX' ... exactly.

Could be a false positive.

Without more technical info, anyone's guess ... and you get no where with the issue. :|

'SoS', Ken


Re: Moodle Install

$
0
0
by Jon Witts.  

Do they tell you the specific port number?

If it were TCP port 50000, then there are a number of known exploits listed here using that port: https://www.speedguide.net/port.php?port=50000

That said; you really should need anything open for your Moodle other than TCP port 443 unless you have additional things installed on that server. i.e. TCP port 9418 if you have git running, TCP port 22 if you need SSH access outside the local network, possibly TCP port 53 for DNS... I can't think what on a standard web server would need any TCP port that high up the range open...

Re: Installing moodle on localhost with LTI1.3 support

$
0
0
by Howard Miller.  

What are you doing when you get that message? Moodle doesn't do anything with LTI by default.

Re: Moodle Install

$
0
0
by Ken Task.  

@Jon ... and for OP ... 2 cent suggestion ...

Run sshd not on well known port 22 but one selected from Dynamic/Private : 49152 through 65535.

'SoS', Ken

Session info is written to both DB and Redis

$
0
0
by Son TRAN.  

Dear all,

Due to our load balancing architecture, I had to write session information to DB to share among several NGINX instances. Now I already migrated session information into Redis, but for some reason, I observe that session information continues to be saved into DB. How can I check that I turn off completely writing to DB?

Many thanks

Optimize DB query

$
0
0
by Son TRAN.  

Dear All,

We are preparing a high load for our Moodle. The expected load is 8k students doing quizzes (containing text, images and short audios) at the same time. 

We found that the potential bottleneck is the galera-clusters of Mariadb. Do you have some documents sharing experiences on this issue?

We also observe that the DB API makes a separate connection for each query. Is there a way to optimize the number of connections of a set of successive queries ?

Many thanks 

Re: Optimize DB query

$
0
0
by Howard Miller.  

"We also observe that the DB API makes a separate connection for each query"

Are you sure about that? I think it makes a connection when the Moodle  PHP script starts and releases the connection when the script ends. 

It is inneficient with connections but you will find that most of them are in SLEEP state most of the time. 

Re: Problems updating Moodle from 3.8.* To 3.11.*

$
0
0
by Leon Stringer.  

It looks like the upgrade from 3.8 to 3.11 didn't complete successfully, the core_output_load_fontawesome_icon_system_map row should have been added to the database as part of that process. This reply may help.


Re: Session info is written to both DB and Redis

$
0
0
by Howard Miller.  

There is a 'sessions' table that tracks user sessions but isn't the actual session data. That's normal/expected.

Moodle and CloudFlare

$
0
0
by Luis de Vasconcelos.  

We are looking at putting our Moodle site behind a CloudFlare security layer for security reasons. Apparently one of the things that CloudFlare does is cache static resources like css, images, and js. Moodle also does it's own caching so that implies that caching is then being done on two layers. Is that correct? If so, does this cause any problems with the versions of files that are served to students/teachers?

Re: Session info is written to both DB and Redis

$
0
0
by Son TRAN.  

Thank you for your clarification. At least we are sure now that the session data are written to Redis as needed.
By the way, I found that DB log writing and DB session writting become very slow when the Moodle has high traffic. Such a writing request takes even more than 15 secs. How can I reduce effectively this amount (Of course I will try to scale up the DB system).
Thank you in advance for your help

Re: Session info is written to both DB and Redis

$
0
0
by Howard Miller.  

If you have a very large site then you may need to limit the size of the log table. There is a setting in the admin menus somewhere. I have it set to 90 days. Otherwise, it gets huge and limits performance.

The redis performance is absolutely critical. I would recommend running the Redis benchmark tests (Google will find them) and put compression on if you haven't done already. Also make sure you have good network connectivity between Moodle and redis. Network performance is everything for Redis.

Re: Moodle Install

$
0
0
by Jon Witts.  

@Ken; a wise idea big grin

Automating Moodle Install

$
0
0
by Fred Ferguson.  

Moodle Version: 3.10.3

Hi all,

I'm in the process of automating a Moodle installation and have seen via config.php I can edit most things.

However, one thing I'm struggling with is how I can programatically set things like logos etc.

For example, how would I automatically upload an image file to Moodle's internal "filedir' and then set it as the target for either a global or theme level logo?

My current approach so far is using a filesystem repository with the images in and setting them that way.

However my questions now are:

1. Is there a better way than filesystem repository to handle this task?
2. What is the recommended way to enable filesystem repository programatically? - (At the moment I'm using SQL directly on the DB)
3. Generally, how should I go about uploading image files as part of an automated install process?

Thanks in advance,

Re: Error in Moodle Theme "boost"?

$
0
0
by Ewald Dreesmann.  

Hi,

after reading this thread: "Moodle in English: invalidparameter: Invalid parameter value detected" maybe this could help:

1. Open the course with showing the message: "invalid parameter"
2. Turn on editing and delete the block "calendar"
3. Turn editing off and reload the page. The message shouldn't be there anymore ...
4. Reinstall the block "calendar". The message still shouldn't popup

For me, the only problem is now that the block "calendar" disappeared from EVERY course. 😬

But the message is gone ... 😉

Re: Moodle and CloudFlare

$
0
0
by Emma Richardson.  

I have moodle site that are using cloudflares as a proxy. The only issue that I have seen is when running a script from a browser, it might timeout. I have not seen any issues with the caching though I think once, I had something going on so I cleared caches in both places to make sure that was not the issue.

"Web server software (null) is not supported, sorry." while installting 3.11

$
0
0
by Hrishikesh Pisal Deshmukh.  


7 days back the earlier version of moodle that I have been using for several years stopped working. So I decided to upgrade and did clean new installation for 3.11. But I am constantly getting the above error. I have followed all the steps mentioned in https://docs.moodle.org/311/en/Installing_Moodle. It fails just before final configuration when following the on screen instructions for web based installer 

Re: "Web server software (null) is not supported, sorry." while installting 3.11

$
0
0
by Howard Miller.  

Moodle detects the web server software you are running on to make certain adjustments. This seems to be failing. Which is unusual.

So, what's your server software?

Re: Automating Moodle Install

Re: Error in Moodle Theme "boost"?

$
0
0
by Christian Schett.  

Hi Ewald,

thank you so much. Your workaround was the solution. No error-message anymore smile

Best regards
Christian
Viewing all 47442 articles
Browse latest View live


Latest Images

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