Python script not executed


Since the migration to 3.4.8 I cannot execute python scripts anymore on my self-hosted seatable-enterprise. The log file says the url cannot be opened when I manually try to execute the script from the gui.

==> dtable-web.access.log <==
[2023-03-10T09:34:26+01:00] ??? "POST /run-script/ HTTP/1.1" 404 2227 "-" "python-requests/2.28.2" 0.016
[2023-03-10T09:34:26+01:00] ??? "POST /api/v2.1/dtable/6b822169-3779-4809-a048-9316b4661d27/run-script/ HTTP/1.1" 404 2267 "https://???/workspace/5/dtable/Zeiten/?tid=???" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0" 0.052

The dtable_web log file gives a similar error:

==> dtable_web.log <==
2023-03-10 08:39:31,512 [WARNING] django.request:224 log_response Not Found: /run-script/
2023-03-10 08:39:31,515 [WARNING] django.request:224 log_response Not Found: /api/v2.1/dtable/6b822169-3779-4809-a048-9316b4661d27/run-script/

I’ve migrated the database with the latest sql-script as recommended. I also updated the seatable-python-runner to version 2.0.5, which shouldn’t have any effect, of course.

Is this a bug?


I just realized is the name of the script I am trying to execute. But why is it not found?

I’ve found the problem.

Since I have to route everything through my nginx proxy and changed the port for another application to 8080 the python runner could not start because the port was already in use. I changed the port for the python runner to 8087 now and it works again. :slight_smile:


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