Upload users does not update country nor timezone

Upload users does not update country nor timezone

by Marcin Adamski -
Number of replies: 1

Hello All,

this is my first post so sorry for newbie errors. I use Moodle on MoodleCloud. I am trying to update country and timezone for all my students (they are at different location than me). I use Site administration/Users/Accounts/Upload users. My CSV file looks like this:

username,firstname,lastname,email,idnumber,country,timezone
id1,fname,lname,who@mail.edu.cn,872362336,CN,8

There are 68 users in the file. All the accounts have already been created before (with the same file, but without the country and timezone columns). I am attempting to only update.


In the upload settings I have:

Upload type - Update existing users only
Existing user details - Override with file
Existing user password - No changes
Allow renames - No
Allow deletes - No
etc...

After clicking 'Upload users' I am getting 0 errors, but the country and timezone remain unchanged.
Does anybody know what I am doing wrong?

Thanks,
Marcin


Average of ratings: -
In reply to Marcin Adamski

Re: Upload users does not update country nor timezone

by Kelly Howell -
Dear Marcin,

Have you tried to purge all caches? You can easily do this as the site admin by going to Site Administration > Development > Purge all caches.

Moodle can cache themes, language strings, filters and other bits of information that have been calculated and stored by the web browser. This link forces all user web browsers to refresh their screens of any information that Moodle has cached. Several modules that use cache have settings which will turn off caching for that module. Eliminating or purging caches slows performance. For more information, check out Purge all caches: https://docs.moodle.org/en/Developer_tools#Purge_all_caches

You might also want to double check that all the fields in the CSV are valid. You can find more information here: https://docs.moodle.org/en/Upload_users#User_Fields_that_can_be_included

I hope that this helps and you are able to update.

Kelly