# Mautic whitelabler not working on bitnami image from aws

**URL:** <https://forum.mautic.org/t/mautic-whitelabler-not-working-on-bitnami-image-from-aws/30980>\
**Category:** Design\
**Created:** [February 20, 2024, 1:54pm UTC](https://forum.mautic.org/t/mautic-whitelabler-not-working-on-bitnami-image-from-aws/30980 "2024-02-20T13:54:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![w3bee](https://avatars.discourse-cdn.com/v4/letter/w/e9a140/32.png) [@w3bee](https://forum.mautic.org/u/w3bee)\
**Post date:** [February 20, 2024, 1:54pm UTC](https://forum.mautic.org/t/mautic-whitelabler-not-working-on-bitnami-image-from-aws/30980/1 "2024-02-20T13:54:35Z")

</div>

Hey guys, I’m pretty new to the mautic world. I’ve installed mautic on a EC2 instance on AWS from the bitnami image from the marketplace. I’m running version 4.4.6 and tried to whitelable my instance with the whitelabler from nickian with version 2.3.2.

I’ve tried to access the whitelabler through the frontend but can’t manage to open it - I think bitnami changed the file structure and blocked any outside access to files. Despite of whitelist it in the htaccess I can’t access it. So then I tried the cli variant but get there an error when I try to make a backup. I haven’t dared to start the whitelable process yet.

> **php error at backup process**
>
> ```auto
> PHP Fatal error: Uncaught UnexpectedValueException: DirectoryIterator::__construct(templates): Failed to open directory: No such file or directory in /opt/bitnami/mautic/mautic-whitelabeler/whitelabeler.php:693
> Stack trace:
> #0 /opt/bitnami/mautic/mautic-whitelabeler/whitelabeler.php(693): DirectoryIterator->__construct()
> #1 /opt/bitnami/mautic/mautic-whitelabeler/whitelabeler.php(166): Whitelabeler->templateVersions()
> #2 /opt/bitnami/mautic/mautic-whitelabeler/cli.php(149): Whitelabeler->mauticVersion()
> #3 {main}
> thrown in /opt/bitnami/mautic/mautic-whitelabeler/whitelabeler.php on line 693
> 
> ```

Had somebody the same issues and can help out?

---

<div class="post-metadata">

**Author:** ![w3bee](https://avatars.discourse-cdn.com/v4/letter/w/e9a140/32.png) [@w3bee](https://forum.mautic.org/u/w3bee)\
**Post date:** [March 1, 2024, 7:15am UTC](https://forum.mautic.org/t/mautic-whitelabler-not-working-on-bitnami-image-from-aws/30980/2 "2024-03-01T07:15:21Z")

</div>

I just updated to the last Mautic Version and tried with the corresponding whitelabler Version but have the same behaviour…

Am I the only one with this misfunction?

---

<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:** [March 1, 2024, 7:32am UTC](https://forum.mautic.org/t/mautic-whitelabler-not-working-on-bitnami-image-from-aws/30980/3 "2024-03-01T07:32:45Z")

</div>

Hi,

Just that I undrestand correctly:

Are you trying to use the Mautic Whitelabeler 2023 september version on Mautic 5?

Joey

---

<div class="post-metadata">

**Author:** ![w3bee](https://avatars.discourse-cdn.com/v4/letter/w/e9a140/32.png) [@w3bee](https://forum.mautic.org/u/w3bee)\
**Post date:** [March 1, 2024, 7:46am UTC](https://forum.mautic.org/t/mautic-whitelabler-not-working-on-bitnami-image-from-aws/30980/4 "2024-03-01T07:46:00Z")

</div>

Hey joeyk,

nope. I’m on Mautic Version 4.4.11 after the update.

---

<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:** [March 1, 2024, 7:51am UTC](https://forum.mautic.org/t/mautic-whitelabler-not-working-on-bitnami-image-from-aws/30980/5 "2024-03-01T07:51:11Z")

</div>

> [@w3bee](#):
>
> I think bitnami changed the file structure and blocked any outside access to files.

Well, then your assumption might be right:

> I think bitnami changed the file structure and blocked any outside access to files.

It’s really hard (and counterproductive) to support bitnami and softaculus installs.  
It is always better to ask them what they did and why.

[https://bitnami.com/stacks/forum](https://bitnami.com/stacks/forum)

---

<div class="post-metadata">

**Author:** ![w3bee](https://avatars.discourse-cdn.com/v4/letter/w/e9a140/32.png) [@w3bee](https://forum.mautic.org/u/w3bee)\
**Post date:** [March 2, 2024, 10:30am UTC](https://forum.mautic.org/t/mautic-whitelabler-not-working-on-bitnami-image-from-aws/30980/6 "2024-03-02T10:30:00Z")

</div>

As I’m still not in production and have used the bitnami service to make things easier to handle but it now turn out that it makes overcomplicated several things…  
What would you suggest is the best way to install and run mautic nowadays?  
I would prefer to stay on the AWS stack but am open for other suggestions.  
Appreciate your help!

---

<div class="post-metadata">

**Author:** ![tobsowo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tobsowo/32/3096_2.png) [@tobsowo](https://forum.mautic.org/u/tobsowo)\
**Post date:** [March 7, 2024, 4:34pm UTC](https://forum.mautic.org/t/mautic-whitelabler-not-working-on-bitnami-image-from-aws/30980/7 "2024-03-07T16:34:22Z")

</div>

It seems the repo was updated in the last 24 hours, you may want to try again.

---

<div class="post-metadata">

**Author:** ![w3bee](https://avatars.discourse-cdn.com/v4/letter/w/e9a140/32.png) [@w3bee](https://forum.mautic.org/u/w3bee)\
**Post date:** [March 12, 2024, 8:02am UTC](https://forum.mautic.org/t/mautic-whitelabler-not-working-on-bitnami-image-from-aws/30980/8 "2024-03-12T08:02:14Z")

</div>

I’ve seen it, thank you. But unfortunately it does not solve the problem as it seems it is not from the whitelabler but from the bitnami configuration 😕
