owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.41k stars 184 forks source link

Setup Wizard: Provide an easy way to install ocis #8162

Open tbsbdr opened 10 months ago

tbsbdr commented 10 months ago

Description

User Stories

Value

Proposal

On first installation, the admin gets asked for essential settings

  1. Which version do you want to download? [ • ] Stable 4.0.5 (default) [    ] Latest Daily

  2. Create Linux user: What should the Linux username be for starting Infinite Scale? Leave blank to skip if you don't have root privileges. > ocis

  3. Do you want to autostart Infinite Scale? If you don't have root privileges select "no". [ • ] Yes (default) [    ] No

  4. Do you want to configure Infinite Scale with certificate checking disabled? This is not recommended for public instances! [    ] Yes [ • ] No (default)

  5. Please enter the URL where users should access Infinite Scale Example: https://ocis.example.com > https://localhost:9200

  6. Should demo users be created? [    ] Yes [ • ] No (default)

  7. Should nginx be installed as a reverseproxy? If you don't have root privileges select "no". [ • ] Yes (default) [    ] No

  8. To be defined - what else is needed?

Summary output

=========================================
 Config summary
=========================================
 Version        :   Stable 4.0.5
 Linux user     :   skipped - unable to create user
 Autostart      :   skipped - unable to edit sysdemd
 Cert. check disbaled   :   No
 OCIS URL       :   https://cloud.tbsbdr.com
 Reverseproxy   :   skipped - unable to install nginx

 configpath     :   /Users/tobiasbaader/.ocis/path-to-data
 datapath       :   /Users/tobiasbaader/.ocis/path-to-data
 logfilespath   :   /Users/tobiasbaader/.ocis/path-to-logfiles

=========================================
 Congratulations!
=========================================
Infinite Scale is running successfully!

Open https://cloud.tbsbdr.com with your browser and login with one of these users:

 user           :   admin
 password       :   iQ5.Q$QePDaEvsHXXxf^db05ErPpBlGp

 user           :   einstein
 password       :   relativity

 user           :   marie
 password       :   radioactivty

Implementation detail:

michaelstingl commented 10 months ago

7. Should nginx be installed as a reverseproxy? If you don't have root privileges select "no". [ • ] Yes (default) [    ] No

Why nginx, not Traefik?

michaelstingl commented 10 months ago

8. To be defined - what else is needed?

  1. Auto-SSL, Certbot…
  2. Maybe prompt for storage path?
  3. Logging, log rotation?
mfeilner commented 10 months ago

How do we make it possible to survive a reboot? I.e. service integration... On Ubernauten, I had to fiddle with Supervisord. I guess a Systemd script would be a requirement, wouldn't it? https://owncloud.dev/ocis/deployment/ubernauten/

Second, will data be overwritten in the example above during an update? Shouldn't we add an explanation and config for separate data and config directory? I guess that's the "storage path" option mentioned in mstingl's comment?

dragotin commented 10 months ago

Docker (or free equivalents) care for restarting. And yes, data is to be separated from configs.

nicholas-wilson-au commented 10 months ago

This is the script I use for demos https://github.com/nicholas-wilson-au/ownCloud-Infinite-Scale-Demo-Containers-CKC

It requires a wildcarded domain (from cloudflare) and an email.

stale[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.