-
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
Setup page for stable10 / 10.0.9beta broken, chicken-egg problem #31741
Comments
GitMate.io thinks possibly related issues are #13402 (... broken), #30329 ([stable10] hotfix 10.0.6 commits), #30535 (Merge Hotfix 10.0.7 back to stable10), and #27476 (Cannot migrate from 9.1.4 to daily master, oc_accounts table does not exist). |
We need to detect whether OC is installed before reading the config. I wonder if it would be possible and safe to add code in the IAppConfig implementation to return a dummy object that returns empty for any settings. This would cover any other code paths that might try to access app config settings when DB was not setup. @VicDeo can you have a look ? |
@DeepDiver1975 any thoughts on the above approach or would it be too dangerous ? |
LBS:
|
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. |
Steps
Expected result
Setup page can be displayed
Actual result
Internal server error
Version
ownCloud 10.0.9beta
The bug is likely introduce by #31704. The setup page is using the regular footer in which the imprint / privacy policy URL must be injected. For these, the DB is required for accessing the appconfig settings. However the DB hasn't been setup yet...
The text was updated successfully, but these errors were encountered: