Yes, I redownloaded current version, but still get same error when I try to install:


I turned of debugging, and this was the output:
[12-May-2022 12:35:23 America/Los_Angeles] Default exception handler: Coding error detected, it must be fixed by a programmer: A lock was created but not released at:
[
dirroot]\lib\classes\task\manager.php on line 719
Code should look like:
$factory = \core\lock\lock_config::get_lock_factory('type');
$lock = $factory->get_lock(b18f97c33329b8434e3d14151141eed768d77a86);
$lock->release(); // Locks must ALWAYS be released like this.
Debug:
Error code: codingerror
* line 122 of \lib\classes\lock\lock.php: coding_exception thrown
* line 73 of \lib\cronlib.php: call to core\lock\lock->__destruct()
* line 178 of \admin\cli\cron.php: call to cron_run()
[12-May-2022 12:35:52 America/Los_Angeles] PHP Notice: Did you remember to make the first column something unique in your call to get_records? Duplicate value 'filterall' found in column 'name'.<ul style="text-align: left" data-rel="backtrace"><li>line 1282 of \lib\dml\mysqli_native_moodle_database.php: call to debugging()</li><li>line 1500 of \lib\dml\moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()</li><li>line 1451 of \lib\dml\moodle_database.php: call to moodle_database->get_records_select()</li><li>line 1540 of \lib\dml\moodle_database.php: call to moodle_database->get_records()</li><li>line 1519 of \lib\moodlelib.php: call to moodle_database->get_records_menu()</li><li>line 808 of \lib\environmentlib.php: call to get_config()</li><li>line 466 of \lib\environmentlib.php: call to environment_check_moodle()</li><li>line 106 of \lib\environmentlib.php: call to environment_check()</li><li>line 553 of \admin\index.php: call to check_moodle_environment()</li></ul> in C:\inetpub\
wwwroot\moodle\lib\weblib.php on line 3257
[12-May-2022 12:37:35 America/Los_Angeles] PHP Notice: Did you remember to make the first column something unique in your call to get_records? Duplicate value 'filterall' found in column 'name'.<ul style="text-align: left" data-rel="backtrace"><li>line 1282 of \lib\dml\mysqli_native_moodle_database.php: call to debugging()</li><li>line 1500 of \lib\dml\moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()</li><li>line 1451 of \lib\dml\moodle_database.php: call to moodle_database->get_records_select()</li><li>line 1540 of \lib\dml\moodle_database.php: call to moodle_database->get_records()</li><li>line 1519 of \lib\moodlelib.php: call to moodle_database->get_records_menu()</li><li>line 629 of \lib\classes\string_manager_standard.php: call to get_config()</li><li>line 1674 of \lib\moodlelib.php: call to core_string_manager_standard->reset_caches()</li><li>line 1643 of \lib\moodlelib.php: call to purge_caches()</li><li>line 1925 of \lib\upgradelib.php: call to purge_all_caches()</li><li>line 713 of \admin\index.php: call to upgrade_noncore()< in C:\inetpub\wwwroot\moodle\lib\weblib.php on line 3257
[12-May-2022 12:37:38 America/Los_Angeles] Default exception handler: DDL sql execution error Debug: Table 'mdl_block_recent_activity' already exists
CREATE TABLE mdl_block_recent_activity (
id BIGINT(10) NOT NULL auto_increment,
courseid BIGINT(10) NOT NULL,
cmid BIGINT(10) NOT NULL,
timecreated BIGINT(10) NOT NULL,
userid BIGINT(10) NOT NULL,
action TINYINT(1) NOT NULL,
modname VARCHAR(20) COLLATE utf8mb4_unicode_ci,
CONSTRAINT PRIMARY KEY (id)
, KEY mdl_blocreceacti_coutim2_ix (courseid, timecreated)
)
ENGINE = InnoDB
DEFAULT COLLATE = utf8mb4_unicode_ci ROW_FORMAT=Compressed
COMMENT='Recent activity block'
Error code: ddlexecuteerror
* line 492 of \lib\dml\moodle_database.php: ddl_change_structure_exception thrown
* line 1098 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 427 of \lib\ddl\database_manager.php: call to database_manager->execute_sql_arr()
* line 372 of \lib\ddl\database_manager.php: call to database_manager->install_from_xmldb_structure()
* line 1041 of \lib\upgradelib.php: call to database_manager->install_from_xmldb_file()
* line 578 of \lib\upgradelib.php: call to upgrade_plugins_blocks()
* line 1929 of \lib\upgradelib.php: call to upgrade_plugins()
* line 713 of \admin\index.php: call to upgrade_noncore()
[12-May-2022 12:37:43 America/Los_Angeles] PHP Warning: rename(C:\inetpub\moodledata/cache/cachestore_file/default_application/core_plugin_functions/aft-cache/toOb2iXkgP.627d6207b116a2.40106914.temp,C:\inetpub\moodledata/cache/cachestore_file/default_application/core_plugin_functions/aft-cache/after_config_libphp-94dd61d81c144696e6ed38a44b9e084f.cache): Access is denied. (code: 5) in C:\inetpub\wwwroot\moodle\cache\stores\file\lib.php on line 733
[12-May-2022 12:37:43 America/Los_Angeles] PHP Warning: rename(C:\inetpub\moodledata/cache/cachestore_file/default_application/core_plugin_functions/aft-cache/ABHGycnZxN.627d6207b16480.65023043.temp,C:\inetpub\moodledata/cache/cachestore_file/default_application/core_plugin_functions/aft-cache/after_config_libphp-94dd61d81c144696e6ed38a44b9e084f.cache): Access is denied. (code: 5) in C:\inetpub\wwwroot\moodle\cache\stores\file\lib.php on line 733
[12-May-2022 12:37:43 America/Los_Angeles] PHP Warning: rename(C:\inetpub\moodledata/cache/cachestore_file/default_application/core_plugin_functions/aft-cache/mxY7FEDlfn.627d6207b143e8.73742796.temp,C:\inetpub\moodledata/cache/cachestore_file/default_application/core_plugin_functions/aft-cache/after_config_libphp-94dd61d81c144696e6ed38a44b9e084f.cache): Access is denied. (code: 5) in C:\inetpub\wwwroot\moodle\cache\stores\file\lib.php on line 733
[12-May-2022 12:37:49 America/Los_Angeles] PHP Warning: rename(C:\inetpub\moodledata/cache/cachestore_file/default_application/core_yuimodules/874-cache/ZBmAQQEBIm.627d620d4b4e33.80412597.temp,C:\inetpub\moodledata/cache/cachestore_file/default_application/core_yuimodules/874-cache/874674eec87240d64e32d8c46778a8824fc01888.cache): Access is denied. (code: 5) in C:\inetpub\wwwroot\moodle\cache\stores\file\lib.php on line 733
[12-May-2022 12:37:49 America/Los_Angeles] PHP Warning: rename(C:\inetpub\moodledata/cache/cachestore_file/default_application/core_string/en_-cache/ZBmAQQEBIm.627d620d78e7b6.36636309.temp,C:\inetpub\moodledata/cache/cachestore_file/default_application/core_string/en_-cache/en_core_repository_1652384255-277226e45591af7469fb4178ae34f5fc.cache): Access is denied. (code: 5) in C:\inetpub\wwwroot\moodle\cache\stores\file\lib.php on line 733