-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care of31-feedbackbugfeature: filesregression
Milestone
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
If you disable the Deleted Files app on a Nextcloud instance, the "Deleted files" bin is removed (as expected), but users can no longer see the "Delete" option in the file context menu. The multi-select options also don't display, throwing an "Could not find initial state config of files_trashbin" error in the console.
Steps to reproduce
- Go to "+ Apps" in the admin profile menu
- Disable "Deleted files" in Active apps
- Go to "Files" in the top bar
- Right-click or press "..." on a file
Expected behavior
When you disable "Deleted files", only the trashbin should be disabled. Everything else, like deleting files and the multi-select options, should still work.
Basically, when you want to delete a file, it should be deleted forever.
Nextcloud Server version
31
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Other
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 32.0.1 to 32.0.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"10.0.1.38",
"[Removed manually]",
"[Removed manually]"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "31.0.0.18",
"overwrite.cli.url": "http:\/\/nextcloud",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": "0",
"dbindex": "0",
"timeout": "0.5",
"password": "***REMOVED SENSITIVE VALUE***"
},
"memcache.local": "\\OC\\Memcache\\Redis",
"filelocking.enabled": "true",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"upgrade.disable-web": false,
"log_type": "file",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"loglevel": "2",
"log.condition": {
"apps": [
"admin_audit"
]
},
"maintenance_window_start": 2,
"mail_smtpmode": "smtp",
"remember_login_cookie_lifetime": "259200",
"log_rotate_size": "10485760",
"trashbin_retention_obligation": "auto, 60",
"versions_retention_obligation": "auto, 180",
"activity_expire_days": "120",
"simpleSignUpLink.shown": false,
"default_phone_region": "us",
"logtimezone": "America\/Chicago",
"htaccess.RewriteBase": "\/",
"session_lifetime": "259200",
"session_keepalive": "false",
"share_folder": "\/Shared",
"preview_concurrency_new": "2",
"preview_concurrency_all": "4",
"enabledPreviewProviders": [
"OC\\Preview\\Imaginary",
"OC\\Preview\\Image",
"OC\\Preview\\MarkDown",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\Movie",
"OC\\Preview\\Krita",
"OC\\Preview\\ImaginaryPDF"
],
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"preview_max_x": "2048",
"preview_max_y": "2048",
"preview_max_memory": "256",
"preview_format": "webp",
"maintenance": false,
"twofactor_enforced": "true",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"defaultapp": "",
"music.lastfm_api_key": "[Removed manually]",
"forbidden_filename_characters": [
"\\",
"\/"
],
"forbidden_filename_extensions": [
".filepart",
".part"
],
"theme": "",
"app_install_overwrite": []
}
}List of activated Apps
Enabled:
- calendar: 5.1.3
- cloud_federation_api: 1.14.0
- contacts: 7.0.3
- dav: 1.33.0
- federatedfilesharing: 1.21.0
- files: 2.3.1
- files_sharing: 1.23.1
- impersonate: 2.0.0
- lookup_server_connector: 1.19.0
- music: 2.1.2
- oauth2: 1.19.1
- profile: 1.0.0
- provisioning_api: 1.21.0
- settings: 1.14.0
- tasks: 0.16.1
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- twofactor_totp: 13.0.0-dev.0
- updatenotification: 1.21.0
- viewer: 4.0.0
- workflowengine: 2.13.0
Disabled:
- activity: 4.0.0 (installed 2.20.0)
- admin_audit: 1.21.0 (installed 1.20.0)
- app_api: 5.0.2 (installed 4.0.6)
- bruteforcesettings: 4.0.0 (installed 3.0.0)
- circles: 31.0.0-dev.0 (installed 30.0.0)
- comments: 1.21.0 (installed 1.20.1)
- contactsinteraction: 1.12.0 (installed 1.11.0)
- dashboard: 7.11.0 (installed 7.10.0)
- encryption: 2.19.0 (installed 2.18.0)
- federation: 1.21.0 (installed 1.20.0)
- files_downloadlimit: 4.0.0 (installed 3.0.0)
- files_external: 1.23.0 (installed 1.22.0)
- files_pdfviewer: 4.0.0 (installed 3.0.0)
- files_reminders: 1.4.0 (installed 1.3.0)
- files_trashbin: 1.21.0 (installed 1.21.0)
- files_versions: 1.24.0 (installed 1.23.0)
- firstrunwizard: 4.0.0 (installed 3.0.0)
- logreader: 4.0.0 (installed 3.0.0)
- nextcloud_announcements: 3.0.0 (installed 2.0.0)
- notifications: 4.0.0 (installed 4.0.0)
- password_policy: 3.0.0 (installed 2.0.0)
- photos: 4.0.0-dev.1 (installed 3.0.2)
- privacy: 3.0.0 (installed 2.0.0)
- recommendations: 4.0.0 (installed 2.0.0)
- related_resources: 2.0.0 (installed 1.3.0)
- serverinfo: 3.0.0 (installed 2.0.0)
- sharebymail: 1.21.0 (installed 1.18.0)
- support: 3.0.0 (installed 2.0.0)
- survey_client: 3.0.0 (installed 1.16.0)
- suspicious_login: 9.0.1 (installed 8.0.0)
- systemtags: 1.21.1 (installed 1.20.0)
- text: 5.0.0 (installed 4.1.0)
- twofactor_nextcloud_notification: 5.0.0 (installed 4.0.0)
- user_ldap: 1.22.0
- user_status: 1.11.0 (installed 1.8.1)
- weather_status: 1.11.0 (installed 1.10.0)
- webhook_listeners: 1.2.0 (installed 1.1.0-dev)Nextcloud Signing status
No errors have been found.Nextcloud Logs
Additional info
Error when opening Files app:
[ERROR] files: Error while checking action
Object { app: "files", uid: "mtr", level: "2", action: {…}, error: Error }
action: Object { _action: {…} }
_action: Object { id: "delete", displayName: h(e, t), order: 100, … }
<prototype>: Object { … }
app: "files"
error: Error: Could not find initial state config of files_trashbin
level: "2"
uid: "mtr"
<prototype>: Object { … }
index.mjs:54:16
log index.mjs:54
error index.mjs:72
enabledFileActions FileEntryMixin.ts:181
enabledFileActions FileEntryMixin.ts:171
VueJS 3
defaultFileAction FileEntryMixin.ts:188
VueJS 3
defaultFileAction FileEntryMixin.ts:46
VueJS 4
linkTo FileEntryName.vue:91
VueJS 3
Ms FileEntryName.vue:1
VueJS 45
updateHeightVariables VirtualList.vue:295
mounted VirtualList.vue:198
VueJS 5
handler FilesListVirtual.vue:147
VueJS 27
setRoot files.ts:90
a pinia.mjs:1399
fetchContent FilesList.vue:379
mounted FilesList.vue:336
VueJS 11
83793 main.ts:32
Webpack 5
Error when selecting file:
Error: Could not find initial state config of files_trashbin
a index.mjs:7
enabled deleteAction.ts:26
enabledFileActions FilesListTableHeaderActions.vue:65
enabledFileActions FilesListTableHeaderActions.vue:65
VueJS 3
enabledInlineActions FilesListTableHeaderActions.vue:75
VueJS 3
Xn FilesListTableHeaderActions.vue:1
VueJS 30
set selection.ts:15
a pinia.mjs:1399
onSelectionChange FileEntryCheckbox.vue:114
VueJS 4
set useModelMigration-EhAWvqDD.mjs:17
VueJS 2
onToggle NcCheckboxRadioSwitch-Dm_27r-z.mjs:654
click NcCheckboxRadioSwitch-Dm_27r-z.mjs:686
VueJS 3
vue.runtime.esm.js:3065:16
Metadata
Metadata
Assignees
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care of31-feedbackbugfeature: filesregression