Skip to content

Conversation

@enoch85
Copy link
Member

@enoch85 enoch85 commented Aug 29, 2021

Tested and works

@enoch85 enoch85 changed the title force installatio of Issue Template force installation of Issue Template Aug 29, 2021
@enoch85
Copy link
Member Author

enoch85 commented Aug 29, 2021

@juliushaertl I don't know if there's a reason for not fixing this in core(?), but this works as a workaround to get it enabled.

Please advice.

@szaimen
Copy link
Collaborator

szaimen commented Aug 29, 2021

@enoch85 As an advice: I suppose nextcloud_occ app:install issuetemplate --force would probably be better ;)

@enoch85
Copy link
Member Author

enoch85 commented Aug 29, 2021

Aah, true, didn't know that --force existed.

need to be able to change info.xml, and the `--force` option installs and enables it with the wrong "compatibility".
@enoch85
Copy link
Member Author

enoch85 commented Aug 29, 2021

But, it didn't work. :/

@szaimen
Copy link
Collaborator

szaimen commented Aug 29, 2021

But, it didn't work. :/

Strange, thats excactly the usecase it was implemented for...

@enoch85
Copy link
Member Author

enoch85 commented Aug 30, 2021

Strange, thats excactly the usecase it was implemented for...

Maybe a bug, or it simply doesn't allow enabling when info.xml is wrong?

@szaimen
Copy link
Collaborator

szaimen commented Aug 30, 2021

Don't know... See nextcloud/server#26252 for the PR

@enoch85
Copy link
Member Author

enoch85 commented Aug 30, 2021

I'll merge this for now.

@enoch85 enoch85 merged commit fea049f into master Aug 30, 2021
@delete-merged-branch delete-merged-branch bot deleted the issuetemplate branch August 30, 2021 21:03
@szaimen
Copy link
Collaborator

szaimen commented Aug 30, 2021

Just tried the force option myself.
The force option really didn't work in its alone but what works is this:

nextcloud_occ app:install --force --keep-disabled issuetemplate
nextcloud_occ app:enable issuetemplate --force

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants