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

Re: Best hosting company for Moodle

$
0
0
by Marcus Green.  

I recommend Moodle partner Titus Learning, because I work for them and we are awesome.  < / humour > But seriously I would recommend a Moodle partner because they employ experts. So altogether our people have decades of experience with Moodle (e.g. check out my posts going back to 2003). Geographical proximity may be less of an issue that you might think. Many/most of our clients are in another continent.

With reference to video conferencing, BigBlueButton is probably the best tool that is integrated with Moodle, but self hosting anything to do with video is technically challenging.

With reference to hosting yourself, it is a bit like cutting your own hair, you can certainly do it but you probably wouldn't want to (self hosting Moodle is a bit harder than cutting your own hair).

My comments are not endorsed by my employer smile

Re: Best hosting company for Moodle

$
0
0
by Ken Task.  

Key words ... "Geographical proximity may be less...".   While generally true, not always.  Neither Moodle code nor MP's do 'routing' - end to end.

Comments are not endorsed by my employer either! smile

'SoS', Ken

Re: Best hosting company for Moodle

$
0
0
by Emma Richardson.  

It really depends on your level of expertise and how much control you want. I have seen many comments to pick a moodle partner - this is because they know what they do and offer a complete package. But with a lot of partners you will also find yourself limited on what plugins you can install and what customizations you can add. It is a lot cheaper to get a vps with a hosting company and then set up yourself plus you get total control of your site. But that comes with a lot of work and you will be responsible for upgrades etc. As for video, Big Blue Button integrates really well (needs either a hosted solution or another server setup), Zoom also has a plugin for moodle. You will just need to check any bandwidth constrictions on your host if you expect to have a lot of people connecting at once.

Out of memory when opcache enabled - Win Server 2019, IIS, PHP7 & Mairadb

$
0
0
by Chris Douglas.  

Just installed... Moodle 3.7.2 on Windows Server 2019, IIS 10, PHP 7.2 & Mairadb 10.4.  Just after first configuration and log-in, interface would stop with PHP Fatal error on memory.  One of two messages depending on whether I set memory_limit in php.ini to a number (tried 128, 256, 1024, 2048) or to -1.  Allowed memory error on a number, Out of memory error on -1. 

PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 4121125927079325552 bytes) in C:\inetpub\wwwroot\moodle\lib\setuplib.php on line 783

PHP Fatal error:  Out of memory (allocated 2097152) (tried to allocate 4121125927079325552 bytes) in C:\inetpub\wwwroot\moodle\lib\setuplib.php on line 783

Determined that disabling opcache (opcache.enable = 0) resolves the error and allows the server to run just fine, albeit probably slow with the cache off.  Everything seems to work.

I've researched and found opcache settings ideas here and via google but nothing has worked so far.  Starting with the default [opcache] and "required for Moodle" and adding other ideas I've found - even adding them one at a time and testing them as whole solutions and singular lines in every possible combination, I'm still crashing.  So here is where my [opcache] settings stand now, any suggestions for how to find my problem and resolve it are much appreciated:

[opcache]
zend_extension = php_opcache.dll
opcache.enable = 0
opcache.memory_consumption = 128
opcache.max_accelerated_files = 10000
opcache.revalidate_freq = 60

; Required for Moodle
opcache.use_cwd = 1
opcache.validate_timestamps = 1
opcache.save_comments = 1
opcache.enable_file_override = 0

; Opcache enable causes memory error fix?: https://bugs.php.net/bug.php?id=78076
opcache.enable_cli=1
opcache.file_cache="/var/lib/php/cli-opcache"
opcache.file_cache_only=1

; If something does not work in Moodle
opcache.revalidate_path = 1 ; May fix problems with include paths
opcache.mmap_base = 0x20000000 ; (Windows only) fix OPcache crashes with event id 487


Re: Best hosting company for Moodle

$
0
0
by Ken Task.  

