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

OCP\Constants import used twice in apps/groupfolders/lib/Command/ACL.php #30494

Closed
Linuxfabrik opened this issue Jan 5, 2022 · 1 comment
Closed
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@Linuxfabrik
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

Use Groupfolders(10.0.1) App

Actual behaviour

PHP Fatal error:  Cannot use OCP\Constants as Constants because the name is already in use in /var/www/html/nextcloud/apps/groupfolders/lib/Command/ACL.php on line 35

Server configuration

Operating system:
CentOS7.9.2009

Web server:
Apache/2.4.6 (CentOS)

Database:
10.3.32-MariaDB

PHP version:
PHP 7.4.27

Nextcloud version: (see Nextcloud admin page)
Nextcloud v22.2.3.0

Updated from an older Nextcloud/ownCloud or fresh install:
Updated from recent version

Where did you install Nextcloud from:

Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

No errors have been found.

List of activated apps:

App list

Enabled:

  • accessibility: 1.8.0
  • activity: 2.15.0
  • apporder: 0.14.0
  • bookmarks: 10.0.3
  • bruteforcesettings: 2.3.0
  • calendar: 3.0.4
  • checksum: 1.1.3
  • circles: 22.1.1
  • cloud_federation_api: 1.5.0
  • comments: 1.12.0
  • contacts: 4.0.7
  • contactsinteraction: 1.3.0
  • dashboard: 7.2.0
  • dav: 1.19.0
  • encryption: 2.10.0
  • external: 3.9.0
  • federatedfilesharing: 1.12.0
  • federation: 1.12.0
  • files: 1.17.0
  • files_external: 1.13.0
  • files_markdown: 2.3.5
  • files_pdfviewer: 2.3.1
  • files_rightclick: 1.1.0
  • files_sharing: 1.14.0
  • files_trashbin: 1.12.0
  • files_versions: 1.15.0
  • files_videoplayer: 1.11.0
  • firstrunwizard: 2.11.0
  • groupfolders: 10.0.1
  • impersonate: 1.9.0
  • logreader: 2.7.0
  • lookup_server_connector: 1.10.0
  • mail: 1.11.5
  • metadata: 0.15.0
  • nextcloud_announcements: 1.11.0
  • notifications: 2.10.1
  • oauth2: 1.10.0
  • password_policy: 1.12.0
  • photos: 1.4.0
  • privacy: 1.6.0
  • provisioning_api: 1.12.0
  • quota_warning: 1.13.0
  • recommendations: 1.1.0
  • richdocuments: 4.2.3
  • serverinfo: 1.12.0
  • settings: 1.4.0
  • sharebymail: 1.12.0
  • sharingpath: 0.4.3
  • support: 1.5.0
  • tasks: 0.14.2
  • text: 3.3.0
  • theming: 1.13.0
  • twofactor_backupcodes: 1.11.0
  • twofactor_totp: 6.2.0
  • twofactor_u2f: 6.3.0
  • unsplash: 1.2.4
  • updatenotification: 1.12.0
  • user_status: 1.2.0
  • viewer: 1.6.0
  • weather_status: 1.2.0
  • workflowengine: 2.4.0
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

Nextcloud configuration:

Config report
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

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "10.117.17.29"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "22.2.3.0",
        "overwrite.cli.url": "https:\/\/***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "overwritecondaddr": "^10\\.117\\.17\\.7$",
        "overwritehost": "***",
        "overwriteprotocol": "https",
        "overwritewebroot": "\/",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "filelocking.enabled": true,
        "log_rotate_size": 10485760,
        "loglevel": 3,
        "logtimezone": "Europe\/Zurich",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "dbindex": 0,
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0
        },
        "maintenance": false,
        "skeletondirectory": "\/var\/www\/html\/nextcloud\/core\/custom_skeleton",
        "theme": "",
        "app_install_overwrite": [
            "sharerenamer",
            "calendar"
        ],
        "encryption.legacy_format_support": false,
        "encryption.key_storage_migrated": false,
        "default_phone_region": "CH"
    }
}

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/...
no

Are you using encryption: yes/no
no

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

@Linuxfabrik Linuxfabrik added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jan 5, 2022
@szaimen
Copy link
Contributor

szaimen commented Jan 5, 2022

Duplicate of nextcloud/groupfolders#1854

@szaimen szaimen marked this as a duplicate of nextcloud/groupfolders#1854 Jan 5, 2022
@szaimen szaimen closed this as completed Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

1 participant