cstaelen / tidarr

Selfhosted Tidal DL with ReactJS UI
21 stars 3 forks source link

bad substitution error when starting contaier #5

Closed rclarsfull closed 8 months ago

rclarsfull commented 8 months ago

log:


tidalrr  | /home/app/standalone/docker/env.sh: line 47: syntax error: bad substitution
tidalrr  | /home/app/standalone/docker/env.sh: line 47: syntax error: bad substitution
tidalrr  | /home/app/standalone/docker/env.sh: line 47: syntax error: bad substitution
tidalrr  |
tidalrr  | > tidarr@0.1.0 prod /home/app/standalone
tidalrr  | > concurrently -n front,api "PORT=8484 node ./server.js" "node ./api/dist/index.js"
tidalrr  |
tidalrr  | [api] === Set config files ===
tidalrr  | [api] Executing: init.sh
tidalrr  | [api] Tidarr configuration : Check config running ...
tidalrr  | [api] Load .tidal-dl.token.json from /root
tidalrr  | [api] [TidalDL] Token OK
tidalrr  | [api] Load .tidal-dl.json to app
tidalrr  | [api] [TidalDL] Config OK
tidalrr  | [api]
tidalrr  | [api] ⚡️[server]: Server is running at http://gluetun:8585
tidalrr  | [front]    ▲ Next.js 14.1.0
tidalrr  | [front]    - Local:        http://gluetun:8484
tidalrr  | [front]    - Network:      http://172.17.0.2:8484
tidalrr  | [front]
tidalrr  | [front]  ✓ Ready in 384ms
tidalrr  | [api] === Set config files ===
tidalrr  | [api] Executing: init.sh
tidalrr  | [api] Tidarr configuration : Check config running ...
tidalrr  | [api] Load .tidal-dl.token.json from /root
tidalrr  | [api] [TidalDL] Token OK
tidalrr  | [api] Load .tidal-dl.json to app
tidalrr  | [api] [TidalDL] Config OK```

other problem i have, not sure if related. after download it dosent moves the files to complete folder. it just stays in processing
rclarsfull commented 8 months ago

i replaced: value=$(printf '%s\n' "${!varname}") with: value=$(eval echo \$"$varname") in: /home/app/standalone/docker/env.sh now no error. the other problem persists. no files get moved to the complete path