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

Απάντηση: Re: Απάντηση: Re: Docker image + mysql: Uknown driver native/mysql

$
0
0

volgens Dimitrios Desyllas.  

Well docker is Not a casual user tool is mostly a developer/sysadmin tools and a way to serve/provide applications and needs a bit of skills.


But more "advanced" fellows or professionals need some tools too right? 


So anyone has the freedom to choose either docker or native way in order to have a manual web-based moodle installation either way is fine. In the first place is desighned to fit the needs of a specific  organization as you can see and I offer some encahncements.


Also look it as that the docker way is a good/easy way for IT professionals to offer you (to people without technical expertize generally) a quick moodle installation and not even bother. On a problem you just tell her/him that it does not work and he/she fixes it ;)


Also to answer your question why to bother to make a docker image is that docker offers you an isolation and security layer so if a blackhat/greyhat hacker hacks your app he cannot mess around with the other apps or even with the whole server and another running sites. Also if your server has a problem you can move your moodle installation it easily (because you are moving a whole system and not just an app) into another machine and work just fine.


Also many platforms such as azure offers you docker technology to run an application so you do not bother with server stuff to much (I guess) you just do whaterver to run in to your pc and then launch.


Re: Απάντηση: Re: Απάντηση: Re: Docker image + mysql: Uknown driver native/mysql

$
0
0

by Howard Miller.  

So, will it work smoothly with Moodle upgrades?

Απάντηση: Re: Απάντηση: Re: Απάντηση: Re: Docker image + mysql: Uknown driver native/mysql

$
0
0

by Dimitrios Desyllas.  

The whole point is that when a new mooble major version comes out the image will be rebuilt.

If you mean security updates, well Is a thing that I have not tested yet.

Re: Απάντηση: Re: Απάντηση: Re: Απάντηση: Re: Docker image + mysql: Uknown driver native/mysql

$
0
0

by Howard Miller.  

But your data is not rebuilt I assume?

I don't see (from a Moodle point of view anyway) that there is a difference between security updates and any other sort of updates.

Will this allow optional plugins to be applied?

Απάντηση: Re: Απάντηση: Re: Απάντηση: Re: Απάντηση: Re: Docker image + mysql: Uknown driver native/mysql

$
0
0

by Dimitrios Desyllas.  

I do not know yet, I have aknoledgement about docker but on moodle itself I have still ways to go. But docker provides volume mechanism to share between docker images and the system itself specific folders.

Also moodle itself provides cli installer so I guess will provide a cli based tool/way to install and update plugins or even the system itself. I did that with wordpress using the correct cli tool I guess with moodle the same principle will get applied. 


So all I need is to have the correct folder as a volume and run te correct cli tool. The whole one-click install (actually is one command run a script that does all the dirty job of setting up moodle updating pluginc etc etc).


In the end what I do is a fully cli way to install moodle using scripts to do whatever you type to console manually, that's the only difference.

Re: Moodle Upgrading options - what do you think?

$
0
0

by Rick Jerz.  

Yep, I use Emma's "Best solution" approach.  She is correct that my production server is only down, in my case, less than 10 minutes.  I find this to be a perfect solution.

How to install Hub properly?

$
0
0

by Lester Yeo.  

I have tried to install the hub but am stuck at Step 4.

I don't get the /local directory part so how do i produce the /local/hub?

My Moodle Version is 3.2.2-0124.

Any help would be much appreciated.

How to set up a Moodle Hub server

  1. Install Moodle 2.0 or later somewhere on a web server with a nice URL.
  2. Download the latest hub plugin from http://download.moodle.org/download.php/plugins/local/hub.zip
  3. Save the zip into the /local directory of Moodle and unzip, producing /local/hub
  4. Visit the "Notifications" page in Moodle (/admin) to complete the upgrade and install the hub software.
  5. Enable web services for the hub (Site Administration > Advanced features)
  6. Enable the XML-RPC protocol (Site Administration > Plugins > Web services > Manage protocols)
  7. Set up the SMTP (Site Administration > Plugins > Message outputs > Email)
  8. Set up the recaptcha (Site Administration > Plugins > Authentication > Manage authentication)
  9. Set up your hub (Site Administration > Hub > Settings) Supply a description, enable the hub, supply a hub password.
  10. In Site Administration > Security > Site policies enable Allow extended characters in usernames. This step will be automatically executed when CONTRIB-3646 is done.

Re: Fatal error: Class 'restore_qtype_truefalse_plugin'

$
0
0

by Willman Acosta Lugo.  

Howard, thank you very much


Re: Upgrade Moodle using Git with installed plugins

$
0
0

by Christos Savva.  

Dear Ken

Sorry for coming back on this after 2+ months smile

When I tried to pull Moodle 3.3.2 I got

        ....
        modified:   webservice/wsdoc.php
        modified:   webservice/xmlrpc/db/access.php
        modified:   webservice/xmlrpc/lang/en/webservice_xmlrpc.php
        modified:   webservice/xmlrpc/lib.php
        modified:   webservice/xmlrpc/locallib.php
        modified:   webservice/xmlrpc/server.php
        modified:   webservice/xmlrpc/simpleserver.php
        modified:   webservice/xmlrpc/tests/fixtures/array_response.xml
        modified:   webservice/xmlrpc/tests/fixtures/fault_response.xml
        modified:   webservice/xmlrpc/tests/fixtures/value_response.xml
        modified:   webservice/xmlrpc/tests/lib_test.php
        modified:   webservice/xmlrpc/tests/locallib_test.php
        modified:   webservice/xmlrpc/tests/xmlrpc_server_test.php
        modified:   webservice/xmlrpc/version.php

Untracked files:
        blocks/accessibility/
        blocks/course_contacts/
        blocks/iframe/
        blocks/teleconference_noticeboard/
        course/format/topcoll/
        dcduplicate/
        mod/bootstrapelements/
        mod/choicegroup/
        mod/turnitintooltwo/
        plagiarism/turnitin/
        theme/bootstrap/Commit your changes or stash them before you can merge


Given that all plugins are compatible with 3.3.2, If I do:

git stash 
git pull
then run upgrade.php


will it work? Will Moodle core files be upgraded to 3.3.2 with no issues?

Moodle Login details

$
0
0

by kedibone Moagi.  

Good day


I am having a difficulty in login to my Moodle account as the administrator. Moodle is not picking up my emails address and username because I have not registered it. please help



Kedibone Moagi 

Re: Moodle Login details

$
0
0

by Emma Richardson.  

What do you mean, you have not registered it?  If you are an administrator, you have to have an account...

Re: Urgent - Site is being upgraded, please retry later

$
0
0

by Sarah Cotton.  

Hi, just in case anyone else comes across this and needs an answer:

I just ran into the same issue while testing an upgrade to Panopto 2017082900.

After deleting the contents of moodledata/localcache/mustache the site went back to normal.

So in other words, check the moodledata cache smile

Broken URL in 3.3.1 with LTI and Forums (server configuration help needed?)

$
0
0

by Glenn Pillsbury.  

Hi,

We recently upgraded to 3.3.1 and are having trouble with various links whose URL seems to be "translated" by Moodle in the course of being activated, and in the process, the URL gets messed up and we get a 404 error.

Example 1, when we set an LTI activity to open in a new window, we have these two URLs:
The problem is *not* there if the LTI is set to open in the existing window.

Example 2, from a Forum digest email, containing the links to reply, see the post in context, etc.:

In both cases, you can see that the "/" is missing between "edu" and "mod", which then results in the 404.

We're running Moodle using IIS, but I'm not sure where to start looking to fix this.  The config.php file has "https://moodle.csustan.edu" as the site URL (no slash).

Would appreciate any ideas!

-Glenn

Re: Moodle 3.2 on Red Hat Enterprise Linux

$
0
0

by Heiko Schach.  

Thank you all for your valuable input.

As a follow-up, Moodle 3.2 has been running on RHEL 7 server for two months now and we haven't experienced any problems so far.


We have moved from mod_php to PHP-FPM with Apache Event MPM, using the PHP 5.6 packages from Red Hat Software Collections (RHSCL).

We haven't noticed any deterioration in performance with this PHP-FPM implementation compared to the RHEL 7 default mod_php we had before.

trouble updating to 3.3.2


Separate data directory(moodledata) to web address

$
0
0

by Arnel Jr. Rubiano.  

Good day everyone!

How can i separate the moodledata from web address of moodle to different data server?

I am using 2 ubuntu 16.04 server.

Thanks in advance.

Re: Moodle Upgrading options - what do you think?

$
0
0

by Kahraman Bulut.  

Thank you all for your feedback!

> "moodledata is not touched often"


Ken, do you need to get moodledata in Git/github as well?

OR you may simply copy it from production to dev-site?

Cheers!

Re: Moodle Upgrading options - what do you think?

$
0
0

by Emma Richardson.  

You would just copy moodledata over.

Re: Separate data directory(moodledata) to web address

$
0
0

by Howard Miller.  

'moodledata' is not linked to the web address, so I don't really understand your question. 

You can put 'moodledata' anywhere you like (pointed to by $CFG->dataroot in Moodle's config.php) - including on an NFS share or similar. If it IS on an NFS share you will need to move your MUC/Cache to a proper cache server (Reddit, memcached etc.) as NFS is too slow for the default file cacheing. 

Re: trouble updating to 3.3.2

Viewing all 46804 articles
Browse latest View live


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