Rocketchat cannot use "file_upload" after upgrade to 3.18.7


After upgrade RK to 3.18.7, i found that all previous upload files cannot be used. it only show “RETRY” icon. All new file upload work well.
Inspect a Retry button, i see the links are not found, such as:,%202022%2010:19%20AM

Server Setup Information

  • Version of Rocket.Chat Server: 3.18.7
  • Operating System: Ubuntu 22.04
  • Deployment Method: Manual Install/Upgrade
  • Number of Running Instances: 7
  • DB Replicaset Oplog: 3.6.7 / unknown (oplog Enabled)
  • NodeJS Version: v12.22.1
  • MongoDB Version: 3.6.7 / unknown (oplog Enabled)
  • Proxy: nginx
upstream backend {

server {
    listen 443;
    server_name domain . com;
    error_log /var/log/nginx/rocketchat.access.log;
        ssl on;
        ssl_certificate /etc/nginx/ssl/hdtex.crt;
        ssl_certificate_key /etc/nginx/ssl/hdtex.key;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # dont use SSLv3 ref: POODLE

    location / {
        proxy_pass http:// backend /;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $http_host;

        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forward-Proto http;
        proxy_set_header X-Nginx-Proxy true;
        proxy_redirect off;
  • Firewalls involved: disabled/stopped

Any additional Information

Admin: File Upload → Storage Type = FileSystem
Admin: File Upload → File System → System Path = /home/var/snap/rocketchat-server/common/uploads/

i already double checked the system path, the path is not wrong, there are still a lot of files in there (.xls.png,… …)

i also tried to access the file upload path with, but no luck.
http://internal-ip : 3000/file-upload/hbK7voexwzTxrQKoo/Clipboard%20-%20June%2015,%202022%2010:19%20AM