-
|
I propose to add a command line tool to carry out management operations. It would reside inside the MC, and be built out of the same codebase that the web interface is. Speaking from personal experience and after having read many of the GH discussions, it seems that the current approach of "configuration is carried out via a web interface" and "the MC works like magic / black box" is reaching its limits. Advantages of a command-line tool:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Hi, honestly I'd rather think we should focus on making the aio-interface more reliable and harder to break. Btw, a basic cli tool already exists: https://github.com/nextcloud/all-in-one#how-to-stopstartupdate-containers-or-trigger-the-daily-backup-from-a-script-externally |
Beta Was this translation helpful? Give feedback.
-
I agree that the current AIO interface does not seem 100% rock solid. It might be that I am just unlucky, but in 1 year of use, for a very simple setup, I already had a few cases of unexpected behaviour. My gut feeling is that the interface atm suffers from having been designed from the start with some assumptions about the supported workflows that later turned out to be too restrictive. Decoupling backups from containers start/stop and from image pulling would go a long way in making things simpler to reason about and test, and thus bring in solidity. Decoupling AIO management from web access, cookies, domain configuration, http timeouts, ports and firewalls setup also means having an interface which is more reliable and harder to break.
I know. I think that tool is not sufficient. The set of options to pass in is not clear (are they orthogonal to ecah other). Its scope/goal is opaque (does it risk triggering something I do not want). It is way too limited in functionality. It is written in shell, which makes it a no-go proposition for expansion into a proper console-based management tool |
Beta Was this translation helpful? Give feedback.
-
Lolz. I just found out that in fact many more cli tools already exist. They are just stored in a This kind of proves my point (the need for those cli commands was there), and also makes the task of unifying those under a single umbrella much easier. So, what I am proposing, becomes to start with:
|
Beta Was this translation helpful? Give feedback.
Hi, honestly I'd rather think we should focus on making the aio-interface more reliable and harder to break.
Btw, a basic cli tool already exists: https://github.com/nextcloud/all-in-one#how-to-stopstartupdate-containers-or-trigger-the-daily-backup-from-a-script-externally