In for a penny ... in for a pound ... I guess ...

"And my second question is, does Moodle 3.7.2 allows online live video classroom?"

According to OP's profile:
Macedonia, The Former Yugoslav Republic Of, Skopje

As in desktop video conferencing?  Or as in VC where teacher on one end and multiple students in a classroom on the other end?

If the latter, routers of entities that offer VC, usually are configured
with a 'Quality of Service' ... VC systems on such networks get bandwidth
needed to assure video/audio doesn't flutter or freeze, etc.  QS takes bandwidth away from data that is not video.

BBB makers recommend dedicated Ubuntu server.
https://docs.bigbluebutton.org/install/install.html#minimum-server-requirements

So OP is looking at 2 servers ... one for Moodle and one for 'online iive video classroom'.

'SoS', Ken

Re: Out of memory when opcache enabled - Win Server 2019, IIS, PHP7 & Mairadb

$
0
0
by Howard Miller.  

"tried to allocate 4121125927079325552 bytes"

...have you realised how much that is? Something is very broken. That line just seems to be running the 'strtolower' which is pretty innocuous.

I'm not being very helpful but it sounds like a very broken library or similar. Where did your build of PHP come from?

Re: Out of memory when opcache enabled - Win Server 2019, IIS, PHP7 & Mairadb

Re: Best hosting company for Moodle

$
0
0
by James Steerpike.  

I have found DigitalOcean suit my needs at a low price. But there are a whole lot of provisos:
  • You have to install the LAMP stack and Moodle
  • It is command line only. If you want a GUI way to configure and monitor your programs, you have to install and configure  those programs yourself. From the command line,
  • Expect no help from the service desk for Moodle or anything else you installed. They help on what they supplied - disk space, memory, CPU and root access. Software problems are your problems.
  • There is no mail server. What you get is the equivalent of a new computer delivered with your choice of Linux. Nothing more
  • Anything is possible including a video server - if you know what you are dong
There are no shortcuts in Moodle. Either you learn to run it yourself or pay someone else to set it up and run it for you. And when I look at the time I spent getting to where I am now, if I had spent those hours tutoring, I think i could have paid for a managed Moodle.


Re: Moodle 3.7 for Windows will not start

$
0
0
by Stephanie Worden.  

Usman,

Thanks!  I wasn't aware moodlecloud.com existed.  I will use that instead.

Stephanie

Re: Out of memory when opcache enabled - Win Server 2019, IIS, PHP7 & Mairadb

$
0
0
by Howard Miller.  

I don't know anything about Windows.

However, it can't hurt to install 7.3.7. In case it works.

Problem with Upgrad

$
0
0
by D.ALI ALAMRI.  

Hi
Upgraded to 7.3 successfully
But the themes didn't work with me
When I want to change the theme appears a white page

Delete the boost theme and the following error appears
Default theme boost not available or broken!

How do I change the theme of the database

THANKS

Re: Problem with Upgrad

$
0
0
by Ken Task.  

You must mean upgraded to 3.7.x of Moodle. ;)

Oops ... major theme changes to 3.7.x of Moodle.  boost is a/the fallback theme used by moodle when other in-compatible themes are present.  Thus deleting boost throws the error.  (tip: never delete ... just hide core)

To get back to a point where you can see the newly upgraded moodle, add the following line to config.php of your site:

$CFG->theme='classic';

Classic was the other new theme that came with 3.7.

To get boost back, download the 3.7.x code to workstation.  Unzip/Compress the code locally.  Find the 'theme/boost' folder and upload it to your server's moodlecode/theme/ directory.

Check ownerships/permissions on newly uploaded boost folder.

Also ... if using FTP to transfer that folder, make sure you transfer using binary mode ... not ascii ... possible file corruption on upload might occur if using ascii mode.

After uploading the boost folder, comment out the line you added to config.php.   Looks like:

//$CFG->theme='classic';

