Your software
My Mautic version is: 4.4.1
My PHP version is: 7.4.30
My Database type and version is: MySQL8
Your problem
My problem is: error appearing in log file
These errors are showing in the log: 2022/08/12 17:49:00 [error] 135785#135785: *1644 open() “/home/user/htdocs/mautic.mysite.com/mtc.js” failed (2: No such file or directory), client: 66.249.66.89, server: mautic.mysite.com, request: “GET /mtc.js HTTP/1.1”, host: “mautic.mysite.com”, referrer: “https://mysite.com/”
Steps I have tried to fix the problem: not sure what the problem is. Looking for some help. Tried searching this forum.
Hi Joey,
I did my install on an ubuntu 22.04 server using Cloudpanel which is supposed to work with Mautic and uses nginx as the webserver. As far as allowing rewrite in my web server or htaccess, I didn’t change anything, just did a standard install following Cloudpanel’s instructions. Looking at the htaccess file, the rewrite module is on. My Vhost install below.
I’ve noticed in other mautic install blog posts that the vhost config file does something with the file extension mtc.js like in this post Install Mautic Self-Hosted Email Marketing on Ubuntu 18.04 Server. Is it possible the install script on cloudpanel is missing some code?