Nextcloud is an open source file platform that works like a private Google Drive or Dropbox. This tutorial builds a file drive for a small team. Your office staff and your field team get their own accounts, job photos go straight into object storage, and you share a finished report with a customer through a link protected by a password.
The screenshots in this tutorial come from Cool Breeze AC Care, the fictional air conditioner service company from How to Launch a Company Profile Website with WordPress. The office keeps service reports, and technicians such as Toby Finch take photos at every job. Today Toby cleaned the air conditioners at Hayes Family Farm, and the customer, Marla Hayes, wants a copy of the report. You can follow along with files of your own.
To get Nextcloud running quickly, this tutorial uses the Nextcloud app from the CloudRaya Marketplace. A Marketplace app is ready to run: you do not need to create a server or install anything yourself, CloudRaya runs it for you and gives it an HTTPS address, and you can move to a bigger package later without deleting the app. If you prefer to install Nextcloud yourself, follow the official installation guide and continue from Step 2.
Prerequisites
- Either an existing Nextcloud installation, or a CloudRaya account with enough Cloud Credit to deploy it from the Marketplace. Marketplace apps are billed monthly, based on the package size you choose, and you cannot pay for them with CloudRaya Coins. See How to Top Up Cloud Credit and Serverless Containers: Deployment for details.
- Access to StorageRaya in the same CloudRaya account, to store the photos of your team.
- A domain or subdomain you can manage in your DNS provider, for example
files.yourdomain.com. This is recommended, not required. - An Android phone or iPhone, to try the mobile app.
Step 1: Get Nextcloud Running
If you have not installed Nextcloud yet, install it first by following the official installation guide, then continue with Step 2.
If you need a quick solution with a premade app, deploy it from the CloudRaya Marketplace instead. This is the option used in the rest of this tutorial.
- In the CloudRaya dashboard, under Other Product, click Marketplace.
- Search for Nextcloud, then click View Details.
- Click Deploy Now.
- Keep the latest Application Version, and enter a unique Application Name, for example
company-drive. - Choose a Deployment Package. Small is a good start for a team that shares files every day. Nano is enough for 1 to 3 people with light use. You can move to a bigger package later without deleting the app, but you cannot move to a smaller one.
- Click Deploy App. You are redirected to My Apps.
Wait until the status of the app changes to Running. The first start takes a few minutes.
Step 2: Log In and Secure the Admin Account
Nextcloud creates an admin account for you during deployment. Its password is in the CloudRaya panel.
- In My Apps, click the app name and open the Environment tab. Copy the admin password shown there.
- Open the General tab and open the address of your app in a new tab. It looks like
https://<app-id>.cloudraya.app. - On Log in to Nextcloud, enter
adminas the Account name or email, paste the password, and click Log in. - A welcome window introduces Nextcloud. Close it with the X.
The password from the panel is only used for this first login. Change it now to one that only you know:
- Click your avatar at the top right, then Personal settings.
- In the left menu, click Security.
- Under Password, enter the Current password and a New password, then click Change password.

Save the new password in your password manager. If your team does not have one yet, see How to Share Your Team's Passwords Safely with Vaultwarden.
Your app cannot send email yet, so Forgot password? on the login page does not work. Keep your admin password safe.
Changing the password in the panel later has no effect. The password is managed inside Nextcloud from now on.
Step 3: Give Your Drive Its Own Address (Recommended)
Your team opens this address every day, and your customers see it in every share link. A short address on your own domain, such as files.yourdomain.com, is easier to remember and to trust. You can skip this step and keep the .cloudraya.app address.
First, add the domain to the app:
- In My Apps, click the app name and open the General tab.
- In the Domain Aliases section, click Add Domain.
- Enter your subdomain, for example
files.yourdomain.com. Leave HTTPS on. - Click Add Domain. The dialog shows a CNAME record.
- In your DNS provider, add the CNAME record exactly as shown.
Wait until the status of the domain changes to Secured. This can take from a few minutes to a few hours, depending on your DNS provider.
Then tell Nextcloud to use the new address:
- Open the Environment tab of the app.
- Click Add Variable, and set App Container to nextcloud.
- Enter
NEXTCLOUD_URLas the Key, and your full domain as the Value, includinghttps://, for examplehttps://files.yourdomain.com. - Click Add Variable.

Add NEXTCLOUD_URL only after the domain shows Secured. If you add it earlier, Nextcloud sends you to an address that does not work yet, and you cannot log in until the domain is ready.The app redeploys automatically to apply the variable. Wait until the status returns to Running, then open your new address and log in again. The old .cloudraya.app address still works, but it now sends visitors to your own domain.
To go back to the default address, delete the NEXTCLOUD_URL variable completely. Do not leave it empty.
Step 4: Create Your Team's Accounts
Groups make sharing simple: you share a folder with a group once, and everyone in it gets access. This example uses two groups, Office for the people who manage reports and Technicians for the field team.
- Click your avatar at the top right, then Accounts.
- Next to Groups, click +. In Group name, enter
Officeand click the arrow. If Nextcloud asks for your password, enter it and click Confirm. Add a second group namedTechniciansthe same way. - Next to your own account, click the pencil icon. Enter your name as the Display name, add the Office group under Member of the following groups, and click Save. Your teammates see this name instead of
admin.
Then create an account for each teammate:
- Click + New account.
- Enter an Account name for logging in, for example
toby, and a Display name, for exampleToby Finch. - Enter a Password. You give it to your teammate yourself, because the app cannot send email.
- Under Member of the following groups, select Technicians.
- Leave Admin of the following groups empty, and keep Default quota.
- Click Add new account.

Only the admin account can change settings. Your teammates can work with files, but their menu has no Administration settings or Accounts.
Step 5: Store Team Photos in StorageRaya
Job photos add up quickly. Instead of keeping them on the disk of your app, you can store them in StorageRaya, the S3-compatible object storage of CloudRaya. Your team sees an ordinary folder in Nextcloud, and the files live in a bucket that grows with your needs.
Create a bucket
- In the CloudRaya dashboard, under Storage, click StorageRaya, then click + Add Bucket.
- Enter a Bucket Name, for example
coolbreeze-photos. Use lowercase letters, numbers, and hyphens only. - Choose the Server Location, for example ID - Jakarta, ID - jak01.
- Keep Restrict File Listing, so nobody can browse the bucket from the internet.
- Set a Bucket Limit in GB, then click Save.

After you save, a window shows the Secret Key of the bucket. It is shown only once. Copy it now, together with the Access Key, and store both in your password manager. If you lose the secret key, Reset Key creates a new pair, and every app that uses the old keys stops working until you update them.
On the card of the new bucket, note the Endpoint, for example https://s3-jak01.storageraya.com. You need it in the next part. See Create a Bucket and Access and Credentials for details.
Connect the bucket to Nextcloud
This app comes with external storage support already turned on, and with a ready storage entry named S3 (Configure Me). You only fill it in.
- Click your avatar at the top right, then Administration settings.
- In the left menu, under Administration, click External storage.
- In the row S3 (Configure Me), click the pencil icon.
- Fill in the Edit storage window:
- Folder name: the name your team sees, for example
Unit Photos. - Restrict to: select the groups Office and Technicians. Without a restriction, every account can open the folder.
- Bucket: the name of your bucket, for example
coolbreeze-photos. - Hostname: the endpoint of your bucket without
https://and without the bucket name, for examples3-jak01.storageraya.com. - Port:
443. - Region: the region of your bucket, for example
jak01. - Turn on Use HTTPS and Use Path Style.
- Access key ID and Secret access key: the keys of your bucket.
- Click Edit to save.

Point at the icon at the start of the row. It shows Connected when Nextcloud can reach your bucket.

Keep Allow people to mount external storage off, so only you decide which storage your team can use.
Now open Files. The Unit Photos folder is there, with a different icon from your other folders. Upload a few photos to it with + New, then Upload files.

Files in Unit Photos do not count toward the storage shown at the bottom left of Files, because they are not on the disk of your app. Files in your other folders stay on the disk of the app.
Step 6: Share a Folder with Your Team
Unit Photos is already shared with both groups. For other files, you share a folder with a group. Here the office shares a Service Reports folder with all technicians, so they can read the reports and add their own.
- In Files, click + New, then New folder, and name it
Service Reports. - Open the folder and upload a report, for example a PDF.
- Go back to All files. In the row of Service Reports, click the share icon. The Sharing panel opens.
- Under Internal shares, type
Techniciansin Type names or teams, and select the group. - Choose Allow editing, so technicians can add, change, and delete files in this folder.
- Click Save share.

When Toby logs in, both folders are in their own Files: Service Reports, shared by the office, and Unit Photos, from StorageRaya.

