Comments (5)
I copied this script (inside NC Docker) into 2 addtional dirs
/bin
/var/www/html (where NC lives)
No changes, doesn't work, flow.log is empty.
from workflow_script.
I changed rule, File rename -> name matches -> /ok/i
Script still not invoked after file have been renamed (e.g. report.ods to report ok.ods). NextCloud sees script, since if it doesn't exists, it throws error when trying to save settings.
And NO log entries in nextcloud.log and flow.log which could indicate any info about this script. NextCloud/apache in docker, updated just today. Custom flow app also last version.
from workflow_script.
Are background jobs running there?
from workflow_script.
Yes, background jobs are running. BTW, I'm was able to (partially) solve this problem. Script IS activated only if it's located inside NC data directory. Any location outside NC data dir, e.g. /opt, /usr/bin, whatever, and no success, and no error message anywhere.
Additionally, NC 21 Docker/Apache (from Docker hub) comes with a security mechanism that prevents custom flow script to run anything from /usr/bin, for example, making it utterly useless. I added www-data to "users" group, no changes. Using sudo would be too awkward and complex because of too many options required in /etc/sudoers.
How to fix this? Thanks in advance.
from workflow_script.
Additionally, NC 21 Docker/Apache (from Docker hub) comes with a security mechanism that prevents custom flow script to run anything from /usr/bin, for example, making it utterly useless. I added www-data to "users" group, no changes. Using sudo would be too awkward and complex because of too many options required in /etc/sudoers.
How to fix this? Thanks in advance.
As this seems to be a setup issue I would like to ask you to raise your question in the forums: https://help.nextcloud.com
from workflow_script.
Related Issues (20)
- %n parameter is broken on GROUP FOLDERS HOT 3
- Add Support for nextcloud 24 HOT 8
- Does the App follow semantic versioning? HOT 3
- add support für Nextcloud 25 HOT 2
- Fix lang resource not appearing on Transifex please HOT 2
- NC 24.x to 25.0.2,25.0.3,25.0.4 HOT 3
- Replace lint.yml with split workflows
- ffmpeg throwing "Invalid data found when processing input" HOT 3
- Update to 1.11.0: Failed opening required '/PATH/apps/workflow_script/composer/../vendor/autoload.php' in occ
- Adding a watermark to PDF files in Nextcloud HOT 1
- placeholder %i is not replaced because of wrong replacement of %s HOT 1
- Only 5 Tags available for Tag trigger HOT 1
- View::getLocalFolder() was removed HOT 1
- error when updating from 20.0.2 to 20.0.14 HOT 1
- Script is not executed with automatically assigned keyword HOT 1
- Add scripts management UI
- `shell_exec(): Unable to execute` HOT 2
- Just some question about the app… HOT 1
- [Feature request] Add display name as placeholder HOT 2
- Failed to update nextcloud/ocp package on branch stable28
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workflow_script.