-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[attachment permissions] new installation attachments have forbidden error #597
Comments
Can you provide nginx or Apache config? |
We use runcloud for our server We tried to use the custom changes as suggested on the setup but this did not work. |
@freescout-helpdesk Any possibility of some feedback on this issue? |
This has been resolved. |
@raramuridesign I'm also having issues with the standard nginx config on runcloud regarding attachments. |
@pool-alpin - The first place to look is your PHP Extensions, if you have some disabled. There are some required modules which need to be installed. as a minimum look at these first to ensure you have them setup. The very last thing to check is the permissions on folders/files (see second screenshot) - hope this helps. |
@raramuridesign Thanks for your reply!
I guess I will have to find external help with this. |
@pool-alpin What error do you get when viewing the attachment? |
@raramuridesign When clicking on an image, it opens in a new, empty tab. A PDF goes to a preview tab, with an error "can't load document". Downloads result in a "server error" entry. This is what I get in the laravel log inside freescout:
And this entry is in runcloud under nginx errors: |
@pool-alpin Try this - not sure if you have it installed |
@raramuridesign It was the disabled @freescout-helpdesk Maybe the system page could also check for the fpassthru function? |
@freescout-helpdesk I think it might be good to add this to the troubleshooting section |
We've added |
Hi all, just to add a note for anyone else using Runcloud that also stumbles onto this thread. |
Hi Guys
We have a brand new installation with no errors on the install and all functionality is working 100%, except the attachments to emails.
When clicking on an attachment we get the error
On checking the file server we can see the file is there on the server.
We have checked the folder & file permissions and this is all ok.
Storage location is the new location since the changes a few versions back.
The url looks like this
/storage/attachment/8/4/1/filename.pdf?id=199&token=11ca304ba85d04217d69dd4b3ceedbab
I am not sure what else we should provide to troubleshoot this, it would be appreciated to understand why this is happening.
Thanks
M.
The text was updated successfully, but these errors were encountered: