> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/de/fehlerbehebung-and-faq/troubleshooting/package-installation-issues/troubleshooting-failed-craft-packages.md).

# Problembehandlung für fehlgeschlagene craft-Pakete

Für Craft-Pakete gibt es keine separaten Protokolle (es sei denn, ein Installer schreibt ausdrücklich innerhalb des Craft-Pakets hinein).\
Abhängig vom Umfang, in dem sie ausgeführt werden `System` oder `Benutzer`, die (sehr einfache) Ausgabe findet sich in der `tray.log` (für den Benutzerscope) oder in der `realmjoin.log` (für den Systemscope).

## Craft-Pakete im Benutzerscope

Für Craft-Pakete, die im Benutzerscope ausgeführt werden, findet sich die Ausgabe wie oben erwähnt in der `tray.log` Datei. Statt der Paket-ID können die relevanten Zeilen mithilfe des konfigurierten Anzeigenamens des Pakets gefunden werden:

{% code overflow="wrap" %}

```log
2023-11-07 15:37:57.7527|INFO|RealmJoin.Core.SoftwarePackaging.CraftPackageEntry|   1|Craft-Paket Microsoft Teams 1.6.0.2757300 wird installiert (Benutzer)
```

{% endcode %}

Darauf folgt mehr oder weniger sofort (je nach Installationsdauer):

{% code overflow="wrap" %}

```log
2023-11-07 15:38:51.1590|INFO|RealmJoin.Core.SoftwarePackaging.CraftPackageEntry|   1|Paket-Ergebnis: Code = 0, Ausgabe:

2023-11-07 15:38:51.1590|INFO|RealmJoin.Core.SoftwarePackaging.CraftPackageEntry|   1|Paket Microsoft Teams 1.6.0.2757300 (Craft) erfolgreich installiert.
```

{% endcode %}

<figure><img src="/files/29ac014d8c4ad4b6031c404214beea7d11d0ab41" alt=""><figcaption><p>Beispielausgabe einer erfolgreichen Installation eines Craft-Pakets im Benutzerscope</p></figcaption></figure>

## Craft-Pakete im Systemscope

Die relevanten Protokolle für Craft-Pakete, die im Systemscope ausgeführt werden, verteilen sich auf `tray.log` für Download- und Initialisierungsinformationen sowie `realmjoin.log` für die eigentliche Ausgabe und den Rückgabecode. Abgesehen davon ist es dasselbe wie bei der Installation von Craft-Paketen im Benutzerscope.

Das folgende Beispiel zeigt, wie die Paketausgabe in die Protokolldatei aufgenommen wird:

<figure><img src="/files/1883ad733db400a5c289ae168734beee71a7452b" alt=""><figcaption><p>Ausgabe des Craft-Paket-Skripts, wie sie in der Protokolldatei erscheint.</p></figcaption></figure>

Die `tray.log` Die Datei enthält immer einen Hinweis in Klammern hinter der Versionsnummer, ob das Paket im System- oder Benutzerscope ausgeführt wird:

{% code overflow="wrap" %}

```log
2023-11-07 15:48:58.5875|INFO|RealmJoin.Core.SoftwarePackaging.CraftPackageEntry|   1|Craft-Paket RealmJoin Set Environment Variable 2.0.0.0 (System) wird installiert
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.realmjoin.com/de/fehlerbehebung-and-faq/troubleshooting/package-installation-issues/troubleshooting-failed-craft-packages.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
