sameersbn / docker-redmine

Docker Image for Redmine
http://www.damagehead.com/docker-redmine/
MIT License
1.26k stars 497 forks source link

Upgrade from 5.1.0 to 5.1.1-1 rake aborted #533

Closed mgscreativa closed 9 months ago

mgscreativa commented 9 months ago

Hi! upgraded my redmine docker image from 5.1.0 to 5.1.1-1 and got this issue: Mysql2::Error: Unknown system variable 'transaction_isolation'

Full log here

2024-01-05T16:19:08.960276831Z WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
2024-01-05T16:19:08.963351959Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T16:19:08.963363671Z Couldn't create 'redmine' database. Please check your configuration.
2024-01-05T16:19:08.963375683Z rake aborted!
2024-01-05T16:19:08.963377886Z ActiveRecord::StatementInvalid: Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T16:19:08.963565022Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T16:19:08.963586541Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T16:19:08.963590362Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T16:19:08.963592781Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T16:19:08.963595083Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T16:19:08.963597444Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T16:19:08.963599749Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T16:19:08.963602127Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T16:19:08.963604385Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T16:19:08.963606664Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T16:19:08.963608963Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T16:19:08.963611253Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T16:19:08.963613523Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T16:19:08.963617818Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T16:19:08.963629723Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T16:19:08.963639557Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T16:19:08.963642077Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T16:19:08.963644262Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T16:19:08.963646436Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T16:19:08.963648639Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T16:19:08.963650842Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T16:19:08.963653045Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T16:19:08.963655251Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T16:19:08.963668191Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T16:19:08.963672089Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T16:19:08.963675773Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T16:19:08.963679939Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T16:19:08.963684047Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T16:19:08.963688302Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T16:19:08.963692107Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T16:19:08.963695142Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T16:19:08.963697508Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T16:19:08.963699783Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T16:19:08.963705015Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T16:19:08.963707415Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T16:19:08.963709665Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T16:19:08.963711900Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T16:19:08.963714206Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T16:19:08.963716454Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T16:19:08.963718742Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T16:19:08.963721042Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T16:19:08.963723270Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T16:19:08.963725869Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T16:19:08.963728142Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T16:19:08.963730412Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T16:19:08.963732655Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T16:19:08.963735271Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T16:19:08.963737622Z 
2024-01-05T16:19:08.963739707Z Caused by:
2024-01-05T16:19:08.963741824Z Mysql2::Error: Unknown system variable 'transaction_isolation'
mgscreativa commented 9 months ago

This is my docker-compose file

version: '2'

services:
  web:
    image: 'sameersbn/redmine:5.1.1'
    restart: always
    hostname: 'redmine.xxxx.com'
    container_name: redmine
    environment:
    - TZ=America/Argentina/Buenos_Aires

    - DB_ADAPTER=mysql2
    - DB_HOST=10.0.0.XX
    - DB_PORT=3306
    - DB_USER=XXXX
    - DB_PASS=XXXX
    - DB_NAME=XXXX

    - REDMINE_PORT=443
    - REDMINE_HTTPS=true
    - NGINX_HSTS_MAXAGE=2592000

    - USERMAP_UID=5005
    - USERMAP_GID=5005

    - REDMINE_SUDO_MODE_ENABLED=false
    - REDMINE_SUDO_MODE_TIMEOUT=15

    - REDMINE_CONCURRENT_UPLOADS=2

    - SMTP_ENABLED=false
    - SMTP_METHOD=smtp
    - SMTP_DOMAIN=www.example.com
    - SMTP_HOST=XXXX
    - SMTP_PORT=XXXX
    - SMTP_USER=XXXX
    - SMTP_PASS=XXXX
    - SMTP_STARTTLS=XXXX
    - SMTP_AUTHENTICATION=:login

    - IMAP_ENABLED=false
    - IMAP_HOST=XXXX
    - IMAP_PORT=XXXX
    - IMAP_USER=XXXX
    - IMAP_PASS=XXXX
    - IMAP_SSL=true
    - IMAP_INTERVAL=30

    ports:
    - "2080:80"
    - "2443:443"
    volumes:
    - /XXXX/XXXX/redmine/data:/home/redmine/data
jcormier commented 9 months ago

Related to #531

In redmine 5.1.1, redmine fixed an issue and now states that transaction_isolation has to be set when using a MySQL server. This however doesn't work on older versions of MySQL.
https://www.redmine.org/projects/redmine/wiki/RedmineInstall

What version of Mysql are you running?

I'm not sure what the correct answer is for this docker image. I could not set transaction_isolation and let the user set it but that would almost guarantee that the majority of users would not know about it and be running redmine in a potentially unsafe manner... Any thoughts?

