You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a simple workflow (e.g. echo toto>/tmp/1.log) trigered by file creation and/or write an/or rename
Create a new text file in nextcloud (or modify it, or rename it)
Look at the log for messages with "message":"All qualified flow configurations are going to run" and "message":"All qualified flow configurations are going to run". Messages are there, yeah !
See that file /tmp/1.log has not been written :-(
Try to write in other directories, try to use a shell script (and trap possible TERM signal), ... same result
Expected behaviour
Action would be executed
If not, log shouldn't tell it is but should give a clue about what's wrong
Actual behaviour
Event is triggered (traced in the log), but action is not executed
Workflow Script app
Workflow Script app version: 1.7.0
Server configuration
Operating system: Debian GNU/Linux 9
Web server: Apache
Database: MySQL
PHP version: 7.3.31
Nextcloud Version: 22.2.3
Where did you install Nextcloud from: Nextcloud upgrade
Signing status:
No errors have been found.
```
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your server installation folder
```
Steps to reproduce
echo toto>/tmp/1.log
) trigered by file creation and/or write an/or rename"message":"All qualified flow configurations are going to run"
and"message":"All qualified flow configurations are going to run"
. Messages are there, yeah !/tmp/1.log
has not been written :-(Expected behaviour
Action would be executed
If not, log shouldn't tell it is but should give a clue about what's wrong
Actual behaviour
Event is triggered (traced in the log), but action is not executed
Workflow Script app
Workflow Script app version: 1.7.0
Server configuration
Operating system: Debian GNU/Linux 9
Web server: Apache
Database: MySQL
PHP version: 7.3.31
Nextcloud Version: 22.2.3
Where did you install Nextcloud from: Nextcloud upgrade
Signing status:
Nextcloud configuration:
{
"system": {
"htaccess.RewriteBase": "/",
"mail_smtpmode": "sendmail",
"mail_sendmailmode": "pipe",
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"cloud.chrisagathon.fr"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "22.2.3.0",
"overwrite.cli.url": "https://cloud.chrisagathon.fr",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"app_install_overwrite": [
"files_frommail",
"files_mindmap"
],
"maintenance": false,
"updater.secret": "REMOVED SENSITIVE VALUE",
"loglevel": 1,
"theme": "",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"updater.release.channel": "stable",
"default_phone_region": "FR"
}
}
{"reqId":"qH0sRPJEwBjgZT44bvFs","level":1,"time":"2021-12-03T13:29:59+00:00","remoteAddr":"188.141.219.67","user":"chris","app":"workflowengine","method":"MOVE","url":"/remote.php/dav/files/chris/test2/content/toto1.md","message":"All qualified flow configurations are going to run","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.3.0","data":{"entity":{"class":"OCA\WorkflowEngine\Entity\File","name":"Fichier"},"operation":{"class":"OCA\WorkflowScript\Operation","name":"Run script"},"configuration":[{"id":"3","class":"OCA\WorkflowScript\Operation","name":"","checks":"[2]","operation":"echo toto> /tmp/toto;sleep 30","entity":"OCA\WorkflowEngine\Entity\File","events":"["\\OCP\\Files::postCreate","\\OCP\\Files::postWrite","\\OCP\\Files::postRename","\\OCP\\Files::postDelete"]","scope_type":"0","scope_actor_id":""}],"message":"All qualified flow configurations are going to run"}}
{"reqId":"qH0sRPJEwBjgZT44bvFs","level":1,"time":"2021-12-03T13:29:59+00:00","remoteAddr":"188.141.219.67","user":"chris","app":"workflowengine","method":"MOVE","url":"/remote.php/dav/files/chris/test2/content/toto1.md","message":"Flow handling for event done","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.3.0","data":{"operation":{"class":"OCA\WorkflowScript\Operation","name":"Run script"},"entity":{"class":"OCA\WorkflowEngine\Entity\File","name":"Fichier"},"eventName":"\OCP\Files::postRename","message":"Flow handling for event done"}}
The text was updated successfully, but these errors were encountered: