# Installation Routine - Error: EACCES: permission denied // shared webhosting

**URL:** https://forum.mautic.org/t/installation-routine-error-eacces-permission-denied-shared-webhosting/35267
**Category:** Mautic 5 Install/Upgrade Support
**Created:** [March 13, 2025, 1:20pm UTC](https://forum.mautic.org/t/installation-routine-error-eacces-permission-denied-shared-webhosting/35267 "2025-03-13T13:20:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)
#### Post date: [March 13, 2025, 1:20pm UTC](https://forum.mautic.org/t/installation-routine-error-eacces-permission-denied-shared-webhosting/35267/1 "2025-03-13T13:20:32Z")

</div>

**Your software**  
My Mautic version is: 5.2.3  
My PHP version is: 8.2

**Your problem**  
My problem is:  
I’m trying to setup Mautic in a provided web hosting environment. I managed to install composer, nodeJS, npm, npx and also made sure the right enviroments are used for the installation via composer.

However, in the installation routine at the process step after  
“Modernizr build saved to node\_modules/modernizr/modernizr-mautic-dist.js” the process crashes, when the routine tries to write to a random file system root directory.

I set all caches an tmp directories to the user directory, but this remains broken.

These errors are showing in the log:

Modernizr build saved to node\_modules/modernizr/modernizr-mautic-dist.js  
node:fs:2427  
return binding.writeFileUtf8(  
^

Error: EACCES: permission denied, open ‘/zhSNPnRzVp’  
at Object.writeFileSync (node:fs:2427:20)  
at l (/node\_modules/get-tsconfig/dist/index.cjs:7:11081)  
at Object.createFilesMatcher (/node\_modules/get-tsconfig/dist/index.cjs:7:11832)  
at Object.ESBuildLoader (/node\_modules/esbuild-loader/dist/index.cjs:51:35)  
at LOADER\_EXECUTION (/node\_modules/loader-runner/lib/LoaderRunner.js:132:14)  
at runSyncOrAsync (/node\_modules/loader-runner/lib/LoaderRunner.js:133:4)  
at iterateNormalLoaders (/node\_modules/loader-runner/lib/LoaderRunner.js:251:2)  
at /node\_modules/loader-runner/lib/LoaderRunner.js:224:4  
at /node\_modules/webpack/lib/NormalModule.js:984:15  
at eval (eval at create (/node\_modules/tapable/lib/HookCodeFactory.js:33:10), :12:1) {  
errno: -13,  
code: ‘EACCES’,  
syscall: ‘open’,  
path: ‘/zhSNPnRzVp’  
}

I removed parts of the pathes to remove ID Data, but the “path:” detail at the end is a real example: its a random path in the file system root, which of course can’t be written in a shared hosting environment.

Why is it trying to write there? Can I convince the script to write into a tmp path in my user directory?

Steps I have tried to fix the problem:

Tested several ways to set all tmp and cache paths relative into user directory. Mussed have missed one?

---

<div class="post-metadata">

### Author: ![drold](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/drold/32/2400_2.png) [@drold](https://forum.mautic.org/u/drold)
#### Post date: [March 14, 2025, 7:19pm UTC](https://forum.mautic.org/t/installation-routine-error-eacces-permission-denied-shared-webhosting/35267/2 "2025-03-14T19:19:04Z")

</div>

Seems to me that installing Muatic is impossible for anyone with out a PhD in computer science, and for 90% of those with PhDs. Good luck. I ran into about 25 of such issues one after the other after the other. I have reinstalled 5 times from a wiped free VPS. STILL after 2 weeks of issue after issue following ChatGPT on Mautic, then Deepseek, now Grok. I have yet to have a working Mautic install. This is AFTER I paid 2 separated programmers to install for about $2000 of my money. Neither of these computer professionals were able to successfully install a Mautic system. Good luck.

---

<div class="post-metadata">

### Author: ![gem](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gem/32/12648_2.png) [@gem](https://forum.mautic.org/u/gem)
#### Post date: [March 18, 2025, 4:39pm UTC](https://forum.mautic.org/t/installation-routine-error-eacces-permission-denied-shared-webhosting/35267/3 "2025-03-18T16:39:34Z")

</div>

@dirk_s I put together a guide to install on shared VPS/droplet. It took me a couple of weeks to find the right combination of php, mysql, node, npm, composer, etc.

> **[Installing Mautic ^5 on DigitalOcean Droplet](https://mautic.party/installing-mautic-5-on-digitalocean-droplet)**

I’m not sure what to do with the error you’re describing though. hth
