Skip to content

Execute scripts from docker container #417

@Mailblocker

Description

@Mailblocker

Hi everyone,
I am running NextCloud within docker (based on “with-nginx-proxy/mariadb/fpm”) which works very well. But I can not get Flow working with external scripts.

I want to run a script when a defined file is opened. I have installed the “external script” app and configured a flow with:
“File accessed” and file name is “nextcloud_flow_test.txt” run script at “/var/www/html/config/test.sh”.

But the script is not executed when accessing the file from my NextCloud Webinterface.

The script itself is accessable from the docker container. I started it via an interactive shell from the container (docker exec -it nextcloud bash). Currently the script just inserts the current date to a text file (date >> test.txt) which works fine when executed manually.

Is there anything I am missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions