-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
IApacheBackend Bug #23899
Comments
Thanks for the fix. I hope this is working for 9.1, as when applying it to 8.2.1, another error appears: GUI:In the logs:{"reqId":"6Qcyhehckgykd0cGJJCk","remoteAddr":"xxx.xxx.xxx.xxx","app":"files_skeleton","message":"copying skeleton for dep_tester123 from /owncloud/core/skeleton to /dep_tester123/files/","level":0,"time":"2016-04-11T18:16:19+01:00","method":"GET","url":"/owncloud/index.php?redirect_url=%2Fowncloud%2Findex.php%2Fapps%2Ffiles%2F"} More info:The error only happens on a user's first access through the IApacheBackend, from the second access onwards it works. |
Singel-Sign-On and encryption don't work together - this is an unsupported scenario |
Sorry, that's not correct, since OC 8.2, encryption was in fact changed to support SSO:
https://doc.owncloud.org/server/8.2/admin_manual/configuration_files/encryption_configuration.html |
So why don't you follow the docs and configure it properly? |
Thanks for the allegation that I didn't. Encryption works well and should be configured correctly already. The fact that the error only happens on a user's first access through the IApacheBackend, and works from the second access onwards, does rather point to some flaw in the initialization, don't you think? |
this error message shows that the private key does not exist. Encryption and SSO will only work if you use the master key - https://doc.owncloud.org/server/8.2/admin_manual/configuration_server/occ_command.html#encryption
|
Yeah, I know, we have that running since January, e.g see #21598 Meaning that even with master key enabled, the error occurs. |
But #21598 was fixed with 8.2.3 and you say you are running 8.2.1 - so it might work once you upgrade? |
@DeepDiver1975 : uhm, the link was merely for demonstration purpose to show that a) I have master key enabled since that master key related issue had been reported by me in January Not saying that it would fix this issue. |
@DeepDiver1975 : But when looking at the commit of #21612, it potentially could fix it. Let me try to patch it in, I'll report back. |
@DeepDiver1975 : Tried it out, unfortunately the error stays the same. It dies in /owncloud/apps/encryption/lib/keymanager.php:
|
related: #19656 |
@DeepDiver1975 : The problem isn't fixed yet when enabling encryption. But as this is closed now without considering the outstanding problem, a new issue will be opened. |
this is a problem of it's own and has to be handled in an issue of it's own. THX |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
A bug has been found in the IApacheBackend API on ownCloud 8.2.1 which only occurs for new users who never logged in by username/password before. It is suspected that an initial username/password login triggers crucial initializations that the IApacheBackend API doesn't. A simple testing app has been uploaded to facilitate reproducing the problem and to show in a crystal clear way that it is in fact a core bug: https://github.com/GitHubUser4234/apps/tree/master/user_dp
Steps to reproduce
The error goes away when "dep_tester123" does an initial login/logout:
Server configuration
Operating system: RHEL 5
Web server: Apache 2.2
Database: MySQL
PHP version: 5.6
ownCloud version: 8.2.1
Updated from an older ownCloud or fresh install: No
The text was updated successfully, but these errors were encountered: