-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap29-feedbackbug
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
When trying to unshare a file I am getting the error pop-up message "Error deleting the share". In fact the file or folder is unshared what can be seen after the web-page reload. The log says "No share provider for share type 4".
Steps to reproduce
- Pick a file or folder in your local folder.
- Share it with any user.
- Try to unshare it.
- Get the pop-up message "Error deleting the share"
- Reload the page and see that the share is successfully unshared.
Expected behavior
The unshare operation should not produce any error, and should be performed without any page reload.
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "domain.tld",
"1": "www.domain.tld"
},
"overwrite.cli.url": "https:\/\/domain.tld",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "29.0.12.2",
"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_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_send_plaintext_only": false,
"default_phone_region": "UA",
"default_time_zone": "Europe\/Kyiv",
"force_locale": "uk_UA",
"force_language": "uk",
"allow_user_to_change_display_name": false,
"auth.webauthn.enabled": false,
"remember_login_cookie_lifetime": 1296000,
"session_lifetime": 21600,
"session_relaxed_expiry": false,
"session_keepalive": true,
"auto_logout": false,
"skeletondirectory": "\/data\/skeleton",
"maintenance": false,
"maintenance_window_start": 23,
"memcache.local": "\\OC\\Memcache\\APCu",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"memcache.locking": "\\OC\\Memcache\\Redis",
"app_install_overwrite": [
"files_fulltextsearch",
"fulltextsearch_elasticsearch",
"fulltextsearch",
"files_fulltextsearch_tesseract",
"twofactor_gateway",
"files_rightclick",
"twofactor_reminder"
],
"activity_use_cached_mountpoints": true,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "ssl",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"logtype": "file",
"logfile": "\/data\/nextcloud.log",
"loglevel": 3,
"loglevel_frontend": 2,
"log_rotate_size": 104857600,
"trashbin_retention_obligation": "auto, 30",
"logtimezone": "Europe\/Kyiv",
"filesystem_check_changes": 0,
"profile.enabled": false,
"onlyoffice": {
"editors_check_interval": "0",
"verify_peer_off": false,
"jwt_secret": "***REMOVED SENSITIVE VALUE***",
"jwt_header": "AuthorizationJwt"
},
"enable_previews": true,
"preview_format": "webp",
"preview_max_x": "2048",
"preview_max_y": "2048",
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\WebP"
],
"jpeg_quality": "75",
"preview_concurrency_new": "1",
"twofactor_enforced": "true",
"allow_local_remote_servers": true,
"has_internet_connection": true,
"defaultapp": ""
}
}List of activated Apps
Enabled:
- activity: 2.21.1
- bookmarks: 14.2.7
- bruteforcesettings: 2.9.0
- calendar: 4.7.16
- cloud_federation_api: 1.12.0
- comments: 1.19.0
- contacts: 6.0.3
- dav: 1.30.1
- event_update_notification: 2.4.0
- external: 5.4.1
- federatedfilesharing: 1.19.0
- files: 2.1.1
- files_accesscontrol: 1.19.1
- files_automatedtagging: 1.19.0
- files_fulltextsearch: 29.0.1
- files_fulltextsearch_tesseract: 27.0.0
- files_pdfviewer: 2.10.0
- files_scripts: 4.1.0
- files_sharing: 1.21.0
- files_trashbin: 1.19.0
- files_versions: 1.22.0
- firstrunwizard: 2.18.0
- fulltextsearch: 29.0.1
- fulltextsearch_elasticsearch: 29.0.1
- group_everyone: 0.1.16
- groupfolders: 17.0.10
- limit_login_to_ip: 4.1.1
- logreader: 2.14.0
- lookup_server_connector: 1.17.0
- notes: 4.11.0
- notifications: 2.17.0
- oauth2: 1.17.1
- onlyoffice: 9.5.0
- otpmanager: 0.5.4
- ownershiptransfer: 1.1.0
- password_policy: 1.19.0
- passwords: 2024.12.21
- previewgenerator: 5.8.0
- provisioning_api: 1.19.0
- quota_warning: 1.21.0
- serverinfo: 1.19.0
- settings: 1.12.0
- sharelisting: 1.2.0
- tables: 0.8.4
- tasks: 0.16.1
- text: 3.10.1
- theming: 2.4.0
- twofactor_admin: 4.7.1
- twofactor_backupcodes: 1.18.0
- twofactor_gateway: 0.20.0
- twofactor_totp: 11.0.0-dev
- updatenotification: 1.19.1
- viewer: 2.3.0
- workflowengine: 2.11.0
Disabled:
- admin_audit: 1.19.0 (installed 1.17.0)
- circles: 29.0.0-dev (installed 24.0.0)
- contactsinteraction: 1.10.0 (installed 1.5.0)
- dashboard: 7.9.0 (installed 7.4.0)
- encryption: 2.17.0 (installed 2.15.0)
- federation: 1.19.0 (installed 1.14.0)
- files_confidential: 3.1.0 (installed 3.1.0)
- files_downloadlimit: 2.0.0 (installed 2.0.0)
- files_external: 1.21.0 (installed 1.20.0)
- files_linkeditor: 1.1.21 (installed 1.1.21)
- files_lock: 29.0.2 (installed 29.0.2)
- files_reminders: 1.2.0 (installed 1.0.0)
- files_rightclick: 0.15.1 (installed 0.15.1)
- metadata: 0.21.0 (installed 0.21.0)
- nextcloud_announcements: 1.18.0 (installed 1.13.0)
- photos: 2.5.0 (installed 2.2.0)
- privacy: 1.13.0 (installed 1.13.0)
- recommendations: 2.1.0 (installed 1.5.0)
- related_resources: 1.4.0 (installed 1.0.3)
- richdocuments: 8.4.9 (installed 8.4.9)
- secrets: 2.1.2 (installed 2.1.2)
- sharebymail: 1.19.0 (installed 1.14.0)
- sharereview: 1.3.3 (installed 1.3.3)
- socialsharing_whatsapp: 3.3.0 (installed 3.3.0)
- support: 1.12.0 (installed 1.7.0)
- survey_client: 1.17.0 (installed 1.12.0)
- suspicious_login: 7.0.0
- systemtags: 1.19.0 (installed 1.18.0)
- user_ldap: 1.20.0
- user_status: 1.9.0 (installed 1.4.0)
- weather_status: 1.9.0 (installed 1.4.0)Nextcloud Signing status
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
=======
- files_fulltextsearch_tesseract
- INVALID_HASH
- templates/settings.admin.php
- EXTRA_FILE
- l10n/uk.json
- l10n/uk.js
- twofactor_gateway
- INVALID_HASH
- l10n/uk.js
- l10n/uk.json
- lib/Provider/AProvider.php
- lib/Service/SetupService.php
- templates/challenge.php
- lib/Service/Gateway/Signal/Gateway.php
Raw output
==========
Array
(
[files_fulltextsearch_tesseract] => Array
(
[INVALID_HASH] => Array
(
[templates/settings.admin.php] => Array
(
[expected] => dbc469abb768cf28595b89a29a68380bd3a72f23aede72c8246ace61d7ac46bb2e45c64f90069083036395f6efae3024595b4b4edc175d43777c2877b1cdbd33
[current] => d93d7c672611ff1aa1dd1d8fe08c76a9860b055fc83a1cfd904f54f3f36c453c96cb57861268ff346882f9d404e65b84639426041470a1c52fa3292322a11270
)
)
[EXTRA_FILE] => Array
(
[l10n/uk.json] => Array
(
[expected] =>
[current] => 1e0fe13577ade092c331c3ad846aadc236da5faaa51512c93e43db4ce79cb6f6042633e0bd4939a3c42447ea8b18078937df4bd3abd7c138ac02873890685179
)
[l10n/uk.js] => Array
(
[expected] =>
[current] => 4221725a1a2dad708ab385cc03a9069dd4c04060dff6b266abff0db59956197657edb5f1de641ce6d62130ed69598142cd7fc68fdc97a7e3b5652d7906923b6a
)
)
)
[twofactor_gateway] => Array
(
[INVALID_HASH] => Array
(
[l10n/uk.js] => Array
(
[expected] => 4f6f8a9535c4f0836139487219a4225b1e3f90a7442ca28ad3d9f3cae0e1185ef68a195b6b82f3d7fb27bf4ec5d24e528dd42b4232022499715cee7c19f61ec5
[current] => 5cced5789ee4503090d3a793dd8841aaa84f31983b9cbfb54d0a711b375deeda0b9baf64ccab5e9abbad5a531533bd5806d57a0b723ea27e8d9d930c5d7d785d
)
[l10n/uk.json] => Array
(
[expected] => 22bfd148d2af9d55dbc213fb1c54d75755be438709abdff73e8c87c1561b4f1b08d902ef4874bec5b79b207ca62f8d39849bca63e6e18025e73ca9720d8c4316
[current] => fc6f766e0acf172b88ae0fd4193ecf79ccf92a08fb2d3573182b2ca5e3072892169d7d7924b31988cdfd7dd2bdd92ff2db729f065835d969bbdcfd169368b221
)
[lib/Provider/AProvider.php] => Array
(
[expected] => 7f3cb94751ba4a06c44ffb8ffc0adf940af1dddb917f831a51a6aed2c479e934095c566a71048bccefeb339c265c8c2d40a3b81c7c7fd2bfae53650c53389d90
[current] => f87a79743deab95ac36c44a169a1124056f52eb5b16eef92a5a679299eed3c40c6c7928d37af1180b04d2af86b149d9854542b83a74eebafc683fed066a4d351
)
[lib/Service/SetupService.php] => Array
(
[expected] => c25ebca2c47f1683c1a10593a236502cef5f8e825441fea2b91b7f1a7b2fac6c42ec8dd9d4841cc9f0facd8bee5b0759c8374b11682cbbc141e900b43e96d9a2
[current] => db54c5bb3ce471492b279ee8d4f7ab829bf2c8fbf5d2fb0874037fdda893b8c88cb6d0d34c0997c9cf610e59d0c19f1c39fce34a7d00b534243cd76838703db7
)
[templates/challenge.php] => Array
(
[expected] => 72afed33331bfa8344d987a4bade6b5edd8468207bf53da017cc0275d5d6f9b025dadf0e5cc7748acb6ae73a7626d835e014abcc3604cbd5a35eec84cc7dbb6c
[current] => 87ed664b9b99e8e6ede154b69607978cecabb82b29f7bfec429a279843169ec2a9cd42725a22f431111fb2d43930b705dc1a632fb5940b758f5b43c91d7ec2be
)
[lib/Service/Gateway/Signal/Gateway.php] => Array
(
[expected] => 3127ada11e34a1c33fcc117ffeefc0ab317e1f66312692c21c69c1b6ac82ddc0a5b79aa733eb1d3ad496f746218d1241b1ea9a63e514efe9e0534b8d0529079a
[current] => 6778f8c83737992c704e449c70477b0558e86a28cade55149a807d0840feab775865a675504c008ff0cf9276098ec3c17aaebedbdb059cebaa70b7bdaaf856bd
)
)
)
)Nextcloud Logs
{"reqId":"*******","level":3,"time":"2025-02-19T17:24:47+02:00","remoteAddr":"*****","user":"******","app":"no app in context","method":"DELETE","url":"/ocs/v2.php/apps/files_sharing/api/v1/shares/1734","message":"No share provider for share type 4","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36","version":"29.0.12.2","exception":{"Exception":"OC\\Share20\\Exception\\ProviderException","Message":"No share provider for share type 4","Code":0,"Trace":[{"file":"/www/html/nextcloud/lib/private/Share20/Manager.php","line":1218,"function":"getProviderForType","class":"OC\\Share20\\ProviderFactory","type":"->"},{"file":"/www/html/nextcloud/lib/private/Share20/Manager.php","line":1287,"function":"promoteReshares","class":"OC\\Share20\\Manager","type":"->"},{"file":"/www/html/nextcloud/apps/files_sharing/lib/Controller/ShareAPIController.php","line":555,"function":"deleteShare","class":"OC\\Share20\\Manager","type":"->"},{"file":"/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"deleteShare","class":"OCA\\Files_Sharing\\Controller\\ShareAPIController","type":"->"},{"file":"/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/www/html/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/www/html/nextcloud/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/www/html/nextcloud/ocs/v1.php","line":66,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/www/html/nextcloud/ocs/v2.php","line":23,"args":["/www/html/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/www/html/nextcloud/lib/private/Share20/ProviderFactory.php","Line":354,"message":"No share provider for share type 4","exception":{},"CustomMessage":"No share provider for share type 4"}}Additional info
No response
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap29-feedbackbug