-
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
[OCP\App\AppManagerException] when I run occ app:enable theme-* twice #31475
Comments
@michaelstingl What you want is a Feature Request - that when a theme is already enabled, and you want to enable another theme it implicitly disables the old theme and enables the new theme
Is the theme on the marketplace? Otherwise you need to use
|
@patrickjahns I initially tested with |
I don't want to install another theme. I just don't want a nasty exception if I enable my current theme twice. This is what the Docker does under the hood. |
@patrickjahns it's a bug and not a feature request if you try to enable the same theme twice. You don't need to disable theme-enterprise to enable theme-enterprise. Just add a check if somebody tries to enable the already enabled theme and it should be totally fine. |
@patrickjahns @tboerger how to proceed here? Do we need an ugly workaround in the Docker to always check before activating? |
Even for backward compatibility it looks like I really need to add a check for that -.- |
@michaelstingl My misunderstanding for the feature request, was the impression that you want to automatically disable the "old theme" when enabling a "new theme". |
just for reference, not fixed in
|
@michaelstingl yes, because #31783 is waiting for 10.0.10 |
Environment variable
OWNCLOUD_APPS_INSTALL
doesn't work for themes with official Docker. /cc @tboergerSteps to reproduce
occ app:enable theme-example
2xExpected behaviour
I shouldn't get a serious exception when I enable an app a 2nd time. Other apps doesn't have this problem:
Actual behaviour
Server configuration
Operating system:
Ubuntu 16.0.4
Web server:
Apache/2.4.18
Database:
mysql Ver 14.14 Distrib 5.7.22
PHP version:
PHP 7.0.30
ownCloud version: (see ownCloud admin page)
10.0.8
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
official Docker
Signing status (ownCloud 9.0 and above):
The content of config/config.php:
List of activated apps:
Are you using external storage, if yes which one: local/smb/sftp/...
no
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
@patrickjahns is this related to the known issue in 10.0.8 and already fixed for 10.0.9?
The text was updated successfully, but these errors were encountered: