-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Removing already deleted shared directories deletes all data #5676
Comments
Mmmm that sounds strange. I tried to follow your steps but could not reproduce this.
This is already strange. I don't see any item there if I delete the folder
Are you doing all this on the web? |
Yes I did that. But I am afraid to retry ;-) |
Same issue here today with an email shared on Nextcloud 12.0.2 from web interface with Chrome. If it can help, here is my application list :
|
I managed to reproduce the problem with Nextcloud 12.0.2 doing this:
Only possible workaround I found is to restore folder from trash, remove share and then delete folder. |
This is mildly terrifying. |
Were one of you able to reproduce the issue? |
This issue has been automatically marked as stale because it has not had recent activity and it seems to be missing some essential informations. It will be closed if no further activity occurs. Thank you for your contributions. |
This just happened to me. It was a good opportunity to test my restore processes ;-)
Steps to reproduce
Expected behaviour
Share shall be removed even if original folder does not exist anymore - without deleting other data
Actual behaviour
Wrong data (e.g. all) was deleted
Server configuration
Operating system:
Ubuntu latest
Web server:
Apache 2
Database:
PHP version:
Nextcloud version: (see Nextcloud admin page)
12.0.0
Updated from an older Nextcloud/ownCloud or fresh install:
Updated
Where did you install Nextcloud from:
Official sources
Signing status:
No errors have been found.
List of activated apps:
App list
Enabled: - activity: 2.5.2 - bruteforcesettings: 1.0.2 - calendar: 1.5.3 - contacts: 1.5.3 - dav: 1.3.0 - federatedfilesharing: 1.2.0 - files: 1.7.2 - files_pdfviewer: 1.1.1 - files_sharing: 1.4.0 - files_trashbin: 1.2.0 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - gallery: 17.0.0 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - nextant: 1.0.8 - nextcloud_announcements: 1.1 - notifications: 2.0.0 - oauth2: 1.0.5 - password_policy: 1.2.2 - provisioning_api: 1.2.0 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - spreed: 2.0.1 - survey_client: 1.0.0 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - twofactor_totp: 1.3.0 - updatenotification: 1.2.0 - workflowengine: 1.2.0 Disabled: - admin_audit - comments - encryption - federation - files_external - files_texteditor - firstrunwizard - keeweb - systemtags - user_external - user_ldapNextcloud configuration:
Config report
{ "system": { "instanceid": "xxx", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "xxx" ], "datadirectory": "\/mnt\/storage\/nextcloud", "overwrite.cli.url": "https:\/\/xx.xxx.cc\/cloud", "htaccess.RewriteBase": "\/cloud", "dbtype": "mysql", "version": "12.0.0.29", "dbname": "owncloud", "dbhost": "localhost", "dbtableprefix": "", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "logtimezone": "UTC", "installed": true, "theme": "", "loglevel": 0, "maintenance": false, "trashbin_retention_obligation": "auto", "enable_previews": "false", "mail_smtpmode": "smtp", "mail_from_address": "tower", "mail_domain": "xxx.cc", "mail_smtphost": "xx.xxx.cc", "mail_smtpport": "587", "asset-pipeline.enabled": true, "memcache.local": "\\OC\\Memcache\\APCu", "updater.release.channel": "beta", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "tls" } }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
Browser:
Chrome latest
Operating system:
OSX
Logs
Web server error log
Web server error log
I did not try to reproduce since I don't have a test instance.
The text was updated successfully, but these errors were encountered: