# Unsubscribe Link in the e-Mail doesn't work

**URL:** <https://forum.mautic.org/t/unsubscribe-link-in-the-e-mail-doesnt-work/29511>\
**Category:** Product Support\
**Created:** [October 2, 2023, 5:49pm UTC](https://forum.mautic.org/t/unsubscribe-link-in-the-e-mail-doesnt-work/29511 "2023-10-02T17:49:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)\
**Post date:** [October 2, 2023, 5:49pm UTC](https://forum.mautic.org/t/unsubscribe-link-in-the-e-mail-doesnt-work/29511/1 "2023-10-02T17:49:06Z")

</div>

**Your software** Ubuntu 22.04  
My Mautic version is: 4.4.10  
My PHP version is: 8.0.30  
My Database type and version is: 10.6

I sent with the Brienz template a testmail. If i click on the unsubscribe link  
[https://ma.stefan-franz.de/email/unsubscribe/651afc15cc1ce633771996](https://ma.stefan-franz.de/email/unsubscribe/651afc15cc1ce633771996)  
in the received mail this error comes (site is not available)

# Oops! An Error Occurred

## The server returned a “500 Internal Server Error”.

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

What do i have to do? How is the principle of the unsubscribe function. What would Mautic normal do after clicking?

---

<div class="post-metadata">

**Author:** ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)\
**Post date:** [October 3, 2023, 12:11am UTC](https://forum.mautic.org/t/unsubscribe-link-in-the-e-mail-doesnt-work/29511/2 "2023-10-03T00:11:02Z")

</div>

i found the reason and the solution

Due to an upgrade of my server (i think that was the reason) the permission rights were not set to this:

```auto
chown -R www-data:www-data /var/www/html/mautic
chmod -R 755 /var/www/html/mautic

```

After that i deleted the cache and now it works.

```auto
php /var/www/html/mautic/bin/console cache:clear

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [October 4, 2023, 12:11pm UTC](https://forum.mautic.org/t/unsubscribe-link-in-the-e-mail-doesnt-work/29511/3 "2023-10-04T12:11:38Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
