Attachments: Oops! That page doesn’t exist or is private

when Attachment link is clicked, error :
Oops! That page doesn’t exist or is private.
New to discourse, don’t know how to figure out.
not too much settings tweaks, only
toggle on Prevent anonymous users from downloading attachments.
after installation, working for two weeks but suddenly stopped.
any help? thanks.

Welcome Amirk :slight_smile:

Is your install a standard install?
Did you try using the safe mode?
Do you have anything suspicious in your logs (Admin → Logs)?

2 Likes

Installed Discourse via standard, only thing I didn’t created docker user & every thing done via root user.
Safe mode didn’t help as using default theme with no plugin.
No error log
I increased max attachment size via

After that no problem with large uploads.
But now I also revert this change via backup file of app.yml, and rebuild app. but no help.
upload new attachments, no old nor new attachments are working.
One problem is uploaded files still exists on server, not being deleted along with post delete.

I completely removed discourse from server, prune all inactive docker images, reinstall discourse, upload attachments. at that time everything fine.
to check whether again issue come back or not, I didn’t change any settings.
wait for three days, and again check my attachments. now same problem came back.
No attachments are being downloaded.
Now I can confirm its a bug.
Can any one help, why this happens automatically?

This problem was due to hitch & varnish proxy, as I already running other sites
when I ran discourse alone without proxy, no problem.

1 Like

return(pipe); works.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.