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

Re: Wrong mime types for CSS/JS resources


Re: mysql_full_unicode_support#File_format

$
0
0

by guido pazos.  

Deepak Gour, Thank you so much for everything! It helped me.

Greeting

Guido

Re: Wrong mime types for CSS/JS resources

$
0
0

by Matteo Scaramuccia.  

Hi Greg,
that is called PATH_INFO, which Moodle calls slasharguments and supporting slasharguments is recommended by Moodle by default unless you configure Moodle to disable its usage (Site Administration > Site administration > Server> HTTP).
That's the reason why for location ~ [^/]\.php(/|$) { and fastcgi_split_path_info  ^(.+\.php)(/.+)$; .

Please, remember that it will be required some day (MDL-49114) and it is actually required by some Activities like SCORM.

HTH,
Matteo

service not available moodle 3.3

$
0
0

by ivan Rivas.  

Good morning, I have a problem updating to moodle 3.3

happens that every time I get this error when browsing the site with any user

"The web service is not available (it does not exist or it may be disabled)"

and then he asks me to log in again ...

I have reinstalled Moodle from scratch and I get that error, I would appreciate your help ...

I do not know if it's from the OS. or because the site is not HTTPS

Re: Wrong mime types for CSS/JS resources

$
0
0

by Raketen Wissenschaft.  

Okay, the NGINX conf description fixed it. Thanks a ton!

Florian

Re: Scripts and styles not working (404) on fresh installation

Upgrading Mod_Quiz/Events API

$
0
0

by William Kane.  

Hello,


   We recently upgraded our Moodle server from 2.8 to 3.4+ (Build 20171228).  I am getting the following error on the Notifications page:


The following plugins in your system are using Events 1 API deprecated handlers: 'mod_quiz'. Please, update them to use Events 2 API. See https://docs.moodle.org/dev/Event_2#Event_dispatching_and_observers.


My question is how do I upgrade the quiz module?  It's a standard plugin, so isn't available to install like a normal plugin.


Many thanks! 

Re: Upgrading Mod_Quiz/Events API

$
0
0

by Emma Richardson.  

I would say that your upgrade did not go right.  I would suggest redownloading the same version of the code that you are running and replacing your existing moodle folder (after copying config.php, any plugins and fixing permissions!).  See if that resolves it.  

Do you have any plugins that are part of quiz?  It could be that one of those is causing the issue too...


Re: Upgrading Mod_Quiz/Events API

$
0
0

by William Kane.  

I apologize, I should have noted that we moved from 2.8 to 3.0.10, THEN to 3.4

Re: Redirection from apache2 server to nginx reverse proxy server w moodle 3.3

$
0
0

by Carolynn Bellavance.  

I edited the nginx conf file to take out the / at the end of the proxy_pass

proxy_pass http://192.168.0.26:8080;

I now get a 404 error from both nginx and moodle :

192.168.0.19 - - [12/Jan/2018:13:29:59 -0500] "GET /moodle/ HTTP/1.0" 404 464 "https://example.com/""Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36"

Re: Upgrading Mod_Quiz/Events API

$
0
0

by William Kane.  

I actually misspoke, we upgraded from 2.8 to 3.0.10, then to 3.4


I don't know how to check if we have plugins that are part of quiz.  Could you expand on how I could check this?


Re: Upgrading Mod_Quiz/Events API

$
0
0

by Emma Richardson.  

How did you upgrade? 

Did you have to add any plugins to quiz type folder for example? 

If you go to plugins overview page and filter by additional are any specific to the quiz?

Re: Redirection from apache2 server to nginx reverse proxy server w moodle 3.3

$
0
0

by Emma Richardson.  

Try sending the proxy pass to the domain address instead of the ip and just use local dns or host to send it to the right ip.  That is how I have my nginx set up.

Re: Redirection from apache2 server to nginx reverse proxy server w moodle 3.3

$
0
0

by Matteo Scaramuccia.  

Hi Carolynn,
why not removing Apache and let PHP-FPM, installed where Apache is running now, collaborate w/ nginx to serve your Moodle instance?
I mean: https://docs.moodle.org/34/en/Nginx . Unless you're using X-Sendfilehttps://docs.moodle.org/34/en/Performance_recommendations#X-Sendfile .

BTW, you need to expose your public hostname in $CFG->wwwroot and use $CFG->reverseproxy = true; and avoid the trailing slash in both location and proxy_pass.

Note: 303 is the HTTP Status used by Moodle to redirect to the login page. When changing the configuration, please purge all caches, hopefully the /cache and /localcache folders in the moodle data folder ($CFG->dataroot) if you don't use any other cache store; otherwise, use the CLI, https://docs.moodle.org/34/en/Administration_via_command_line#Purge_caches .

HTH,
Matteo

Re: Missing images after migration

$
0
0

volgens Rocky Richard.  

Hi Ken,

Thanks a lot for your guideline.

I do that you guide me. I change file name in database table and create new file in 97/54/,,, . 

I clear in Development -> Purge all caches.  After that missing photos are appear. 

I use akeeba solo in my old host and migrate to new host.

And if you don't mind, which tool is best for backup and migration?

Thanks.


Re: No forum post get send as email ....

$
0
0

volgens werner cyrmon.  

Hi Matteo

shouldn be the second part of the log (after TLS go ahead) encryptet ?

Site administration link links to a blank page!

$
0
0

volgens Chris Charitos.  

I recently installed the latest version of Moodle Moodle 3.4 with problems in installation. (I had to remove the moodledata folder for it so the installation be completed). When I logged in my site every link goes correctly except Moodle Administration link which links to a blank page!

Could someone help me? I am a teacher that I intend to use Moodle in my classroom.

Re: Site administration link links to a blank page!

$
0
0

by Howard Miller.  

Moodle won't work without a Moodledata folder - so I imagine that there is a bit more to that story!

Switch on Debugging. As you can't get to the admin screens you will need to copy the relevant lines (in Section 7) from config-dist.php to your config.php.

Reproduce the error - are there any errors or warnings displayed? You may need to check your web server's error log. 

Installation Moodle 3.4 SQL execution error

$
0
0

by Uyghur Maarip.  

During my installation, I can't finish it:


It says: (Your server environment meets all minimum requirements) and I click CONTINUE and get these informations:


DDL sql execution error

.....

here comes alot of DB data (my databasename, username and password are correct)

.....

Last informations are:

Debug info: Specified key was too long; max key length is 767 bytes

Error code: ddlexecuteerror

Stack trace:

  • line 492 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
  • line 1041 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 77 of /lib/ddl/database_manager.php: call to mysqli_native_moodle_database->change_database_structure()
  • line 425 of /lib/ddl/database_manager.php: call to database_manager->execute_sql_arr()
  • line 370 of /lib/ddl/database_manager.php: call to database_manager->install_from_xmldb_structure()
  • line 1723 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
  • line 276 of /admin/index.php: call to install_core()

Re: Installation Moodle 3.4 SQL execution error

$
0
0

by Ken Task.  

change_structure_exception and might be key.

The environment checks check version and global config/setup but  don't think it checks to see if the DB user under which the check is run has the ability to 'alter' (change structure?).

Rather than use a DB user just for Moodle, use the superuser account for the DB server ... see if that makes a difference or not.

This suggestion is a guess!

'spirit of sharing', Ken


Viewing all 46831 articles
Browse latest View live


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