osuAkatsuki / bancho.py

An osu! server for the generic public, optimized for maintainability in modern python
https://akatsuki.gg
MIT License
212 stars 127 forks source link

All requests give 404 error #314

Closed mpschorr closed 1 year ago

mpschorr commented 1 year ago

When I start bancho.py on my Ubuntu 20.04.5 VPS, every request to it shows 404.

[09:47:30PM] running in debug mode
[09:47:30PM] It is not recommended to run bancho.py as root, especially in production..
[09:47:31PM] Running the server with root privileges is not recommended.
[09:47:31PM] Fetching channels from sql.
[09:47:31PM] <#osu> added to channels list.
[09:47:31PM] <#announce> added to channels list.
[09:47:31PM] <#lobby> added to channels list.
[09:47:31PM] <#supporter> added to channels list.
[09:47:31PM] <#staff> added to channels list.
[09:47:31PM] <#admin> added to channels list.
[09:47:31PM] <#dev> added to channels list.
[09:47:31PM] Fetching clans from sql.
[09:47:31PM] Fetching mappools from sql.
[09:47:31PM] Initializing housekeeping tasks.
[09:47:31PM] Startup process complete.
[09:47:31PM] Listening @ /tmp/bancho.sock
[09:47:31PM] Removing expired donation privileges.
[09:47:46PM] [GET] 404 osu.jeelzzz.xyz/web/osu-getseasonal.php | Request took: 1.40 msec
[09:47:47PM] [GET] 404 osu.jeelzzz.xyz/web/bancho_connect.php | Request took: 507.42 μsec
[09:47:47PM] [POST] 404 c.jeelzzz.xyz/ | Request took: 358.07 μsec
[09:47:47PM] [GET] 404 osu.jeelzzz.xyz/web/bancho_connect.php | Request took: 467.38 μsec
[09:48:04PM] [GET] 404 osu.jeelzzz.xyz/ | Request took: 557.91 μsec
[09:48:18PM] [POST] 404 c4.jeelzzz.xyz/ | Request took: 809.42 μsec
[09:48:18PM] [GET] 404 osu.jeelzzz.xyz/web/bancho_connect.php | Request took: 409.13 μsec
[09:48:47PM] [POST] 404 c4.jeelzzz.xyz/ | Request took: 499.65 μsec
minisbett commented 1 year ago

Independent from your issue I'd suggest going with Ubuntu 18.04, with 20 we've had quite some trouble in the past, especially with nginx

mpschorr commented 1 year ago

Downgrading to Ubuntu 18.04 and reinstalling fixed the issue