Renaming file directly on the server doesn't rename on web app or client

Hi, I run a self hosted nextcloud server behind docker on the latest version. I had to rename massive amount of files so I’ve renamed it directly on the server with the command lines. Then I’ve run a occ files:scan --all and every files were scaned normally. But when I open the Nextcloud web app, the files still aprear with their old names and I cant rename them their anymore… Do you have any solutions for that problem ?

Restart your webserver and PHP engine to get all server side caches cleared.