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

🐛 [OpenProject] <unable to change the host name in the 'System Settings' > #1690

Open
kejXero opened this issue Dec 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kejXero
Copy link

kejXero commented Dec 29, 2024

Description

I am running OpenProject as an Home Assistant add-on. I have changed the port number from the default 8080 to 18080, due port is being used in another add-on. After login, at the buttom of the webpage, the following is stated: Hostname setting mismatch. Your application is running with its host name setting set to localhost:8080, but the request is a 192.168.XX.YY hostname. This will result in errors! Go to System settings and change the "Host name" setting to correct this. It is not possible to change the host name from the current localhost:8080.

Reproduction steps

1. Go to 'Login screen'
2. Click on 'System settings / General'
3. Scroll down to 'Host name'
4. See error, unable to change host name from localhost.

Addon Logs

Clip of the log...

2024-12-29 17:25:33,996 INFO reaped unknown pid 47590 (exit status 0)
I, [2024-12-29T17:25:38.143351 #1003]  INFO -- : [d6598e5d-6282-4282-96e4-13e24cc50d21] method=GET path=/ format=*/* controller=HomescreenController action=index status=302 allocations=1601 duration=20.80 view=0.00 db=10.70 location=http://127.0.0.1:8080/login user=3
2024-12-29 17:25:39,144 INFO reaped unknown pid 47599 (exit status 0)
I, [2024-12-29T17:25:43.305990 #1003]  INFO -- : [bbcf19ce-a44a-488d-986d-ad9fbf86709a] method=GET path=/ format=*/* controller=HomescreenController action=index status=302 allocations=1613 duration=17.21 view=0.00 db=8.75 location=http://127.0.0.1:8080/login user=3
2024-12-29 17:25:44,309 INFO reaped unknown pid 47607 (exit status 0)
I, [2024-12-29T17:25:48.457679 #1003]  INFO -- : [d680f0ec-8286-4ea3-b37d-8dd4d7057d97] method=GET path=/ format=*/* controller=HomescreenController action=index status=302 allocations=1614 duration=21.72 view=0.00 db=11.00 location=http://127.0.0.1:8080/login user=3

Architecture

No response

OS

No response

@kejXero kejXero added the bug Something isn't working label Dec 29, 2024
@ash286
Copy link

ash286 commented Dec 31, 2024

I agree with this issue. Neither it allows to change hostname from the System settings / General tab nor it takes from Add-on config.yaml files. I can't even set OPENPROJECT_HTTPS="true" It doesn't take any environment variables set in the config.yaml file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants