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

Update the nextcloud username and password in configure_nextcloud.sh #23

Open
2 tasks
a-t-0 opened this issue Feb 5, 2023 · 0 comments
Open
2 tasks

Comments

@a-t-0
Copy link
Contributor

a-t-0 commented Feb 5, 2023

First fix:#28

Currently the configure nextcloud.sh script contains:

# Install and configure Nextcloud.
  sudo nextcloud.occ maintenance:install \
    --database="mysql" \
    --database-name="nextcloud" \
    --database-user="root" \
    --database-host="127.0.01" \
    --database-pass="mysql_password" \
    --data-dir="/var/snap/nextcloud/common/nextcloud/data" \
    --admin-user="root" \
    --admin-pass="mysql_password"
  • At least parameterise the mysql_password.
  • Try to see if you can change the database-user from root into something the user chooses, (whilst still being able to make the backup successfully).
@a-t-0 a-t-0 mentioned this issue Feb 5, 2023
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

No branches or pull requests

1 participant