b3f5a0a203
- PROJECTS_DIRECTORY Umgebungsvariable - 3 Methoden zur Konfiguration beschrieben
57 lines
1.2 KiB
Markdown
57 lines
1.2 KiB
Markdown
# Arcane Projects Directory Konfiguration
|
|
|
|
## Problem
|
|
Arcane versucht, Project-Verzeichnisse in `/etc/arcane/projects/` zu erstellen (falscher Default).
|
|
|
|
## Lösung
|
|
|
|
### Methode 1: Arcane UI (empfohlen)
|
|
|
|
1. Öffne Arcane WebUI (http://localhost:3552)
|
|
2. Gehe zu **Settings** → **General**
|
|
3. Suche nach **Projects Directory**
|
|
4. Ändere zu: `/app/data/projects`
|
|
5. Klicke **Save**
|
|
|
|
### Methode 2: Docker Compose (wenn Arcane neu gestartet wird)
|
|
|
|
Die Arcane Docker Compose Datei auf LXC 106 muss erweitert werden:
|
|
|
|
```yaml
|
|
services:
|
|
arcane:
|
|
environment:
|
|
- PROJECTS_DIRECTORY=/app/data/projects
|
|
volumes:
|
|
- arcane-data:/app/data
|
|
# Optional: Host-Verzeichnis mounten für persistente Projects
|
|
- /opt/docker/projects:/app/data/projects
|
|
```
|
|
|
|
### Methode 3: Direkt im Container (temporär)
|
|
|
|
```bash
|
|
# Auf LXC 106:
|
|
docker exec -it arcane sh
|
|
# Im Container:
|
|
mkdir -p /app/data/projects
|
|
chown 65532:65532 /app/data/projects
|
|
```
|
|
|
|
## Nach der Konfiguration
|
|
|
|
1. Projects Directory ist now `/app/data/projects`
|
|
2. Git Sync erneut versuchen
|
|
3. Rippy Project sollte sich importieren lassen
|
|
|
|
## Empfohlener Pfad für Rippy
|
|
|
|
```
|
|
/opt/docker/rippy
|
|
```
|
|
|
|
Oder wenn du Arcane's Standard nutzt:
|
|
```
|
|
/app/data/projects/rippy
|
|
```
|