Server should now use boost, no error or 'white screen of death' ...  and you can investigate in-compatible themes at that point.

'SoS', Ken


Re: Out of memory when opcache enabled - Win Server 2019, IIS, PHP7 & Mairadb

$
0
0
by Usman Asar.  

Chris, WPI is as same as script installers with hosting providers, and they are strictly prohibited to use. 

I had created a tutorial a while back on Server 2012 R2. Server 2016 and 2019 has exactly same procedure, you can follow tutorial HERE

Re: Moodle can not load javascript after installing via Softaculous

$
0
0
by ahmad wildan.  

Thanks Miller, I also trying to manually install moodle by using moodle repo on github. I used https://github.com/moodle/moodle/tree/MOODLE_37_STABLE, delete all directory under moodledata, but no change, the problem still exists. My friend successfully installed via Softaculous with the different hosting company... I ask them for my problem but he don't know the cause.. Any suggestion?

Re: Moodle can not load javascript after installing via Softaculous

$
0
0
by Usman Asar.  

If you have softaculous, means you're on a managed server (either shared, VPS or Dedicated), delete everything (moodle, moodledata folders and database

download from moodle.org and manually install moodle creating DB first. 

which hosting provider are you with? as resource limits sometimes effect rendering of the pages, your hosting may be hitting I/O limits, whilst your friend's doesnt. 


Re: Moodle can not load javascript after installing via Softaculous

cron not working on fresh installation (Moodle 3.7)

$
0
0
by Stefan Schoch.  

Hi there,

I have a fresh installation running that's working fine (everything looks great, messages are sent via Email) but nevertheless the server message says:

'The cli/cron.php maintenance script has not been run for at least 24 hours. '

I checked with my hosting provider, the cron job seems to tun correctly:

Line 3017: 109.237.138.50 - - [19/Oct/2019:09:35:01 +0200] "GET /admin/cli/cron.php HTTP/1.1" 200 63 "-""Alfahosting GmbH - Cronservice" integraleimpulse.de
Line 3054: 109.237.138.50 - - [19/Oct/2019:09:40:02 +0200] "GET /admin/cli/cron.php HTTP/1.1" 200 63 "-""Alfahosting GmbH - Cronservice" integraleimpulse.de
Line 3208: 109.237.138.50 - - [19/Oct/2019:09:45:00 +0200] "GET /admin/cli/cron.php HTTP/1.1" 200 63 "-""Alfahosting GmbH - Cronservice" integraleimpulse.de
Line 3232: 109.237.138.50 - - [19/Oct/2019:09:50:01 +0200] "GET /admin/cli/cron.php HTTP/1.1" 200 63 "-""Alfahosting GmbH - Cronservice" integraleimpulse.de
Line 3251: 109.237.138.50 - - [19/Oct/2019:09:55:00 +0200] "GET /admin/cli/cron.php HTTP/1.1" 200 63 "-""Alfahosting GmbH - Cronservice" integraleimpulse.de


Any ideas or tipps?
Stefan

إعادة: Re: Problem with Upgrad

$
0
0
by D.ALI ALAMRI.  

Hi
MR Ken Task
I will do and tell you the result
Thanks مبتسم

Re: cron not working on fresh installation (Moodle 3.7)

$
0
0
by Visvanath Ratnaweera.  

GET? From another machine through the net? For that there is ./admin/cron.php.

Re: cron not working on fresh installation (Moodle 3.7)

$
0
0
by Ken Task.  

Apache id 200 means ok, but see the bytes are all the same (63) and every 5 minutes (recommended is every minute) + the 'cron service' appears to be web based.   All the scripts in admin/cli/  are restricted to command line (cli).

Server appears to Linux of some flavor so the setup of cron for moodle should be using servers native crontab.

Please see: https://docs.moodle.org/37/en/Cron

'SoS', Ken

Viewing all 47094 articles
Browse latest View live


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