# Python not allowed in self hosted enterprise edition

**URL:** <https://forum.seatable.com/t/python-not-allowed-in-self-hosted-enterprise-edition/6938>\
**Category:** Troubleshooting\
**Created:** [September 1, 2025, 6:04am UTC](https://forum.seatable.com/t/python-not-allowed-in-self-hosted-enterprise-edition/6938 "2025-09-01T06:04:08Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![vqui](https://forum.seatable.com/letter_avatar_proxy/v4/letter/v/3e96dc/32.png) [@vqui](https://forum.seatable.com/u/vqui)\
**Post date:** [September 1, 2025, 6:04am UTC](https://forum.seatable.com/t/python-not-allowed-in-self-hosted-enterprise-edition/6938/1 "2025-09-01T06:04:08Z")

</div>

## Your Setup:

- SeaTable Enterprise, self hosted
- Version 5.3.12

## Describe the Problem/Error/Question:

When running a python script a message pops up that says they are not allowed in my subscription. I am running the admin user of this instance.

## Error Messages:

 ![seatable_error](https://forum.seatable.com/uploads/default/original/2X/6/6c55965930aa614e3b63555695cec1f964e5622c.png)

---

<div class="post-metadata">

**Author:** ![rdb](https://forum.seatable.com/user_avatar/forum.seatable.com/rdb/32/1869_2.png) [@rdb](https://forum.seatable.com/u/rdb)\
**Post date:** [September 1, 2025, 6:39am UTC](https://forum.seatable.com/t/python-not-allowed-in-self-hosted-enterprise-edition/6938/2 "2025-09-01T06:39:28Z")

</div>

Does the user’s role include the permission `can_run_python_script` ([Roles and Permissions - SeaTable Admin Manual](https://admin.seatable.com/configuration/roles-and-permissions/#user-permissions)).

Is the Python Pipeline deployed and configured? [Python Pipeline - SeaTable Admin Manual](https://admin.seatable.com/installation/components/python-pipeline/)

---

<div class="post-metadata">

**Author:** ![vqui](https://forum.seatable.com/letter_avatar_proxy/v4/letter/v/3e96dc/32.png) [@vqui](https://forum.seatable.com/u/vqui)\
**Post date:** [September 1, 2025, 6:57am UTC](https://forum.seatable.com/t/python-not-allowed-in-self-hosted-enterprise-edition/6938/3 "2025-09-01T06:57:01Z")

</div>

There are no roles configured, hence I am using the default which allows it.

The pipeline was running for years and stopped all of a sudden. The containers are running for three weeks already. It definitely was running with `5.3.10`.

Any logs I can provide you with?

---

<div class="post-metadata">

**Author:** ![cdb](https://forum.seatable.com/user_avatar/forum.seatable.com/cdb/32/7_2.png) [@cdb](https://forum.seatable.com/u/cdb)\
**Post date:** [September 1, 2025, 12:35pm UTC](https://forum.seatable.com/t/python-not-allowed-in-self-hosted-enterprise-edition/6938/4 "2025-09-01T12:35:28Z")

</div>

Please switch the user account and try if this changes the behaviour.

---

<div class="post-metadata">

**Author:** ![vqui](https://forum.seatable.com/letter_avatar_proxy/v4/letter/v/3e96dc/32.png) [@vqui](https://forum.seatable.com/u/vqui)\
**Post date:** [September 1, 2025, 12:51pm UTC](https://forum.seatable.com/t/python-not-allowed-in-self-hosted-enterprise-edition/6938/5 "2025-09-01T12:51:00Z")

</div>

I just created a new user and shared the base. Same message.

---

<div class="post-metadata">

**Author:** ![cdb](https://forum.seatable.com/user_avatar/forum.seatable.com/cdb/32/7_2.png) [@cdb](https://forum.seatable.com/u/cdb)\
**Post date:** [September 1, 2025, 7:40pm UTC](https://forum.seatable.com/t/python-not-allowed-in-self-hosted-enterprise-edition/6938/6 "2025-09-01T19:40:57Z")

</div>

I am not aware of any change in the code base regarding this permission. Are you sure, that you didn’t change anything?

Please try to go back to 5.3.10 or to confirm, that this is not a role issue, please set the permission `can_run_python_script` to the default user and login with a default user.

---

<div class="post-metadata">

**Author:** ![vqui](https://forum.seatable.com/letter_avatar_proxy/v4/letter/v/3e96dc/32.png) [@vqui](https://forum.seatable.com/u/vqui)\
**Post date:** [September 1, 2025, 7:57pm UTC](https://forum.seatable.com/t/python-not-allowed-in-self-hosted-enterprise-edition/6938/7 "2025-09-01T19:57:45Z")

</div>

Downgraded to 5.3.10, scripts are working. Upgraded back to 5.3.12, scripts are not working.

I literally changed nothing but the image tag.

Edit: I didn’t change anything on the permissions yet. Is this still necessary to confirm?

---

<div class="post-metadata">

**Author:** ![cdb](https://forum.seatable.com/user_avatar/forum.seatable.com/cdb/32/7_2.png) [@cdb](https://forum.seatable.com/u/cdb)\
**Post date:** [September 1, 2025, 8:55pm UTC](https://forum.seatable.com/t/python-not-allowed-in-self-hosted-enterprise-edition/6938/8 "2025-09-01T20:55:08Z")

</div>

Did you update the yml files as described in the manual?

 ![image](https://forum.seatable.com/uploads/default/original/2X/8/80685853cf81ca7296f19d72cc1829b68ce0ceb5.png)

To be concrete: does your `seatable-server.yml` contains this variable?

```auto
environment:
  - ENABLE_PYTHON_SCRIPT=${ENABLE_PYTHON_SCRIPT:-true}

```

---

<div class="post-metadata">

**Author:** ![vqui](https://forum.seatable.com/letter_avatar_proxy/v4/letter/v/3e96dc/32.png) [@vqui](https://forum.seatable.com/u/vqui)\
**Post date:** [September 2, 2025, 4:33am UTC](https://forum.seatable.com/t/python-not-allowed-in-self-hosted-enterprise-edition/6938/9 "2025-09-02T04:33:38Z")

</div>

The variable wasn’t set. Thanks, it’s working now.

To be quite frankly, why would you introduce a new variable with a bug fix update? 🙂  
The env var wasn’t set in 5.3.10 neither and it was working.

Also the changelog for 5.3.12 is missing. According to your [changelog page](https://seatable.com/de/changelog/#release-5) it doesn’t even exist. 😃

Thank you very much for your help.

---

<div class="post-metadata">

**Author:** ![system](https://forum.seatable.com/uploads/default/original/1X/04603423fe81a46c321283663086c475429e8ccb.png) [@system](https://forum.seatable.com/u/system)\
**Post date:** [September 4, 2025, 4:33am UTC](https://forum.seatable.com/t/python-not-allowed-in-self-hosted-enterprise-edition/6938/10 "2025-09-04T04:33:50Z")

</div>

Closed on September 4, 2025, 4:33am UTC

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