Skip to content
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

Hardcode initial Nextcloud credentials #900

Merged
merged 6 commits into from Aug 11, 2021
Merged

Hardcode initial Nextcloud credentials #900

merged 6 commits into from Aug 11, 2021

Conversation

lukechilds
Copy link
Member

The Nextcloud container only respects the some of the configuration environment variables when you hardcode auth parameters. If you let the user manually go through the setup process, configurations settings are set to defaults and the environment variables we set are ignored. Notably whitelisting both the local hostname and the Tor hidden service does not happen when a user manually registers, instead Nextcloud is only accessible over the hostname they accessed the registration form over.

This change hardcodes a default Nextcloud username/password of umbrel/moneyprintergobrrr which triggers the Docker image to run through the automated setup process and respect our environment variables. Added a note explaining users who wish to share files via Nextcloud should update the password before sharing links.

We also add a migration step to the update step to fix any existing installs that

@lukechilds lukechilds merged commit d4c18f1 into getumbrel:master Aug 11, 2021
florianock pushed a commit to florianock/umbrel that referenced this pull request Sep 6, 2021
* 'master' of github.com:florianock/umbrel: (153 commits)
  Improve samourai-server app stability (getumbrel#949)
  Make sure code-server app restarts on failure (getumbrel#933)
  Update lnbits app to ab446a8 (getumbrel#928)
  Umbrel v0.4.1 (getumbrel#923)
  Update to getumbrel/dashboard:v0.3.25
  Shard Tor hidden services across multiple daemons (getumbrel#920)
  Make sure configure script never overwrites app permissions (getumbrel#919)
  Whitelist hostname for Nextcloud in Umbrel v0.4.0 (getumbrel#918)
  Update btcpay-server app to 1.2.1 (getumbrel#916)
  Update specter-desktop app to v1.5.1 (getumbrel#909)
  Update mempool app to v2.2.1 (getumbrel#905)
  Remove outdated warning from LND config
  Update samourai-server app to v1.10.1 (getumbrel#901)
  Switch to the PolyForm Noncommercial license (getumbrel#908)
  Update to getumbrel/middleware:v0.1.12
  Don't overwrite existing LND config after update (getumbrel#904)
  Update to LND v0.13.1 (getumbrel#903)
  Auto init nextcloud app to ensure allowed hosts are correctly set (getumbrel#900)
  Add default password to pi-hole app (getumbrel#889)
  Umbrel v0.4.0 (getumbrel#888)
  ...
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.

None yet

1 participant