Note the 5.1.1 image does not set transaction_isolation so should start for you...

mgscreativa commented 9 months ago

Thanks for the reply!

PHPMyAdmin reports: MariaDB 10.6.12

mgscreativa commented 9 months ago

Well, seems that var came in MariaDB 11.1.1 and I have 10.6.2. How can I roll back changes so I can get back to a working redmine instance?

mgscreativa commented 9 months ago

It seems that there's already defined but with a different name

imagen

jcormier commented 9 months ago

Try the 5.1.1 image version (no -1).

mgscreativa commented 9 months ago

The same, see full log

2024-01-05T17:39:19.903330741Z Initializing logdir...
2024-01-05T17:39:19.909076666Z Initializing datadir...
2024-01-05T17:39:20.073126357Z Symlinking dotfiles...
2024-01-05T17:39:20.101277357Z Installing configuration templates...
2024-01-05T17:39:20.115616190Z Configuring redmine...
2024-01-05T17:39:20.147756812Z Configuring redmine::database
2024-01-05T17:39:20.175941056Z   Setting transaction isolation level...
2024-01-05T17:39:20.176134985Z Configuring redmine::unicorn...
2024-01-05T17:39:20.210659282Z Configuring redmine::secret_token...
2024-01-05T17:39:20.210679766Z Generating a session token...
2024-01-05T17:39:20.210685564Z Note:
2024-01-05T17:39:20.210690321Z   All old sessions will become invalid.
2024-01-05T17:39:20.210695147Z   Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2024-01-05T17:39:20.210700027Z   **SHOULD** be defined if you have a load-balancing Redmine cluster.
2024-01-05T17:39:20.223148980Z Configuring redmine::max_concurrent_ajax_uploads...
2024-01-05T17:39:20.237038563Z Configuring redmine::sudo_mode...
2024-01-05T17:39:20.252655139Z Configuring redmine::autologin_cookie...
2024-01-05T17:39:20.279813362Z Configuring redmine::backups...
2024-01-05T17:39:20.295272784Z Configuring redmine::rmagic::font...
2024-01-05T17:39:20.317577131Z Configuring nginx...
2024-01-05T17:39:20.318807648Z Configuring nginx::redmine...
2024-01-05T17:39:20.351208192Z Configuring nginx::redmine::ssl...
2024-01-05T17:39:20.372717677Z Configuring nginx::redmine::hsts...
2024-01-05T17:39:20.438899101Z Migrating database. Please be patient, this could take a while...
2024-01-05T17:39:22.400551678Z WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
2024-01-05T17:39:22.403781307Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:22.403794485Z Couldn't create 'redmine' database. Please check your configuration.
2024-01-05T17:39:22.403799254Z rake aborted!
2024-01-05T17:39:22.403805036Z ActiveRecord::StatementInvalid: Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:22.403988678Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:22.404002776Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:22.404005823Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:22.404008107Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:22.404010365Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:22.404012743Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:22.404015032Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:22.404017309Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:22.404019565Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:22.404021879Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:22.404024179Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:22.404026471Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:22.404028742Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:22.404040240Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:22.404042893Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:22.404045133Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:22.404047339Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:22.404049560Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:22.404051761Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:22.404053983Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:22.404072281Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:22.404074917Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:22.404077233Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:22.404079491Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:22.404081734Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:22.404084569Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:22.404088477Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:22.404092379Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:22.404103287Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:22.404110438Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:22.404112934Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:22.404115196Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:22.404117541Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:22.404119819Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:22.404122079Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:22.404124298Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:22.404126531Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:22.404128768Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:22.404135193Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:22.404137584Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:22.404139897Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:22.404142117Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:22.404144842Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:22.404147064Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:22.404149315Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:22.404151651Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:22.404154687Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:22.404158354Z 
2024-01-05T17:39:22.404161858Z Caused by:
2024-01-05T17:39:22.404165394Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:22.404168916Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:22.404171168Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:22.404173361Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:22.404175555Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:22.404177738Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:22.404180022Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:22.404182332Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:22.404184569Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:22.404186811Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:22.404189076Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:22.404194060Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:22.404196484Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:22.404198743Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:22.404201008Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:22.404203294Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:22.404205543Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:22.404207793Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:22.404210035Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:22.404212362Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:22.404214633Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:22.404216941Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:22.404219219Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:22.404221492Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:22.404223769Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:22.404226176Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:22.404228473Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:22.404230738Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:22.404233012Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:22.404237254Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:22.404239620Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:22.404241936Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:22.404244183Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:22.404246453Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:22.404248717Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:22.404250964Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:22.404253197Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:22.404255418Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:22.404257903Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:22.404260180Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:22.404262445Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:22.404264739Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:22.404266960Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:22.404269244Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:22.404271472Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:22.404273727Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:22.404275975Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:22.404278362Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:22.404280642Z Tasks: TOP => db:create
2024-01-05T17:39:22.404284616Z (See full trace by running task with --trace)
2024-01-05T17:39:23.275352561Z Initializing logdir...
2024-01-05T17:39:23.281542855Z Initializing datadir...
2024-01-05T17:39:23.462217773Z Symlinking dotfiles...
2024-01-05T17:39:23.491360851Z Installing configuration templates...
2024-01-05T17:39:23.509753124Z Configuring redmine...
2024-01-05T17:39:23.539383188Z Configuring redmine::database
2024-01-05T17:39:23.566056362Z   Setting transaction isolation level...
2024-01-05T17:39:23.566166836Z Configuring redmine::unicorn...
2024-01-05T17:39:23.593373218Z Configuring redmine::secret_token...
2024-01-05T17:39:23.593388554Z Generating a session token...
2024-01-05T17:39:23.593392128Z Note:
2024-01-05T17:39:23.593394959Z   All old sessions will become invalid.
2024-01-05T17:39:23.593398000Z   Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2024-01-05T17:39:23.593400987Z   **SHOULD** be defined if you have a load-balancing Redmine cluster.
2024-01-05T17:39:23.605943825Z Configuring redmine::max_concurrent_ajax_uploads...
2024-01-05T17:39:23.620322464Z Configuring redmine::sudo_mode...
2024-01-05T17:39:23.639921565Z Configuring redmine::autologin_cookie...
2024-01-05T17:39:23.662876422Z Configuring redmine::backups...
2024-01-05T17:39:23.680542336Z Configuring redmine::rmagic::font...
2024-01-05T17:39:23.702702002Z Configuring nginx...
2024-01-05T17:39:23.704197799Z Configuring nginx::redmine...
2024-01-05T17:39:23.737091748Z Configuring nginx::redmine::ssl...
2024-01-05T17:39:23.761439565Z Configuring nginx::redmine::hsts...
2024-01-05T17:39:23.833941633Z Migrating database. Please be patient, this could take a while...
2024-01-05T17:39:25.825892156Z WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
2024-01-05T17:39:25.828974329Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:25.828988992Z Couldn't create 'redmine' database. Please check your configuration.
2024-01-05T17:39:25.828994553Z rake aborted!
2024-01-05T17:39:25.828996952Z ActiveRecord::StatementInvalid: Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:25.829206496Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:25.829214337Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:25.829216987Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:25.829219383Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:25.829221718Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:25.829232759Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:25.829235462Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:25.829237725Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:25.829240000Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:25.829251233Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:25.829253522Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:25.829255770Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:25.829257994Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:25.829260265Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:25.829262924Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:25.829265191Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:25.829277549Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:25.829279934Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:25.829282196Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:25.829284476Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:25.829286754Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:25.829289071Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:25.829291349Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:25.829295829Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:25.829298197Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:25.829300479Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:25.829302753Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:25.829305044Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:25.829307628Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:25.829309991Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:25.829312274Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:25.829323639Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:25.829325874Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:25.829328103Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:25.829330311Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:25.829332515Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:25.829334697Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:25.829336930Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:25.829339115Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:25.829341337Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:25.829343590Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:25.829345776Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:25.829350223Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:25.829352518Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:25.829354733Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:25.829356944Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:25.829359480Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:25.829361770Z 
2024-01-05T17:39:25.829363795Z Caused by:
2024-01-05T17:39:25.829365863Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:25.829368000Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:25.829370195Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:25.829372355Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:25.829374535Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:25.829376713Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:25.829378950Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:25.829381171Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:25.829383364Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:25.829385564Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:25.829387785Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:25.829390232Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:25.829392515Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:25.829394735Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:25.829398990Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:25.829401375Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:25.829403595Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:25.829405816Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:25.829408015Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:25.829410214Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:25.829412443Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:25.829414682Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:25.829416921Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:25.829419140Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:25.829421394Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:25.829423800Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:25.829426072Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:25.829428317Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:25.829430574Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:25.829432820Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:25.829435090Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:25.829437309Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:25.829439522Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:25.829443563Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:25.829445913Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:25.829448118Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:25.829450353Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:25.829452562Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:25.829455163Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:25.829457405Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:25.829459619Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:25.829461862Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:25.829464045Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:25.829466277Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:25.829468514Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:25.829470729Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:25.829472929Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:25.829475241Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:25.829477472Z Tasks: TOP => db:create
2024-01-05T17:39:25.829479578Z (See full trace by running task with --trace)
2024-01-05T17:39:26.640258689Z Initializing logdir...
2024-01-05T17:39:26.647164831Z Initializing datadir...
2024-01-05T17:39:26.809363682Z Symlinking dotfiles...
2024-01-05T17:39:26.836683061Z Installing configuration templates...
2024-01-05T17:39:26.855090413Z Configuring redmine...
2024-01-05T17:39:26.884310994Z Configuring redmine::database
2024-01-05T17:39:26.914620850Z   Setting transaction isolation level...
2024-01-05T17:39:26.914685446Z Configuring redmine::unicorn...
2024-01-05T17:39:26.940916433Z Configuring redmine::secret_token...
2024-01-05T17:39:26.940936656Z Generating a session token...
2024-01-05T17:39:26.940941007Z Note:
2024-01-05T17:39:26.940944780Z   All old sessions will become invalid.
2024-01-05T17:39:26.940948582Z   Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2024-01-05T17:39:26.940952571Z   **SHOULD** be defined if you have a load-balancing Redmine cluster.
2024-01-05T17:39:26.958296708Z Configuring redmine::max_concurrent_ajax_uploads...
2024-01-05T17:39:26.971549277Z Configuring redmine::sudo_mode...
2024-01-05T17:39:26.988552483Z Configuring redmine::autologin_cookie...
2024-01-05T17:39:27.012457899Z Configuring redmine::backups...
2024-01-05T17:39:27.028572294Z Configuring redmine::rmagic::font...
2024-01-05T17:39:27.051818296Z Configuring nginx...
2024-01-05T17:39:27.053334335Z Configuring nginx::redmine...
2024-01-05T17:39:27.080041128Z Configuring nginx::redmine::ssl...
2024-01-05T17:39:27.094545440Z Configuring nginx::redmine::hsts...
2024-01-05T17:39:27.153894529Z Migrating database. Please be patient, this could take a while...
2024-01-05T17:39:29.120765158Z WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
2024-01-05T17:39:29.123928525Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:29.123955746Z Couldn't create 'redmine' database. Please check your configuration.
2024-01-05T17:39:29.123961803Z rake aborted!
2024-01-05T17:39:29.123967069Z ActiveRecord::StatementInvalid: Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:29.124148762Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:29.124158032Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:29.124160928Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:29.124163311Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:29.124165823Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:29.124168245Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:29.124170608Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:29.124173020Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:29.124183552Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:29.124186250Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:29.124188702Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:29.124190999Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:29.124193214Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:29.124195447Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:29.124198113Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:29.124200386Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:29.124202618Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:29.124204871Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:29.124216477Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:29.124220270Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:29.124223874Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:29.124226468Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:29.124228638Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:29.124230799Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:29.124232946Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:29.124235187Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:29.124237351Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:29.124241918Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:29.124244512Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:29.124246771Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:29.124248961Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:29.124251146Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:29.124253353Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:29.124255567Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:29.124267722Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:29.124271493Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:29.124275184Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:29.124278502Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:29.124281482Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:29.124284793Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:29.124289121Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:29.124292819Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:29.124297126Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:29.124300363Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:29.124302751Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:29.124305000Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:29.124310469Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:29.124312842Z 
2024-01-05T17:39:29.124314880Z Caused by:
2024-01-05T17:39:29.124317028Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:29.124319211Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:29.124321406Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:29.124323582Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:29.124325747Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:29.124327927Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:29.124330183Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:29.124332599Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:29.124334844Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:29.124337053Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:29.124339280Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:29.124341784Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:29.124344041Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:29.124346283Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:29.124348554Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:29.124350823Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:29.124353109Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:29.124355362Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:29.124359428Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:29.124361704Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:29.124363939Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:29.124366330Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:29.124370208Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:29.124373688Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:29.124376082Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:29.124378534Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:29.124380787Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:29.124383030Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:29.124385287Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:29.124387542Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:29.124389814Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:29.124392053Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:29.124394359Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:29.124396678Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:29.124398927Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:29.124401151Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:29.124405571Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:29.124407879Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:29.124412124Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:29.124414433Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:29.124416728Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:29.124418986Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:29.124421226Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:29.124423579Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:29.124425821Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:29.124428153Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:29.124430393Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:29.124432753Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:29.124435005Z Tasks: TOP => db:create
2024-01-05T17:39:29.124437226Z (See full trace by running task with --trace)
2024-01-05T17:39:29.908501918Z Initializing logdir...
2024-01-05T17:39:29.914462938Z Initializing datadir...
2024-01-05T17:39:30.074361482Z Symlinking dotfiles...
2024-01-05T17:39:30.104465886Z Installing configuration templates...
2024-01-05T17:39:30.123240096Z Configuring redmine...
2024-01-05T17:39:30.152802954Z Configuring redmine::database
2024-01-05T17:39:30.180830562Z   Setting transaction isolation level...
2024-01-05T17:39:30.180962677Z Configuring redmine::unicorn...
2024-01-05T17:39:30.209991308Z Configuring redmine::secret_token...
2024-01-05T17:39:30.210007305Z Generating a session token...
2024-01-05T17:39:30.210011232Z Note:
2024-01-05T17:39:30.210014582Z   All old sessions will become invalid.
2024-01-05T17:39:30.210017615Z   Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2024-01-05T17:39:30.210020760Z   **SHOULD** be defined if you have a load-balancing Redmine cluster.
2024-01-05T17:39:30.223975195Z Configuring redmine::max_concurrent_ajax_uploads...
2024-01-05T17:39:30.238114534Z Configuring redmine::sudo_mode...
2024-01-05T17:39:30.250725716Z Configuring redmine::autologin_cookie...
2024-01-05T17:39:30.274831016Z Configuring redmine::backups...
2024-01-05T17:39:30.290317719Z Configuring redmine::rmagic::font...
2024-01-05T17:39:30.310220428Z Configuring nginx...
2024-01-05T17:39:30.311493017Z Configuring nginx::redmine...
2024-01-05T17:39:30.340591999Z Configuring nginx::redmine::ssl...
2024-01-05T17:39:30.362101719Z Configuring nginx::redmine::hsts...
2024-01-05T17:39:30.425719295Z Migrating database. Please be patient, this could take a while...
2024-01-05T17:39:32.388444390Z WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
2024-01-05T17:39:32.391506674Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:32.391530673Z Couldn't create 'redmine' database. Please check your configuration.
2024-01-05T17:39:32.391535917Z rake aborted!
2024-01-05T17:39:32.391539234Z ActiveRecord::StatementInvalid: Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:32.391724588Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:32.391735111Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:32.391738861Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:32.391741379Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:32.391743637Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:32.391745968Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:32.391748228Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:32.391750452Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:32.391752711Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:32.391754929Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:32.391757197Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:32.391759457Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:32.391770771Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:32.391783369Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:32.391786360Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:32.391788706Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:32.391790973Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:32.391793212Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:32.391795530Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:32.391797799Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:32.391800596Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:32.391804514Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:32.391808163Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:32.391812039Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:32.391815644Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:32.391819692Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:32.391823570Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:32.391835460Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:32.391838058Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:32.391840341Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:32.391845731Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:32.391848063Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:32.391850279Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:32.391852501Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:32.391854713Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:32.391856890Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:32.391859078Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:32.391861265Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:32.391863432Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:32.391865678Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:32.391867909Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:32.391870081Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:32.391872889Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:32.391875105Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:32.391877342Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:32.391879522Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:32.391882072Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:32.391884353Z 
2024-01-05T17:39:32.391886365Z Caused by:
2024-01-05T17:39:32.391888423Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:32.391890568Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:32.391894768Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:32.391897018Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:32.391899171Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:32.391901329Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:32.391903552Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:32.391905770Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:32.391907952Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:32.391910168Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:32.391912369Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:32.391914823Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:32.391917078Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:32.391919320Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:32.391921538Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:32.391923881Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:32.391926128Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:32.391928347Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:32.391930548Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:32.391934130Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:32.391936411Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:32.391940678Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:32.391942970Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:32.391945222Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:32.391947425Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:32.391950146Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:32.391952383Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:32.391954622Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:32.391956890Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:32.391959189Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:32.391961462Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:32.391963752Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:32.391965992Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:32.391968241Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:32.391970447Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:32.391972641Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:32.391974813Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:32.391976992Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:32.391979579Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:32.391981773Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:32.391986026Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:32.391988351Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:32.391990519Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:32.391992810Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:32.391994983Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:32.391997171Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:32.391999347Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:32.392001725Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:32.392003927Z Tasks: TOP => db:create
2024-01-05T17:39:32.392006053Z (See full trace by running task with --trace)
2024-01-05T17:39:33.607274304Z Initializing logdir...
2024-01-05T17:39:33.613910493Z Initializing datadir...
2024-01-05T17:39:33.782706320Z Symlinking dotfiles...
2024-01-05T17:39:33.812498216Z Installing configuration templates...
2024-01-05T17:39:33.823103195Z Configuring redmine...
2024-01-05T17:39:33.840777353Z Configuring redmine::database
2024-01-05T17:39:33.867881748Z   Setting transaction isolation level...
2024-01-05T17:39:33.868029289Z Configuring redmine::unicorn...
2024-01-05T17:39:33.890967482Z Configuring redmine::secret_token...
2024-01-05T17:39:33.890981228Z Generating a session token...
2024-01-05T17:39:33.890983863Z Note:
2024-01-05T17:39:33.890986017Z   All old sessions will become invalid.
2024-01-05T17:39:33.890988236Z   Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2024-01-05T17:39:33.890990437Z   **SHOULD** be defined if you have a load-balancing Redmine cluster.
2024-01-05T17:39:33.906376051Z Configuring redmine::max_concurrent_ajax_uploads...
2024-01-05T17:39:33.921518933Z Configuring redmine::sudo_mode...
2024-01-05T17:39:33.936861938Z Configuring redmine::autologin_cookie...
2024-01-05T17:39:33.960568556Z Configuring redmine::backups...
2024-01-05T17:39:33.976295359Z Configuring redmine::rmagic::font...
2024-01-05T17:39:34.000063064Z Configuring nginx...
2024-01-05T17:39:34.001571592Z Configuring nginx::redmine...
2024-01-05T17:39:34.031392686Z Configuring nginx::redmine::ssl...
2024-01-05T17:39:34.052577882Z Configuring nginx::redmine::hsts...
2024-01-05T17:39:34.131671997Z Migrating database. Please be patient, this could take a while...
2024-01-05T17:39:36.116584509Z WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
2024-01-05T17:39:36.119767410Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:36.119779158Z Couldn't create 'redmine' database. Please check your configuration.
2024-01-05T17:39:36.119781995Z rake aborted!
2024-01-05T17:39:36.119784268Z ActiveRecord::StatementInvalid: Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:36.119971372Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:36.119980570Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:36.119983425Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:36.119985758Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:36.119988048Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:36.119990435Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:36.119992767Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:36.119995038Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:36.119997574Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:36.119999907Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:36.120002177Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:36.120004469Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:36.120006740Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:36.120009035Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:36.120011747Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:36.120023489Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:36.120026193Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:36.120037608Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:36.120039833Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:36.120042024Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:36.120044951Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:36.120048553Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:36.120052283Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:36.120065834Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:36.120070075Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:36.120074634Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:36.120078537Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:36.120082300Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:36.120091477Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:36.120096430Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:36.120100098Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:36.120104981Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:36.120107435Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:36.120114020Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:36.120116437Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:36.120118666Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:36.120120890Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:36.120123116Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:36.120125331Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:36.120127581Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:36.120129863Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:36.120132090Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:36.120134930Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:36.120137175Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:36.120139431Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:36.120141638Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:36.120144220Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:36.120146517Z 
2024-01-05T17:39:36.120148555Z Caused by:
2024-01-05T17:39:36.120150728Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:36.120152902Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:36.120155087Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:36.120157265Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:36.120159468Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:36.120161745Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:36.120166209Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:36.120168541Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:36.120170974Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:36.120173248Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:36.120175496Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:36.120178137Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:36.120180469Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:36.120182713Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:36.120185036Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:36.120187276Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:36.120189539Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:36.120191781Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:36.120194046Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:36.120196338Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:36.120198620Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:36.120201009Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:36.120203309Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:36.120205614Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:36.120207889Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:36.120212315Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:36.120214750Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:36.120217029Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:36.120219292Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:36.120221566Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:36.120223847Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:36.120226099Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:36.120228416Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:36.120230742Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:36.120233007Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:36.120235264Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:36.120237468Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:36.120239677Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:36.120242384Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:36.120244647Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:36.120246904Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:36.120249231Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:36.120251436Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:36.120253694Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:36.120257832Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:36.120260214Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:36.120262438Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:36.120264832Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:36.120267134Z Tasks: TOP => db:create
2024-01-05T17:39:36.120269291Z (See full trace by running task with --trace)
2024-01-05T17:39:38.135688212Z Initializing logdir...
2024-01-05T17:39:38.142859568Z Initializing datadir...
2024-01-05T17:39:38.319638206Z Symlinking dotfiles...
2024-01-05T17:39:38.348137194Z Installing configuration templates...
2024-01-05T17:39:38.364666653Z Configuring redmine...
2024-01-05T17:39:38.394799954Z Configuring redmine::database
2024-01-05T17:39:38.419689410Z   Setting transaction isolation level...
2024-01-05T17:39:38.419812385Z Configuring redmine::unicorn...
2024-01-05T17:39:38.451666658Z Configuring redmine::secret_token...
2024-01-05T17:39:38.451682658Z Generating a session token...
2024-01-05T17:39:38.451686911Z Note:
2024-01-05T17:39:38.451690320Z   All old sessions will become invalid.
2024-01-05T17:39:38.451694025Z   Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2024-01-05T17:39:38.451697488Z   **SHOULD** be defined if you have a load-balancing Redmine cluster.
2024-01-05T17:39:38.466443324Z Configuring redmine::max_concurrent_ajax_uploads...
2024-01-05T17:39:38.481342676Z Configuring redmine::sudo_mode...
2024-01-05T17:39:38.493434970Z Configuring redmine::autologin_cookie...
2024-01-05T17:39:38.516964930Z Configuring redmine::backups...
2024-01-05T17:39:38.536270529Z Configuring redmine::rmagic::font...
2024-01-05T17:39:38.559606221Z Configuring nginx...
2024-01-05T17:39:38.561538425Z Configuring nginx::redmine...
2024-01-05T17:39:38.595645898Z Configuring nginx::redmine::ssl...
2024-01-05T17:39:38.622539018Z Configuring nginx::redmine::hsts...
2024-01-05T17:39:38.699493904Z Migrating database. Please be patient, this could take a while...
2024-01-05T17:39:40.672454990Z WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
2024-01-05T17:39:40.675542964Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:40.675555806Z Couldn't create 'redmine' database. Please check your configuration.
2024-01-05T17:39:40.675567869Z rake aborted!
2024-01-05T17:39:40.675572695Z ActiveRecord::StatementInvalid: Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:40.675725743Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:40.675734825Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:40.675737571Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:40.675739893Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:40.675742147Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:40.675744503Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:40.675746778Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:40.675749032Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:40.675751286Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:40.675753564Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:40.675755883Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:40.675758177Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:40.675760428Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:40.675762702Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:40.675765367Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:40.675767708Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:40.675769984Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:40.675772228Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:40.675774528Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:40.675782769Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:40.675794808Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:40.675798701Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:40.675802667Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:40.675816586Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:40.675820624Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:40.675825012Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:40.675828846Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:40.675832789Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:40.675845351Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:40.675864225Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:40.675867282Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:40.675869626Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:40.675871977Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:40.675874503Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:40.675876743Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:40.675878982Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:40.675881205Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:40.675888071Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:40.675890529Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:40.675892764Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:40.675895047Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:40.675897868Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:40.675902467Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:40.675906389Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:40.675908662Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:40.675910825Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:40.675913312Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:40.675915549Z 
2024-01-05T17:39:40.675917545Z Caused by:
2024-01-05T17:39:40.675919642Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:40.675921732Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:40.675923859Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:40.675925987Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:40.675928238Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:40.675930431Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:40.675932744Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:40.675935163Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:40.675937381Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:40.675939567Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:40.675944811Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:40.675947476Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:40.675949791Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:40.675952026Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:40.675954336Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:40.675956631Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:40.675958851Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:40.675961118Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:40.675963284Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:40.675965449Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:40.675967709Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:40.675969916Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:40.675972271Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:40.675974476Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:40.675976704Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:40.675979116Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:40.675981383Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:40.675983569Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:40.675985786Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:40.675990047Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:40.675992342Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:40.675994642Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:40.675996906Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:40.675999268Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:40.676001505Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:40.676003710Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:40.676005899Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:40.676008081Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:40.676010671Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:40.676012864Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:40.676015070Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:40.676017327Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:40.676019579Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:40.676021819Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:40.676024086Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:40.676026261Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:40.676028411Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:40.676030757Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:40.676034880Z Tasks: TOP => db:create
2024-01-05T17:39:40.676037051Z (See full trace by running task with --trace)
2024-01-05T17:39:44.284093819Z Initializing logdir...
2024-01-05T17:39:44.290104336Z Initializing datadir...
2024-01-05T17:39:44.461443656Z Symlinking dotfiles...
2024-01-05T17:39:44.494175568Z Installing configuration templates...
2024-01-05T17:39:44.510969332Z Configuring redmine...
2024-01-05T17:39:44.539807637Z Configuring redmine::database
2024-01-05T17:39:44.565718001Z   Setting transaction isolation level...
2024-01-05T17:39:44.565903334Z Configuring redmine::unicorn...
2024-01-05T17:39:44.592985988Z Configuring redmine::secret_token...
2024-01-05T17:39:44.593003610Z Generating a session token...
2024-01-05T17:39:44.593007973Z Note:
2024-01-05T17:39:44.593011384Z   All old sessions will become invalid.
2024-01-05T17:39:44.593015116Z   Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2024-01-05T17:39:44.593018514Z   **SHOULD** be defined if you have a load-balancing Redmine cluster.
2024-01-05T17:39:44.611638329Z Configuring redmine::max_concurrent_ajax_uploads...
2024-01-05T17:39:44.629009126Z Configuring redmine::sudo_mode...
2024-01-05T17:39:44.643016716Z Configuring redmine::autologin_cookie...
2024-01-05T17:39:44.667634508Z Configuring redmine::backups...
2024-01-05T17:39:44.683498344Z Configuring redmine::rmagic::font...
2024-01-05T17:39:44.705245723Z Configuring nginx...
2024-01-05T17:39:44.706652533Z Configuring nginx::redmine...
2024-01-05T17:39:44.737965613Z Configuring nginx::redmine::ssl...
2024-01-05T17:39:44.756342049Z Configuring nginx::redmine::hsts...
2024-01-05T17:39:44.826036133Z Migrating database. Please be patient, this could take a while...
2024-01-05T17:39:46.833833190Z WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
2024-01-05T17:39:46.836853665Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:46.836870538Z Couldn't create 'redmine' database. Please check your configuration.
2024-01-05T17:39:46.836876413Z rake aborted!
2024-01-05T17:39:46.836896070Z ActiveRecord::StatementInvalid: Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:46.837061130Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:46.837071052Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:46.837073800Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:46.837084439Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:46.837087056Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:46.837089471Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:46.837091895Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:46.837094350Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:46.837096614Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:46.837098907Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:46.837101228Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:46.837103522Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:46.837105826Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:46.837108108Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:46.837110829Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:46.837113148Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:46.837115395Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:46.837117729Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:46.837120006Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:46.837122255Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:46.837124573Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:46.837126853Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:46.837131558Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:46.837133935Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:46.837136840Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:46.837140635Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:46.837144554Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:46.837148402Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:46.837153265Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:46.837157918Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:46.837161839Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:46.837166204Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:46.837168571Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:46.837170868Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:46.837173110Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:46.837175350Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:46.837177648Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:46.837179926Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:46.837182196Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:46.837184482Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:46.837186761Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:46.837191997Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:46.837194837Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:46.837197131Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:46.837199372Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:46.837201649Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:46.837204404Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:46.837206709Z 
2024-01-05T17:39:46.837208763Z Caused by:
2024-01-05T17:39:46.837210857Z Mysql2::Error: Unknown system variable 'transaction_isolation'
2024-01-05T17:39:46.837213037Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
2024-01-05T17:39:46.837215255Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
2024-01-05T17:39:46.837217453Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
2024-01-05T17:39:46.837219649Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
2024-01-05T17:39:46.837221869Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:206:in `block (2 levels) in execute'
2024-01-05T17:39:46.837224153Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2024-01-05T17:39:46.837226429Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2024-01-05T17:39:46.837228651Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2024-01-05T17:39:46.837230909Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:205:in `block in execute'
2024-01-05T17:39:46.837233164Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
2024-01-05T17:39:46.837235647Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
2024-01-05T17:39:46.837238056Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
2024-01-05T17:39:46.837242214Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
2024-01-05T17:39:46.837244559Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
2024-01-05T17:39:46.837246827Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
2024-01-05T17:39:46.837249112Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
2024-01-05T17:39:46.837251367Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activesupport-6.1.7.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2024-01-05T17:39:46.837253615Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
2024-01-05T17:39:46.837255847Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:204:in `execute'
2024-01-05T17:39:46.837258091Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql/database_statements.rb:52:in `execute'
2024-01-05T17:39:46.837260427Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:793:in `configure_connection'
2024-01-05T17:39:46.837262693Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:144:in `configure_connection'
2024-01-05T17:39:46.837265032Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:53:in `initialize'
2024-01-05T17:39:46.837267318Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new'
2024-01-05T17:39:46.837269793Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection'
2024-01-05T17:39:46.837272152Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
2024-01-05T17:39:46.837274392Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
2024-01-05T17:39:46.837276705Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
2024-01-05T17:39:46.837278998Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
2024-01-05T17:39:46.837281402Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
2024-01-05T17:39:46.837283693Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
2024-01-05T17:39:46.837288087Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
2024-01-05T17:39:46.837290470Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
2024-01-05T17:39:46.837292729Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
2024-01-05T17:39:46.837294988Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/connection_handling.rb:283:in `connection'
2024-01-05T17:39:46.837297195Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:8:in `connection'
2024-01-05T17:39:46.837299434Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/mysql_database_tasks.rb:21:in `create'
2024-01-05T17:39:46.837303108Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:133:in `create'
2024-01-05T17:39:46.837305492Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `block in create_current'
2024-01-05T17:39:46.837307748Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:506:in `block (2 levels) in each_current_configuration'
2024-01-05T17:39:46.837310010Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `each'
2024-01-05T17:39:46.837312305Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:503:in `block in each_current_configuration'
2024-01-05T17:39:46.837314550Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each'
2024-01-05T17:39:46.837316764Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:502:in `each_current_configuration'
2024-01-05T17:39:46.837319090Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/tasks/database_tasks.rb:193:in `create_current'
2024-01-05T17:39:46.837321392Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/activerecord-6.1.7.6/lib/active_record/railties/databases.rake:45:in `block (2 levels) in <top (required)>'
2024-01-05T17:39:46.837323835Z /home/redmine/data/tmp/bundle/ruby/2.7.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
2024-01-05T17:39:46.837326082Z Tasks: TOP => db:create
2024-01-05T17:39:46.837328228Z (See full trace by running task with --trace)
mgscreativa commented 9 months ago

Reverted to RM 5.0.7-2 and everything works as expected, so this issue with tx isolation only affects 5.1 branch it seems

jcormier commented 9 months ago

Your right the commit was added in the 5.1.1 release of this docker. 8270cbddd52790bc947f78313b85bf5a519190e7

Closing this issues as its a duplicate of https://github.com/sameersbn/docker-redmine/issues/531