espocrm / espocrm-docker

Official Docker Image for EspoCRM
https://hub.docker.com/r/espocrm/espocrm
GNU Affero General Public License v3.0
56 stars 34 forks source link

Email attachments - 404 Page Not Found #6

Closed vp-lab closed 2 years ago

vp-lab commented 2 years ago

Hello,

We have a problem with espocrm in docker container with email attachments. OS: Ubuntu 20.04.3 LTS EspoCRM: 6.1.9

  1. Click on Emails.
  2. Click on any email with attachments.
  3. Click on any attachments
  4. I get error: 404 Page Not Found

The link it's something like this: http://xxxxxxxxxxxxxxxxx/?entryPoint=download&id=612cef357d840f5b3 I can see the attachment on filesystem but on the crm web I can't.

Thank you.

vp-lab commented 2 years ago

Logs from the container:

[2021-09-20 14:06:15] ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "Permission denied for data/cache/application/routes.php" at /var/www/html/application/Espo/Core/Utils/File/Manager.php line 251 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): Permission denied for data/cache/application/routes.php at /var/www/html/application/Espo/Core/Utils/File/Manager.php:251)"} []
vp-lab commented 2 years ago

You can close the ticket because was a mistake in docker-compose. We didn't mount the nfs in espocrm-daemon.

Now everything works fine.