Open danmerchantup opened 1 year ago
Yes this issue should be open.
I thought I would add this in incase it is relevant, it is impossible to enable server side encryption, clicking on the button does nothing.
Hi @charlycoste -
Can you please provide the output of these (or their equivalent adjusted for your environment):
occ config:list system
occ app:list
occ integrity:check-core
What version of NC server did you upgrade from and what method was used to deploy the server update?
> occ config:list system
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"192.168.0.25",
"danmerchant.duckdns.org",
"merchantempire.co.uk"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"version": "27.0.2.1",
"overwrite.cli.url": "http:\/\/danmerchant.duckdns.org\/nextcloud",
"installed": true,
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"memcache.local": "\\OC\\Memcache\\APCu",
"theme": "",
"loglevel": "0",
"encryption.legacy_format_support": true,
"encryption.key_storage_migrated": false
}
}
> occ app:list
Enabled:
- activity: 2.19.0
- admin_audit: 1.17.0
- appointments: 1.15.3
- bookmarks: 13.1.1
- bruteforcesettings: 2.7.0
- camerarawpreviews: 0.8.2
- cloud_federation_api: 1.10.0
- comments: 1.17.0
- contacts: 5.3.2
- contactsinteraction: 1.8.0
- cookbook: 0.10.2
- cospend: 1.5.10
- cpanelmailsync: 0.1.7
- dashboard: 7.7.0
- dav: 1.27.0
- drawio: 2.1.2
- encryption: 2.15.0
- federatedfilesharing: 1.17.0
- federation: 1.17.0
- files: 1.22.0
- files_antivirus: 5.2.2
- files_external: 1.19.0
- files_linkeditor: 1.1.16
- files_mindmap: 0.0.28
- files_pdfviewer: 2.8.0
- files_rightclick: 1.6.0
- files_sharing: 1.19.0
- files_trashbin: 1.17.0
- files_versions: 1.20.0
- files_versions_s3: 0.2.0
- firstrunwizard: 2.16.0
- forms: 3.3.1
- gpxpod: 5.0.12
- keeweb: 0.6.13
- logreader: 2.12.0
- lookup_server_connector: 1.15.0
- mail: 3.3.1
- metadata: 0.19.0
- nextcloud_announcements: 1.16.0
- notes: 4.8.1
- notifications: 2.15.0
- oauth2: 1.15.1
- ownpad: 0.9.5
- password_policy: 1.17.0
- photos: 2.3.0
- polls: 5.2.0
- privacy: 1.11.0
- provisioning_api: 1.17.0
- qownnotesapi: 23.6.0
- recommendations: 1.6.0
- related_resources: 1.2.0
- riotchat: 0.16.0
- serverinfo: 1.17.0
- settings: 1.9.0
- sharebymail: 1.17.0
- support: 1.10.0
- survey_client: 1.15.0
- systemtags: 1.17.0
- tasks: 0.15.0
- text: 3.8.0
- theming: 2.2.0
- twofactor_backupcodes: 1.16.0
- unsplash: 2.2.1
- updatenotification: 1.17.0
- user_status: 1.7.0
- viewer: 2.1.0
- weather_status: 1.7.0
- workflowengine: 2.9.0
Disabled:
- analytics: 4.10.0 (installed 4.10.0)
- audioplayer: 3.4.0 (installed 3.4.0)
- audioplayer_editor: 0.3.0 (installed 0.3.0)
- breezedark: 26.0.0 (installed 20.0.10)
- calendar: 4.4.4 (installed 4.4.4)
- checksum: 1.2.2 (installed 1.2.2)
- circles: 27.0.1 (installed 0.20.7)
- cms_pico: 1.0.21 (installed 1.0.21)
- customproperties: 2.0.4 (installed 2.0.4)
- deck: 1.10.0 (installed 1.10.0)
- discoursesso: 1.25.0 (installed 1.24.0)
- documentserver_community: 0.1.13 (installed 0.1.12)
- duplicatefinder: 1.0.5 (installed 1.0.5)
- epubreader: 1.4.7 (installed 1.4.7)
- event_update_notification: 2.2.0 (installed 2.2.0)
- facerecognition: 0.9.31 (installed 0.9.31)
- files_accesscontrol: 1.17.0 (installed 1.17.0)
- files_automatedtagging: 1.17.0 (installed 1.17.0)
- files_downloadactivity: 1.16.0 (installed 1.9.0)
- files_fulltextsearch: 27.0.1 (installed 27.0.1)
- files_fulltextsearch_tesseract: 27.0.0 (installed 27.0.0)
- files_lock: 27.0.0 (installed 27.0.0)
- files_markdown: 2.4.1 (installed 2.4.1)
- files_readmemd: 2.0.0 (installed 1.2.2)
- files_texteditor: 2.15.1 (installed 2.15.1)
- files_trackdownloads: 1.11.0 (installed 1.9.0)
- fulltextsearch: 27.0.1 (installed 27.0.1)
- grauphel: 1.0.18 (installed 0.7.6)
- groupfolders: 15.0.2 (installed 15.0.2)
- imageconverter: 1.3.5 (installed 1.3.5)
- ldap_write_support: 1.9.0 (installed 1.2.1)
- maps: 1.1.0 (installed 1.1.0)
- music: 1.8.4 (installed 1.8.4)
- news: 23.0.0 (installed 23.0.0)
- oidc_login: 2.6.0 (installed 2.6.0)
- ojsxc: 5.0.0 (installed 5.0.0)
- onlyoffice: 8.2.0 (installed 8.2.0)
- openhab: 0.12.0 (installed 0.9.5)
- phonetrack: 0.7.6 (installed 0.7.6)
- printer: 0.0.5 (installed 0.0.5)
- privatedata: 2.0.0 (installed 1.2.0)
- quicknotes: 0.8.10 (installed 0.8.10)
- radio: 1.0.3 (installed 1.0.2)
- rainloop: 7.2.6 (installed 7.2.6)
- ransomware_detection: 0.10.0 (installed 0.10.0)
- ransomware_protection: 1.14.0 (installed 1.10.0)
- sendent: 2.0.4 (installed 2.0.4)
- sharingpath: 0.4.4 (installed 0.3.0)
- spreed: 17.0.3 (installed 10.0.7)
- suspicious_login: 5.0.0 (installed 3.2.1)
- talk_simple_poll: 1.3.1 (installed 1.3.1)
- terms_of_service: 2.2.0 (installed 2.2.0)
- transmission: 0.7.4 (installed 0.7.2)
- twofactor_totp: 9.0.0
- user_external: 3.2.0 (installed 3.2.0)
- user_ldap: 1.17.0
- user_oidc: 1.3.3 (installed 0.3.1)
- user_usage_report: 1.11.0 (installed 1.11.0)
- video_converter: 1.0.6 (installed 1.0.6)
- w2g2: 3.3.9 (installed 3.0.3)
- whiteboard: 0.0.3 (installed 0.0.3)
- workflow_pdf_converter: 1.12.0 (installed 1.12.0)
> occ integrity:check-core
- INVALID_HASH:
- core/js/mimetypelist.js:
- expected: 4b0a99fbab7bc4824176101150bd0ab2b553e128a390e0f872580db4541462b31aad13099fd41533b6695d1b185dabca26a45e9a78227cfb9479eafa439c7bff
- current: 7ae001c5fbb89c0fb11c13a3107cdb947cc1ff169eee7076d0644e9e3b8426f10e7431d1925d2bad2e1d3a9c2b7d2402755062d9b1537b895e850a21a850a2b4
- index.php:
- expected: 38a8fdca67252f98247e4b97ff4192025df155e48474d9c83ebae64762af7fee4c100b86ad76a0cc99ed9e36dad9c361e1adbe5eaa37be6099c7856b11ef5c03
- current: 1de9b867567c0df814aa18b1aef0e0f5be1f0e753cc55b08daf2c589134eea98bb39ec9c75ef8395e9dd5c883c7d9a8a153447da873ae9dd1b478356bbf9b637
- EXTRA_FILE:
- core/img/filetypes/calc.svg:
- expected:
- current: bef51e930ec5047a49725a8f6d2fc4891632f3478b073fde84428a2be570c445b33a2ef89c70b8fd4c02e4df6da9ba9b5704f02ed36bbd4da36feec373fa69e6
- core/img/filetypes/pad.svg:
- expected:
- current: 6cf2d48c6e4184e05342fbead6aff3951815ea4b06a2fa80084572722eeb22c33dda2a7455af8cef8a04aa6b857b9c879ba3583e6c3938a0357a6defda5f0ab8
- phpstorm_debug.php:
- expected:
- current: a01b9988a355e4bb3fcecb5c7b44e69edc5885953cce0f5920a7c77b914556b306b22e47fb90ef5c6a17386ff0b319936ec71ed256176fa3ce41eb534aa5396f
- phpstorm_debug_validator.phar:
- expected:
- current: 242cfca8913ee587e4984992980d6204d87f6ad39af1f8a4875dcb7d268bf0858f00b984baa2970c3ca8ee264a55cd2d377bebb10367cb81fb28a26d96d112a3
- .idea/nextcloud.iml:
- expected:
- current: 4c8e1553aee0b6e661830d2d78b0b18380735a48a02d613f2aa1b717d5984d86fdff41e6091dd21709bcc05ab778d247b4f85a05d866b91cf394652ea0ce86c1
- .idea/php.xml:
- expected:
- current: e77a26d9d9b93aee21eaa92d5dea5ab3cbec943a534f84d9cd1211bcf062f395c0060f88686e1eae8a1fba98ee691a7a9995e7f0b4cd9422e58a99e64eeca749
- .idea/webServers.xml:
- expected:
- current: f8139d4f65a618e8fe070046ed84a96131bca29b6202441e6bdc0d3c6736e18ae689154ee50da8bccc4928d885e5776ffa368f2a72b2e910df9ed946055610df
- .idea/.gitignore:
- expected:
- current: 87b1aa5149cf7de813bc617610a56927aaf8ba9dfcc4e79988214e47145ae5c74900bea14ed0c7f88c997eecfb4319be9b253139451de5b405ae64158e102a53
- .idea/modules.xml:
- expected:
- current: 901dec14c335490b1b9f57ecd353eca82ca89b22d408b69cdea74be7991bf63f021c73797d64ffe02602f60dd41a1b5e8e84a23587cbdb4143901f7478c4cfd4
- .idea/workspace.xml:
- expected:
- current: 2e9858e4fe4c8870eee6123711f4ec47d38ba12f818f8cfc2b22a3634504754c895ddfa9d738ac44c15c8352806b446f5b0433025e5adb23811dc995111bd37a
- .idea/deployment.xml:
- expected:
- current: 9c76a95449b0ced795086b4559190846f757c91c8bd9aae54ffc48eba438191a9ce95a95dde87592e5b70aa71c8a018ca2e1b21efc2c0cedcf08d3381b81de07
- phpstorm_index.php:
- expected:
- current: f3eec292ffde265481b68afb116f872e32709a36b5c4bfda85b013ac1591f191ef2684e6e44aa3ff1dbd5420990b98337a808bd698789226f3e092411ada4bd3
I upgraded from the previous version 26 and I used the web based updater.
Hi @charlycoste -
Can you please provide the output of these (or their equivalent adjusted for your environment):
occ config:list system
occ app:list
occ integrity:check-core
What version of NC server did you upgrade from and what method was used to deploy the server update?
Hi
I upgraded from the previous version 26 and I used the web based updater. Please see below for the outputs requested.
Many thanks
root@DanServer2:ext/nextcloud # sudo -u www-data php occ encryption:scan:legacy-format Scanning all files for legacy encryption Scanning all files for dan ^[[A^[[B^[[B^[[A/dan/files_trashbin/files/driver.d1628700812/aclsoc.c does not have a proper header /dan/files_trashbin/files/driver.d1628700812/aclsoc_cmd.c does not have a proper header /dan/files_trashbin/files/driver.d1628700812/aclsoc_fileio.c does not have a proper header /dan/files_trashbin/files/driver.d1628700812/aclsoc.h does not have a proper header /dan/files_trashbin/files/driver.d1628700812/diagnostic.c does not have a proper header /dan/files_trashbin/files/driver.d1628700812/hw_mmd_constants.h does not have a proper header /dan/files_trashbin/files/driver.d1628700812/Makefile does not have a proper header /dan/files_trashbin/files/driver.d1628700812/mmd_linux_driver_exports.h does not have a proper header /dan/files_trashbin/files/driver.d1628700812/README does not have a proper header /dan/files_trashbin/files/driver.d1628700812/reprogram.c does not have a proper header /dan/files_trashbin/files/driver.d1628700812/user.c does not have a proper header /dan/files_trashbin/files/driver.d1628700812/version.h does not have a proper header /dan/files_trashbin/files/exm_opencl_hello_world_x64_windows.d1620655793/exm_opencl_hello_world_x64_windows/hello_world/debug.log does not have a proper header /dan/files_trashbin/files/exm_opencl_hello_world_x64_windows.d1620655793/exm_opencl_hello_world_x64_windows/hello_world/hello_world.sln does not have a proper header /dan/files_trashbin/files/exm_opencl_hello_world_x64_windows.d1620655793/exm_opencl_hello_world_x64_windows/hello_world/hello_world.vcxproj does not have a proper header /dan/files_trashbin/files/exm_opencl_hello_world_x64_windows.d1620655793/exm_opencl_hello_world_x64_windows/hello_world/hello_world.vcxproj.filters does not have a proper header /dan/files_trashbin/files/exm_opencl_hello_world_x64_windows.d1620655793/exm_opencl_hello_world_x64_windows/hello_world/hello_world.vcxproj.user does not have a proper header Scanning all files for lisa
root@DanServer2:ext/nextcloud # sudo -u www-data php occ encryption:list-modules
The keys are located in data/files_encryption/
I ran this to clear out the bad header files:
root@DanServer2:ext/nextcloud # sudo -u www-data php occ versions:cleanup Delete all versions Delete versions for users on backend Database dan lisa
The issue seems to have resolved itself now I think that running occ encryption:scan:legacy-format and occ files:scan which appears to have removed the error. I have also disabled encryption.legacy_format_support in config.php but I am unsure what to do about encryption.key_storage_migrated it does not seem to be documented anywhere?
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
⚠️ Before submitting, please verify the following: ⚠️
Bug description
After upgrading to Nextcloud 27, I am getting an error that the OC_DEFAULT_MODULE does not exist. The Default Encryption App is enabled.
occ encryption:status
returns:The Personal -> Security page reports "Encryption App is enabled, but your keys are not initialized. Please log-out and log-in again. " I have tried logging out and logging back in through the web browser several times but the message has stayed the same and the error persists.
Steps to reproduce
Error occurs when the Desktop Client is attempting to sync, it stops during the first file and so no files are being synced.
Expected behavior
When syncing the files, the files should be synchronised with the server files.
Which files are affected by this bug
nextcloud.exe
Operating system
Windows
Which version of the operating system you are running.
Windows 10/11, Ubuntu 23
Package
Distro package manager
Nextcloud Server version
27.0.2
Nextcloud Desktop Client version
3.9.3
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 3.3.6 to 3.4.0)
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
Are you using an external user-backend?
Nextcloud Server logs
No response
Additional info
Create-Debug-Archive-Extra-Logs.zip