# Cannot Create Email Channel

**URL:** <https://forum.mautic.org/t/cannot-create-email-channel/19228>\
**Category:** Product Support\
**Created:** [April 28, 2021, 2:52am UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228 "2021-04-28T02:52:48Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesjosh912](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jamesjosh912/32/2810_2.png) [@jamesjosh912](https://forum.mautic.org/u/jamesjosh912)\
**Post date:** [April 28, 2021, 2:52am UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/1 "2021-04-28T02:52:48Z")

</div>

**Your software**  
My Mautic version is: 4.15.0  
My PHP version is: 7.4.16  
My Database type and version is: ?

**Your problem**  
My problem is: I cannot create an email channel using the “new” button in the top right corner of the “channels” —\> “emails” section. The button doesn’t respond.

These errors are showing in the log: None

Steps I have tried to fix the problem: Deleted cache folder in WINSCP, but it did not help.

---

<div class="post-metadata">

**Author:** ![taxi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taxi/32/522_2.png) [@taxi](https://forum.mautic.org/u/taxi)\
**Post date:** [May 5, 2021, 10:37am UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/2 "2021-05-05T10:37:42Z")

</div>

I have the same problem. I can’t create new email templates.

Also editing already created email templates doesn’t react.  
The thin blue progress bar runs from left to right, but the page remains the same.

No entry in the log files.

Any suggestions?

Kind regards

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 5, 2021, 11:33am UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/3 "2021-05-05T11:33:44Z")

</div>

Yes,  
You need to check if you have writing rights in your temp folder.  
Just run a full chown in your mautic folders.

Joey

---

<div class="post-metadata">

**Author:** ![taxi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taxi/32/522_2.png) [@taxi](https://forum.mautic.org/u/taxi)\
**Post date:** [May 6, 2021, 7:06am UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/4 "2021-05-06T07:06:26Z")

</div>

Many thanks for you answer Joey!

That did solve my problem. My question now is, can it be that during an update the ownership has been changed somehow? Other possibility I can’t think of.

Kind regards

Christian

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 6, 2021, 9:27am UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/5 "2021-05-06T09:27:21Z")

</div>

Hey, what usually happens is, that you login as root, and you clear the cache as root. This way some folders will be not writable.  
Happy it worked! Keep automating!

---

<div class="post-metadata">

**Author:** ![taxi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taxi/32/522_2.png) [@taxi](https://forum.mautic.org/u/taxi)\
**Post date:** [May 7, 2021, 11:09am UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/6 "2021-05-07T11:09:28Z")

</div>

Helo Joey,

today started working again with Mautic and experienced the same behaviour. After resetting the rights as you suggested, everything works as expected.

For me this means, that during the night some process is setting the rights wrong. Of what is your idea?

Kind regards

Christian

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 7, 2021, 12:34pm UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/7 "2021-05-07T12:34:26Z")

</div>

I think you are using ssh as sudo and execute commands NOT as www-data user (which is probably your apache user) It is okay, just make sure you finish your commands with restoring the proper ownership.

---

<div class="post-metadata">

**Author:** ![taxi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taxi/32/522_2.png) [@taxi](https://forum.mautic.org/u/taxi)\
**Post date:** [May 7, 2021, 12:56pm UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/8 "2021-05-07T12:56:48Z")

</div>

I’m using ISPConfig for domain and site configuration and hosting. Thus Mautic has the ownership of web1.client7 e.g.  
When I’m working on the server as root, I understand your point. The strange thing is, that I haven’t changed anything and today somehow the ownership changed. I’ll check this tomorrow. Could it be that some cron jobs modify the ownership?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 12, 2021, 6:47am UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/9 "2021-05-12T06:47:03Z")

</div>

Can be yes. Who is running the cron? 🙂

---

<div class="post-metadata">

**Author:** ![seun](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/seun/32/733_2.png) [@seun](https://forum.mautic.org/u/seun)\
**Post date:** [May 14, 2021, 2:13pm UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/10 "2021-05-14T14:13:22Z")

</div>

Hello!

I just started using Mautic. I love it but I’m frustrated right now. The setup has been overwhelming but I’m trying my best as I’m not techy.

I have issues with creating an email channel. It’s the same issue. Save &.Close and Apply buttons usually grey out. I’ve been battling with it for hours.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 15, 2021, 7:08am UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/11 "2021-05-15T07:08:00Z")

</div>

Hello Seun, is it shared hosting you use?  
Did you install via bitnami or ssh?

---

<div class="post-metadata">

**Author:** ![taxi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taxi/32/522_2.png) [@taxi](https://forum.mautic.org/u/taxi)\
**Post date:** [May 17, 2021, 11:18am UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/12 "2021-05-17T11:18:57Z")

</div>

Hello Joey,

the cron is run by root. It should be run by the user, correct?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 17, 2021, 12:00pm UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/13 "2021-05-17T12:00:46Z")

</div>

Well, if the cron runs it, it might execute thigs in such a way, that it ruins your permissions.

---

<div class="post-metadata">

**Author:** ![taxi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taxi/32/522_2.png) [@taxi](https://forum.mautic.org/u/taxi)\
**Post date:** [May 20, 2021, 11:50am UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/14 "2021-05-20T11:50:28Z")

</div>

It must be something else, that ruins my permissions, because the Mautic cron jobs are running twice per hour. But I experience the problems after the night.

---

<div class="post-metadata">

**Author:** ![mgagme](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mgagme/32/1635_2.png) [@mgagme](https://forum.mautic.org/u/mgagme)\
**Post date:** [May 24, 2021, 8:19pm UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/15 "2021-05-24T20:19:18Z")

</div>

I too struggled with the same issue with the channel-\>emails not working. Looking at chrome dev console I noticed the 403 so I contacted my hosting support. At the end of this all I was able to only get a few templates to work but when I asked about the rules being triggered in mod\_security it is related to potential xss injection flag. The relevant trigger is below:

```
Matched phrase "<!--" at ARGS:emailform[customHtml].
```

---

<div class="post-metadata">

**Author:** ![jamesjosh912](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jamesjosh912/32/2810_2.png) [@jamesjosh912](https://forum.mautic.org/u/jamesjosh912)\
**Post date:** [May 30, 2021, 3:32pm UTC](https://forum.mautic.org/t/cannot-create-email-channel/19228/16 "2021-05-30T15:32:25Z")

</div>

Running a chown in my root user on putty did not fix the problem for me.

1. sudo chown -R www-data:www-data /var/www/html/mautic/
2. sudo chmod -R 755 /var/www/html/mautic/
