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

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.