frappe.exceptions.LinkValidationError: Could not find Website Theme: Standard FRESH v14 install

Installing on python3.10, bench new-site errors out with

Updating DocTypes for frappe        : [========================================] 100%
Traceback (most recent call last):
  File "/home/frappe/.pyenv/versions/3.10.5/lib/python3.10/", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/frappe/.pyenv/versions/3.10.5/lib/python3.10/", line 86, in _run_code
    exec(code, run_globals)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/", line 109, in <module>
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/", line 18, in main
  File "/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/", line 782, in main
    rv = self.invoke(ctx)
  File "/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/", line 74, in new_site
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 102, in _new_site
    install_app(app, verbose=verbose, set_as_patched=not source_sql, force=False)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 292, in install_app
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 320, in add_to_installed_apps
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 473, in post_install
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 497, in init_singles
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 301, in save
    return self._save(*args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 323, in _save
    return self.insert()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 247, in insert
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 896, in _validate_links
    frappe.throw(_("Could not find {0}").format(msg), frappe.LinkValidationError)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 522, in throw
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 490, in msgprint
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 442, in _raise_exception
    raise raise_exception(msg)
frappe.exceptions.LinkValidationError: Could not find Website Theme: Standard

The database gets created, however there is no “Standard” Website Theme, can’t figure out how the DB gets its default data set. It would seem that the LinkValidation error fails when searching through fields (df) in Website Settings.

Would really appreciate any help here, trying to create a build script (from scratch) for deployment this week.

Figured this out, hope it helps someone.

I was using Mariadb version 10.6 on another machine, however that version has a limitation for tables that are ROW=COMPRESSED (which a few of the standard frappe module tables still are) in that it allows you to create them but forces them to be read-only, meaning you cannot put anything in them. During the installation process there are Link validations so that’s why I was seeing those errors.

To resolve you can either revert back to a previous version of MariaDB (eg. 10.5.X) like I did, or you can add innodb-read-only-compressed=FALSE to your my.cnf file.

Hi , where can i find my.cnf file?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.