Link now broken, but file exists?

On my forum post:

There is a link to a file (Rename Files.kmmacros) which is:

Clicking the link now gives the “Oops! That page doesn’t exist or is private”

But on the server, the file exists:

ls -l /var/discourse/shared/standalone/uploads/default/568/aeb5ee7ba8111fcd.kmmacros
-rw-r--r-- 1 peter www-data 8018 May  1 23:25 /var/discourse/shared/standalone/uploads/default/568/aeb5ee7ba8111fcd.kmmacros

So what would cause that, and how do I recover it, and how do I find out what other links might be broken?


1 Like

Any ideas? I don’t even know how to restore this link (in the past, I have found files that had been deleted and restored the file to correct the link, but in this case the file exists already).

Other than downloading the file manually from the server using scp, editing the article and uploading a replacement, I don’t see any way to correct the issue, and that is not a very practical solution, especially if there are other cases.

Could you advise please @vinothkannans

1 Like