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

Students missing in grader

$
0
0

by Augusto R. M..  

Hello.

I have a course with 50+ students. However, in / grade/report/grader/index.php?id=[courseid] I just can see five students. Why? how can I manage to see all the course students in grader table?

Moodle 3.3

Thank you.



Re: Students missing in grader

$
0
0

by Emma Richardson.  

You are either looking at one group or you have filtered by a letter for first name or last name...check your filters at the top of the report

Re: Students missing in grader

$
0
0

by Rick Jerz.  

Emma, it might b e that Augusto double posted.  I just replied to this exact question somewhere else.

Moodle is not accessible outside

$
0
0

by Vadym Myrgorodskyi.  

Hi,


I could successfully install Moodle on the Ubuntu Server (VM on an ESXi host).

Some other guys did the configuration of the DB and now it is internally accessible (using internal IP address 192.168.168.205 I can see the configured moodle main webpage)

However, I need to make it externally accessible. I did the correct SNAT (port-forwarding) on our firewall (Watchguard FireBox M400) and confirmed these settings with the firewall support.

Before making changes in our DNS records with our hosting, I wanted to make sure, that using the public IP address, I could successfully access Moodle. In fact, I could not and the firewall support said that it is not the firewall issue, because it passes the traffic to the moodle host (we did tcpdump on the Ubuntu machine).

Do you have any ideas what is wrong?


Sorry if I missed something.


Ubuntu Server 16.04.3 LTS 64-bit

Apache 2.4.18

MySQL Ver 14.14 Distr 5.7.19

PHP 7.0.18

Moodle 3.3.1

Re: Moodle is not accessible outside

$
0
0

by Howard Miller.  

You can't do this directly with IP addresses as you can only have one setting for wwwroot in config.php.

You need to run a "split DNS". That is your hostname would resolve to the internal IP inside and the external IP outside but the URL is the same regardless. 

That's just the first problem - there could be other things wrong.

BTW... the database is nothing to do with it. The server (only) needs to access the database and it clearly does. 

Re: Students missing in grader

$
0
0

volgens Emma Richardson.  

Perhaps if you gave us some screenshots?

Re: Students missing in grader

$
0
0

volgens Augusto R. M..  

Please, which is the correct forum for this issue?

Re: Students missing in grader


Re: Students missing in grader

Re: Students missing in grader

$
0
0

volgens Emma Richardson.  

But don't post another one at this point - we are listening - send us some screen shots and see if we can figure it out for you.

Re: Students missing in grader

$
0
0

volgens Emma Richardson.  

The enrollments have ended....so only five students are still enrolled in the course.  Look at the enrollment dates on that page.

Re: Students missing in grader

$
0
0

volgens Augusto R. M..  

Thank you, I'm gonna check it.

Purging Moodle Cache directory.

$
0
0

volgens Joe Schmoe.  

I am in process of upgrading our Moodle installation (2.9.2) to the latest version and a part of the process is to backup our Moodle data folder. I took a look and it contains about 2,600,000 files of which 99% is in C:\moodledata\cache folder.

Is it OK to purge these files before the upgrade via

Administration > Site administration > Development > Purge all caches ?

Will that clear all of them out?

My understanding is that cache should be OK to clear because it is, well, just a cache.


Re: Purging Moodle Cache directory.

$
0
0

volgens Howard Miller.  

Just delete it!

In fact you can delete *all* the directories except 'filedir/'. 

Re: Missing images after migration

$
0
0

volgens Rocky Richard.  

Hi

I use the following sql command that you guide.


select contenthash,filename from `mdl_files` where `mimetype` like "%image%";

+------------------------------------------+------------------------------------------+

| contenthash                              | filename                                 |

+------------------------------------------+------------------------------------------+

| 41cfeee5884a43a4650a851f4f85e7b28316fcc9 | background.jpg                           |

| 5f8e911d0da441e36f47c5c46f4393269211ca56 | smile.png                                |

| 75c101cb8cb34ea573cd25ac38f8157b1de901b8 | sad.png                                  |

| 0c5190a24c3943966541401c883eacaa20ca20cb | tick.png                                 |

| 8c96a486d5801e0f4ab8c411f561f1c687e1f865 | cross.png                                |

| 9754d8b70c8d829081fc6701fb0120b0bd6c9fbb | e3f298f0d0470546d4027c18963eb2cfc4185e50 |


The last line has error.

The following is from orginal site.

e3f298f0d0470546d4027c18963eb2cfc4185e50 | mood-logo1.png  


mood-logo1.png missing.

But in my new host, File exist at   /moodledata/filedir/e3/f2/e3f298f0d0470546d4027c18963eb2cfc4185e50 

There is no folder at /moodledata/filedir/97/54 

So how should I do?




Re: Missing images after migration

$
0
0

volgens Ken Task.  

If there is a file @  /moodledata/filedir/e3/f2/e3f298f0d0470546d4027c18963eb2cfc4185e50

find out what mimetype it is (adjust the command ... below is example):

file -b /moodledata/filedir/e3/f2/e3f298f0d0470546d4027c18963eb2cfc4185e50

file -b will show info concerning the file.   If the file is a .png, the response will look something like:

PNG image data, 1730 x 1158, 8-bit/color RGBA, non-interlaced

So to be able to use the Moodle UI to edit/replace, etc.  2 things:

1. give the DB what it's looking for ... by that I mean edit that row that doesn't have the 'filename' and give it a filename .... same as old site .... mood-logo1.png

That might then show a broken image, but at least you can get into that area via UI and change/re-upload.

2. Again ... give what Moodle is looking for ...

cd moodledata/filedir/

mkdir 97

cd 97

mkdir 54

cd 54

touch 9754d8b70c8d829081fc6701fb0120b0bd6c9fbb

The last command creates a 0 byte file by the content hash name.

those directories and the touched file need to have proper permissions and ownerships for Moodle to see them in the UI.

'spirit of sharing', Ken


Scripts and styles not working (404) on fresh installation

$
0
0

volgens Raketen Wissenschaft.  

  • Moodle version: 3.3.2
  • OS: Gentoo Linux
  • PHP: 7.0.23
  • Server: nginx


Hi,

after a fresh install of Moodle, most scripts and stlyesheets do not work.

The basic page is being rendered, and some CSS does work.


Not working is for example:


What does work is for example http://moodle.domain/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.css


It is noticable that all the links including the id(?) "1515751172" are broken.


Apart from that, I can log in and use the site on a plain HTML base.


How can I track this down? Any help would be greatly appreciated.


Kind regards,


Florian

Wrong mime types for CSS/JS resources

$
0
0

volgens Greg Robson.  

Hi,

I've installed Moodle (first time in several years) and it has mostly gone according to plan. On loading the home page I don't get the CSS and JS resources.

I'm getting errors of "Resource interpreted as Stylesheet but transferred with MIME type text/html:" and the JS files are not being loaded either. Is there something specific I need to do to fix the mime types?

I'm running:

  • Moodle 3.4 (Latest Stable)
  • PHP 7.1.13
  • Nginx 1.13.3
  • PostgreSQL 10.1

I've tried a few solutions after Googling the error message, but nothing has worked so far?


Re: Wrong mime types for CSS/JS resources

$
0
0

by Greg Robson.  

For anyone else facing this issue, be sure to set up your Nginx rules prior to installation.

https://docs.moodle.org/34/en/Nginx

It is mentioned in the documentation. Just as feedback the documentation says that some "links and pointers are at Installing AMPIISNginx." ... and that they are helpful - they do not say that it's an explicit requirement for a working installation.

This might be why I was also having issues using the web installer.

Re: Wrong mime types for CSS/JS resources

Viewing all 46869 articles
Browse latest View live


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