Python not allowed in self hosted enterprise edition

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:

Does the user’s role include the permission can_run_python_script (Roles and Permissions - SeaTable Admin Manual).

Is the Python Pipeline deployed and configured? Python Pipeline - SeaTable Admin Manual

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?

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

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

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.

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?

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

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

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

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? :slight_smile:
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 it doesn’t even exist. :smiley:

Thank you very much for your help.

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