# Problem enabling actions on server

**URL:** <https://kopia.discourse.group/t/problem-enabling-actions-on-server/1975>\
**Category:** General Topics\
**Created:** [April 20, 2023, 7:47am UTC](https://kopia.discourse.group/t/problem-enabling-actions-on-server/1975 "2023-04-20T07:47:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![enboig](https://avatars.discourse-cdn.com/v4/letter/e/3be4f8/32.png) [@enboig](https://kopia.discourse.group/u/enboig)\
**Post date:** [April 20, 2023, 7:47am UTC](https://kopia.discourse.group/t/problem-enabling-actions-on-server/1975/1 "2023-04-20T07:47:52Z")

</div>

I have a kopia server backing up some of its files. I want to enable actions but after reading [[Actions | Kopia](https://kopia.io/docs/advanced/actions/#enabling-actions)] (and [https://kopia.discourse.group/t/cannot-use-actions-with-kopia-server/1911/5](https://kopia.discourse.group/t/cannot-use-actions-with-kopia-server/1911/5)), I haven’t been able to make it work.

I launch kopia server as root with systemd:

```auto
execStart=/usr/bin/kopia server start --enable-actions --tls-cert-file /opt/kopia/my.cert --tls-key-file /opt/kopia/my.key --address 0.0.0.0:51515 --cache-directory=/var/cache/kopia --server-username=kopia@servidor7 --log-file=/var/log/kopia.log --log-dir="/var/log/kopia"

```

Then I enter the web ui with admin user and launch the backup from there, but I get

```auto
Not executing before-folder action on /backup because it's been disabled for this client.

```

I have multiple repository.config, but none of them have a `enableActions` option:

```auto
/opt/kopia/.config/kopia/repository.config
/root/.config/kopia/repository.config

```

Which of them should I edit? and `enableActions` should be a _root level_ parameter?

---

<div class="post-metadata">

**Author:** ![dannytech](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@dannytech](https://kopia.discourse.group/u/dannytech)\
**Post date:** [April 21, 2023, 5:05am UTC](https://kopia.discourse.group/t/problem-enabling-actions-on-server/1975/2 "2023-04-21T05:05:07Z")

</div>

Based on the command line you’ve shown, it looks like you probably want to edit the repository config in `/opt/kopia`, assuming that is where your current backup policy is. And yes, `enableActions` is a top-level configuration option.

---

<div class="post-metadata">

**Author:** ![enboig](https://avatars.discourse-cdn.com/v4/letter/e/3be4f8/32.png) [@enboig](https://kopia.discourse.group/u/enboig)\
**Post date:** [April 21, 2023, 6:32am UTC](https://kopia.discourse.group/t/problem-enabling-actions-on-server/1975/3 "2023-04-21T06:32:57Z")

</div>

Thanks, it’s working now.
