Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NC 14.0.1 Automated tags not applied #11736

Closed
Processeur opened this issue Oct 10, 2018 · 8 comments
Closed

NC 14.0.1 Automated tags not applied #11736

Processeur opened this issue Oct 10, 2018 · 8 comments

Comments

@Processeur
Copy link

Steps to reproduce

0.Install APPs, Retention and Collaborative Tagging and Automated Tagging

  1. In Settings > workflow Create 2 tags for instance Classroom and 1-Day-Delete
    2.Create a Group rule for Classroom tags and apply file system tag 1-Day-Delete
    3.Go back in your home directory and create a folder "temp".
  2. Click ... then details for this folder and on the right pannel choose tags
  3. Apply classroom
    6.go inside the "temp" folder and upload a file

Expected behaviour

The file uploaded should be tagged with 1-day-delete but it's not.

Actual behaviour

nothing

Server configuration

Operating system: Ubuntu 16.04

Web server: Apache 2.4.18

Database: Mysql 5.7.23

PHP version: 7.0.32

Nextcloud version: 14.0.1 Stable

Updated from an older Nextcloud/ownCloud or fresh install:
Fresh Install

Where did you install Nextcloud from:
Official package downloaded on Nextcloud webpage

Signing status:

"No errors have been found."

List of activated apps:

Accessibility 1.0.1 Official Activity 2.7.0 Official Collaborative tags 1.4.0 Official Comments 1.4.0 Official Deleted files 1.4.1 Official Federation 1.4.0 Official File sharing 1.6.2 Official Files automated tagging 1.4.0 Official First run wizard 2.3.0 Official Gallery 18.1.0 Official Log Reader 2.0.0 Official Monitoring 1.4.0 Official Nextcloud announcements 1.3.0 Official Notifications 2.2.1 Official Password policy 1.4.0 Official PDF viewer 1.3.2 Official Retention 1.3.0 Official Share by mail 1.4.0 Official Support 1.0.0 Official Talk 4.0.0 Official Text editor 2.6.0 Official Theming 1.5.0 Official Update notification 1.4.1 Official Usage survey 1.2.0 Official Video player 1.3.0 Official Auditing / Logging 1.4.0 Official Default encryption module 2.2.0 Official External storage support 1.5.0 Official External user support 0.4 Official LDAP user and group backend 1.4.0 Official Versions

Nextcloud configuration:

Config report { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "10.233.0.194", "website.bla.com" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "14.0.1.1", "overwrite.cli.url": "http:\/\/10.233.0.194\/share", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_smtpauthtype": "LOGIN", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "25", "mail_domain": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\APCu", "updater.release.channel": "stable", "simpleSignUpLink.shown": false } }

Are you using external storage, if yes which one: local/smb/sftp/...
no

Are you using encryption: yes/no
no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no

Client configuration

Any

Operating system:

Logs

Web server error log

Apache error: [Wed Oct 10 13:21:19.094106 2018] [authz_core:error] [pid 26912] [client 10.233.0.191:59774] AH01630: client denied by server configuration: /var/www/html/share/data/.ocdata

Nextcloud log (data/nextcloud.log)

Nothing related to my issue

Browser log

Don't know how to.
@Processeur Processeur changed the title Automated tags not applied NC 14.0.1 Automated tags not applied Oct 10, 2018
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #8980 (NC 13.0.1 Theming not working), #6617 (Nc v12.0.1 - Not possible to change the language of an user), #11443 (install fo nc 14.0.1 fails on updating apps), #3229 (NC 11.0.1 + Gallery 16.0.0: Upload button has no effect), and #11637 (No upload to shared folder possible after update to 14.0.1).

@Processeur
Copy link
Author

Processeur commented Oct 11, 2018

FYI Issue still there in 14.0.2

I don't know if it has any relation but tags refuse to show up in the details in some cases.

To reproduce :

-Create 2 files or a folders
-Then should be able to apply tags only to none or may be one unless you reload the webpage.
-Then if you access a file/folder 's details which has tags you should see any way, but if you consult the tag details of a file or a folder which already have tags, you won't be able to apply tags to an element which do no have on yet unless you reload the page.

Tested with chrome and firefox, issue remains even after a cleared cache.

I hope I'm clear enough, my English skill are quite low.

@Subnum12
Copy link

not implemented by groupfolders app/files_automatedtagging since ever. see:
nextcloud/groupfolders#216
nextcloud/files_automatedtagging#46

@Processeur
Copy link
Author

Found a huge bug between my chair and my keyboard. I close the ticket

@neeral85
Copy link

does it mean you found a way to get it working with 14.0?

@Processeur
Copy link
Author

does it mean you found a way to get it working with 14.0?

I was the bug !! There was no issue at all, I was doing my tagging in the wrong way! And I was not able to see that I did it another way on my NC13.

That's all

@neeral85
Copy link

Ok, but that means automated tagging in groupfolders are working in your NC14 setup. Im wonder how you get it working at all? Or have you found anohther way to tag your files?

@Processeur
Copy link
Author

May be we are not talking about the same thing.
My purpose was to automatically tags files or folders put in specific folders.
For this I create 2 tags (for instance):
-Tagging_folders
-tagged_stuff

Then in Files automated tagging :

  • I create a new group
  • Give it a name
  • Set the tag you want to apply (here tagged_struff)
  • Then I create a rule with file_system_tag - is tagged with - tagging_folder

That's all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants