5 months ago
I've been trying to create a Mautic service on Railway. I've added 3 mautic/mautic with the proper roles. When I attached a volume, mautic stop working; without volume, it's work fine. Can you help me?
Error: [Fri Jul 11 15:54:19.431937 2025] [autoindex:error] [pid 18:tid 18] [client 100.64.0.2:60154] AH01276: Cannot serve directory /var/www/html/docroot/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive
5 Replies
5 months ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Server is running my app, but it's misconfigured on Railway.
🧵 Subject: Persistent EACCES Permission Denied on n8n Deployment with Volume
If you find the answer from one of these, please let us know by solving the thread!
5 months ago
Here is a mautic template https://railway.com/deploy/9yIPIs
Could you try to deploy this and check the expected mount paths that work?
5 months ago
when you mount a volume to /var/www/html, you overwrite the existing contents of that directory, including the actual Mautic files like index.php.
Instead, mount the volume to a subdirectory such as /var/www/html/media or /var/www/html/uploads, where Mautic stores user-generated content like campaign files or uploaded images.
this willpreserves the core application files while still allowing persistent storage for your data.