> For the complete documentation index, see [llms.txt](https://ispectra.gitbook.io/mutamad/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ispectra.gitbook.io/mutamad/reference/troubleshooting.md). Agents can also search and read this documentation through its [MCP server](https://ispectra.gitbook.io/mutamad/~gitbook/mcp).

# Troubleshooting

Symptoms, their causes, and what to do.

## Installation

<details>

<summary>Installation stops: "The project 'drupal' can not be updated because its status is not-fetched"</summary>

Automatic Updates could not reach updates.drupal.org at the end of installation. The server needs outbound access to drupal.org while installing. On an unreliable network, run the installation again.

</details>

<details>

<summary>The front page is a 404 after installing</summary>

`views.view.frontpage` is optional configuration and the only provider of `/node`. On a Mutamad site the home page is a Canvas page; check **Configuration → Basic site settings → Front page**. If you built a site from recipes yourself, apply `core/recipes/standard`, which imports the view.

</details>

<details>

<summary>Applying a recipe stops with "Entity user.role.… does not exist"</summary>

A grant was made to a role that does not exist yet. Mutamad's recipes apply `mutamad_roles` themselves; if you wrote your own recipe, apply `mutamad_roles` first.

</details>

<details>

<summary>A permission is missing after a recipe, but the install succeeded</summary>

A permission whose module or bundle did not exist yet was dropped, with only a log line: *"Non-existent permission(s) assigned to role … were removed"*. Install the provider before the recipe that grants it. `mutamad-verify` searches the log for this.

</details>

<details>

<summary>A module's settings are missing after applying a recipe</summary>

Recipes apply configuration in syncing mode, which skips a module's `config/install`. Import what you need in the recipe that installs the module (`config: import:`).

</details>

## Sign-in and accounts

<details>

<summary>A user is refused at login: "set up two-factor authentication"</summary>

Every staff account has three logins to set up MFA. After that, an App Admin resets their MFA (**People** → the account → **Security → TFA**), and they set it up at the next login.

</details>

<details>

<summary>An account is locked after failed logins</summary>

The App Admin releases it at **People → Flood unblock**, or run `drush user:unblock <name>`.

</details>

<details>

<summary>Everyone enrolled in MFA is locked out</summary>

The key file in `private-files/mutamad-keys/` was replaced or lost. Restore it from the secrets backup. If it cannot be restored, the administrator resets every user's MFA.

</details>

<details>

<summary>The App Admin cannot change a reviewer's password</summary>

By design (User Protect). The administrator can; or the reviewer uses **Forgot password**.

</details>

## Email and cron

<details>

<summary>No emails arrive</summary>

Set `MUTAMAD_MAILER_DSN` in the web server's environment. Without it, mail goes through the server's `sendmail`, and on a server with none every email is lost silently. Check that the site's email address is on a domain with SPF, DKIM and DMARC.

</details>

<details>

<summary>The status report warns that cron has not run</summary>

Add the server's cron job (every minute). Automated Cron is off on purpose. See [Production](https://ispectra.gitbook.io/mutamad/getting-started/production.md#cron).

</details>

<details>

<summary>A new module's scheduled task never runs</summary>

Ultimate Cron does not create jobs for modules a recipe installs. Rebuild caches (`drush cache:rebuild`) after applying a recipe; `mutamad-verify` checks every task has an active job.

</details>

## Languages

<details>

<summary>Parts of the Arabic interface are in English</summary>

Mutamad's own labels come from localize.drupal.org, and some are not translated there yet. Translate them at **Configuration → Regional and language → Configuration translation**, and fetch updates at **Reports → Available translation updates**.

</details>

<details>

<summary>Visiting /en/… sends me to /ar/…</summary>

The page has no English translation; anonymous visitors are sent to the language it has, with a notice. Log in to stay on the address and add the translation.

</details>

## Front end

<details>

<summary>The Tags field is a plain text box, or bulk upload is missing</summary>

Tagify or Dropzone is missing from `web/libraries`. Sites built from the project template get them from the root `composer.json`; on other sites, add the package repositories as the template does.

</details>

<details>

<summary>A map, chat widget or analytics script does not load</summary>

The Content Security Policy blocks it, and Klaro may too. Widening the policy is a per-site decision: add the service's addresses with the CSP configuration and, if it sets cookies or tracks visitors, a Klaro service.

</details>

<details>

<summary>The Digital Stamp says "demo"</summary>

Set the registration number and link, and turn *Demo site* off, in the theme settings (**Appearance**, administrator).

</details>

<details>

<summary>A visitor using a screen reader cannot send a form</summary>

Antibot refuses a submission with no pointer movement and no Tab or Enter key, which some assistive set-ups produce. This is a known upstream issue ([antibot#3406484](https://www.drupal.org/project/antibot/issues/3406484)).

</details>

## Still stuck?

Run `mutamad-verify`: a failing check usually names the cause. Then search, or ask in, the project's issue queue on drupal.org. See [Support](https://ispectra.gitbook.io/mutamad/contributing/support.md).
