ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.49k stars 2.3k forks source link

Error: “Please ensure that you are using the latest version of the official game releases. Your score will not be submitted.” #30751

Closed Epholy closed 3 days ago

Epholy commented 4 days ago

Type

Other

Bug description

This issue started occurring last month; prior to that, I was able to upload my scores without any problems. I've tried various solutions suggested by other users, such as restarting my system and reinstalling osu!lazer, but none of these have resolved the issue.

I noticed an error message in the "auth.log" file:

2024-11-18 07:15:55 [verbose]: Downloading update to C:\Users\Epholy\AppData\Local\Temp\tmphhlyyc.tmp...
2024-11-18 07:15:59 [verbose]: Unloading module...
2024-11-18 07:15:59 [verbose]: Module unloaded successfully.
2024-11-18 07:16:00 [verbose]: Failed to update: System.UnauthorizedAccessException: Access to the path is denied.
2024-11-18 07:16:00 [verbose]: at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)

It's strange that the log doesn't provide any details about the exact path that cannot be reached. And I've verified that I have read/write permissions for the Temp folder. So, what could be causing this problem?

Screenshots or videos

image

Version

2024.1115.3

Logs

compressed-logs.zip

bdach commented 4 days ago

I've seen this a few times now, various people apparently not having their %localappdata%/Temp writable to the local user, for whatever reason. No idea what causes this.

Do you have some other software that could be running interference? Persistent file scanners? Antivirus software?

smoogipoo commented 4 days ago

In addition to the above, I see you've changed osu!'s folder:

2024-11-18 07:15:53 [verbose]: Attempting to use custom storage location D:\Program Files\osu-lazer
2024-11-18 07:15:53 [verbose]: Storage successfully changed to D:\Program Files\osu-lazer.

Check you have permissions to write to that folder.


Additionally, check if you have permissions to write to %APPDATA%/osu-lazer.

Epholy commented 4 days ago

I've seen this a few times now, various people apparently not having their %localappdata%/Temp writable to the local user, for whatever reason. No idea what causes this.

Do you have some other software that could be running interference? Persistent file scanners? Antivirus software?

I turned off my antivirus software, but it still doesn't work.

Epholy commented 4 days ago

In addition to the above, I see you've changed osu!'s folder:

2024-11-18 07:15:53 [verbose]: Attempting to use custom storage location D:\Program Files\osu-lazer
2024-11-18 07:15:53 [verbose]: Storage successfully changed to D:\Program Files\osu-lazer.

Check you have permissions to write to that folder.

Additionally, check if you have permissions to write to %APPDATA%/osu-lazer.

Yes, I do have permissions to write to these folders. image image "曹Epholy" is my local account. "完全控制" means "Full control".

frenzibyte commented 4 days ago

@necocat0918 please refrain from posting bad advices.

People-11 commented 3 days ago

I have a possibility: did you change your account after installing osu? (e.g. switching between local and online accounts), or have you adjusted the settings regarding UAC (User Account Control)?

I came up with this idea because, for reasons of personal convenience, I've been using a global Administrator account since my system was installed, which means that for all the software I run use the Administrator privileges for file operations, including creating folders. But one day when I fell back to my normal account for debugging purposes, I found that most of the software couldn't read the files they had previously created unless I right-clicked ‘Run as administrator’.

smoogipoo commented 3 days ago

@Epholy

My bad...

Epholy commented 3 days ago

Oh, I think I've figured it out. As @People-11 pointed out, the D:\Program Files folder not only had osu!lazer installed but also other software installed as an administrator, which caused the owner of D:\Program Files to be Administrators instead of my personal account (曹Epholy). When I moved the game folder from D:\Program Files (owned by Administrators) to E:\TEMP (owned by 曹Epholy), the modules could be updated without any problems, and scores could be submitted successfully.

Thanks to everyone's help💕, I think this issue can be closed.