The Web Installer is the easiest way to install Nextcloud on a web space. It checks the dependencies, downloads Nextcloud from the official server, unpacks it with the right permissions and the right user account. Click on the circle button in the OAuth section to connect a Nextcloud account to n8n. Click the Save button to save your credentials. Which is the best alternative to bitwardenrs? Based on common mentions it is: Pass-import, Keepassxc, Bitwarden/Server, Bitwarden/Desktop or Nextcloud/Docker.
Official website
Demo: https://demo.nextcloud.com
- Bitwarden is awesome, and Bitwarden RS is a great alternative that will allow you to self-host the password manager on a Raspberry Pi. Make sure that you are always using two-factor authentication for your account. This cannot be stated enough. Thanks a lot for reading the tutorial. As always, if you have any questions, please leave a comment!
- NextCloud offers individuals and organisations to gain control over their private data with a safe and secure solutions. NextCloud also provides a long list of add-ons working alongside the file sharing solution such as: Calendar & Contacts management, Audio/Video conferencing, Task Management, Photos albums and more.
In this guide I’ll provide a complete and secure Nextcloud setup for the WD My Cloud NAS.
Benefits:
- Cloud access directly to your box, not via WD servers
- Better integration with multiple apps available for any platform (so it’s a valid replacement for the deprecated PC suite)
- Modern look and feel
- Many extensions available
- Automatic HTTPS certificates with LetsEncrypt
Problems:
- The WD web interface must be disabled to run Nextcloud. You can switch it back on, but its either WD web or Nextcloud, not both.
- Only static public IP addresses supported for now… feel free to setup DynDNS / NoIP
- Use at your own risk. WD support won’t help you here. You need SSH access to set it up.
Step 1: Get Docker and Docker Compose
Docker is available here. Install it with the WD web interface.
Docker Compose can be installed on all WD platforms with python pip.
Get Entware from wdcommunity.com and install it with the WD web interface.
Verify it worked
Step 2: Get a domain
You really need a domain name, otherwise you’ll have to deal with big security warnings in your browser.
Just google for a free one if you don’t want to pay for it.
Let’s assume we registered mycloud.domain.com to point to our IP address.
Warning: getting your domain name activated may take a couple of hours.
Step 3: Open up port 80 and 443 in your home router. I’m assuming you’re connected to your ISP behind a router here. Forward port 80 and 443 of the IP of your NAS to the public WAN.
Step 4: Stop the WD web interface
Open up an SSH session to your My Cloud NAS and stop the apache service.
Ensure ports 80 and 443 are free. No process may occupy these ports.
Step 5: Prepare a working directory
Step 6: Get the Docker Compose yaml and run the whole stack
Pick the set of instructions that applies to your NAS.
Step 7: Edit the config
Edit the database variables
Press i
to enter editing mode.
Generate a strong password for mysql user.
Press ESC
and type :wq
to save and quit.
Edit the compose file
Press i
to enter editing mode.
Set a strong password for MYSQL_ROOT_PASSWORD, fill in your domain name (see step 2)
Press ESC
and type :wq
to save and quit.
Nextcloud Vs Bitwarden
Now simply bring up the whole stack
And now your site should be available in a few minutes…
Ignore the instructions for ARM below.
Build and run the nginx proxy service for ARM. This may take a while.
Now prepare the Nextcloud app.
It’s hard to find a Mariadb / Mysql (InnoDB) / Postgres database for ARMv7. I’ve tested many images from docker hub and almost none of them were compatible with Nextcloud.
TODO: add beercan1989/arm-mysql + redis + cron
Create a docker-compose.yml with the following content (and update the environment values)
Start the Nextcloud app. The nginx proxy helper should generate a LetsEncrypt certificate automatically for your domain.
Open up your domain in the browser and enjoy your personal cloud!
Extras
Your existing shares are normally not available in the Nextcloud container.
Edit the docker-compose.yml and add the full share path (e.g. /shares/Public
) to the nextcloud app with a mountpoint (e.g. /mnt/Public
).
Nextcloud Bitwarden
In the Nextcloud menu, go to apps and install the External Storage application.
In the Nextcloud configuration menu, in the admin tab, select External Storage.
Add a source with type Local
and path /mnt/Public
.
Now you can access the Public share from within your cloud.
If you wish to start the WD web interface again later, ensure ports 80 and 443 are free by stopping the apps
and then start apache again
You can setup this alias for the docker command line
If you get an error about access denied for untrusted domain, you’ll need to add your domain to the trusted domains. This can be done with the Nextcloud command line.
List the domains
Add your domain
Alternative solution: edit config.php in the nextcloud data volume manually.
Here’s how to look it up.
Edit the file
Press /
and type trust
to go to the section with trusted domains, press i
to enter text mode and fill in your hostname
Press ESC, type :wq
to write and quit.
Now reload the website in your browser.
Show running containers
Show logs for the nextcloud_db container
Good luck and enjoy!
You can use these credentials to authenticate the following nodes with Nextcloud.
# Prerequisites
Create a Nextcloud(opens new window) account.
# Using OAuth
Nextcloud Passwords App
- Log in to your Nextcloud account.
- Click on the user icon in the top right.
- Select 'Settings' in the drop down menu.
- Click on 'Security' under Administration in the sidebar.
- Copy the 'OAuth Callback URL' provided in the Nextcloud OAuth2 API credentials in n8n and paste it in the Redirection URI field under the 'OAuth 2.0 clients' section in the Nextcloud page.
- Fill out any other information that is necessary and click on the 'Add' button.
- Click on the eye icon to reveal the Secret and use the 'Client Identifier' and the 'Secret' with your Nextcloud OAuth2 API credentials in n8n.
- Replace your domain in the samples for the Authorization URL and Access Token URL fields.
- Enter your Web DAV URL(opens new window) in the Web DAV URL field.
- Click on the circle button in the OAuth section to connect a Nextcloud account to n8n.
- Click the Save button to save your credentials.
# Using Username and Password
Nextcloud Vm Bitwarden
Nextcloud Keepass
Use your Web DAV URL(opens new window) along with your Nextcloud username and password in the node credentials.