aura issueshttps://gitlab.servus.at/aura/aura/-/issues2024-03-28T20:39:34+01:00https://gitlab.servus.at/aura/aura/-/issues/332Error when starting dashboard container during installation2024-03-28T20:39:34+01:00Martina Müllermartina@freirad.atError when starting dashboard container during installationI'm currently unable to install aura to a new server, which may be related to nginx.
## Steps to Reproduce
Installed alpha3 twice, once as sudo user, once as root.
Also installed alpha2 out of curiosity.
Both according to the relevant ...I'm currently unable to install aura to a new server, which may be related to nginx.
## Steps to Reproduce
Installed alpha3 twice, once as sudo user, once as root.
Also installed alpha2 out of curiosity.
Both according to the relevant docs.
At first I thought it might be a system issue but after reinstalling completely new and installing the alpha2 version (all unsuccessfully) I'm not sure about that.
## Actual Result
All installations failed at `docker compose up -d` / `make aura-web.up` when starting the containers.
All with the following message:
```
[+] Running 6/7
✔ Container dashboard-clock Started 14.6s
✔ Container steering-postgres Healthy 0.0s
✘ Container dashboard Error 104.6s
✔ Container tank-postgres Healthy 44.1s
✔ Container steering Healthy 46.6s
✔ Container tank Healthy 68.7s
⠏ Container aura-web-nginx-1 Created 93.9s
dependency failed to start: container dashboard is unhealthy
```
## Logs & configuration
logs of `dashboard`:
```
dashboard | awk: cmd. line:1: Unexpected token
dashboard | generated nginx-config
dashboard | server {
dashboard | listen 80;
dashboard | server_name ${AURA_HOST};
dashboard |
dashboard | location / {
dashboard | root /usr/share/nginx/html;
dashboard | index index.html;
dashboard | try_files $uri $uri/ /index.html;
dashboard | }
dashboard | }
dashboard | 2024/03/28 15:42:17 [notice] 395#395: using the "epoll" event method
dashboard | 2024/03/28 15:42:17 [notice] 395#395: nginx/1.24.0
dashboard | 2024/03/28 15:42:17 [notice] 395#395: built by gcc 12.2.1 20220924 (Alpine 12.2.1_git20220924-r4)
dashboard | 2024/03/28 15:42:17 [notice] 395#395: OS: Linux 6.1.0-18-amd64
dashboard | 2024/03/28 15:42:17 [notice] 395#395: getrlimit(RLIMIT_NOFILE): 1048576:1048576
dashboard | 2024/03/28 15:42:17 [notice] 395#395: start worker processes
dashboard | 2024/03/28 15:42:17 [notice] 395#395: start worker process 396
dashboard | 2024/03/28 15:42:17 [notice] 395#395: start worker process 397
dashboard | 2024/03/28 15:42:17 [notice] 395#395: start worker process 398
dashboard | 2024/03/28 15:42:17 [notice] 395#395: start worker process 399
dashboard | 2024/03/28 15:42:17 [notice] 395#395: start worker process 400
dashboard | 2024/03/28 15:42:17 [notice] 395#395: start worker process 401
dashboard | 2024/03/28 15:42:17 [notice] 395#395: start worker process 402
dashboard | 2024/03/28 15:42:17 [notice] 395#395: start worker process 403
```
In the `nginx` logs there was nothing written.
Only relevant changes to `.env` file. Everything else updated were the OIDC client ids and passwords, usernames, emails:
```
# Change to your custom domain name
AURA_HOST_NAME=aura-test.buero.freirad.at
# Set to http if you don't want to use TLS
AURA_HOST_PROTO=http
# Disable if you want to handle ssl yourself (e.g if you are deploying behind a reverse proxy)
AURA_HOST_CERTBOT_ENABLE=false
```
## Environment
Operating system: Debian 12
Permissions were all in order, no permission errors.
Installed on a completely fresh server.1.0-alpha4 — Raving Raccoon 🤪🦝Kay EffenbergerKay Effenbergerhttps://gitlab.servus.at/aura/aura/-/issues/327aura-web: can't disable certbot2024-03-20T21:06:13+01:00Chris Pastlaura-web: can't disable certbotI ran aura-web using https and certbot before and needed to switch-back to http. So I commented out the relevant lines in the .env file - which are the default values:
```
# Change to your custom domain name
AURA_HOST_NAME=aura.fro.at
# ...I ran aura-web using https and certbot before and needed to switch-back to http. So I commented out the relevant lines in the .env file - which are the default values:
```
# Change to your custom domain name
AURA_HOST_NAME=aura.fro.at
# Set to http if you don't want to use TLS
# AURA_HOST_PROTO=http
# Disable if you want to handle ssl yourself (e.g if you are deploying behind a reverse proxy)
# AURA_HOST_CERTBOT_ENABLE=false
```
Since these changes had no effect, I removed all volumes at first - without success. So I hoped that `docker system prune -a` will fix the problem - but nginx started certbot again.
The only workaround was to either comment out the relevant lines in `config/services/nginx/run.sh` or to override the relevant line in `config/aura-web/docker-compose.yml`.
```
nginx-1 | 2024-03-18T18:52:50.710415965Z generated nginx-config
nginx-1 | 2024-03-18T18:52:50.710446943Z Running Certbot
nginx-1 | 2024-03-18T18:52:50.921482399Z Saving debug log to /var/log/letsencrypt/letsencrypt.log
nginx-1 | 2024-03-18T18:52:51.992607388Z Unable to register an account with ACME server. The ACME server believes admin@example.com is an invalid email address. Please ensure it is a valid email and attempt registration again.
nginx-1 | 2024-03-18T18:52:51.992632295Z Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
```1.0-alpha4 — Raving Raccoon 🤪🦝Kay EffenbergerKay Effenbergerhttps://gitlab.servus.at/aura/aura/-/issues/321Error while calling `make aura-web.update` on a version branch2024-03-06T16:43:41+01:00David TrattnigError while calling `make aura-web.update` on a version branch```bash
stefan@desktop:/opt/aura$ make aura-web.update
make: poetry: Datei oder Verzeichnis nicht gefunden
make: poetry: Datei oder Verzeichnis nicht gefunden
git pull
Im Moment auf keinem Branch.
Bitte geben Sie den Branch an, welchen S...```bash
stefan@desktop:/opt/aura$ make aura-web.update
make: poetry: Datei oder Verzeichnis nicht gefunden
make: poetry: Datei oder Verzeichnis nicht gefunden
git pull
Im Moment auf keinem Branch.
Bitte geben Sie den Branch an, welchen Sie zusammenführen möchten.
Siehe git-pull(1) für weitere Details.
git pull <Remote-Repository> <Branch>
make: *** [Makefile:131: aura-web.update] Fehler 1
```
## Steps to Reproduce
1. Checkout a branch e.g `1.0.0-alpha3`
2. The branch is in detached state
3. Call `make aura-web.update`
## Expected Result
- Git cannot be pulled, as the branch is in detached state. Therefore this is by-passed.
- Instead the branch should be re-cloned, because it could possibly be changed due to a hotfix.
- `docker compose pull` is called correctly.
## Actual Result
- Git cannot be pulled, as the branch is in detached state. An error is raised.
- `docker compose pull` is not called because of the previous command failing.1.0-alpha5https://gitlab.servus.at/aura/aura/-/issues/320Error "make: poetry: File or directory not found" when calling "make aura-web...2024-03-06T16:49:14+01:00David TrattnigError "make: poetry: File or directory not found" when calling "make aura-web.init"```bash
stefan@desktop:/opt/aura$ make aura-web.init
make: poetry: Datei oder Verzeichnis nicht gefunden
make: poetry: Datei oder Verzeichnis nicht gefunden
sudo chown -R stefan:stefan /opt/aura
sudo mkdir -p \
```
## Steps to Reproduce...```bash
stefan@desktop:/opt/aura$ make aura-web.init
make: poetry: Datei oder Verzeichnis nicht gefunden
make: poetry: Datei oder Verzeichnis nicht gefunden
sudo chown -R stefan:stefan /opt/aura
sudo mkdir -p \
```
## Steps to Reproduce
1. Call `make aura-web.init` as per docs
2. Error displayed `make: poetry: Datei oder Verzeichnis nicht gefunden`
3. Target still proceeds with other commands
## Expected Result
- Target proceeds with all commands and no error
## Actual Result
- Error displayed `make: poetry: Datei oder Verzeichnis nicht gefunden`
- Target still proceeds with other commands
## Logs & configuration
<details><summary>Click to expand</summary>
```bash
stefan@desktop:/opt/aura$ make aura-web.init
make: poetry: Datei oder Verzeichnis nicht gefunden
make: poetry: Datei oder Verzeichnis nicht gefunden
sudo chown -R stefan:stefan /opt/aura
sudo mkdir -p \
/opt/aura/audio/source \
/opt/aura/audio/import \
/opt/aura/audio/playlist \
/opt/aura/logs/
sudo chown -R stefan:2872 \
/opt/aura/audio/source \
/opt/aura/audio/import \
/opt/aura/audio/playlist \
/opt/aura/logs/
sudo chmod -R g+rw \
/opt/aura/audio/source \
/opt/aura/audio/import \
/opt/aura/audio/playlist \
/opt/aura/logs/
Now '/opt/aura' feels like home.
sudo mkdir -p \
/opt/aura/logs/tank \
/opt/aura/logs/nginx \
/opt/aura/logs/letsencrypt
sudo chown -R stefan:2872 \
/opt/aura/logs/tank
sudo chmod -R g+rw \
/opt/aura/logs/tank
sudo chown -R 101:2872 \
/opt/aura/logs/letsencrypt \
/opt/aura/logs/nginx
cp -n config/aura-web/sample.env config/aura-web/.env
```
</details>
## Environment
- aura alpha-3
- Debian 11
- Bash1.0-alpha5https://gitlab.servus.at/aura/aura/-/issues/317DockerHub Tag `latest` should refer to the latest release, not the latest (un...2024-03-18T22:29:24+01:00David TrattnigDockerHub Tag `latest` should refer to the latest release, not the latest (unstable) main version1.0-alpha4 — Raving Raccoon 🤪🦝Kay EffenbergerKay Effenbergerhttps://gitlab.servus.at/aura/aura/-/issues/198buildx: git was not found in the system2023-06-19T14:34:54+02:00David Trattnigbuildx: git was not found in the systemThe [docker push target](https://gitlab.servus.at/aura/play/-/jobs/8453) in the `play` repo suddenly stopped working:
```
WARNING: buildx: git was not found in the system. Current commit information was not captured by the build
Dockerf...The [docker push target](https://gitlab.servus.at/aura/play/-/jobs/8453) in the `play` repo suddenly stopped working:
```
WARNING: buildx: git was not found in the system. Current commit information was not captured by the build
Dockerfile:10
```Aura Play - o94 Website Integrationhttps://gitlab.servus.at/aura/aura/-/issues/146Docker Compose: Dashboard Clock cannot reach the API2023-03-01T15:24:53+01:00David TrattnigDocker Compose: Dashboard Clock cannot reach the API1.0-alpha5David TrattnigDavid Trattnig