-
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
PHP Fatal error: Class 'OC_Mount_Config' not found #22641
Comments
Link please. |
Ohh - retested: No issue in community beta2: http://download.owncloud.org/community/testing/owncloud-9.0.0beta2.tar.bz2 Only in enterprise tar. Thought there should not be a difference. |
I reopen this issue due to it is still happening in "9.1.0.11","versionstring":"9.1.0 RC1","edition":"Enterprise"} Steps to reproduce:
The 1st time a occ command is run, the following log appears:
|
@davitol I cannot reproduce this 😢 |
I've seen this using 9.0.1 EE, |
grrrr ... this is pure non-sense: oc_mount_config lives in files_external - if this app is not loaded it will crash |
easiest thing would be to disallow deactivation of files_external |
@DeepDiver1975 since this bug is about installing OC, maybe we could just set |
I can reproduce this happens when windows_network_drive is present and you run |
Should not happen any more on master... Should we close or do you guys need a backportable quickfix ? |
ok then, I'll close. Thanks |
Reopening. It is not possible to use "occ maintenance:install" with EE and WND due to this. |
Okay, here is what happens:
Since this is a hacky mess, I'll fix the WND app to auto-enable files_external at the time the app becomes enabled in "appinfo/install.php". I hope this is called for bundled apps... If that doesn't work, add explicit code in "register_command.php" in WND to make sure the files_external namespace is loaded. |
For previous versions, the workaround is to run "occ" once without any args and let it fail. |
Fix for WND: https://github.com/owncloud/windows_network_drive/pull/79 using "appinfo/install.php" approach. That did the trick! |
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 to reproduce
Expected behaviour
occ command to set overwrite.cli.url should run without throwing PHP Fatal error.
Actual behaviour
Command line output:
Logfile:
Note:
Server configuration
Operating system: Ubuntu 14.04
Web server: Apache
Database: MariaDB remote
PHP version: PHP 5.5.9
ownCloud version: 9.0.0 beta2
List of activated apps: default
The content of config/config.php: default
The text was updated successfully, but these errors were encountered: