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

[V2.2] Error on FLOOD_PASSWORD #61

Closed
Sigri44 opened this issue Nov 26, 2024 · 14 comments
Closed

[V2.2] Error on FLOOD_PASSWORD #61

Sigri44 opened this issue Nov 26, 2024 · 14 comments
Assignees
Labels

Comments

@Sigri44
Copy link

Sigri44 commented Nov 26, 2024

Hello,

Think with new version, problem with the "FLOOD_PASSWORD" variable :
WARN[0000] The "FLOOD_PASSWORD" variable is not set. Defaulting to a blank string.

$ cat .env.custom | grep "flood"
# Flood Password for Deluge RPC daemon
FLOOD_FLOOD_PASSWORD=xxxxxxxxxxxxxxx
#FLOOD_FLOOD_OPTION_HOST=deluge
FLOOD_DELUGE_HOST=deluge
@jfroment
Copy link
Owner

Hello, do you confirm that with the new release 2.2.1 it works now?

@Sigri44
Copy link
Author

Sigri44 commented Nov 28, 2024

Hello, do you confirm that with the new release 2.2.1 it works now?

Nop, crashed at start, don't understand what's modify on traefik

image

@tblaudez
Copy link

Hey there,

I'm hijacking this issue to mention I have the same problem as the gentleman above regarding the ./env/traefik.env file.
It seems like the file is trying to source a generated env file for the service when said service has a command line with environment variables in its docker-compose file.

Looking at the code, I couldn't however find where this file was supposed to be generated for the traefik service, which is the first to be configured by the script.

Should I open a new issue for that matter ?

@jfroment jfroment reopened this Nov 28, 2024
@jfroment
Copy link
Owner

jfroment commented Nov 28, 2024

Ok I think the 2.2.1 release came with a bug, although it was supposed to fix some other ones.
Can you try to add a line like:

TRAEFIK_DUMMY="dummy"

in your .env.custom?
It should be sufficient to woarkaround the issue here and give me time to properly fix it.

Sorry for the inconvenience guys.

@tblaudez
Copy link

I confirm adding such a line in the .env.custom file fixes this specific issue.
I don't understand the code fully enough to comprehend what caused this bug and why this actions fixed it.

Thank you for your hard work and your quick reaction Jean, I was really glad to see a new release for this awesome repository.

@Sigri44
Copy link
Author

Sigri44 commented Nov 28, 2024

Hello, do you confirm that with the new release 2.2.1 it works now?

Same error at the beginning "flood password not set", and now in logs :
image

@tblaudez
Copy link

@Sigri44 Did you edit this line in your .env file in order to create the flood user on Deluge ?

@Sigri44
Copy link
Author

Sigri44 commented Nov 28, 2024

@Sigri44 Did you edit this line in your .env file in order to create the flood user on Deluge ?

Yes and same (i already have user in /http/auth, but tried)

@jfroment
Copy link
Owner

That's strange I cannot reproduce your issue.

Can you confirm that you have (after running the script) both:

services/generated/flood-envfile.yaml with content

services:
  flood:
    env_file:
      - ./env/flood.env

and env/flood.env with content (at least):

FLOOD_PASSWORD=yourpassword

If yes, can you try to:

  • docker rm -f flood
  • rm -rf CONFIG_DIR_PATH/flood/*
  • ./run-seedbox.sh --no-pull

It should restart Flood service with all remaining data erased. No issue doing this, as Flood's configuration is not that important. You may lose any custom settings related to Flood though, maybe backup them first if you have any.

@jfroment
Copy link
Owner

Also, please check my comment in issue #59.
Maybe you should remove the line FLOOD_DELUGE_HOST=deluge from your .env.custom as this variable is automatically set by the script.

@Sigri44
Copy link
Author

Sigri44 commented Nov 28, 2024

That's strange I cannot reproduce your issue.

Can you confirm that you have (after running the script) both:

services/generated/flood-envfile.yaml with content

services:
  flood:
    env_file:
      - ./env/flood.env

and env/flood.env with content (at least):

FLOOD_PASSWORD=yourpassword

If yes, can you try to:

  • docker rm -f flood
  • rm -rf CONFIG_DIR_PATH/flood/*
  • ./run-seedbox.sh --no-pull

It should restart Flood service with all remaining data erased. No issue doing this, as Flood's configuration is not that important. You may lose any custom settings related to Flood though, maybe backup them first if you have any.

Have follow that, but same.

When i check /config/auth into deluge, no flood login.
When i choose true to FLOOD_AUTOCREATE_USER_IN_DELUGE_DAEMON, same.
Have try with delete deluge container but same error.
Btw now think with >= 2.2 deluge don't add flood credentials to auth.

EDIT : Fixed with manual cmd :
echo "flood:${FLOOD_PASSWORD}:10" >> $HOST_CONFIG_PATH/deluge/auth

@jfroment
Copy link
Owner

Oooh ok I found the bug. It occurs only on fresh installations, that's why I missed it.
Give me 5 minutes to re-edit the 2.2.2 release and I get back to you.

@jfroment
Copy link
Owner

jfroment commented Nov 28, 2024

Release v2.2.2 now includes a new fix for your issue.

@Sigri44
Copy link
Author

Sigri44 commented Nov 29, 2024

Good for me !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants