Update to Debian 12. Failed to upload the file "file name": Encryption not ready: multikeyencryption failed error:0480006C:PEM routines::no start line

Steps to reproduce

  1. upload a file or create text file

Expected behaviour

Tell us what should happen

Actual behaviour

error : Failed to upload the file “toto.txt”: Encryption not ready: multikeyencryption failed error:0480006C:PEM routines::no start line
However, I can create a folder. And I can open the files already present.
I disabled the encryption application :
sudo -u www-data /var/www/owncloud/occ app:disable encryption

Server configuration

Operating system:
Debian 12
Web server:
Apache/2.4.57
Database:
10.11.4-MariaDB
PHP version:
7.4
ownCloud version: (see ownCloud admin page)
10.13.4.1
Updated from an older ownCloud or fresh install:
Updated from an older ownCloud
Where did you install ownCloud from:
SSH
Signing status (ownCloud 9.0 and above):
No errors have been found.




**The content of config/config.php:**
{
    "system": {
        "updatechecker": false,
        "instanceid": "ock5v5u3t8gg",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.210.119",
            "dynacloud01",
            "drive.dynacite.fr",
            "195.28.206.34"
        ],
        "datadirectory": "\/ocdata\/data",
        "overwrite.cli.url": "https:\/\/drive.dynacite.fr\/owncloud",
        "dbtype": "mysql",
        "version": "10.13.4.1",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "localhost",
            "port": 6379
        },
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "loglevel": 2,
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "theme": "",
        "maintenance": false,
        "ldapIgnoreNamingRules": false,
        "customclient_android": "https:\/\/apps.dynacite.fr\/APK\/ownCloud.apk",
        "customclient_desktop": "https:\/\/owncloud.org\/download\/#owncloud-desktop-client",
        "integrity.ignore.missing.app.signature": [
            "theme-dynacite"
        ],
        "allow_user_to_change_mail_address": "",
        "singleuser": false
    }
}

Log in to the web-UI with an administrator account and click on
‘admin’ → ‘Generate Config Report’ → ‘Download ownCloud config report’
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

ATTENTION: Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove all host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.


**List of activated apps:**
Enabled:
  - activity:
    - Version: 2.7.2
    - Path: /var/www/owncloud/apps/activity
  - comments:
    - Version: 0.3.0
    - Path: /var/www/owncloud/apps/comments
  - configreport:
    - Version: 0.2.2
    - Path: /var/www/owncloud/apps/configreport
  - contacts:
    - Version: 1.5.5
    - Path: /var/www/owncloud/apps/contacts
  - dav:
    - Version: 0.7.0
    - Path: /var/www/owncloud/apps/dav
  - diagnostics:
    - Version: 0.2.0
    - Path: /var/www/owncloud/apps/diagnostics
  - federatedfilesharing:
    - Version: 0.5.0
    - Path: /var/www/owncloud/apps/federatedfilesharing
  - federation:
    - Version: 0.1.0
    - Path: /var/www/owncloud/apps/federation
  - files:
    - Version: 1.6.0
    - Path: /var/www/owncloud/apps/files
  - files_external:
    - Version: 0.9.0
    - Path: /var/www/owncloud/apps/files_external
  - files_mediaviewer:
    - Version: 1.0.5
    - Path: /var/www/owncloud/apps/files_mediaviewer
  - files_pdfviewer:
    - Version: 1.0.1
    - Path: /var/www/owncloud/apps/files_pdfviewer
  - files_sharing:
    - Version: 0.14.0
    - Path: /var/www/owncloud/apps/files_sharing
  - files_texteditor:
    - Version: 2.6.1
    - Path: /var/www/owncloud/apps/files_texteditor
  - files_trashbin:
    - Version: 0.9.1
    - Path: /var/www/owncloud/apps/files_trashbin
  - files_versions:
    - Version: 1.3.0
    - Path: /var/www/owncloud/apps/files_versions
  - guests:
    - Version: 0.12.3
    - Path: /var/www/owncloud/apps/guests
  - impersonate:
    - Version: 0.6.0
    - Path: /var/www/owncloud/apps/impersonate
  - market:
    - Version: 0.8.0
    - Path: /var/www/owncloud/apps/market
  - notifications:
    - Version: 0.6.0
    - Path: /var/www/owncloud/apps/notifications
  - provisioning_api:
    - Version: 0.5.0
    - Path: /var/www/owncloud/apps/provisioning_api
  - templateeditor:
    - Version: 0.4.0
    - Path: /var/www/owncloud/apps/templateeditor
  - theme-dynacite:
    - Version: 1.0.0
    - Path: /var/www/owncloud/apps/theme-dynacite
  - updatenotification:
    - Version: 0.2.1
    - Path: /var/www/owncloud/apps/updatenotification
  - user_ldap:
    - Version: 0.18.0
    - Path: /var/www/owncloud/apps/user_ldap

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.


**Are you using external storage, if yes which one:** local/smb/sftp/...

**Are you using encryption:** yes

**Are you using an external user-backend, if yes which one:** ActiveDirectory/

#### LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM oc_appconfig WHERE appid = ‘user_ldap’;

Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.


### Client configuration
**Browser:**
EDGE, Chrome and Firefox
**Operating system:**
Windows 10
### Logs
#### Web server error log

Insert your webserver log here


#### ownCloud log (data/owncloud.log)

Insert your ownCloud log here


#### Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) …

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.