alexbelgium / hassio-addons

My homeassistant addons
MIT License
1.56k stars 223 forks source link

🐛 [Free Games Claimer] Unable to start addon #1617

Open Tonks140 opened 3 weeks ago

Tonks140 commented 3 weeks ago

Description

Getting the error Error : /etc/cont-init.d/99-run.sh exiting 1 on starting. Config appears to be read correctly (I have redacted information from the config section of log). This file does not appear to be present: /config/addons_autoscripts/free-games-claimer.sh

Reproduction steps

1. Set config file.
2. Start addon

Addon Logs

Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------

 Add-on: Free Games Claimer (NoVNC not working)
 automatically claims free games on the Epic Games Store, Amazon Prime Gaming and GOG
-----------------------------------------------------------
 Add-on version: 1.6
 You are running the latest version of this add-on.
 System: Home Assistant OS 13.2  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2024.10.3
 Home Assistant Supervisor: 2024.10.3
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
-----------------------------------------------------------
 Provided by: https://github.com/alexbelgium/hassio-addons 
-----------------------------------------------------------
/etc/cont-init.d/00-global_var.sh: executing
CMD_ARGUMENTS='node epic-games ; node prime-gaming ; node gog'
CONFIG_LOCATION='/config/addons_config/free_games_claimer/config.env'
Timezone set from Etc/UTC to Europe/London
/etc/cont-init.d/01-config_yaml.sh: executing
Setting permissions for the config.yaml directory

Load environment variables from /config/addons_config/free_games_claimer/config.env/config.yaml if existing

If accessing the file with filebrowser it should be mapped to /homeassistant/addons_config/free-games-claimer/config.yaml
---------------------------------------------------------
Wiki here on how to use : github.com/alexbelgium/hassio-addons/wiki/Add‐ons-feature-:-add-env-variables
SHOW='1'
WIDTH='1280'
HEIGHT='1280'
NOTIFY_TITLE='Free Games Claimer'
TIMEOUT='60'
LOGIN_TIMEOUT='180'
EMAIL=''
EG_PASSWORD=''
EG_OTPKEY=''
PG_PASSWORD=''
PG_OTPKEY=''
PG_REDEEM='1'
PG_CLAIMDLC='1'
GOG_EMAIL=''
GOG_PASSWORD=''
GOG_NEWSLETTER=''
LG_EMAIL=''
/etc/cont-init.d/01-custom_script.sh: executing
Execute /config/addons_autoscripts/free-games-claimer.sh if existing
---------------------------------------------------------
If accessing the file with filebrowser it should be mapped to /config/addons_autoscripts/free-games-claimer.sh
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation
... no script found, exiting
/etc/cont-init.d/20-folders.sh: executing
Creating config location ...
Copying files if needed...
/etc/cont-init.d/99-run.sh: executing
[10:05:32] WARNING: A default config.env file was copied in /config/addons_config/free_games_claimer. Please customize according to https://github.com/vogler/free-games-claimer/tree/main#configuration--options and restart the add-on
cp: -r not specified; omitting directory '/config/addons_config/free_games_claimer/config.env'
Error : /etc/cont-init.d/99-run.sh exiting 1

Architecture

aarch64

OS

HAos

github-actions[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

robvangeloven commented 2 weeks ago

Just adding that I have the same issue so this doesn't get closed automatically

github-actions[bot] commented 5 days ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Tonks140 commented 5 days ago

Does anyone have any ideas on how to get this working?