Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EPic Games Free] error appears in cli as soon as add-on starts #1391

Closed
Shiroe93 opened this issue May 14, 2024 · 12 comments
Closed

[EPic Games Free] error appears in cli as soon as add-on starts #1391

Shiroe93 opened this issue May 14, 2024 · 12 comments
Labels
bug Something isn't working stale Element will be closed automatically

Comments

@Shiroe93
Copy link

Description

As soon as i start the Epic Games Free
Add-on this error appears in the cli
'crond[501] crond (busybox 1.36.1) started log level 8'
I'm not entirely sure it's a bug but on the home assistant forum it was reported as such
Do you know what it is?
And if needed how it can be fixed

Reproduction steps

1. Start the add-on
2. Go to your home assistant video output on your monitor 
3. See error

Addon Logs

Execute /homeassistant/addons_config/epicgamesfree/epicgamesfree.sh if existing
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation
/etc/cont-init.d/20-folders.sh: executing
/etc/cont-init.d/99-run.sh: executing
[06:35:27] WARNING: The config.json file found in /config/addons_config/epicgamesfree will be used. Please customize according to https://github.com/claabs/epicgames-freegames-node#json-configuration and restart the add-on
 
[06:35:27] INFO: Starting the app
 
 
Starting the upstream container
 
Setting localtime: redacted
Setting timezone: redacted
Run on startup: true
[2024-05-14 06:35:29.387 ] INFO: Started epicgames-freegames-node
    COMMIT_SHA: "afcf312cbe9bf7bbc39136f1448772981bfcbe9a"
    BRANCH: "master"
    DISTRO: "alpine"
[2024-05-14 06:35:29.708 ] INFO: Checking free games for redacted_user@redacted_domain 
    user: "redacted_user@redacted_domain"
[2024-05-14 06:35:31.216 ] INFO: searchStrategy is `all`: searching for weekly and promotional games
    user: "redacted_user@redacted_domain"
[2024-05-14 06:35:42.161 ] INFO: Available free games
    user: "redacted_user@redacted_domain"
    availableGames: [
      "Circus Electrique",
      "Firestone Free Offer"
    ]
[2024-05-14 06:35:42.403 ] INFO: Unpurchased free games
    user: "redacted_user@redacted_domain"
    purchasableGames: []
[2024-05-14 06:35:42.572 ] INFO: No free games available
    user: "redacted_user@redacted_domain"
[2024-05-14 06:35:42.572 ] INFO: Exiting successfully
Run once: false
Setting cron schedule as 0 */6 * * *
Starting...
/etc/cont-init.d/00-banner.sh: executing

-----------------------------------------------------------
 Add-on: Epic Games Free
 Automatically login and redeem promotional free games from Epic Games Store
-----------------------------------------------------------
 Add-on version: debian-2024-04-28
 You are running the latest version of this add-on.
 System: Home Assistant OS 12.3  (amd64 / generic-x86-64)
 Home Assistant Core: 2024.5.3
 Home Assistant Supervisor: 2024.05.1
-----------------------------------------------------------
 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
/etc/cont-init.d/01-config_yaml.sh: executing
Setting permissions for the config.yaml directory

Load environment variables from /config/addons_config/epicgamesfree/config.yaml if existing
If accessing the file with filebrowser it should be mapped to /homeassistant/addons_config/epicgamesfree/config.yaml
---------------------------------------------------------
Wiki here on how to use : github.com/alexbelgium/hassio-addons/wiki/Add‐ons-feature-:-add-env-variables

... no env variables found, exiting
/etc/cont-init.d/01-custom_script.sh: executing
Execute /homeassistant/addons_config/epicgamesfree/epicgamesfree.sh if existing
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation
/etc/cont-init.d/20-folders.sh: executing
/etc/cont-init.d/99-run.sh: executing
[06:53:13] WARNING: The config.json file found in /config/addons_config/epicgamesfree will be used. Please customize according to https://github.com/claabs/epicgames-freegames-node#json-configuration and restart the add-on
 
[06:53:13] INFO: Starting the app
 
 
Starting the upstream container
 
Setting localtime: redacted
Setting timezone: redacted
Run on startup: true
[2024-05-14 06:53:15.828 ] INFO: Started epicgames-freegames-node
    COMMIT_SHA: "afcf312cbe9bf7bbc39136f1448772981bfcbe9a"
    BRANCH: "master"
    DISTRO: "alpine"
[2024-05-14 06:53:16.180 ] INFO: Checking free games for redacted_user@redacted_domain 
    user: "redacted_user@redacted_domain"
[2024-05-14 06:53:17.711 ] INFO: searchStrategy is `all`: searching for weekly and promotional games
    user: "redacted_user@redacted_domain"
[2024-05-14 06:53:28.201 ] INFO: Available free games
    user: "redacted_user@redacted_domain"
    availableGames: [
      "Circus Electrique",
      "Firestone Free Offer"
    ]
[2024-05-14 06:53:28.434 ] INFO: Unpurchased free games
    user: "redacted_user@redacted_domain"
    purchasableGames: []
[2024-05-14 06:53:28.708 ] INFO: No free games available
    user: "redacted_user@redacted_domain"
[2024-05-14 06:53:28.709 ] INFO: Exiting successfully
Run once: false
Setting cron schedule as 0 */6 * * *

Architecture

amd64

OS

HAos

@Shiroe93 Shiroe93 added the bug Something isn't working label May 14, 2024
@alexbelgium
Copy link
Owner

Hi! It's not a bug it just means that cron, a service that periodically runs apps, is using such a log level. 8 is either the min or the max level of details depending on the linux distribution. I think i set it to 8 here to be the minimum. So no issue :)

@alexbelgium
Copy link
Owner

alexbelgium commented May 14, 2024

BTW this error does not appear in your log?

OK I think i understand you mean in the HA cli? I could need to redirect the output then I had that on other addons

@Shiroe93
Copy link
Author

Happy is not a bug
Sorry to had bothered you for nothing but my research led me astray

@Shiroe93
Copy link
Author

Shiroe93 commented May 14, 2024

And to answer your question no it doesn't appear anywhere the only reason i noticed it's because i had a freeze in home assistant (the system stopped responding completely and i had to do an hard reboot so i began a troubleshooting session) and i find this line on my monitor when i connect the pc

@Shiroe93
Copy link
Author

Shiroe93 commented May 14, 2024

On I side note I'm not able to access the web ui (Both from inside nor outside my home network) and the redemption of the games is not automatic as I understood it from your description
Do you happen to know why?
(If you prefer i can open another issue)

@alexbelgium
Copy link
Owner

Well webui is broken but when we investigated why the original developer there was no solution that could be fine... But in theory everything should work without user input by using the config file

However the games redemption should be automatic? Or is the app not working as expected? I'm not using it myself but i see that other users do and they had seemed to report it works?

@alexbelgium
Copy link
Owner

Happy is not a bug Sorry to had bothered you for nothing but my research led me astray

No worry! Unless i'm wrong and something else doesn't work but it should be fine if there is "just" that

@Shiroe93
Copy link
Author

For me a link arrives via my configured notification method and i need to open it and click buy to complete the redemption process also the games are almost always a couple for week but i received only one link (I started using the add-on this week and there was two) am i missing something?

@alexbelgium
Copy link
Owner

Hum I actually don't use the app so i'm not sure... I thought it redeemed automatically have you checked the project documentation?

@Shiroe93
Copy link
Author

Okay i found the issue:
The last release changelog mentions that automatic redemption is not possible anymore due to epic improvement on automation detection
I suggest you modify the add-on description to specify that a redemption link is sent to your preferred notification method instead of being automated

@alexbelgium
Copy link
Owner

Thanks!

Copy link
Contributor

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.

@github-actions github-actions bot added the stale Element will be closed automatically label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Element will be closed automatically
Projects
None yet
Development

No branches or pull requests

2 participants