Good day. I’m new here and I hope you could help me. I’ve had Owncloud run with the app encryption. Unfortunately,
my mysql database was destroyed and I had to rebuild everything,
unfortunately I could not save the DB of Owncloud. I then saved from the data directory the files from my account. Owncloud new installed, new user with the same login and password created and then the files back copied back. Now I get however the hint that the password no longer matches and I do not come to the files. Do not even show me. Have then tried to change the password at Perönslich with Owncoud basic encryption, which does not work unfortunately. Except for a file would be the rest no matter, but this is important for me.
Thanks for your help
greeting
Stefan
tflidd
November 29, 2016, 10:29pm
2
For the current encryption it seems that you need the database for an easy restore. However, most information are only to check the signature. I tried such a recovery but didn’t really succeed:
opened 11:39PM - 19 Nov 16 UTC
closed 12:49PM - 10 Aug 18 UTC
bug
feature: encryption (server-side)
### Steps to reproduce
1.Login as user
2.User can navigate through his uploade… d files
3.User is capable of open or download his files
### Expected behaviour
Tell us what should happen
Files should open or download without any problem
### Actual behaviour
Tell us what happens instead
Files can't download or open because are encrypted, so when the user is trying to download the, the browser is acting like you are trying to download via local.

In other hand when user tries to open the files, browser redirect with error message "File not found" and url doesn't seems like normaly "[domainname]/apps/files/?dir=/[DirectoryName]/[FileName]&fileid=26" but something like this "[domainname]/remote.php/webdav/[FileName]" instead.
### Server configuration
**Operating system**:
CentOS 6.8
**Web server:**
VPS
**Database:**
MySQL 5.5.52
**PHP version:**
Ver. 7 (FastCGI)
**Nextcloud version:** (see Nextcloud admin page)
$OC_Version = array(9,1,1,5);
$OC_VersionString = '10.0.1';
$OC_Edition = '';
$OC_Channel = 'stable';
$OC_VersionCanBeUpgradedFrom = array(9,0);
$OC_Build = '2016-09-28T13:31:28+00:00 12ec1d1e3e5d90140e2afaca8afc3727dadeca1a';
$vendor = 'nextcloud';
**Updated from an older Nextcloud/ownCloud or fresh install:**
$OC_Version = array(9,1,1,5);
$OC_VersionString = '10.0.1';
$OC_Edition = '';
$OC_Channel = 'stable';
$OC_VersionCanBeUpgradedFrom = array(9,0);
$OC_Build = '2016-09-28T13:31:28+00:00 12ec1d1e3e5d90140e2afaca8afc3727dadeca1a';
$vendor = 'nextcloud';
**Where did you install Nextcloud from:**
The previous version was downloaded from the official website of nextcloud.
The update, i 'm not sure!
**Signing status:**
<details>
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
No errors have been found.
</details>
**List of activated apps:**
<details>
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder:
Enabled:
- activity: 2.3.2
- comments: 1.0.0
- dav: 1.0.0
- encryption: 1.3.1
- federatedfilesharing: 1.0.1
- federation: 1.0.1
- files: 1.5.2
- files_pdfviewer: 0.8.1
- files_reader: 0.7.2
- files_sharing: 1.0.0
- files_texteditor: 2.1
- files_trashbin: 1.0.0
- files_versions: 1.3.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 15.0.0
- notifications: 0.3.0
- password_policy: 1.0.0
- provisioning_api: 1.0.0
- serverinfo: 1.1.1
- survey_client: 0.1.5
- systemtags: 1.0.2
- templateeditor: 0.1
- theming: 1.0.1
- updatenotification: 1.0.1
- workflowengine: 1.0.1
Disabled:
- admin_audit
- audioplayer
- calendar
- contacts
- external
- files_accesscontrol
- files_automatedtagging
- files_external
- files_retention
- music
- quicknotes
- registration
- tasks
- user_external
- user_ldap
- user_saml
</details>
**The content of config/config.php:**
<details>
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder:
{
"system": {
"instanceid": "ocieaexjlsza",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"cloud.paragonmm.gr",
"www.cloud.paragonmm.gr"
],
"datadirectory": "\/var\/www\/vhosts\/paragonmm.gr\/cloud.paragonmm.gr\/data",
"overwrite.cli.url": "https:\/\/cloud.paragonmm.gr",
"dbtype": "mysql",
"version": "9.1.0.16",
"dbname": "paragonm_cloud",
"dbhost": "localhost:3306",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "UTC",
"installed": true,
"singleuser": false
}
}
</details>
**Are you using external storage, if yes which one:** local/smb/sftp/...
NO
**Are you using encryption:** yes/no
YES
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
NO
</details>
### Client configuration
**Browser:**
Mozilla / Chrome
**Operating system:**
Windows 10
### Logs
#### Web server error log
<details>
<summary>Web server error log</summary>
2016-11-20 01:21:49 Error 37.6.0.230 500 GET /remote.php/webdav/%CE%91%CE%9D%CE%91%CE%9A%CE%9F%CE%99%CE%9D%CE%A9%CE%A3%CE%97.doc HTTP/1.1 Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0 9.44 K Apache access
</details>
Probably, this was only a small step missing. If you have some experience with PHP your changes are much better than mine.