azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
2.96k stars 105 forks source link

[BUG]: New install screen is not showing up on Safari macOS #239

Open garanda21 opened 2 months ago

garanda21 commented 2 months ago

What happened?

New install screen is not showing up on Safari macOS related to #209, but I open a new one providing relevant information.

On the left safari and right Chrome:

Captura de pantalla 2024-04-06 a las 17 40 50

Seems that Safari is not redirecting to the right URL like Chrome does: http://192.168.64.6/cosmos-ui/newInstall, Safari is stuck on URL http://192.168.64.6/cosmos-ui/

What should have happened?

For a fresh installation I expect to see new installation and setup screen

How to reproduce the bug?

Fresh install from Ubuntu 22.04 server, run container and then try to load ip address, and Safari shows an empty page

Relevant log output

2024/04/06 15:36:42 "GET http://192.168.64.6/cosmos/api/me HTTP/1.1" from 192.168.64.1:62631 - 200 25B in 55.999µs
2024/04/06 15:36:42 [INFO] API: Status
2024/04/06 15:36:42 [INFO] (Re) Connecting to the database...
2024/04/06 15:36:42 [ERROR] Status: Database error : MongoDB URL is not set, cannot connect to the database.
2024/04/06 15:36:42 "GET http://192.168.64.6/cosmos/api/status HTTP/1.1" from 192.168.64.1:62630 - 200 450B in 9.640843ms
2024/04/06 15:36:42 "GET http://192.168.64.6/cosmos-ui/assets/cosmos_simple_black-1f5606ba.png HTTP/1.1" from 192.168.64.1:62630 - 200 22663B in 4.28593ms
2024/04/06 15:36:42 "GET http://192.168.64.6/cosmos-ui/assets/constellation-a48979ea.png HTTP/1.1" from 192.168.64.1:62630 - 200 8708B in 2.947951ms
2024/04/06 15:36:42 "GET http://192.168.64.6/cosmos-ui/assets/cosmos-8ce3155c.png HTTP/1.1" from 192.168.64.1:62630 - 200 356775B in 6.505893ms
2024/04/06 15:36:42 "GET http://192.168.64.6/cosmos-ui/assets/discord-6817c341.svg HTTP/1.1" from 192.168.64.1:62631 - 200 925B in 1.027984ms
2024/04/06 15:36:42 "GET http://192.168.64.6/cosmos/api/notifications HTTP/1.1" from 192.168.64.1:62631 - 200 25B in 544.991µs
2024/04/06 15:36:42 "GET http://192.168.64.6/cosmos/api/jobs HTTP/1.1" from 192.168.64.1:62630 - 200 25B in 110.998µs

Other details

Additional I provide docker run logs form cosmos-server

System details

sonnimon commented 2 months ago

I have same issue! On Mac OS: Venture 13.6.5 Safari Version: 17.4

But Chrome Works!