> For the complete documentation index, see [llms.txt](https://notes.d15r.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.d15r.de/dev/web/webspace/uberspace.md).

# Uberspace

## PHP

### Error Log

```
tail -f /home/$USER/logs/error_log_php
```

```
uberspace web log php_error enable
uberspace web log php_error status
uberspace web log php_error disable
```

## Dateisystem

### Sym Link

#### Uberspace

[Dokumentation](https://wiki.uberspace.de/domain:subdomain)

```
ln -s Ziel Name
ln -s /var/www/virtual/$USER/html/cardmonitor/public /var/www/virtual/$USER/www.cardmonitor.de
```

#### Löschen

```bash
rm /var/www/virtual/$USER/www.cardmonitor.de
```

[How to Remove (Delete) Symbolic Links](https://linuxize.com/post/how-to-remove-symbolic-links-in-linux/)

**Nach dem Ändern PHP neu starten**

```
uberspace tools restart php
```

## Supervisor

### Installieren

```
cd ~/etc/services.d
nano cardmonitor.ini
```

```
[program:cardmonitor]
command=php /home/serien/html/cardmonitor/app/artisan queue:work --tries=3
autostart=yes
autorestart=yes
```

```
supervisorctl reread
supervisorctl update
```

### Weitere Befehle

Start, Stop, Restart

```
supervisorctl start cardmonitor
supervisorctl stop cardmonitor
supervisorctl restart cardmonitor
```

List Services

```
supervisorctl status
```

Logs

```
supervisorctl tail -f cardmonitor
```

## Domains

### Hinzufügen

```
uberspace web domain add lifeos.serienguide.tv
```

* DNS umstellen
* Ordner mit Projket erstellen
* .htaccess bearbeiten

```
...
    RewriteEngine On
    RewriteBase /
...
```

Symlink erstellen

```
ln -s /var/www/virtual/$USER/html/lifeos/public /var/www/virtual/$USER/lifeos.serienguide.tv
```

## Mails

### Domain anlegen

[Anleitung](https://manual.uberspace.de/mail-domains.html)

```
uberspace mail domain add cardmonitor.de
```

[Namensräume](https://wiki.uberspace.de/domain:mail#namensraeume)

```
uberspace-add-domain -m -d petramueller.tld -e web
uberspace-add-domain -m -d petrasblog.tld -e blog
```

The mailserver's configuration has been adapted. Now you can use the following record for your dns: MX -> tempel.uberspace.de TXT -> v=spf1 mx \~all

```
DNS Einträge ändern
MX: tempel.uberspace.de
TXT: v=spf1 mx ~all

### Mailkonto anlegen

[Anleitung](https://manual.uberspace.de/mail-access.html)
```

uberspace mail user add info

```
### Zugangsdaten

Server: tempel.uberspace.de
Username: E-Mail Adresse (info@cardmonitor.de)
Passwort: Wie vergeben beim Account erstellen

### Weiterleitung

.qmail-NAME Datei im Home verzeichnis erstellen und die E-Mail Adresse, zu der Weitergeleitet werden soll eintragen.
```

touch .qmail-daniel nano .qmail-daniel

```
.qmail-daniel
```

<info@cardmonitor.de>

```
```


---

# 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://notes.d15r.de/dev/web/webspace/uberspace.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.
