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

Filebrowser docker container in unhealthy status #3139

Open
pipsen opened this issue Apr 21, 2024 · 10 comments
Open

Filebrowser docker container in unhealthy status #3139

pipsen opened this issue Apr 21, 2024 · 10 comments

Comments

@pipsen
Copy link

pipsen commented Apr 21, 2024

Description
My FileBrowser Docker container works like a charm. But for several weeks already, the unhealthy flag is active but I don't neither see any error message in the docker logs, nor any misbehaviour.

Expected behaviour
Healthy docker container status flag

What is happening instead?
Unhealthy docker container status flag

Additional context
n/A

How to reproduce?
Directly after deployment and start

Files
log

@vlad-ger
Copy link

vlad-ger commented Apr 21, 2024

See #3085 #2938

running this code will do the trick (container's named "filebrowser")
docker exec -it filebrowser sh -c "sed -i 's|ADDRESS=\\${FB_ADDRESS:-$(jq .address /.filebrowser.json)}|ADDRESS=\\${FB_ADDRESS:-$(jq -r .address /.filebrowser.json)}|g' healthcheck.sh"

or in the terminal of your filebrowser container
sed -i 's|ADDRESS=\${FB_ADDRESS:-$(jq .address /.filebrowser.json)}|ADDRESS=\${FB_ADDRESS:-$(jq -r .address /.filebrowser.json)}|g' healthcheck.sh

@pipsen
Copy link
Author

pipsen commented Apr 21, 2024

Thank you for the hint. That means this will fixed automatically with one of the next docker image updates right?

@Guiorgy
Copy link

Guiorgy commented Apr 23, 2024

@pipsen duplicate of #3085, and yes, the fix is awaiting to be merged and released

@Guiorgy
Copy link

Guiorgy commented Apr 25, 2024

FYI, the fix has been merged (#3130).

@blinkitogaming
Copy link

Hi there, I've updated the container to version 2.28.0 which seems to have this PR included and is supposed to fix this but I'm still getting the unhealthy status with the "bad hostname" output.

If I get into the container console and cat the file the -r flag is still not present.
Screenshot 2024-04-26 121412

@Guiorgy
Copy link

Guiorgy commented Apr 26, 2024

@blinkitogaming m8, that release was published over a month ago, the PR (#3130) was submitted a week ago and merged 2 days ago. How did you come to the conclusion that the release has that PR? 😅

@chuckmister74
Copy link

Can confirm that version 2.29.0 has solved this issue for me.

@Guiorgy
Copy link

Guiorgy commented May 3, 2024

@pipsen Can you confirm that the new update solved the problem?

@pipsen
Copy link
Author

pipsen commented May 3, 2024

Yes, I can confirm

@Guiorgy
Copy link

Guiorgy commented May 3, 2024

@pipsen Then the issue can be closed as completed.

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

Successfully merging a pull request may close this issue.

5 participants