nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.22k stars 4.05k forks source link

NC 14.0.1 Automated tags not applied #11736

Closed Processeur closed 6 years ago

Processeur commented 6 years ago

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.
nextcloud-bot commented 6 years ago

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

Processeur commented 6 years ago

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 commented 6 years ago

not implemented by groupfolders app/files_automatedtagging since ever. see: https://github.com/nextcloud/groupfolders/issues/216 https://github.com/nextcloud/files_automatedtagging/issues/46

Processeur commented 6 years ago

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

neeral85 commented 6 years ago

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

Processeur commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 :

That's all.