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

[BUG] 500 Internal Server Error when trying to open bunkerweb.log in Logs - UTF-8 issue #2027

Open
2 tasks done
petr-larin opened this issue Feb 24, 2025 · 3 comments
Open
2 tasks done
Labels
bug Something isn't working next minor

Comments

@petr-larin
Copy link

What happened?

Hi! I run BunkerWeb in Docker, and I have just set up logging exactly as described in the documentation. I can open in UI->Logs the logfiles bw-scheduler.log and bw-ui.log, but when opening bunkerweb.log I get 500 error. In the UI log I can see the reason:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc5 in position 92409: invalid continuation byte

It appears as though UI expects utf-8 format, but the bunkerweb container emits the log in soma other format.

Image

How to reproduce?

I used the compose file without any modifications.

Configuration file(s) (yaml or .env)

Relevant log output

BunkerWeb version

1.6.0

What integration are you using?

Docker

Linux distribution (if applicable)

No response

Removed private data

  • I have removed all private data from the configuration file and the logs

Code of Conduct

  • I agree to follow this project's Code of Conduct
@petr-larin petr-larin added the bug Something isn't working label Feb 24, 2025
@TheophileDiot
Copy link
Member

Hi @petr-larin, thank you for opening this issue. We are aware of this and a fix is already available in the 1.6.1-rc1 version.

@TheophileDiot TheophileDiot added the next major Will be implemented in the next major version. label Feb 25, 2025
@petr-larin
Copy link
Author

Hi @TheophileDiot! Many thanks for letting me know!

@petr-larin
Copy link
Author

Tested 1.6.1-rc for this issue and can confirm it works!

@TheophileDiot TheophileDiot added next minor and removed next major Will be implemented in the next major version. labels Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working next minor
Projects
None yet
Development

No branches or pull requests

2 participants