bench new-site mysite.local --mariadb-root-password mariadb \
--db-host 127.0.0.1 \
--db-port 3307 \
--db-name mysite \
--db-password mariadb_pw \
--admin-password 123456
Warning: MariaDB version ['11.4', '4'] is more than 10.8 which is not yet tested with Frappe Framework.
Table 'tabDefaultValue' missing in the restored site. This happens when the backup fails to restore. Please check that the file is valid
Do go through the above output to check the exact error message from MariaDB
I checked on the database, the table was there with the name tabdefaultvalue.
Bench version
➜ bench version
erpnext 15.49.3
frappe 15.53.0
hrms 15.38.2
I followed the instruction, @smino and reinstalled it multiple times. The only difference between the instruction and my steps is I use a docker container for MariaDB.
The lower_case_table_names server system variable plays a key role. It determines whether table names, aliases and database names are compared in a case-sensitive manner. If set to 0 (the default on Unix-based systems), table names and aliases and database names are compared in a case-sensitive manner. If set to 1 (the default on Windows), names are stored in lowercase and not compared in a case-sensitive manner. If set to 2 (the default on Mac OS X), names are stored as declared, but compared in lowercase.
[ERROR] The server option 'lower_case_table_names' is configured to use case sensitive table names but the data directory resides on a case-insensitive file system. Please use a case sensitive file system for your data directory or switch to a case-insensitive table name mode.
Hmm, the default had worked here when I tried on macOS, but I was likely on case sensitive APFS, I assume you’re on case insensitive APFS, or you have some case insensitive volume where your DB is residing.