Hi @ignasi navarra,
As per my test in my environment, when I upload a document with the same name as an existing one, the below message prompts. The new document will be uploaded if I click the "Replace" button and refresh the page.
What's the difference between us? Could you see the message and "Replace" button? If you can't see in this library, try creating a new document library and have a test in it.
If the answer is helpful, please click "Accept as Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.