files_automatedtagging
files_automatedtagging copied to clipboard
Only 'When: File is changed' is available
Steps to reproduce
I'm using Nextcloud V20.0.1 with 'Automated tagging' V1.10.0 When I create a new flow there is no drop-down shown at the 'When' field. The only option is 'File is changed'.
Expected behaviour
Other apps have options like: When:
- File is created
- File is updated
- File is renamed etc.
Actual behaviour
No dropdown is shown; only 'File is changed' is shown and cannot be adjusted.
Server configuration
Operating system: Linux Debian 10
Web server: Apache 2.4.38
Database: MariaDB 10.3.25
PHP version: PHP 7.3.19
Nextcloud version: (see Nextcloud admin page) V20.0.1
Where did you install Nextcloud from: https://nextcloud.com/install/#
Signing status: No errors have been found.
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
List of activated apps:
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Enabled:
- accessibility: 1.6.0
- activity: 2.13.2
- admin_audit: 1.10.0
- bruteforcesettings: 2.0.1
- calendar: 2.1.2
- cloud_federation_api: 1.3.0
- comments: 1.10.0
- contactsinteraction: 1.1.0
- dashboard: 7.0.0
- dav: 1.16.0
- federatedfilesharing: 1.10.1
- federation: 1.10.1
- files: 1.15.0
- files_automatedtagging: 1.10.0
- files_external: 1.11.1
- files_pdfviewer: 2.0.1
- files_rightclick: 0.17.0
- files_sharing: 1.12.0
- files_trashbin: 1.10.1
- files_versions: 1.13.0
- files_videoplayer: 1.9.0
- firstrunwizard: 2.9.0
- flow_notifications: 1.0.2
- groupfolders: 8.1.1
- logreader: 2.5.0
- lookup_server_connector: 1.8.0
- nextcloud_announcements: 1.9.0
- notifications: 2.8.0
- oauth2: 1.8.0
- password_policy: 1.10.1
- photos: 1.2.0
- privacy: 1.4.0
- provisioning_api: 1.10.0
- recommendations: 0.8.0
- serverinfo: 1.10.0
- settings: 1.2.0
- sharebymail: 1.10.0
- spreed: 10.0.1
- support: 1.3.0
- survey_client: 1.8.0
- systemtags: 1.10.0
- text: 3.1.0
- theming: 1.11.0
- twofactor_backupcodes: 1.9.0
- twofactor_totp: 5.0.0
- updatenotification: 1.10.0
- user_status: 1.0.0
- viewer: 1.4.0
- weather_status: 1.0.0
- workflow_script: 1.5.0
- workflowengine: 2.2.0 Disabled:
- contacts
- encryption
- user_ldap
Nextcloud configuration: { "system": { "instanceid": "REMOVED SENSITIVE VALUE", "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusted_domains": [ "webshare.taivas.nl" ], "datadirectory": "REMOVED SENSITIVE VALUE", "dbtype": "mysql", "version": "20.0.1.1", "overwrite.cli.url": "https://webshare.taivas.nl", "dbname": "REMOVED SENSITIVE VALUE", "dbhost": "REMOVED SENSITIVE VALUE", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "installed": true, "memcache.local": "\OC\Memcache\Memcached", "memcache.distributed": "\OC\Memcache\Memcached", "memcached_servers": [ [ "localhost", 11211 ] ], "mail_smtpmode": "smtp", "mail_smtpsecure": "tls", "mail_sendmailmode": "smtp", "mail_from_address": "REMOVED SENSITIVE VALUE", "mail_domain": "REMOVED SENSITIVE VALUE", "mail_smtpauthtype": "PLAIN", "mail_smtpauth": 1, "mail_smtphost": "REMOVED SENSITIVE VALUE", "mail_smtpport": "587", "mail_smtpname": "REMOVED SENSITIVE VALUE", "mail_smtppassword": "REMOVED SENSITIVE VALUE", "twofactor_enforced": "false", "twofactor_enforced_groups": [], "twofactor_enforced_excluded_groups": [], "maintenance": false, "simpleSignUpLink.shown": false, "trusted_proxies": "REMOVED SENSITIVE VALUE", "forwarded_for_headers": [ "HTTP_X_REAL_IP" ], "trashbin_retention_obligation": "auto, 30" } }
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Are you using external storage, if yes which one: local/smb/sftp/... local
Are you using encryption: yes/no no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Browser:
Operating system:
Logs
Nextcloud log (data/owncloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Since tags itself are part of different checkers, for this app it is important to assign the tags early. Therefore, differently than other apps, here it is not waited until the file operation is completed, but earlier when the database entry was written or updated, so that the tags are already in place when other operations kick in. At this point of time we do not have information about the file event type though.
I can reproduce this problem with NC 21.0.1 and tagging app 1.11.0.
The following is logged when I tried to create a new workflow with the tagging app:
[jsresourceloader] Error: Could not find resource core/js/systemtags/systemtagscollection.js to load
GET /index.php/settings/admin/workflow from yy by xx at 2021-04-14T18:56:07+00:00 [jsresourceloader] Error: Could not find resource core/js/systemtags/systemtagmodel.js to load
GET /index.php/settings/admin/workflow from yy by xx at 2021-04-14T18:56:07+00:00 [jsresourceloader] Error: Could not find resource core/js/systemtags/systemtags.js to load
GET /index.php/settings/admin/workflow from yy by xx at 2021-04-14T18:56:07+00:00
[jsresourceloader] Error: Could not find resource core/js/oc-backbone-webdav.js to load
GET /index.php/settings/admin/workflow from yy by xx at 2021-04-14T18:56:07+00:00
Are we the only ones having this problem?
@blizzz are you saying it's "feature not a bug"?
It's certainly not a bug
So just needs something in the docs to make it clear that it's the only "when" option available for this workflow - which I guess means a bug/RFE should be opened in the documentation repo?
Same issue here on 23.0.3.
I have this problem too. Since only "file is changed" event is available, I cannot use the tag for retention policies. When you upload a new file, that file is tagged, and all the parent folders are tagged too! In this scenario all the folders will be deleted, not only the file