owncloud / core

:cloud: ownCloud web server core (Files, DAV, etc.)
https://owncloud.com
GNU Affero General Public License v3.0
8.38k stars 2.06k forks source link

List of apps availables from CLI doesn't match reality #20838

Closed nabab closed 8 years ago

nabab commented 8 years ago

On latest version (8.2.1), I am trying to create a command line script to install Owncloud, but it seems I cannot list or enable all the apps really availables. If I do ./occ app: list, I get this:

Enabled:

Disabled:

However, in the web client, I have bookmarks, documents, calendar, which are disabled. If I try to enable them from CLI: ./occ app:enable bookmarks I get: bookmarks not found

Now, if I enable it from the GUI it works, then appear in the app:list, and from that moment I can enable and disable it from the command line. The exact same scenario happens with any app which is not present in the list, and is in fact outside of the categories Enabled and Disabled. I think to remember that in the disabled apps, I could see all of them. Now if documents is disabled I see it in Productivity but not in Disabled.

Subsidiary question: how can I change the value of the configuration var "trusted_domains" from the CLI?

Many thanks!

karlitschek commented 8 years ago

this is an expected behavior. occ can only enable and disable apps that already exist on the server. the webinterface has the advanced feature to download apps from apps.owncloud.com. This is the case for bookmarks for example.

karlitschek commented 8 years ago

i suggest to ask the other questions at owncloud.org/support

nabab commented 8 years ago

Thanks! Is the process of downloading and activating an app from the command line documented? And by any chance do you know the answer to my last question? All parameters passed to config:system:set seem to be processed as string. Cheers

nabab commented 8 years ago

Sorry I hadn't seen, will do right away

lock[bot] commented 5 years ago

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.