GithubHelp home page GithubHelp logo

nextcloud / groupfolders Goto Github PK

View Code? Open in Web Editor NEW
277.0 16.0 85.0 20.73 MB

📁👩‍👩‍👧‍👦 Admin-configured folders shared by everyone in a group. https://github.com/nextcloud-releases/groupfolders

Home Page: https://apps.nextcloud.com/apps/groupfolders

PHP 51.32% Makefile 0.39% JavaScript 29.60% TypeScript 15.04% Vue 2.84% SCSS 0.81%

groupfolders's Introduction

Group Folders

REUSE status

📁👩‍👩‍👧‍👦 Admin configured folders accessible by everyone in a group in Nextcloud.

References

Configuring Group Folders

Group Folders can be configured through Group Folders under Administration settings.

After a folder is created, the admin can give access to the folder to one or more groups, a quota can be assigned for the folder and advanced permissions can be activated and configured.

edit

Permissions to the content of a group folder can be configured on a per-group basis.

permissions

The configuration options include the Write, Share and Delete permissions for each group.

Using Group Folders

Once configured, the folders will show up in the home folder for each user in the configured groups.

folders

Setting Advanced Permissions

Advanced Permissions allows entitled users to configure permissions inside groupfolders on a per file and folder basis.

Permissions are configured by setting one or more of "Read", "Write", "Create", "Delete" or "Share" permissions to "allow" or "deny". Any permission not explicitly set will inherit the permissions from the parent folder. If multiple configured advanced permissions for a single file or folder apply for a single user (such as when a user belongs to multiple groups), the "allow" permission will overwrite any "deny" permission. Denied permissions configured for the group folder itself cannot be overwritten to "allow" permissions by the advanced permission rules.

advanced permissions

Users or whole groups can be entitled to set advanced permissions for each group folder separately on the group folders admin page. For entitlements, only users from those groups are selectable which have to be configured selected in the Groups column.

advanced permission entitlement

Configuration parameters

Some settings are currently only exposed via config/config.php:

Default quota for new groupfolders

'groupfolders.quota.default' => -3,

The special value -3 means unlimited and any other value is the quota limit in bytes.

Command-line interface management and configuration (via occ)

Group folders can be configured and managed from the command-line interface (CLI). This is accomplished by using the occ command.

The occ command is utilized throughout Nextcloud for many operations and is not specific to Group Folders. When the Group Folders app is enabled, the occ command gains additional functionality specific to Group Folders.

If you're unfamiliar with occ see Using the occ command in the Nextcloud Server Administration Guide for general guidance.

Commands Available

  • occ groupfolders:create <name> → create a group folder
  • occ groupfolders:delete <folder_id> [-f|--force] → delete a group folder and all its contents
  • occ groupfolders:expire → trigger file version and trashbin expiration (see Nextcloud docs for versioning and Nextcloud docs for the trash bin for details)
  • occ groupfolders:group <folder_id> <group_id> [-d|--delete] [write|share|delete] → assign groups and their rights to a group folder
  • occ groupfolders:list → list configured group folders
  • occ groupfolders:permissions → configure advanced permissions (see below for details)
  • occ groupfolders:quota <folder_id> [<quota>|unlimited] → set a quota for a group folder
  • occ groupfolders:rename <folder_id> <name> → rename a group folder
  • occ groupfolders:scan <folder_id> → trigger a filescan for a group folder
  • occ groupfolders:trashbin:cleanup → empty the trashbin of all group folders
  • occ config:app:set groupfolders enable_encryption --value="true" → activate encryption (server-side) support

Configuring Advanced Permissions via occ

Advanced permissions can also be configured through the occ groupfolders:permissions command, but must be enabled first.

Enabling

Before configuring any advanced permissions you'll first have to enable advanced permissions for the folder using occ groupfolders:permissions <folder_id> --enable. To do this you'll first need to find the folder_id of the groupfolder you're trying to configure. You can use occ groupfolders:list to find the folder_id of the target folder.

Using

Then you can list all configured permissions trough occ groupfolders:permissions <folder_id>.

occ groupfolders:permissions 1
+------------+--------------+-------------+
| Path       | User/Group   | Permissions |
+------------+--------------+-------------+
| folder     | group: admin | +write      |
| folder/sub | user: admin  | +share      |
|            | user: test   | -share      |
+------------+--------------+-------------+

Permissions for files and folders can be set trough occ groupfolders:permissions <folder_id> --group <group_id> <path> -- <permissions> to set permissions for a group or occ groupfolders:permissions <folder_id> --user <user_id> <path> -- <permissions> to set permissions for a single user.

<permissions> can be one or more of the following options: -read, +read, -write, +write, -create, +create, -delete, +delete, -share or +share to set the set the respective permission to "deny" or "allow". You can delete a rule by passing clear as the <permissions> field. Note: An advanced permission settings set always needs to be complete (for example +read -create +delete) and not just incremental (for example -create). Not mentioned options (in the above example that's write and share) are interpreted as inherited.

To help with configuring nested permission rules, you can check the effective permissions a user has for a path using occ groupfolders:permissions <folder_id> --user <user_id> <path> --test.

To manage the users or groups entitled to set advanced permissions, use occ groupfolders:permissions <folder_id> [[-m|--manage-add] | [-r|--manage-remove]] [[-u|--user <user_id>] | [-g|--group <group_id>]].

Disabling

To disable the advanced permissions feature for a group folder, use occ groupfolders:permissions <folder_id> --disable.

APIs

REST API

Group folders can be configured externally through REST APIs.

The following REST API's are supported:

  • GET apps/groupfolders/folders: Returns a list of all configured folders and their settings
  • POST apps/groupfolders/folders: Create a new group folder
    • mountpoint: The name for the new folder
  • GET apps/groupfolders/folders/$folderId: Return a specific configured folder and its settings
  • DELETE apps/groupfolders/folders/$folderId: Delete a group folder
  • POST apps/groupfolders/folders/$folderId/groups: Give a group access to a folder
    • group: The id of the group to be given access to the folder
  • DELETE apps/groupfolders/folders/$folderId/groups/$groupId: Remove access from a group to a folder
  • POST apps/groupfolders/folders/$folderId/acl: Enable/Disable folder advanced permissions
    • acl 1 for enable, 0 for disable.
  • POST apps/groupfolders/folders/$folderId/manageACL: Grants/Removes a group or user the ability to manage a groupfolders' advanced permissions
    • $mappingId: the id of the group/user to be granted/removed access to/from the folder
    • $mappingType: 'group' or 'user'
    • $manageAcl: true to grants ability to manage a groupfolders' advanced permissions, false to remove
  • POST apps/groupfolders/folders/$folderId/groups/$groupId: Set the permissions a group has in a folder
  • POST apps/groupfolders/folders/$folderId/quota: Set the quota for a folder
    • quota: The new quota for the folder in bytes, user -3 for unlimited
  • POST apps/groupfolders/folders/$folderId/mountpoint: Change the name of a folder
    • mountpoint: The new name for the folder

For all POST calls the required parameters are listed.

Non-admins can access the GET requests to retrieve info about group folders they have access to. Admins can add applicable=1 as a parameter to the group folder list request to get the same filtered results of only folders they have direct access to.

WebDAV API

Group folders are also exposed through a separate WebDAV API at /remote.php/dav/groupfolders/<user id>.

In addition to browsing the contents of the group folders, you can also request the mount point for the group folder by requesting the {http://nextcloud.org/ns}mount-point property.

Footnotes

  1. The releases are now managed in a dedicated release repository. The releases in this repository may be outdated.

groupfolders's People

Contributors

andyscherzinger avatar artificialowl avatar artonge avatar carlschwan avatar christophwurst avatar come-nc avatar danxuliu avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar fschrempf avatar github-actions[bot] avatar icewind1991 avatar joshtrichards avatar juliushaertl avatar lukasreschke avatar morrisjobke avatar nextcloud-bot avatar nextcloud-command avatar nickvergessen avatar provokateurin avatar pvince81 avatar pytal avatar rullzer avatar skjnldsv avatar solracsf avatar stcyr avatar susnux avatar wiswedel avatar zak39 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

groupfolders's Issues

Versioning support

Versioning, Trash and Activity Support in GroupFolders would be great.

Desktop Client synchronization is not working

Hi,

when I put a new file in a locally synched folder I get synchronization errors:

server replied: Internal Server Error (path needs to be relative to the system wide data folder and point to a user specific file)

Regards,
JP

Subgroupfolder upload error

Hi all,

I Have a issue, with following scenario:

Admin create GroupFolder A for Group A - with Write/Share permissons
User A member Group A
User B not member of Group A

User A create a Sub folder SubFolderB in GroupFolder A and Share with full permissions to User B.

User B uploads files to SubFolder B with error: Internal Server Error.

Files doesn't showing in Web Interface, but showing on file system level.

Logs files have following:

"Error","Message":"Call to a member function getPath() on null","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/lib\/private\/Share20\/ShareHelper.php(51):

Not seeing the permissions pane

Just installed Group folders app on my Nextlcoud 12.0.0.29 instance. I do not see the permissions pane ( as shown in the Readme file). When I click on the edit button to edit a group, I don't see the Write and Share check boxes. What am I missing? I installed it via the Nextcloud Apps dialog.

Cant delete file

Steps to reproduce

delete a file or folder

Actual behaviour

Cant delete file, log:
{"reqId":"pTcp6ui1HAexHVxarjcV","level":3,"time":"14.08.17 18:05:49","remoteAddr":"62.227.202.116","user":"Tealk","app":"no app in context","method":"DELETE","url":"/remote.php/webdav/Pen%20and%20Paper%20Chars/Tealk/Shadowrun/Dark-Code_Drohnenrigger/Dark-Code.chum","message":"Could not find mount point, can't keep encryption keys","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.91 Safari/537.36 Vivaldi/1.92.917.39","version":"12.0.1.5"}
{"reqId":"pTcp6ui1HAexHVxarjcV","level":3,"time":"14.08.17 18:05:49","remoteAddr":"62.227.202.116","user":"Tealk","app":"PHP","method":"DELETE","url":"/remote.php/webdav/Pen%20and%20Paper%20Chars/Tealk/Shadowrun/Dark-Code_Drohnenrigger/Dark-Code.chum","message":"Undefined variable: source at /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php#749","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.91 Safari/537.36 Vivaldi/1.92.917.39","version":"12.0.1.5"}
{"reqId":"pTcp6ui1HAexHVxarjcV","level":3,"time":"14.08.17 18:05:49","remoteAddr":"62.227.202.116","user":"Tealk","app":"PHP","method":"DELETE","url":"/remote.php/webdav/Pen%20and%20Paper%20Chars/Tealk/Shadowrun/Dark-Code_Drohnenrigger/Dark-Code.chum","message":"fclose() expects parameter 1 to be resource, null given at /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php#749","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.91 Safari/537.36 Vivaldi/1.92.917.39","version":"12.0.1.5"}
{"reqId":"pTcp6ui1HAexHVxarjcV","level":3,"time":"14.08.17 18:05:49","remoteAddr":"62.227.202.116","user":"Tealk","app":"PHP","method":"DELETE","url":"/remote.php/webdav/Pen%20and%20Paper%20Chars/Tealk/Shadowrun/Dark-Code_Drohnenrigger/Dark-Code.chum","message":"Undefined variable: target at /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php#750","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.91 Safari/537.36 Vivaldi/1.92.917.39","version":"12.0.1.5"}
{"reqId":"pTcp6ui1HAexHVxarjcV","level":3,"time":"14.08.17 18:05:49","remoteAddr":"62.227.202.116","user":"Tealk","app":"PHP","method":"DELETE","url":"/remote.php/webdav/Pen%20and%20Paper%20Chars/Tealk/Shadowrun/Dark-Code_Drohnenrigger/Dark-Code.chum","message":"fclose() expects parameter 1 to be resource, null given at /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php#750","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.91 Safari/537.36 Vivaldi/1.92.917.39","version":"12.0.1.5"}
{"reqId":"pTcp6ui1HAexHVxarjcV","level":4,"time":"14.08.17 18:05:49","remoteAddr":"62.227.202.116","user":"Tealk","app":"webdav","method":"DELETE","url":"/remote.php/webdav/Pen%20and%20Paper%20Chars/Tealk/Shadowrun/Dark-Code_Drohnenrigger/Dark-Code.chum","message":"Exception: {"Exception":"BadMethodCallException","Message":"path needs to be relative to the system wide data folder and point to a user specific file","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/lib\/private\/Encryption\/File.php(69): OC\\Encryption\\Util->getUidAndFilename('\/__groupfolders...')\n#1 \/var\/www\/nextcloud\/lib\/private\/Files\/Stream\/Encryption.php(257): OC\\Encryption\\File->getAccessList('\/__groupfolders...')\n#2 [internal function]: OC\\Files\\Stream\\Encryption->stream_open('ocencryption:\/\/', 'r', 0, NULL)\n#3 \/var\/www\/nextcloud\/lib\/private\/Files\/Stream\/Encryption.php(198): fopen('ocencryption:\/\/', 'r', false, Resource id #34)\n#4 \/var\/www\/nextcloud\/lib\/private\/Files\/Stream\/Encryption.php(180): OC\\Files\\Stream\\Encryption::wrapSource(Resource id #33, Resource id #34, 'ocencryption', 'OC\\\\Files\\\\Stream...', 'r')\n#5 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(461): OC\\Files\\Stream\\Encryption::wrap(Resource id #33, '__groupfolders\/...', '\/__groupfolders...', Array, 'Tealk', Object(OCA\\Encryption\\Crypto\\Encryption), Object(OC\\Files\\Storage\\Local), Object(OC\\Files\\Storage\\Wrapper\\Encryption), Object(OC\\Encryption\\Util), Object(OC\\Encryption\\File), 'r', 443080, 443150, 0, false)\n#6 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('__groupfolders\/...', 'r')\n#7 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Jail.php(289): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('__groupfolders\/...', 'r')\n#8 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Jail->fopen('Tealk\/Shadowrun...', 'r')\n#9 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/PermissionsMask.php(120): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('Tealk\/Shadowrun...', 'r')\n#10 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Quota.php(144): OC\\Files\\Storage\\Wrapper\\PermissionsMask->fopen('Tealk\/Shadowrun...', 'r')\n#11 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Quota->fopen('Tealk\/Shadowrun...', 'r')\n#12 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Availability.php(318): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('Tealk\/Shadowrun...', 'r')\n#13 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(849): OC\\Files\\Storage\\Wrapper\\Availability->fopen('Tealk\/Shadowrun...', 'r')\n#14 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(918): OC\\Files\\Storage\\Wrapper\\Encryption->readFirstBlock('Tealk\/Shadowrun...')\n#15 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(379): OC\\Files\\Storage\\Wrapper\\Encryption->getHeader('Tealk\/Shadowrun...')\n#16 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(294): OC\\Files\\Storage\\Wrapper\\Encryption->fopen('Tealk\/Shadowrun...', 'r')\n#17 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(743): OC\\Files\\Storage\\Wrapper\\Wrapper->fopen('Tealk\/Shadowrun...', 'r')\n#18 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php(614): OC\\Files\\Storage\\Wrapper\\Encryption->copyBetweenStorage(Object(OCA\\Files_Trashbin\\Storage), 'Tealk\/Shadowrun...', 'files_trashbin\/...', true, true)\n#19 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(569): OC\\Files\\Storage\\Wrapper\\Encryption->moveFromStorage(Object(OCA\\Files_Trashbin\\Storage), 'Tealk\/Shadowrun...', 'files_trashbin\/...')\n#20 \/var\/www\/nextcloud\/apps\/files_trashbin\/lib\/Trashbin.php(249): OC\\Files\\Storage\\Wrapper\\Wrapper->moveFromStorage(Object(OCA\\Files_Trashbin\\Storage), 'Tealk\/Shadowrun...', 'files_trashbin\/...')\n#21 \/var\/www\/nextcloud\/apps\/files_trashbin\/lib\/Storage.php(247): OCA\\Files_Trashbin\\Trashbin::move2trash('Pen and Paper C...', false)\n#22 \/var\/www\/nextcloud\/apps\/files_trashbin\/lib\/Storage.php(163): OCA\\Files_Trashbin\\Storage->doDelete('Tealk\/Shadowrun...', 'unlink')\n#23 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(1136): OCA\\Files_Trashbin\\Storage->unlink('Tealk\/Shadowrun...')\n#24 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(701): OC\\Files\\View->basicOperation('unlink', '\/Pen and Paper ...', Array)\n#25 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(344): OC\\Files\\View->unlink('\/Pen and Paper ...')\n#26 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Tree.php(179): OCA\\DAV\\Connector\\Sabre\\File->delete()\n#27 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(287): Sabre\\DAV\\Tree->delete('Pen and Paper C...')\n#28 [internal function]: Sabre\\DAV\\CorePlugin->httpDelete(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#29 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#30 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:DELETE', Array)\n#31 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#32 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(71): Sabre\\DAV\\Server->exec()\n#33 \/var\/www\/nextcloud\/remote.php(162): require_once('\/var\/www\/nextcl...')\n#34 {main}","File":"\/var\/www\/nextcloud\/lib\/private\/Encryption\/Util.php","Line":232}","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.91 Safari/537.36 Vivaldi/1.92.917.39","version":"12.0.1.5"}

General server configuration

Operating system: Linux Anzah-Cloud 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64

Web server: Apache/2.4.10 (Debian) (apache2handler)

Database: mysql 5.7.19

PHP version: 7.1.8-2+020170804100723.7+jessie1.gbpae7f04

PHP-modules loaded
 - Core
 - date
 - libxml
 - openssl
 - pcre
 - zlib
 - filter
 - hash
 - Reflection
 - SPL
 - session
 - standard
 - apache2handler
 - mysqlnd
 - PDO
 - xml
 - apcu
 - apc
 - calendar
 - ctype
 - curl
 - dom
 - mbstring
 - fileinfo
 - ftp
 - gd
 - geoip
 - gettext
 - iconv
 - igbinary
 - intl
 - json
 - exif
 - mcrypt
 - msgpack
 - mysqli
 - pdo_mysql
 - Phar
 - posix
 - readline
 - shmop
 - SimpleXML
 - sockets
 - sysvmsg
 - sysvsem
 - sysvshm
 - tokenizer
 - wddx
 - xmlreader
 - xmlwriter
 - xsl
 - zip
 - memcached
 - Zend OPcache

Nextcloud configuration

Nextcloud version: 12.0.1 - 12.0.1.5

Updated from an older Nextcloud/ownCloud or fresh install: YOUR ANSWER HERE

Where did you install Nextcloud from: YOUR ANSWER HERE

Are you using external storage, if yes which one: files_external is disabled

Are you using encryption: yes

Are you using an external user-backend, if yes which one: YOUR ANSWER HERE (LDAP/ActiveDirectory/Webdav/...)

Signing status
[]
Enabled apps
 - activity: 2.5.2
 - admin_audit: 1.2.0
 - admin_notifications: 1.0.0
 - apporder: 0.4.0
 - bookmarks: 0.10.1
 - bruteforcesettings: 1.0.2
 - calendar: 1.5.3
 - comments: 1.2.0
 - contacts: 1.5.3
 - dav: 1.3.0
 - encryption: 1.6.0
 - federatedfilesharing: 1.2.0
 - federation: 1.2.0
 - files: 1.7.2
 - files_downloadactivity: 1.1.1
 - files_pdfviewer: 1.1.1
 - files_reader: 1.0.4
 - files_sharing: 1.4.0
 - files_texteditor: 2.4.1
 - files_trashbin: 1.2.0
 - files_versions: 1.5.0
 - files_videoplayer: 1.1.0
 - firstrunwizard: 2.1
 - groupfolders: 1.1.0
 - issuetemplate: 0.2.2
 - logreader: 2.0.0
 - lookup_server_connector: 1.0.0
 - mail: 0.6.4
 - news: 11.0.5
 - nextcloud_announcements: 1.1
 - notifications: 2.0.0
 - oauth2: 1.0.5
 - password_policy: 1.2.2
 - provisioning_api: 1.2.0
 - quota_warning: 1.0.1
 - serverinfo: 1.2.0
 - sharebymail: 1.2.0
 - socialsharing_email: 1.0.1
 - survey_client: 1.0.0
 - systemtags: 1.2.0
 - tasks: 0.9.5
 - theming: 1.3.0
 - twofactor_backupcodes: 1.1.1
 - twofactor_totp: 1.3.0
 - twofactor_u2f: 1.3.2
 - updatenotification: 1.2.0
 - workflowengine: 1.2.0
Disabled apps
 - files_external
 - gallery
 - user_external
 - user_ldap
Content of config/config.php
{
    "instanceid": "ocz6kekhpjaq",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "anzah.cloud"
    ],
    "datadirectory": "\/home\/anzahcloud",
    "overwrite.cli.url": "https:\/\/anzah.cloud",
    "dbtype": "mysql",
    "version": "12.0.1.5",
    "dbname": "anzahcloud",
    "dbhost": "localhost",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "logtimezone": "Europe\/Berlin",
    "installed": true,
    "forcessl": true,
    "asset-pipeline.enabled": true,
    "theme": "",
    "log_type": "owncloud",
    "logfile": "\/home\/anzahcloud\/nextcloud.log",
    "loglevel": 2,
    "syslog_tag": "ownCloud",
    "logdateformat": "d.m.y H:i:s",
    "log_query": false,
    "cron_log": true,
    "log_rotate_size": 104857600,
    "versions_retention_obligation": "auto, 120",
    "trashbin_retention_obligation": "auto, 60",
    "mail_from_address": "noreply",
    "mail_smtpmode": "smtp",
    "mail_domain": "anzahcraft.de",
    "maintenance": false,
    "updatechecker": false,
    "appstore.experimental.enabled": true,
    "enable_previews": true,
    "preview_max_x": 2048,
    "preview_max_y": 2048,
    "preview_max_filesize_image": 50,
    "preview_max_scale_factor": 10,
    "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
    "preview_office_cl_parameters": " --headless --nologo --nofirststartwizard --invisible --norestore -convert-to pdf -outdir ",
    "enabledPreviewProviders": [
        "OC\\Preview\\PNG",
        "OC\\Preview\\JPEG",
        "OC\\Preview\\GIF",
        "OC\\Preview\\BMP",
        "OC\\Preview\\MP3",
        "OC\\Preview\\TXT",
        "OC\\Preview\\MarkDown",
        "OC\\Preview\\OpenDocument",
        "OC\\Preview\\PDF"
    ],
    "memcache.local": "\\OC\\Memcache\\APCu",
    "blacklisted_files": [
        ".htaccess"
    ],
    "minimum.supported.desktop.version": "2.2.2",
    "assetdirectory": "\/var\/www\/nextcloud",
    "activity_expire_days": 365,
    "htaccess.RewriteBase": "\/",
    "mail_smtpauth": 1,
    "mail_smtphost": "s95.goserver.host",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "singleuser": false,
    "mysql.utf8mb4": true
}

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.91 Safari/537.36 Vivaldi/1.92.917.39

Operating system: YOUR ANSWER HERE

Logs

Web server error log
Insert your webserver log here
Nextcloud log (data/nextcloud.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) ...

No synchronization of group folder contents via desktop client after initial configuration

After adding a particular user account which belongs to a group having a group folder shared to it, all of the group folder contents get sync'd to the desktop as expected, but updates to the group folder by other users never get sync'd.

If the user account is mounted via WebDav, changes show up whenever the mounted directory space is refreshed, but even quitting and restarting the Nextcloud desktop sync app does not force a resync of the group folders.

Modifying/deleting files locally in the sync'd space does, though, update the group folder space in Nextcloud, so the sync issue seems to be uni-directional. Changes on the server never show up locally.

FWIW, this is with Nextcloud v12, OS-X Sierra.

Icon disobeys theming

image
Example 1. A group folder used in Example 2.

image
Example 2. A default shared folder and a group folder. Observe how the color differs between the two

Group folder icon disobeys Nextcloud color support as seen in Example 1.

version: 1.0.2

Steps to reproduce:

  1. Set the main color to something (Distinctly) different from the default and wait for it to apply. (Black in example images).
  2. Create a group folder.
  3. Go back to Files view.
  4. Observe how Group folder icon is still in the default blue.

Expected result:
Group folder icon should change based on the theme color. (Black in example 2.)

Actual result:
Group folder does not apply the theme color.

Related to #11?

dedicated trashbin

Great app!

Is it possible to use dedicated trashbin folder not user folder? :)

Group folder contents cannot be accessed - encrypted?

Hi,

Somehow I have ended up in situation where any data in group folders cannot be accessed no more. Trying to open file with the web-ui ends up in internal server error. Logs have messages such as:

Error PHP fclose() expects parameter 1 to be resource, string given at /opt/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php#750 2017-08-03T10:54:42+0300
Error PHP fclose() expects parameter 1 to be resource, string given at /opt/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php#749 2017-08-03T10:54:42+0300
Error PHP stream_wrapper_register(): Protocol ocencryption:// is already defined. at /opt/nextcloud/lib/private/Files/Stream/Encryption.php#196 2017-08-03T10:54:42+0300
Error PHP fclose() expects parameter 1 to be resource, string given at /opt/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php#750 2017-08-03T10:54:42+0300

While trying to access the files within I can see the contents (listing works in web-ui as well):

ls __groupfolders/1/

IT-tiimin jaettu kansio.txt Tunnuksia.ods

but:

cat __groupfolders/1/IT-tiimin\ jaettu\ kansio.txt

HBEGIN:oc_encryption_module:OC_DEFAULT_MODULE:cipher:AES-256-CTR:signed:true:HEND---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.....

..which would suggest that somehow it's encrypted while I think group folders should not be?

I have tried to run occ encryption:decrypt-all and it runs without errors but there's no effect on these files.
Is there a way to restore the files?

Br,
-Mika

Groupfolder permission with circles

It would be greate to use groupfolder in combination with circles.
So user can administrate a given groupfolder by theirself.

I hope you can implement that.
Greets from Germany

Update of Group Folder app leads to resync on Desktop

I use Group Folders (very useful by the way!) for all our files - everyone has NextCloud Desktop installed and syncs a total of 25GB (through many group folders) - last night I updated the app from the web GUI, and now everything is being re-pulled from the server to every computer.

25GB to 10 machines.... I'm hoping this is just a bug and won't happen every time I update the group folder app.

Thanks

cannot create group folder

I updated today to NC 12 beta 3 and installed group folders. It throws an exception.

Server log:

Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing 'INSERT INTO oc_group_folders (mount_point) VALUES(?)' with params [null]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'mount_point' cannot be null

nginx
mariadb 10.0.29
php 7.0

Group folder quota not effectiv

Hello,

I created a new Nextcloud 12.0 instance with group folder 1.1.0 on docker with MariaDB 10.2 as database backend.

I created a user with a Test group and a Test groupfolder for that group.

When limiting the quota to 50 MB and uploading a file of around 65 MB it gets correctly restricted.
When I increase the quota to 100 MB and upload the 65 MB file, it is working. Bud a second upload of the same (renamed) file also works, also it the sum is then above the quota.

Looking in the groupfolder admin side the mouse over on the quota shows, that the current content of the folder is "0 B", which is also wrong, there are around 130 MB in the folder.

Any ideas?

l18n question for "build/bundle.js"

On line 6 you will see "q("Wrong offset!")"

What does "Wrong offset" means?

Is it necessary to translate this string? If so it would be good to improve the string.

Strange strings in translations

    "big" : "iso",
    "b" : "b",
    "font" : "fontti",
    "i" : "i",
    "small" : "pieni",
    "strike" : "yliviivaus",
    "sub" : "alaindeksi",
    "sup" : "yläindeksi",

Are they really intended to be a translation of this app?

Make it usable through the API

Hello,

This is the app i needed to manage my groups folders! So thank you 😄

It would be even better if it could be managed through the API. But i'm not familiar enough with Nextcloud code to do it myself…

Here is the documentation which should tell us how to make it: https://docs.nextcloud.com/server/12/developer_manual/core/externalapi.html

There not much information in the doc, so here are how some apps seem to handle it:

Thank you :-)

Other users with access to a groupfolders cant see shares created by other users

Hi, on Nextcloud 12 I create a Group Folder with write/share access permission to USER1 and USER2.
USER1 upload files or folders inside it. If it share file/folder with public link, why USER2 not see that share?
User2 sees the file as if it was not shared.
The user who creates a share on groupfolders, should have the option to share in Personal or Group permissions. Or directly with Group permission, but not only Personal, else others Users of that group not see share link.

Groupfolder with external upload not working

Given:

  • Nextcloud 12.0.0
  • Group folders 1.1.0
  • Create group folder group_folder with group group_folder_share
  • Create a folder named upload in group_folder
  • Share upload folder by share with link and upload only
  • Upload files to this folder from external

=> Folder cannot be opened anymore and user is redirected to it's home directory

The only log i can see is:

Warning | no app in context | Missing expected parameters in change user hook | 2017-07-11T11:57:26+0200
-- | -- | -- | --
Warning | no app in context | Missing expected parameters in change user hook | 2017-07-11T11:57:25+0200

How sync with clients when save files directly to a groupfolder

I've write a script for download some info from a FTP to a groupfolder path. But can't find a way to synchronize with clients.

"sudo -u www-data php occ files:scan --all" is a solition but takes long time and according to manual "sudo -u www-data php occ files:scan --path=my_groupfolder_path" is not valid.

Cannot read in a shared folder put by other users

nextcloud 12.0.0 on Linux
I created a shared folder but the users cannot read files from the other and I get this error

Messaggio: Unexpected server response (500) while retrieving PDF "https://nasone/nextcloud/remote.php/webdav/Familiari/Anna%20Libera/Vacanze%202017/Accademia%20Livorno/Allegato%201.pdf".

Make groupfolders independent from existing folders owned by admin or ppl lose data!

There's a weird overlap with existing folders. Take this scenario:

  • Go to the Files app and create a folder named superawesometest
  • Put a few files in it.
  • Go to the Group Folders admin and create a folder named superawesometest
  • Add the Admin group to the access rights for superawesometest
  • Go back to Files and observe the new Group Folder has overwritten the existing superawesometest and it is empty. Where are my files?!!?!
  • Go to the Group Folders admin and remove Admin group access to the folder superawesometest
  • Go back to Files and observe the new Group Folder has disappeared and the existing superawesometest is back with its original content!
  • Note that this overwriting of existing folders with (empty) Group Folders also happens with users - if you create a group folder with the same name as a folder one of your users has, they will lose access to that folder and all its content.

I think Group Folders should act like shares - if somebody shares a folder with the same name as an existing one with you, it should show up besides the existing one, not overwrite it.

Allow (proper) renaming of group folders

This is a wee feature request:

As an administrator with the ability to create group folders, I would like to be able to rename those folders from the administration interface (cloud.example.com/settings/admin/groupfolders)

I expect this is orthogonal to the problems reported in #33 and #7.

Read-only option for specific groups

I would really need and love to see a option for creating different permissions for different groups for one group folder!
So I can give my team access for company templates they can't change but open and download.
And at the same time I can give the Management the permission to edit the templates or other files in the folder.
To make this work at the moment, I'm using external storages where I can manage this. But it's not the best solution...

To say it simple: I want to share a folder with a group and take the permission from the users to revoke the share.

Ask for confirmation when deleting group folders

I have noticed that you can very easily delete group folders, just by accident. There is no confirmation message when pressing the delete button in the menu. This is especially critical since there is no way to restore the folder (like with ordinary shared folders). Is it possible to at least have some password confirmation before deleting group folders?

Write access for specific subfolders only

I love the development of this app! It's the part which was missing in Nextcloud.

With the upcoming group based write access to groupfolders there should also be implemented an option to give write access only in a certain subfolder of a groupfolder.

Example for the problem:

We have a "Teamfolder"

And this groups:

  • Team
  • Marketing
  • Management

Team should have only read access to the teamfolder while the management has full access to the groupfolder. At the same time I need to give the Marketing write access to a subfolder (corporate-templates) inside of the groupfolder.

The option to splitt up the folders would work but this is just messing up the structur and clarity.
So maybe instead of "declaring" a folder name we could enter a path to make it possible to set different write permissions for subfolders.

Folder sync does not work

I just installed the groupfolders app and uploaded some files from computer A. Unfortunately computer B does not recognize that the folder files changed. This is vice versa if I upload files from computer B to the group folder. The are sent to the nextcloud server but not synced with other clients.

System specs:
OS: Debian 9
NC: 12.0.0
PHP: 7.0.20
Apache: 2.4.25
mariadb: 10.1.23

Set storage quota per group folder

To be able to set a per folder storage quota would be a very helpful feature.
This should be independent from the overall user quota.

Example:

User A - assigned 25GB overall (per user) storage quota.
User B - assigned 0GB (no) overall (per user) storage quota.
User C - assigned 0GB (no) overall (per user) storage quota.
Users A and B belong to the group "dataStorage".
User C belongs to the group "programmer".

Group folder "filespace" is accessible to groups "dataStorage" and "programmer".
The newly requested feature per folder limit is set to 100GB for "filespace".

All users can independently upload to "filespace" until the folders content reaches the limit of 100GB.
User A can upload another 25GB outside the "filespace" folder only.
Users B and C can upload only to "filespace" (or to other additional folders with free per folder quota).

Similar discussion for group storage quotas can be found here:
nextcloud/server#4275

Feature request: Sharing with single user

Sometimes you might want or need to share a folder not only with groups, but also with additional users that do not / should not belong to one of the groups. Of course there is an easy workaround to set up another group just for this user, but it's not a clean approach and fills up the groups list.

It seems to be useful to have another option for r/w or r/o sharing with single users, although I know the name is groupfolders.

Sharing in group folders doesn't work as expected

  • If I try to share a groupfolder with a user it's not accessible by the user I shared it with. In the activity feed the sharing activity can be seen - no file or folder icon just a grey square.

  • If I share a groupfolder or a subfolder with a circle (app) it can be seen but the files and subfolders can't be accessed.

Tried it with Nextcloud 12.0.1 & 12.0.2

Everyone with access to the group folder can rename it - groupfolder is unusable afterwards

everyone with access to the group folder can rename it. afterwards it seems to be like this:

a local copy (unshared, not a group folder) of the group folder is made to the users nextcloud
the original group folder is still here - but files in it are not usable any more
sometimes it is even not possible to create new files anymore

the best would be probably to prevent users from renaming the group folder.

Group folder renaming leads into copy of folder

Steps to reproduce

  1. Create group folder in admin settings and and make it writable for a group
  2. As user with write permission rename the folder

Expected behaviour

Renaming of the group folders should not be allowed, or folder should be actually renamed also in admin settings

Actual behaviour

System makes a copy of original folder

Server configuration

Operating system: Linux nextcloud 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64

Web server: Apache/2.4.18 (Ubuntu) (apache2handler)

Database: mysql 5.7.18

PHP version: 7.0.18-0ubuntu0.16.04.1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, redis, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, intl, json, ldap, exif, mcrypt, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, shmop, SimpleXML, smbclient, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, libsmbclient, Zend OPcache

Nextcloud version: 12.0.0 - 12.0.0.29

Where did you install Nextcloud from: Official VM

List of activated apps:

App list ``` Enabled: - activity: 2.5.2 - admin_audit: 1.2.0 - bookmarks: 0.10.0 - bruteforcesettings: 1.0.2 - calendar: 1.5.3 - circles: 0.11.0 - comments: 1.2.0 - contacts: 1.5.3 - dav: 1.3.0 - deck: 0.2.0 - drawio: 0.8.8 - federatedfilesharing: 1.2.0 - files: 1.7.2 - files_accesscontrol: 1.2.4 - files_automatedtagging: 1.2.2 - files_downloadactivity: 1.1.1 - files_external: 1.3.0 - files_pdfviewer: 1.1.1 - files_retention: 1.1.2 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_trashbin: 1.2.0 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - firstrunwizard: 2.1 - gallery: 17.0.0 - groupfolders: 1.1.0 - impersonate: 1.0.1 - issuetemplate: 0.2.1 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - nextant: 1.0.8 - nextcloud_announcements: 1.1 - notes: 2.2.0 - notifications: 2.0.0 - oauth2: 1.0.5 - ojsxc: 3.2.1 - password_policy: 1.2.2 - provisioning_api: 1.2.0 - quota_warning: 1.0.1 - rainloop: 5.0.0 - richdocuments: 1.12.33 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - spreed: 2.0.1 - spreedme: 0.3.9 - survey_client: 1.0.0 - systemtags: 1.2.0 - tasks: 0.9.5 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - updatenotification: 1.2.0 - user_ldap: 1.2.1 - workflowengine: 1.2.0

Disabled:

  • announcementcenter
  • encryption
  • external
  • federation
  • mail
  • ocr
  • sensorlogger
  • user_external
  • user_saml
</details>

**The content of config/config.php:**
<details>
	<summary>Config report</summary>

{
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"datadirectory": "/var/ncdata",
"dbtype": "mysql",
"version": "12.0.0.29",
"dbname": "nextcloud_db",
"dbhost": "localhost",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"appstore.experimental.enabled": "true",
"mail_smtpmode": "smtp",
"mail_smtpauth": 1,
"mail_smtpport": "465",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "cloud",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"preview_libreoffice_path": "/usr/bin/libreoffice",
"memcache.local": "\OC\Memcache\Redis",
"filelocking.enabled": true,
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "/var/run/redis/redis.sock",
"port": 0,
"timeout": 0,
"dbindex": 0
},
"maintenance": false,
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "\OCA\User_LDAP\LDAPProviderFactory",
"loglevel": 2,
"updater.release.channel": "stable",
"htaccess.RewriteBase": "/",
"theme": "",
"mail_smtpsecure": "ssl"
}

</details>

**Are you using external storage, if yes which one:** Array
(
    [0] => \OC\Files\Storage\Local
    [1] => \OCA\Files_External\Lib\Storage\FTP
    [2] => \OC\Files\Storage\DAV
    [3] => \OCA\Files_External\Lib\Storage\OwnCloud
    [4] => \OCA\Files_External\Lib\Storage\SFTP
    [5] => \OCA\Files_External\Lib\Storage\AmazonS3
    [6] => \OCA\Files_External\Lib\Storage\Dropbox
    [7] => \OCA\Files_External\Lib\Storage\Google
    [8] => \OCA\Files_External\Lib\Storage\Swift
    [9] => \OCA\Files_External\Lib\Storage\SFTP
    [10] => \OCA\Files_External\Lib\Storage\SMB
    [11] => \OCA\Files_External\Lib\Storage\SMB
)


**Are you using encryption:** no

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

#### LDAP configuration (delete this part if not used)
<details>
	<summary>LDAP config</summary>

	```
	With access to your command line run e.g.:
	sudo -u www-data php occ ldap:show-config
	from within your Nextcloud installation folder

	Without access to your command line download the data/owncloud.db to your local
	computer or access your SQL server remotely and run the select query:
	SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


	Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
	```
</details>
### Client configuration
**Browser:** Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Cant upload from nextcloud app

Steps to reproduce

  1. Upload file with nextcloud iphone app

Actual behaviour

Client:
Internal server error

Server:
{"reqId":"eqGQ5FryRzfEfDN5UuVc","level":3,"time":"14.08.17 16:36:31","remoteAddr":"80.187.103.136","user":"Tealk","app":"PHP","method":"PUT","url":"/remote.php/webdav/AnzahCraft/17-08-12%2014-30-11%200237.jpg","message":"copy(//home/anzahcloud/17-08-12 14-30-11 0237.jpg): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#272","userAgent":"Nextcloud/00005 CFNetwork/878.2 Darwin/17.0.0","version":"12.0.1.5"}
{"reqId":"eqGQ5FryRzfEfDN5UuVc","level":4,"time":"14.08.17 16:36:31","remoteAddr":"80.187.103.136","user":"Tealk","app":"webdav","method":"PUT","url":"/remote.php/webdav/AnzahCraft/17-08-12%2014-30-11%200237.jpg","message":"Exception: {"Exception":"Sabre\\DAV\\Exception","Message":"path needs to be relative to the system wide data folder and point to a user specific file","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(194): OCA\\DAV\\Connector\\Sabre\\File->convertToSabreException(Object(BadMethodCallException))\n#1 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1130): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #24)\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(513): Sabre\\DAV\\Server->updateFile('AnzahCraft\/17-0...', Resource id #24, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(71): Sabre\\DAV\\Server->exec()\n#8 \/var\/www\/nextcloud\/remote.php(162): require_once('\/var\/www\/nextcl...')\n#9 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":567}","userAgent":"Nextcloud/00005 CFNetwork/878.2 Darwin/17.0.0","version":"12.0.1.5"}

General server configuration

Operating system: Linux Anzah-Cloud 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64

Web server: Apache/2.4.10 (Debian) (apache2handler)

Database: mysql 5.7.19

PHP version: 7.1.8-2+020170804100723.7+jessie1.gbpae7f04

PHP-modules loaded
 - Core
 - date
 - libxml
 - openssl
 - pcre
 - zlib
 - filter
 - hash
 - Reflection
 - SPL
 - session
 - standard
 - apache2handler
 - mysqlnd
 - PDO
 - xml
 - apcu
 - apc
 - calendar
 - ctype
 - curl
 - dom
 - mbstring
 - fileinfo
 - ftp
 - gd
 - geoip
 - gettext
 - iconv
 - igbinary
 - intl
 - json
 - exif
 - mcrypt
 - msgpack
 - mysqli
 - pdo_mysql
 - Phar
 - posix
 - readline
 - shmop
 - SimpleXML
 - sockets
 - sysvmsg
 - sysvsem
 - sysvshm
 - tokenizer
 - wddx
 - xmlreader
 - xmlwriter
 - xsl
 - zip
 - memcached
 - Zend OPcache

Nextcloud configuration

Nextcloud version: 12.0.3

Updated from an older Nextcloud/ownCloud or fresh install: YOUR ANSWER HERE

Where did you install Nextcloud from: YOUR ANSWER HERE

Are you using external storage, if yes which one: files_external is disabled

Are you using encryption: yes

Are you using an external user-backend, if yes which one: YOUR ANSWER HERE (LDAP/ActiveDirectory/Webdav/...)

Signing status
[]
Enabled apps
 - activity: 2.5.2
 - admin_audit: 1.2.0
 - admin_notifications: 1.0.0
 - apporder: 0.4.0
 - bookmarks: 0.10.1
 - bruteforcesettings: 1.0.2
 - calendar: 1.5.3
 - comments: 1.2.0
 - contacts: 1.5.3
 - dav: 1.3.0
 - encryption: 1.6.0
 - federatedfilesharing: 1.2.0
 - federation: 1.2.0
 - files: 1.7.2
 - files_downloadactivity: 1.1.1
 - files_pdfviewer: 1.1.1
 - files_reader: 1.0.4
 - files_sharing: 1.4.0
 - files_texteditor: 2.4.1
 - files_trashbin: 1.2.0
 - files_versions: 1.5.0
 - files_videoplayer: 1.1.0
 - firstrunwizard: 2.1
 - groupfolders: 1.1.0
 - issuetemplate: 0.2.2
 - logreader: 2.0.0
 - lookup_server_connector: 1.0.0
 - mail: 0.6.4
 - news: 11.0.5
 - nextcloud_announcements: 1.1
 - notifications: 2.0.0
 - oauth2: 1.0.5
 - password_policy: 1.2.2
 - provisioning_api: 1.2.0
 - quota_warning: 1.0.1
 - serverinfo: 1.2.0
 - sharebymail: 1.2.0
 - socialsharing_email: 1.0.1
 - survey_client: 1.0.0
 - systemtags: 1.2.0
 - tasks: 0.9.5
 - theming: 1.3.0
 - twofactor_backupcodes: 1.1.1
 - twofactor_totp: 1.3.0
 - twofactor_u2f: 1.3.2
 - updatenotification: 1.2.0
 - workflowengine: 1.2.0
Disabled apps
 - files_external
 - gallery
 - user_external
 - user_ldap
Content of config/config.php
{
    "instanceid": "ocz6kekhpjaq",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "anzah.cloud"
    ],
    "datadirectory": "\/home\/anzahcloud",
    "overwrite.cli.url": "https:\/\/anzah.cloud",
    "dbtype": "mysql",
    "version": "12.0.1.5",
    "dbname": "anzahcloud",
    "dbhost": "localhost",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "logtimezone": "Europe\/Berlin",
    "installed": true,
    "forcessl": true,
    "asset-pipeline.enabled": true,
    "theme": "",
    "log_type": "owncloud",
    "logfile": "\/home\/anzahcloud\/nextcloud.log",
    "loglevel": 2,
    "syslog_tag": "ownCloud",
    "logdateformat": "d.m.y H:i:s",
    "log_query": false,
    "cron_log": true,
    "log_rotate_size": 104857600,
    "versions_retention_obligation": "auto, 120",
    "trashbin_retention_obligation": "auto, 60",
    "mail_from_address": "noreply",
    "mail_smtpmode": "smtp",
    "mail_domain": "anzahcraft.de",
    "maintenance": false,
    "updatechecker": false,
    "appstore.experimental.enabled": true,
    "enable_previews": true,
    "preview_max_x": 2048,
    "preview_max_y": 2048,
    "preview_max_filesize_image": 50,
    "preview_max_scale_factor": 10,
    "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
    "preview_office_cl_parameters": " --headless --nologo --nofirststartwizard --invisible --norestore -convert-to pdf -outdir ",
    "enabledPreviewProviders": [
        "OC\\Preview\\PNG",
        "OC\\Preview\\JPEG",
        "OC\\Preview\\GIF",
        "OC\\Preview\\BMP",
        "OC\\Preview\\MP3",
        "OC\\Preview\\TXT",
        "OC\\Preview\\MarkDown",
        "OC\\Preview\\OpenDocument",
        "OC\\Preview\\PDF"
    ],
    "memcache.local": "\\OC\\Memcache\\APCu",
    "blacklisted_files": [
        ".htaccess"
    ],
    "minimum.supported.desktop.version": "2.2.2",
    "assetdirectory": "\/var\/www\/nextcloud",
    "activity_expire_days": 365,
    "htaccess.RewriteBase": "\/",
    "mail_smtpauth": 1,
    "mail_smtphost": "s95.goserver.host",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "singleuser": false,
    "mysql.utf8mb4": true
}

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.91 Safari/537.36 Vivaldi/1.92.917.39

Operating system: YOUR ANSWER HERE

Logs

Web server error log
Insert your webserver log here
Nextcloud log (data/nextcloud.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) ...

Show quota to users

Hi,

is it possible to show the remaining quota of the group folder contingent to the user to which the group folder was shared?

Regards,

Enable Group Folder App with Encryption

Currently I'm not able to use the Group Folder App if my Nextcloud instance is encrypted (leads to many errors). Is there a way to make both possible? Or is anyone working on that?

Cannot configure quota on group folder

Aside of the defaults in dropdown I'd like to configure 25GB as limit. Whenever I enter a value via other and leave the focus of the input field it get simply lost.

Aside of this configuration issue I have uploaded around 9GB and it shows me 1.1GB used. Something is really wrong here and can fill my disk and may cause a serious outage.

Scan Directory for changes

For "normal" folders in nextcloud you can rescan the directory with

occ files:scan --path="path/to/dorectory"

Is there an equivalent to this for groupfolders?

I have a lot of digital films that I would like to be in a group folder. I don't want to have to manually upload all of them. I have added them to the directory .../data/__groupfolders/1/, but they are not showing.

Wrong Polish translation of "Group folders" phrase

Hello,

Current translation of "Group folders" phrase, to Polish language, is wrong.
Direct translation has to be "Foldery grupowe" instead of currently used "Grupa folderów".
Google Translator confirms.

"Grupa folderów", after translate it back to English, means: "Group of folders".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.