If you share with a group, people you add to the group later get access automatically.
Step 7: Upload Photos Straight from Your Phone
Technicians take photos on site. With the Nextcloud mobile app, they upload them straight into Unit Photos, without sending them over chat first.
- Install the Nextcloud app from Google Play or the App Store.
- Open the app and tap Log in. In Server address, enter the address of your drive, for example
https://files.yourdomain.com, and tap the arrow. - The browser opens your login page. Log in with your own account name and password.
- On Account access, tap Grant access. When you see Account connected, go back to the app.

To upload a photo:
- In the app, open Unit Photos.
- Tap +, then Upload files to choose a photo from your phone, or Upload from camera to take a new one.

The office sees the new photo in the same folder in the browser right away.
Step 8: Share a Report with a Customer
Your customer does not need an account. You send them a link to one file, protected by a password and valid for a few days.
- Open Service Reports. In the row of the report, click the share icon.
- Under External shares, click + next to Create public link. A Share link is created right away, with View only.
- Next to the link, click the ⋯ menu, then Customize link.
- In Share label, enter the name of the customer, for example
Marla Hayes. The label helps you find this link later. - Turn on Set password and enter a password.
- Turn on Set expiration date and choose a date, for example one week from today.
- Click Update share.

Click the copy icon next to the link, and send the link to your customer. Send the password in a different way, for example by phone or text message, not in the same email as the link.
When your customer opens the link, Nextcloud asks for the password first.

After the password, the customer sees the report in the browser, without an account.

After the expiration date, the link stops working. To stop it earlier, click the ⋯ menu next to the link, then Unshare.
Verification
- You log in with your own password, not the password from the panel.
- If you set up a domain, your app opens at your own address with HTTPS, and the old
.cloudraya.appaddress sends you there. - In External storage, the Unit Photos row shows Connected.
- A technician sees Service Reports and Unit Photos in their Files, but no Administration settings.
- A photo uploaded from the phone appears in Unit Photos in the browser.
- The customer link asks for a password and then shows the report.
Troubleshooting
The app stays in deployment or shows Failed: give it a few minutes, as the first start can take a while. If the app still does not come up, email our support team and include the app name.
The login says the password is wrong: for the first login, use admin and the password from the Environment tab. After you change it in Step 2, only the new password works.
You cannot log in after adding NEXTCLOUD_URL: the domain is probably not Secured yet. Wait until it is, then open the new address. If you need to get in right away, delete the NEXTCLOUD_URL variable, wait for the app to return to Running, and log in at the .cloudraya.app address.
The domain stays at the same status for a long time: check that the CNAME record in your DNS provider matches the record shown in the dialog, and that its host is exactly your subdomain. DNS changes can take time to spread.
Unit Photos shows an error instead of Connected: check the Hostname first. It must be the endpoint only, for example s3-jak01.storageraya.com, without https:// and without the bucket name. Then check the Bucket, the Region, and both keys. If you reset the keys of the bucket in StorageRaya, enter the new pair here.
A teammate does not see Unit Photos: check that their account is in one of the groups under Restrict to.
A teammate does not see Service Reports: check that their account is in the Technicians group, or share the folder with them directly.
The mobile app cannot connect: check that the address starts with https:// and matches the address you open in the browser.
Forgot password? does not send an email: this app cannot send email until you set up an email server (see Next Steps). As the admin, you can set a new password for a teammate in Accounts, with the pencil icon next to their name.
Next Steps
- Turn on two-step login for the admin account in Personal settings, then Security, with TOTP (Authenticator app). First click Generate backup codes and keep the codes somewhere safe outside Nextcloud. Without your phone or a backup code, you cannot log in again.
- Install the Nextcloud desktop app on the computers of your office, so the shared folders sync like a normal folder on the computer.
- Set up email in Administration settings, then Basic settings, under Email server, so Nextcloud can send password resets and share notifications.
- Explore apps such as Calendar, Contacts, and Talk from Apps in the avatar menu.
- Watch the CPU and memory usage of your drive, and move to a bigger package when your team grows. See Serverless Containers: Monitoring & Logs and Serverless Containers: Scaling & Lifecycle Management.
- Learn more in the official Nextcloud user manual.
- Explore other ready-to-run apps for your business in the Marketplace Apps tutorials.
Conclusion
Your team now has its own file drive on your own address. Each person logs in with their own account, groups decide who sees which folder, job photos go straight from the phone into StorageRaya, and customers get their reports through a link with a password and an end date, without an account.
